Opened 12 months ago
Last modified 12 months ago
#68311 closed defect
p5.34-socket6 @0.290.0_0 fails to build with ccache enabled — at Version 7
Reported by: | jhoyt4 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | p5-socket6 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
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 (8)
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 Sonoma → p5.34-socket6 fails to build on Sonoma Xcode 15 |
comment:2 Changed 12 months ago by jmroot (Joshua Root)
Keywords: | p5-socket6 removed |
---|---|
Summary: | p5.34-socket6 fails to build on Sonoma Xcode 15 → p5.34-socket6 @0.290.0_0 fails to build on Sonoma Xcode 15 |
comment:3 Changed 12 months ago by jmroot (Joshua Root)
checking whether your Perl5 have PL_sv_undef... no
Does it work without ccache?
comment:4 Changed 12 months ago by jhoyt4
I have ccache installed. After uninstalling ccache it compiled and installed (at least on intel)
comment:6 Changed 12 months ago by jhoyt4
Summary: | p5.34-socket6 @0.290.0_0 fails to build on Sonoma Xcode 15 → p5.34-socket6 @0.290.0_0 fails to build with ccache enabled on Sonoma Xcode 15 |
---|
comment:7 Changed 12 months ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | sonoma removed |
Port: | por added; p5.34-socket6 p5-socket6 removed |
Summary: | p5.34-socket6 @0.290.0_0 fails to build with ccache enabled on Sonoma Xcode 15 → p5.34-socket6 @0.290.0_0 fails to build with ccache enabled |
Confirmed on Monterey. With ccache installed and configureccache yes
in macports.conf, config.log contains:
configure:2795: checking whether your Perl5 have PL_sv_undef ccache: invalid option -- f make: *** [conftest.o] Error 1
With configureccache no
:
configure:2795: checking whether your Perl5 have PL_sv_undef ... 94 warnings generated. configure:2839: result: yes
Also confirmed issue also occurs with p5.30-socket6.
Note: See
TracTickets for help on using
tickets.