[MacPorts] #63409: OpenSSL 1.1.1l build failure On Mac OS X 10.4.11: rand.h now uses Availability.h instead of AvailabilityMacros.h

MacPorts noreply at macports.org
Thu Aug 26 23:12:27 UTC 2021


#63409: OpenSSL 1.1.1l build failure On Mac OS X 10.4.11: rand.h now uses
Availability.h instead of AvailabilityMacros.h
----------------------------+---------------------------
 Reporter:  alex-free       |      Owner:  (none)
     Type:  defect          |     Status:  new
 Priority:  Normal          |  Milestone:
Component:  ports           |    Version:  2.7.1
 Keywords:  tiger, openssl  |       Port:  devel/openssl
----------------------------+---------------------------
 Tiger uses /usr/include/AvailabilityMacros.h. On all newer Mac OS X
 versions, this header is named /usr/include/Availability.h. I have
 confirmed that by using an ugly hack of symlinking
 /usr/include/AvailabilityMacros.h to /usr/include/Availability.h that this
 builds. Will be learning more about MacPorts to submit a patch if someone
 else doesn't beat me to it soon.


 {{{
 DZLIB -DNDEBUG -I/opt/local/include  -c -o crypto/idea/i_cbc.o
 crypto/idea/i_cbc.c
 /opt/local/bin/gcc-apple-4.2  -I. -Iinclude -fPIC -arch i386 -pipe -Os
 -arch i386 -DL_ENDIAN -DOPENSSL_PIC
 -DOPENSSLDIR="\"/opt/local/etc/openssl\""
 -DENGINESDIR="\"/opt/local/lib/engines-1.1\"" -D_REENTRANT -DZLIB -DNDEBUG
 -I/opt/local/include  -c -o crypto/idea/i_cfb64.o crypto/idea/i_cfb64.c
 /opt/local/bin/gcc-apple-4.2  -I. -Iinclude -fPIC -arch i386 -pipe -Os
 -arch i386 -DL_ENDIAN -DOPENSSL_PIC
 -DOPENSSLDIR="\"/opt/local/etc/openssl\""
 -DENGINESDIR="\"/opt/local/lib/engines-1.1\"" -D_REENTRANT -DZLIB -DNDEBUG
 -I/opt/local/include  -c -o crypto/idea/i_ecb.o crypto/idea/i_ecb.c
 /opt/local/bin/gcc-apple-4.2  -I. -Iinclude -fPIC -arch i386 -pipe -Os
 -arch i386 -DL_ENDIAN -DOPENSSL_PIC
 -DOPENSSLDIR="\"/opt/local/etc/openssl\""
 -DENGINESDIR="\"/opt/local/lib/engines-1.1\"" -D_REENTRANT -DZLIB -DNDEBUG
 -I/opt/local/include  -c -o crypto/idea/i_ofb64.o crypto/idea/i_ofb64.c
 /opt/local/bin/gcc-apple-4.2  -I. -Iinclude -fPIC -arch i386 -pipe -Os
 -arch i386 -DL_ENDIAN -DOPENSSL_PIC
 -DOPENSSLDIR="\"/opt/local/etc/openssl\""
 -DENGINESDIR="\"/opt/local/lib/engines-1.1\"" -D_REENTRANT -DZLIB -DNDEBUG
 -I/opt/local/include  -c -o crypto/idea/i_skey.o crypto/idea/i_skey.c
 /opt/local/bin/gcc-apple-4.2  -I. -Iinclude -fPIC -arch i386 -pipe -Os
 -arch i386 -DL_ENDIAN -DOPENSSL_PIC
 -DOPENSSLDIR="\"/opt/local/etc/openssl\""
 -DENGINESDIR="\"/opt/local/lib/engines-1.1\"" -D_REENTRANT -DZLIB -DNDEBUG
 -I/opt/local/include  -c -o crypto/init.o crypto/init.c
 In file included from crypto/init.c:13:
 include/crypto/rand.h:24:28: error: Availability.h: No such file or
 directory
 make[1]: *** [crypto/init.o] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.1.1l'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.1.1l'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl/openssl/work/openssl-1.1.1l"
 && /usr/bin/make -j1 -w all
 Exit code: 2
 Error: Failed to build openssl: command execution failed
 DEBUG: Error code: CHILDSTATUS 21861 2
 DEBUG: Backtrace: command execution failed
     while executing
 "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
     invoked from within
 "command_exec -callback portprogress::target_progress_callback build"
     (procedure "portbuild::build_main" line 8)
     invoked from within
 "$procedure $targetname"
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_openssl/openssl/main.log
 for details.
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 Error: Processing of port cmake failed
 user
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63409>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list