Opened 12 months ago

Last modified 12 months ago

#68311 closed defect

p5.34-socket6 fails to build on Sonoma Xcode 15 — at Version 1

Reported by: jhoyt4 Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: p5-socket6

Description (last modified by jhoyt4)

Failing on Sonoma on both intel and arm64 - full log to be attached shortly.

macOS 14.0 23A344 x86_64 Xcode 15.0 15A240d

macOS 14.0 23A344 arm64 Xcode 15.0 15A240d

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

Change History (2)

Changed 12 months ago by jhoyt4

Attachment: p5.34-socket6.log added

comment:1 Changed 12 months ago by jhoyt4

Description: modified (diff)
Summary: p5.34-socket6 fails to build on Sonomap5.34-socket6 fails to build on Sonoma Xcode 15
Note: See TracTickets for help on using tickets.