[MacPorts] #71830: p5-term-readkey: ReadKey.c: loadable library and perl binaries are mismatched (got handshake key 0xcf00080, needed 0xce40080)
MacPorts
noreply at macports.org
Tue Jan 14 07:44:35 UTC 2025
#71830: p5-term-readkey: ReadKey.c: loadable library and perl binaries are
mismatched (got handshake key 0xcf00080, needed 0xce40080)
--------------------------+-----------------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: p5-term-readkey
--------------------------+-----------------------------
Got this error now:
{{{
---> Configuring p5.34-term-readkey
Executing: cd
"/opt/bootstrap/var/macports/build/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-term-readkey/p5.34-term-readkey/work/TermReadKey-2.38" &&
/opt/bootstrap/bin/perl5.34 Makefile.PL INSTALLDIRS=vendor
CC="/usr/bin/gcc-4.2" LD="/usr/bin/gcc-4.2"
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Term::ReadKey
Writing MYMETA.yml and MYMETA.json
Fixing flags in Makefile
---> Patching Makefile: /^CCFLAGS *=/s|$| -arch ppc -isysroot/|
---> Patching Makefile: /^OTHERLDFLAGS *=/s|$| -arch ppc
-Wl,-syslibroot,/|
---> Patching Makefile: s|^(CC *=).*|\1 /usr/bin/gcc-4.2|
---> Building p5.34-term-readkey
Executing: cd
"/opt/bootstrap/var/macports/build/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-term-readkey/p5.34-term-readkey/work/TermReadKey-2.38" && /usr/bin/make
-w all
make: Entering directory
`/opt/bootstrap/var/macports/build/_opt_bootstrap_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_perl_p5
-term-readkey/p5.34-term-readkey/work/TermReadKey-2.38'
Running Mkbootstrap for ReadKey ()
chmod 644 "ReadKey.bs"
"/opt/bootstrap/bin/perl5.34" -MExtUtils::Command::MM -e 'cp_nonempty' --
ReadKey.bs blib/arch/auto/Term/ReadKey/ReadKey.bs 644
"/opt/bootstrap/bin/perl5.34"
"/opt/bootstrap/lib/perl5/5.34/ExtUtils/xsubpp" -noprototypes -typemap
'/opt/bootstrap/lib/perl5/5.34/ExtUtils/typemap' ReadKey.xs > ReadKey.xsc
mv ReadKey.xsc ReadKey.c
"/opt/bootstrap/bin/perl5.34" genchars.pl
Writing termio/termios section of cchars.h... Done.
Checking for sgtty...
Sgtty found.
Checking sgtty...
tchars structure found.
ltchars structure found.
Checking symbols
t_brkc (EOL) found in tchars
t_dsuspc (DSUSPEND) found in ltchars
t_eofc (EOF) found in tchars
t_flushc (DISCARD) found in ltchars
t_intrc (INTERRUPT) found in tchars
t_lnextc (QUOTENEXT) found in ltchars
t_quitc (QUIT) found in tchars
t_rprntc (REPRINT) found in ltchars
t_startc (START) found in tchars
t_stopc (STOP) found in tchars
t_suspc (SUSPEND) found in ltchars
t_werasc (ERASEWORD) found in ltchars
Writing sgtty section of cchars.h... Done.
/usr/bin/gcc-4.2 -c -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-
aliasing -fstack-protector -I/opt/bootstrap/include -DPERL_USE_SAFE_PUTENV
-arch ppc -isysroot/ -O3 -DVERSION=\"2.38\" -DXS_VERSION=\"2.38\"
"-I/opt/bootstrap/lib/perl5/5.34/darwin-thread-multi-2level/CORE"
ReadKey.c
In file included from ReadKey.xs:7:
ppport.h:4387:1: warning: "WIDEST_UTYPE" redefined
In file included from /opt/bootstrap/lib/perl5/5.34/darwin-thread-multi-
2level/CORE/perl.h:2930,
from ReadKey.xs:5:
/opt/bootstrap/lib/perl5/5.34/darwin-thread-multi-
2level/CORE/handy.h:1382:1: warning: this is the location of the previous
definition
rm -f blib/arch/auto/Term/ReadKey/ReadKey.bundle
/usr/bin/gcc-4.2 -bundle -undefined dynamic_lookup -L/opt/bootstrap/lib
-Wl,-headerpad_max_install_names -fstack-protector ReadKey.o -arch ppc
-Wl,-syslibroot,/ -o blib/arch/auto/Term/ReadKey/ReadKey.bundle \
\
chmod 755 blib/arch/auto/Term/ReadKey/ReadKey.bundle
"/opt/bootstrap/bin/perl5.34" "-Iblib/arch" "-Iblib/lib" ReadKey.pm.PL
ReadKey.pm
ReadKey.c: loadable library and perl binaries are mismatched (got
handshake key 0xcf00080, needed 0xce40080)
make: *** [ReadKey.pm] Error 1
}}}
I think I have seen a similar error with another Perl port earlier.
--
Ticket URL: <https://trac.macports.org/ticket/71830>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list