[MacPorts] #72461: py313-libnewt does not use right compiler
MacPorts
noreply at macports.org
Fri May 9 18:28:52 UTC 2025
#72461: py313-libnewt does not use right compiler
--------------------------+---------------------------
Reporter: barracuda156 | Owner: ryandesign
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.7
Keywords: | Port: py313-libnewt
--------------------------+---------------------------
{{{
---> Extracting newt-0.52.24.tar.gz
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work"
&& /usr/bin/gzip -dc
'/opt/local/var/macports/distfiles/libnewt/newt-0.52.24.tar.gz' |
/usr/bin/gnutar --no-same-owner -xf -
---> Applying patches to py313-libnewt
---> Applying patch-Makefile.in.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24"
&& /usr/bin/patch -t -N -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libnewt/files
/patch-Makefile.in.diff'
patching file Makefile.in
---> Applying patch-configure.ac.diff
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24"
&& /usr/bin/patch -t -N -p0 <
'/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/libnewt/files
/patch-configure.ac.diff'
patching file configure.ac
---> Configuring py313-libnewt
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24"
&& autoreconf --install --verbose
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: /opt/local/bin/aclocal
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /opt/local/bin/autoconf
autoreconf: running: /opt/local/bin/autoheader
autoreconf: configure.ac: not using Automake
autoreconf: Leaving directory '.'
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24"
&& ./configure --prefix=/opt/local --with-python=python3.13 --without-tcl
checking for gcc... /usr/bin/gcc-4.2
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to enable C11 features... unsupported
checking for /usr/bin/gcc-4.2 option to enable C99 features... -std=gnu99
checking whether ln -s works... yes
checking for grep that handles long lines and -e... /usr/bin/grep
checking for /usr/bin/gcc-4.2 -std=gnu99 option to enable large file
support... none needed
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking size of long... 4
checking size of long long... 8
checking size of void *... 4
checking for GNU ld... no
checking for sys/select.h... yes
checking for alloca.h... yes
checking for slang.h... yes
checking for popt.h... yes
checking for libintl.h... yes
checking for python versions... python3.13
checking for gettext in -lc... no
checking for gettext in -lintl... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libnewt.pc
config.status: creating config.h
---> Building py313-libnewt
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24"
&& /usr/bin/make -j6 -w _snack.so LIBNEWTSH=
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24'
/usr/bin/gcc-4.2 -std=gnu99 -fPIC -pipe -Os -arch ppc -D_GNU_SOURCE
-I/opt/local/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13
-I/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13
-fno-strict-overflow -Wsign-compare -fno-common -dynamic -DNDEBUG -g -O3
-Wall -pipe -Os -c -o python3.13/snack.o snack.c
In file included from
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/pyatomic.h:9,
from
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/Python.h:70,
from snack.c:2:
/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13/cpython/pyatomic.h:543:4:
error: #error "no available pyatomic implementation for this
platform/compiler"
/usr/bin/gcc-4.2 -std=gnu99 -bundle -L/opt/local/lib
-Wl,-headerpad_max_install_names -arch ppc
-L/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin
-lpython3.13 -ldl -framework CoreFoundation -latomic -o
python3.13/_snack.so python3.13/snack.o -L. -lnewt -lslang -lintl
powerpc-apple-darwin10-gcc-4.2.1: python3.13/snack.o: No such file or
directory
make: *** [_snack.so] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libnewt/py313-libnewt/work/newt-0.52.24"
&& /usr/bin/make -j6 -w _snack.so LIBNEWTSH=
Exit code: 2
Error: Failed to build py313-libnewt: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72461>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list