Bug 265134 - mail/milter-greylist: Build fails with LDAP=on
Summary: mail/milter-greylist: Build fails with LDAP=on
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-10 14:33 UTC by Dominik Lisiak
Modified: 2022-11-19 23:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (m.tsatsenko)


Attachments
milter-greylist-4.6.4.log (16.11 KB, text/plain)
2022-07-10 14:33 UTC, Dominik Lisiak
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dominik Lisiak 2022-07-10 14:33:26 UTC
Created attachment 235173 [details]
milter-greylist-4.6.4.log

Attached build log from Poudriere. FreeBSD 13.1 amd64.
Comment 1 m.tsatsenko 2022-07-16 18:02:25 UTC
I had a look. There are a few observations. First: it looks for a wrong set of libs -lldap_r-2.4 -llber-2.4 and -lldap_r -llber. 
This is easily corrected, however next I run into another problem. 
Although LDFLAGS_openldap is correctly populated with -L/usr/local/lib -Wl,--rpath=/usr/local/lib actual invocation of cc is done with default -L/usr/lib -Wl,--rpath=/usr/lib which is obviously wrong and the test still fails.

I will have a closer look later
Comment 2 Dominik Lisiak 2022-11-19 23:12:17 UTC
Any chance this will be fixed soon?