[MacPorts] #72412: p5-crypt-sysrandom-xs needs legacysupport for _arc4random_buf
MacPorts
noreply at macports.org
Sun Apr 27 06:23:07 UTC 2025
#72412: p5-crypt-sysrandom-xs needs legacysupport for _arc4random_buf
--------------------------+--------------------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: p5.34-crypt-sysrandom-xs
--------------------------+--------------------------------------
{{{
---> Extracting Crypt-SysRandom-XS-0.009.tar.gz
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-xs/work" && /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/perl5/Crypt-SysRandom-XS-0.009.tar.gz'
| /usr/bin/gnutar --no-same-owner -xf -
---> Configuring p5.34-crypt-sysrandom-xs
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-xs/work/Crypt-SysRandom-
XS-0.009" && /opt/local/bin/perl5.34 Build.PL --installdirs=vendor
--config cc="/usr/bin/gcc-4.2" --config ld="/usr/bin/gcc-4.2"
Undefined symbols:
"_getrandom", referenced from:
_main in try_compileradl0.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/olRBOnfrcS/try_compilerUwoX.c: In function ‘main’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/olRBOnfrcS/try_compilerUwoX.c:8: error: ‘SYS_getrandom’
undeclared (first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/olRBOnfrcS/try_compilerUwoX.c:8: error: (Each undeclared
identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/olRBOnfrcS/try_compilerUwoX.c:8: error: for each function it
appears in.)
Undefined symbols:
"_arc4random_buf", referenced from:
_main in try_compilerR4pR.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Undefined symbols:
"_arc4random_buf", referenced from:
_main in try_compilerW5Il.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Undefined symbols:
"_arc4random_buf", referenced from:
_main in try_compiler8O8L.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:2:21: error: windows.h: No such
file or directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:5:22: error: winternl.h: No
such file or directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:6:22: error: ntstatus.h: No
such file or directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:7:20: error: bcrypt.h: No such
file or directory
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c: In function ‘main’:
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:12: error: ‘NULL’ undeclared
(first use in this function)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:12: error: (Each undeclared
identifier is reported only once
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:12: error: for each function it
appears in.)
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-
xs/work/.tmp/rJlvv8redH/try_compilerC3Bx.c:12: error:
‘BCRYPT_USE_SYSTEM_PREFERRED_RNG’ undeclared (first use in this function)
cc1: error: unrecognized command line option "-mrdrnd"
cc1: error: unrecognized command line option "-mrdrnd"
No suitable implementation found at
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-xs/work/Crypt-SysRandom-
XS-0.009/planner/xs.pl line 112.
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-xs/work/Crypt-SysRandom-
XS-0.009" && /opt/local/bin/perl5.34 Build.PL --installdirs=vendor
--config cc="/usr/bin/gcc-4.2" --config ld="/usr/bin/gcc-4.2"
Exit code: 2
Error: Failed to configure p5.34-crypt-sysrandom-xs: configure failure:
command execution failed
Error: See
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-crypt-sysrandom-xs/p5.34-crypt-sysrandom-xs/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe
there
is a bug.
Error: Processing of port p5.34-www-oauth failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72412>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list