[MacPorts] #72333: openiked @7.4 is broken: error: arc4random_osx.h: No such file or directory

MacPorts noreply at macports.org
Sat Apr 12 12:35:40 UTC 2025


#72333: openiked @7.4 is broken: error: arc4random_osx.h: No such file or directory
--------------------------+----------------------
 Reporter:  barracuda156  |      Owner:  ryanakca
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  openiked
--------------------------+----------------------
 This header does not exist in the tarball:

 {{{
 cd
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work/build/compat
 && /usr/bin/gcc-4.2 -DHAVE_APPLE_NATT -DHAVE_ASPRINTF -DHAVE_DIRENT_H
 -DHAVE_ERR_H -DHAVE_FFS -DHAVE_GETOPT -DHAVE_GETPAGESIZE
 -DHAVE_GETPROGNAME -DHAVE_GRP_H -DHAVE_NET_PFKEY_H -DHAVE_SETREGID
 -DHAVE_SETREUID -DHAVE_SOCKADDR_SA_LEN -DHAVE_STRCASECMP -DHAVE_STRLCAT
 -DHAVE_STRLCPY -DHAVE_STRSEP -DHAVE_SYSLOG -DHAVE_TIMEGM -DHAVE_UNISTD_H
 -DHAVE_USLEEP -DHAVE_VIS -DHAVE_VROUTE -DIKED_CA=\"/opt/local/etc/iked/\"
 -DIKED_CONFIG=\"/opt/local/etc/iked.conf\" -I/opt/local/include
 -I/opt/local/libexec/openssl3/include
 -I/opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/. -pipe
 -I/opt/local/libexec/openssl3/include -Os -DNDEBUG
 -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -arch ppc
 -mmacosx-version-min=10.6 -O2 -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wno-
 pointer-sign -Wno-deprecated-declarations -Wstrict-prototypes -Wmissing-
 prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
 -Wsign-compare -MD -MT compat/CMakeFiles/compat.dir/arc4random.c.o -MF
 CMakeFiles/compat.dir/arc4random.c.o.d -o
 CMakeFiles/compat.dir/arc4random.c.o -c
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c
 cd
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work/build/compat
 && /usr/bin/gcc-4.2 -DHAVE_APPLE_NATT -DHAVE_ASPRINTF -DHAVE_DIRENT_H
 -DHAVE_ERR_H -DHAVE_FFS -DHAVE_GETOPT -DHAVE_GETPAGESIZE
 -DHAVE_GETPROGNAME -DHAVE_GRP_H -DHAVE_NET_PFKEY_H -DHAVE_SETREGID
 -DHAVE_SETREUID -DHAVE_SOCKADDR_SA_LEN -DHAVE_STRCASECMP -DHAVE_STRLCAT
 -DHAVE_STRLCPY -DHAVE_STRSEP -DHAVE_SYSLOG -DHAVE_TIMEGM -DHAVE_UNISTD_H
 -DHAVE_USLEEP -DHAVE_VIS -DHAVE_VROUTE -DIKED_CA=\"/opt/local/etc/iked/\"
 -DIKED_CONFIG=\"/opt/local/etc/iked.conf\" -I/opt/local/include
 -I/opt/local/libexec/openssl3/include
 -I/opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/. -pipe
 -I/opt/local/libexec/openssl3/include -Os -DNDEBUG
 -I/opt/local/libexec/openssl3/include -isystem/opt/local/include -arch ppc
 -mmacosx-version-min=10.6 -O2 -fPIE -D_FORTIFY_SOURCE=2 -Wall -Wno-
 pointer-sign -Wno-deprecated-declarations -Wstrict-prototypes -Wmissing-
 prototypes -Wmissing-declarations -Wshadow -Wpointer-arith -Wcast-qual
 -Wsign-compare -MD -MT compat/CMakeFiles/compat.dir/arc4random_uniform.c.o
 -MF CMakeFiles/compat.dir/arc4random_uniform.c.o.d -o
 CMakeFiles/compat.dir/arc4random_uniform.c.o -c
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random_uniform.c
 In file included from
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c:68:
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.h:28:28: error: arc4random_osx.h:
 No such file or directory
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c: In function ‘_rs_stir’:
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c:94: warning: implicit
 declaration of function ‘_getentropy_fail’
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c: In function ‘arc4random’:
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c:190: warning: implicit
 declaration of function ‘_ARC4_LOCK’
 /opt/local/var/macports/build/_opt_local_ppcports_net_openiked/openiked/work
 /openiked-portable-7.4/compat/arc4random.c:192: warning: implicit
 declaration of function ‘_ARC4_UNLOCK’
 make[2]: *** [compat/CMakeFiles/compat.dir/arc4random.c.o] Error 1
 make[2]: *** Waiting for unfinished jobs....

 }}}

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


More information about the macports-tickets mailing list