Opened 13 years ago

Last modified 13 years ago

#29600 closed defect

openssl openssl-1.0.0d compile fails on undeclared identifier — at Initial Version

Reported by: jason@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: Cc:
Port: openssl

Description

OS X 10.6.7 xcode 4.0.1

New version of MacPorts installed from MacPorts-1.9.2.pkg installer.

I invoked port install mysql5-server, which tries to install the openssl dependency, which fails. Invoking port -d install openssl gives the following:

... /usr/bin/gcc-4.2 -I.. -I../.. -I../asn1 -I../evp -I../../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -DMD32_REG_T=int -Wall -c -o dso_dlfcn.o dso_dlfcn.c dso_dlfcn.c: In function 'dlfcn_pathbyaddr': dso_dlfcn.c:445: error: 'Dl_info' undeclared (first use in this function) dso_dlfcn.c:445: error: (Each undeclared identifier is reported only once dso_dlfcn.c:445: error: for each function it appears in.) dso_dlfcn.c:445: error: expected ';' before 'dli' dso_dlfcn.c:455: warning: implicit declaration of function 'dladdr' dso_dlfcn.c:455: error: 'dli' undeclared (first use in this function) make[2]: * [dso_dlfcn.o] Error 1 make[1]: * [subdirs] Error 1 make: * [build_crypto] Error 1 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-1.0.0d" && /usr/bin/make all " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) DEBUG: Backtrace: shell command failed (see log for details)

while executing

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"$procedure $targetname" Warning: the following items did not execute (for openssl): org.macports.activate org.macports.build org.macports.destroot org.macports.install Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (0)

Note: See TracTickets for help on using tickets.