[Bug 201372] mail/postfix fails to build with openssl from ports and LDAP enabled with Fetch(3) enabled

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Jul 6 10:22:14 UTC 2015


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201372

            Bug ID: 201372
           Summary: mail/postfix fails to build with openssl from ports
                    and LDAP enabled with Fetch(3) enabled
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ohauer at FreeBSD.org
          Reporter: michelle at sorbs.net
          Assignee: ohauer at FreeBSD.org
             Flags: maintainer-feedback?(ohauer at FreeBSD.org)

As per the subject, postfix fails to build with openldap as a dependancy if
fetch is enabled in openldap and you use openssl from ports (10+ particularly -
though I don't know why it worked in 9.x)

debugging the problem I got to the point of:

/usr/bin/ld: warning: libssl.so.7, needed by //usr/lib/libfetch.so.6, may
conflict with libssl.so.8
/usr/bin/ld: warning: libcrypto.so.7, needed by //usr/lib/libfetch.so.6, may
conflict with libcrypto.so.8

unsetting fetch support in openldap allowed postfix to build correctly.... 
Don't know if this is an openldap issue or postfix issue - however openldap
compiled with no errors with and without fetch enabled, it was only postfix
that failed to build...

Oddly enough the resultant build error was:

postconf: environment corrupt; missing value for BLOCKSIZ
./postconf: fatal: out of memory

and then...

/bin/sh postfix-install -non-interactive -package
postconf: environment corrupt; missing value for readme_d
bin/postconf: fatal: out of memory
postconf: environment corrupt; missing value for readme_d
bin/postconf: fatal: out of memory
postconf: environment corrupt; missing value for readme_d
bin/postconf: fatal: out of memory
postconf: environment corrupt; missing value for readme_d
bin/postconf: fatal: out of memory
postconf: environment corrupt; missing value for readme_d
bin/postconf: fatal: out of memory
postfix-install: Error: "" should be an absolute path name.
*** Error code 1

Changing the options for postfix to disable LDAP and it built.

Changing the options back and it failed in exactly the same way.

Removing Fetch from openldap and both were rebuilt successfully.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list