[MacPorts] #68311: p5.34-socket6 fails to build on Sonoma
MacPorts
noreply at macports.org
Sun Oct 1 12:36:37 UTC 2023
#68311: p5.34-socket6 fails to build on Sonoma
-------------------------------+---------------------------------------
Reporter: jhoyt4 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: p5-socket6 sonoma | Port: p5.34-socket6, p5-socket6
-------------------------------+---------------------------------------
Failing on Sonoma on both intel and arm64 - full log to be attached
shortly.
Here's the first warning - there are a 188 of these types of warnigns.
{{{
In file included from /opt/local/lib/perl5/5.34/darwin-thread-multi-
2level/CORE/sbox32_hash.h:4:
/opt/local/lib/perl5/5.34/darwin-thread-multi-
2level/CORE/zaphod32_hash.h:150:5: warning: '(' and '{' tokens introducing
statement expression appear in different macro expansion contexts
[-Wcompound-token-split-by-macro]
ZAPHOD32_SCRAMBLE32(state[0],0x9fade23b);
^~~~~~~~~~~~~~~~~~~~~
}}}
Here's the first error
{{{
/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE/perl.h:738:21:
note: expanded from macro 'STMT_END'
# define STMT_END )
^
Socket6.xs:753:12: error: use of undeclared identifier 'sv_undef'
PUSHs(&PL_sv_undef);
^
Socket6.xs:110:22: note: expanded from macro 'PL_sv_undef'
#define PL_sv_undef sv_undef
^
}}}
Tail of the log:
{{{
188 warnings and 1 error generated.
make: *** [Socket6.o] Error 1
make: Leaving directory `/opt/local/var/macports/build
/_opt_mports_macports-
ports_perl_p5-socket6/p5.34-socket6/work/Socket6-0.29'
Command failed: cd "/opt/local/var/macports/build/_opt_mports_macports-
ports_perl_p5-socket6/p5.34-socket6/work/Socket6-0.29" && /usr/bin/make
-j12 -w all
Exit code: 2
Error: Failed to build p5.34-socket6: command execution failed
DEBUG: Error code: CHILDSTATUS 48453 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_mports_macports-
ports_perl_p5-socket6/p5.34-socket6/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-socket6 failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/68311>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list