#33741 closed defect (fixed)
openssl @1.0.1_1 build failure on Tiger
Reported by: | weltall2@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | haspatch | Cc: | ryandesign (Ryan Carsten Schmidt), jeremyhu (Jeremy Huddleston Sequoia), alno@…, McDutchie (Martijn Dekker), arifsaha (S P Arif Sahari Wibowo), metalkeys16@… |
Port: | openssl |
Description (last modified by neverpanic (Clemens Lang))
The last version of openssl stops with these errors while doing an universal build on tiger:
---> Computing dependencies for openssl. ---> Building openssl ---> Building openssl for architecture i386 make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1-i386' making all in crypto... make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1-i386/crypto' /usr/bin/gcc-4.0 -I. -I.. -I../include -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch i386 -O3 -fomit-frame-pointer -DL_ENDIAN -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -c -o x86cpuid.o x86cpuid.s x86cpuid.s:325:Rest of line ignored. 1st junk character valued 44 (,). make[1]: *** [x86cpuid.o] Error 1 make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1-i386/crypto' make: *** [build_crypto] Error 1 make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1-i386' shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.1-i386" && /usr/bin/make -w all " returned error 2 Error: Target org.macports.build returned: shell command failed (see log for details) Warning: the following items did not execute (for openssl): org.macports.install org.macports.build org.macports.destroot Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (3)
Change History (18)
comment:1 Changed 13 years ago by neverpanic (Clemens Lang)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to mww@… |
Port: | openssl added |
comment:2 Changed 13 years ago by weltall2@…
adding no-asm in the configure line of the port file allows the build to complete successfully
comment:3 Changed 13 years ago by weltall2@…
In revision 2 i see that no-asm was added for darwin 9 and 10 but also 8 requires it (tiger)
platform darwin 8 { configure.args-append no-asm }
comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | haspatch added |
Summary: | openssl @1.0.1_1 build failure → openssl @1.0.1_1 build failure on Tiger |
I am able to reproduce this error on Tiger building for i386 only, and as above disabling asm fixes it. I'm attaching a patch.
Note that we're not yet convinced asm needed to be disabled on Snow Leopard or Leopard. On Snow Leopard, it compiles and tests pass with asm enabled. I don't know if anybody has tested Leopard yet.
Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Attachment: | openssl.diff added |
---|
proposed patch
comment:12 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)
FWIW, 1.0.1a installed for me on Tiger/i386 using apple-gcc-4.2 as default_compiler. If you are having issues still, try:
sudo port -v clean openssl sudo port -v install openssl configure.compiler=apple-gcc-4.2
comment:13 Changed 12 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:14 follow-up: 15 Changed 12 years ago by metalkeys16@…
I am having a similar problem with building openssl in an Intel box with Tiger with MacPorts 2.1.3. I attach my main.log as well.
Changed 12 years ago by metalkeys16@…
Attachment: | main.2.log added |
---|
comment:15 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | metalkeys16@… added |
---|
Replying to metalkeys16@…:
I am having a similar problem with building openssl in an Intel box with Tiger with MacPorts 2.1.3. I attach my main.log as well.
That's #38561.
Please remember to Cc the maintainer, if any.
Please run
port clean openssl
, try again and attach themain.log
(you can find it usingport logfile openssl
).