[MacPorts] #31524: Failed to install openldap.
#31524: Failed to install openldap. --------------------------------+------------------------------------------- Reporter: wolfoppa@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: --------------------------------+------------------------------------------- When I make the develop environment to build Android source tree, I ran the below command. [I installed MacPort 2.0.3] $POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnup After that I got the below thing on my terminal. $ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg Password: ---> Computing dependencies for gmake ---> Cleaning gmake ---> Computing dependencies for libsdl ---> Cleaning libsdl ---> Computing dependencies for git-core ---> Cleaning git-core ---> Computing dependencies for gnupg ---> Dependencies to be installed: openldap ---> Building openldap Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install openldap Log for openldap is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_openldap/openldap/main.log Error: The following dependencies were not installed: openldap Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> -- Ticket URL: <https://trac.macports.org/ticket/31524> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31524: openldap: Undefined symbols for architecture x86_64: _ldif_back_initialize _monitor_back_initialize _hdb_back_initialize _relay_back_initialize --------------------------------+------------------------------------------- Reporter: wolfoppa@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: openldap --------------------------------+------------------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => landonf@… * cc: ryandesign@… (added) * port: => openldap Old description:
When I make the develop environment to build Android source tree, I ran the below command. [I installed MacPort 2.0.3] $POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnup
After that I got the below thing on my terminal. $ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg Password: ---> Computing dependencies for gmake ---> Cleaning gmake ---> Computing dependencies for libsdl ---> Cleaning libsdl ---> Computing dependencies for git-core ---> Cleaning git-core ---> Computing dependencies for gnupg ---> Dependencies to be installed: openldap ---> Building openldap Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install openldap Log for openldap is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_openldap/openldap/main.log Error: The following dependencies were not installed: openldap Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
New description: When I make the develop environment to build Android source tree, I ran the below command. [I installed MacPort 2.0.3] {{{ $POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnup }}} After that I got the below thing on my terminal. {{{ $ POSIXLY_CORRECT=1 sudo port install gmake libsdl git-core gnupg Password: ---> Computing dependencies for gmake ---> Cleaning gmake ---> Computing dependencies for libsdl ---> Cleaning libsdl ---> Computing dependencies for git-core ---> Cleaning git-core ---> Computing dependencies for gnupg ---> Dependencies to be installed: openldap ---> Building openldap Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install openldap Log for openldap is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_openldap/openldap/main.log Error: The following dependencies were not installed: openldap Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- Comment: Please remember to use WikiFormatting, to fill in the Port field, and to Cc the maintainer of that port. In the log I see: {{{ Undefined symbols for architecture x86_64: "_ldif_back_initialize", referenced from: _slap_binfo in backends.o "_monitor_back_initialize", referenced from: _slap_binfo in backends.o "_hdb_back_initialize", referenced from: _slap_binfo in backends.o "_relay_back_initialize", referenced from: _slap_binfo in backends.o ld: symbol(s) not found for architecture x86_64 }}} I also see you're building with clang, which presumably means you have a pre-release of Xcode 4.2. Try building with llvm-gcc-4.2 instead: {{{ sudo port clean openldap sudo port install openldap configure.compiler=llvm-gcc-4.2 }}} If that works we can fix the port to always do that. -- Ticket URL: <https://trac.macports.org/ticket/31524#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31524: openldap: Undefined symbols for architecture x86_64: _ldif_back_initialize _monitor_back_initialize _hdb_back_initialize _relay_back_initialize --------------------------------+------------------------------------------- Reporter: wolfoppa@… | Owner: landonf@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: openldap --------------------------------+------------------------------------------- Comment(by letatas@…): Replying to [comment:1 ryandesign@…]:
Try building with llvm-gcc-4.2 instead:
{{{ sudo port clean openldap sudo port install openldap configure.compiler=llvm-gcc-4.2 }}}
That doesn't help, unfortunately. However, I've found where the problem is. In fact the problem occurs with XCode 4.2 build 4C104 that installs clang 209.6... When you upgrade with XCode 4.2 build 4C199, it installs clang 211.10.1 and the problem is solved... -- Ticket URL: <https://trac.macports.org/ticket/31524#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31524: openldap: Undefined symbols for architecture x86_64: _ldif_back_initialize _monitor_back_initialize _hdb_back_initialize _relay_back_initialize ---------------------------------+------------------------------------------ Reporter: wolfoppa@… | Owner: landonf@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: openldap | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: OK, so this was a bug in a prerelease Xcode version. -- Ticket URL: <https://trac.macports.org/ticket/31524#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts