[MacPorts] #71201: openssl3 @3.4.0: /usr/bin/ranlib: object: apps/libapps.a(libapps-lib-app_params.o) malformed object on macOS 10.6
MacPorts
noreply at macports.org
Tue Oct 29 19:54:33 UTC 2024
#71201: openssl3 @3.4.0: /usr/bin/ranlib: object: apps/libapps.a(libapps-lib-
app_params.o) malformed object on macOS 10.6
--------------------------------------------+----------------------
Reporter: aeiouaeiouaeiouaeiouaeiouaeiou | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: snowleopard | Port: openssl3
--------------------------------------------+----------------------
Fresh OpenSSL now compiles successfully on older systems with the
[https://ports.macports.org/port/clang-11-bootstrap/details/
clang-11-bootstrap] compiler (the new code seems to include the use of
intrinsics, whether we enable ASM features or not), but on Snow Leopard it
fails at the
[https://build.macports.org/builders/ports-10.6_x86_64-builder/builds/220082/steps
/install-port/logs/stdio final linking stage]:
{{{
ar qc apps/libapps.a apps/lib/libapps-lib-app_libctx.o apps/lib/libapps-
lib-app_params.o apps/lib/libapps-lib-app_provider.o apps/lib/libapps-lib-
app_rand.o apps/lib/libapps-lib-app_x509.o apps/lib/libapps-lib-apps.o
apps/lib/libapps-lib-apps_opt_printf.o apps/lib/libapps-lib-apps_ui.o
apps/lib/libapps-lib-columns.o apps/lib/libapps-lib-engine.o apps/lib
/libapps-lib-engine_loader.o apps/lib/libapps-lib-fmt.o apps/lib/libapps-
lib-http_server.o apps/lib/libapps-lib-log.o apps/lib/libapps-lib-names.o
apps/lib/libapps-lib-opt.o apps/lib/libapps-lib-s_cb.o apps/lib/libapps-
lib-s_socket.o apps/lib/libapps-lib-tlssrp_depr.o
/opt/local/libexec/clang-11-bootstrap/bin/clang -fPIC -arch x86_64 -pipe
-Os -arch x86_64 -DL_ENDIAN -DOPENSSL_PIC
-DOPENSSLDIR="\"/opt/local/libexec/openssl3/etc/openssl\""
-DENGINESDIR="\"/opt/local/libexec/openssl3/lib/engines-3\""
-DMODULESDIR="\"/opt/local/libexec/openssl3/lib/ossl-modules\""
-D_REENTRANT -DOPENSSL_BUILDING_OPENSSL -DZLIB -DNDEBUG
-I/opt/local/include -c -o crypto/aes/libcrypto-lib-aes-x86_64.o
crypto/aes/aes-x86_64.s
/usr/bin/ranlib: object: apps/libapps.a(libapps-lib-app_params.o)
malformed object (unknown load command 2)
ar: internal ranlib command failed
make[1]: *** [apps/libapps.a] Error 1
make[1]: *** Waiting for unfinished jobs....
}}}
This does not happen locally on my machine and is most likely due to the
fact that I have “paid” Xcode version 4.2 with a newer version of ranlib
as opposed to 3.2.6.
--
Ticket URL: <https://trac.macports.org/ticket/71201>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list