Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Jul 2015 10:22:14 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 201372] mail/postfix fails to build with openssl from ports and LDAP enabled with Fetch(3) enabled
Message-ID:  <bug-201372-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
          Reporter: michelle@sorbs.net
          Assignee: ohauer@FreeBSD.org
             Flags: maintainer-feedback?(ohauer@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-201372-13>