[MacPorts] #34135: openssl: compile failure on PPC darwin 9
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Hello, The recent upgrades to openssl fail to compile on my lowly PowerBook. I've copied the end of the build here. Even trying with or without no-asm the compile fails. I can provide more info or help if needed. Blair {{{ ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols ranlib: file: ../../libcrypto.a(ecp_nistp224.o) has no symbols ranlib: file: ../../libcrypto.a(ecp_nistp256.o) has no symbols ranlib: file: ../../libcrypto.a(ecp_nistp521.o) has no symbols ranlib: file: ../../libcrypto.a(ecp_nistputil.o) has no symbols ranlib: file: ../../libcrypto.a(rand_win.o) has no symbols ranlib: file: ../../libcrypto.a(rand_os2.o) has no symbols ranlib: file: ../../libcrypto.a(rand_nw.o) has no symbols ranlib: file: ../../libcrypto.a(e_rc5.o) has no symbols ranlib: file: ../../libcrypto.a(m_md2.o) has no symbols ranlib: file: ../../libcrypto.a(evp_fips.o) has no symbols ranlib: file: ../../libcrypto.a(v3_asid.o) has no symbols ranlib: file: ../../libcrypto.a(v3_addr.o) has no symbols /usr/bin/ranlib ../../libcrypto.a || echo Never mind. /usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp224.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp256.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp521.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistputil.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_win.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_os2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_nw.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(e_rc5.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(m_md2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(evp_fips.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_asid.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_addr.o) has no symbols make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1a/crypto/cmac' if [ -n "libcrypto.1.0.0.dylib libssl.1.0.0.dylib" ]; then \ (cd ..; /usr/bin/make libcrypto.1.0.0.dylib); \ fi make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1a' [ -z "" ] || /usr/bin/gcc-4.2 -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusubtype_ALL -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DAES_ASM -Iinclude \ -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso \ fips_premain.c fipscanister.o \ libcrypto.a -L/opt/local/lib -lz make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1a' make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1a' Undefined symbols: "_OPENSSL_ia32cap_P", referenced from: _OPENSSL_ia32cap_P$non_lazy_ptr in libcrypto.a(e_rc4_hmac_md5.o) ld: symbol(s) not found collect2: ld returned 1 exit status make[4]: *** [link_a.darwin] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/34135> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Changes (by jmr@…): * cc: jmr@… (added) -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by jmr@…): http://cvs.openssl.org/chngview?cn=22455 -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by dluke@…): Replying to [comment:5 jmr@…]:
The build succeeds and test suite reports "ALL TESTS SUCCESSFUL" with that patch applied (on my darwin 9/ppc box) -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by pixilla@…): Replying to [comment:6 dluke@…]:
Replying to [comment:5 jmr@…]:
The build succeeds and test suite reports "ALL TESTS SUCCESSFUL" with that patch applied (on my darwin 9/ppc box) This patch works for me on darwin 9/ppc and darwin 10/intel.
-- Ticket URL: <https://trac.macports.org/ticket/34135#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by pixilla@…): My testing indicates the patch works with darwin 11 as well. No regression. Let's implement it! -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by grego.tws@…): Hi, I am new to all of this (Macports, Mac OS X). I have Snow Leopard 10.6.8 on Mac Book Pro, i tried to execute "sudo port -d install openssl +universal" in Terminal but got the described error. I don't know how to get/update/install the provided patch to Macports. May i ask for some help ? -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by dluke@…): Replying to [comment:13 grego.tws@…]:
I am new to all of this (Macports, Mac OS X). I have Snow Leopard 10.6.8 on Mac Book Pro, i tried to execute "sudo port -d install openssl +universal" in Terminal but got the described error.
If you don't actually need +universal, you should just install without it (and you may want to check and see if ppc is one of your universal archs, you may not actually need/want it).
I don't know how to get/update/install the provided patch to Macports. May i ask for some help ?
You wait for the maintainer to update the port, then you sync/selfupdate and try again. -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by grego.tws@…): Replying to [comment:15 dluke@…]:
If you don't actually need +universal, you should just install without it (and you may want to check and see if ppc is one of your universal archs, you may not actually need/want it). I installed openssl w/o universal variant but the software that need it still does not recognize libcrypto.1.0.0.dylib. I was asked to try installing openssl with +universal variant. How do i check if "ppc is one of my universal archs" ? Ty
-- Ticket URL: <https://trac.macports.org/ticket/34135#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by dluke@…): Replying to [comment:17 grego.tws@…]:
I installed openssl w/o universal variant but the software that need it still does not recognize libcrypto.1.0.0.dylib. I was asked to try installing openssl with +universal variant. How do i check if "ppc is one of my universal archs" ?
Trac is for bug reports, if you want support try the macports-users mailing list. -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 --------------------------------+------------------------------------------- Reporter: blair@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openssl --------------------------------+------------------------------------------- Comment(by grego.tws@…): You're right ! My apologies... -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 ---------------------------------+------------------------------------------ Reporter: blair@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: openssl | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed Comment: r92268 (maintainer timeout) -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 ---------------------------------+------------------------------------------ Reporter: blair@… | Owner: mww@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: | Keywords: Port: openssl | ---------------------------------+------------------------------------------ Changes (by Peter_Dyballa@…): * status: closed => reopened * resolution: fixed => Comment: I started to upgrade packages on Tiger, 10.4.11, PPC. The package openssl-1.0.1a does not build here with GCC 4.0 (GCC 4.2 is available): {{{ /usr/bin/ranlib ../../libcrypto.a || echo Never mind. /usr/bin/ranlib: file: ../../libcrypto.a(ebcdic.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(fips_ers.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp224.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp256.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistp521.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(ecp_nistputil.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_win.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_os2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(rand_nw.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(e_rc5.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(m_md2.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(evp_fips.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_asid.o) has no symbols /usr/bin/ranlib: file: ../../libcrypto.a(v3_addr.o) has no symbols make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a/crypto/cmac' if [ -n "libcrypto.1.0.0.dylib libssl.1.0.0.dylib" ]; then \ (cd ..; /usr/bin/make libcrypto.1.0.0.dylib); \ fi make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' [ -z "" ] || /usr/bin/gcc-4.0 -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch ppc -O3 -DB_ENDIAN -Wa,-force_cpusubtype_ALL -Iinclude \ -DFINGERPRINT_PREMAIN_DSO_LOAD -o fips_premain_dso \ fips_premain.c fipscanister.o \ libcrypto.a -L/opt/local/lib -lz make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' Undefined symbols: "_OPENSSL_ia32cap_P", referenced from: _OPENSSL_ia32cap_P$non_lazy_ptr in libcrypto.a(e_rc4_hmac_md5.o) ld: symbol(s) not found /usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/libtool: internal link edit command failed make[4]: *** [link_a.darwin] Error 1 make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_lil.fr.rsync.macports.org_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.0.1a' }}} The patch files mentioned have not yet arrived: {{{ l lil.fr.rsync.macports.org/release/tarballs/ports/devel/openssl/files/ total 32 -rw-r--r-- 1 root wheel 645 16 Feb 06:25 patch-Configure.diff -rw-r--r-- 1 root wheel 506 8 Jul 2010 patch-Makefile.org.diff -rw-r--r-- 1 root wheel 1487 19 Sep 2011 patch-bn_internal.pod.diff -rw-r--r-- 1 root wheel 504 2 Feb 2009 patch-crypto-Makefile.diff }}} -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 ---------------------------------+------------------------------------------ Reporter: blair@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: openssl | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: reopened => closed * resolution: => fixed Comment: If the patch file isn't present, then you have a problem with syncing. It's there for me on a machine that syncs with rsync. -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34135: openssl: compile failure on PPC darwin 9 ---------------------------------+------------------------------------------ Reporter: blair@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: openssl | ---------------------------------+------------------------------------------ Comment(by jmr@…): Or actually, the mirror you use probably just hasn't synced with the master yet. -- Ticket URL: <https://trac.macports.org/ticket/34135#comment:26> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts