[MacPorts] #71889: dbus-python313 does not build with Xcode gcc

MacPorts noreply at macports.org
Mon Jan 20 20:15:10 UTC 2025


#71889: dbus-python313 does not build with Xcode gcc
--------------------------+---------------------------------
 Reporter:  barracuda156  |      Owner:  MarcusCalhoun-Lopez
     Type:  defect        |     Status:  assigned
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  dbus-python313
--------------------------+---------------------------------
 {{{
 --->  Configuring dbus-python313
 Warning: ccache_dir /opt/local/var/macports/build/.ccache could not be
 initialized; disabling ccache: couldn't execute "ccache": no such file or
 directory
 Executing:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_dbus-python/dbus-python313/work
 /dbus-python-1.3.2" && ./configure
 --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/3.13
 --docdir=/opt/local/share/doc/dbus-python313 --disable-documentation
 --includedir=/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13
 checking whether make supports nested variables... yes
 checking whether to enable maintainer-specific portions of Makefiles...
 yes
 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 /usr/bin/gcc-4.2 -std=gnu99 understands -c and -o
 together... yes
 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 for wchar.h... yes
 checking for minix/config.h... no
 checking whether it is safe to define __EXTENSIONS__... yes
 checking whether _XOPEN_SOURCE should be defined... no
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
 checking for gawk... no
 checking for mawk... no
 checking for nawk... no
 checking for awk... awk
 checking whether make sets $(MAKE)... yes
 checking whether make supports the include directive... yes (GNU style)
 checking whether UID '502' is supported by ustar format... yes
 checking whether GID '501' is supported by ustar format... yes
 checking how to create a ustar tar archive... gnutar
 checking dependency style of /usr/bin/gcc-4.2 -std=gnu99... gcc3
 checking build system type... powerpc-apple-darwin10.8.0
 checking host system type... powerpc-apple-darwin10.8.0
 checking for native Windows host... no
 checking how to print strings... printf
 checking for a sed that does not truncate output... /usr/bin/sed
 checking for grep that handles long lines and -e... /usr/bin/grep
 checking for egrep... /usr/bin/grep -E
 checking for fgrep... /usr/bin/grep -F
 checking for ld used by /usr/bin/gcc-4.2 -std=gnu99... /usr/libexec/gcc
 /powerpc-apple-darwin10/4.2.1/ld
 checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld)
 is GNU ld... no
 checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
 -B
 checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 196608
 checking how to convert powerpc-apple-darwin10.8.0 file names to powerpc-
 apple-darwin10.8.0 format... func_convert_file_noop
 checking how to convert powerpc-apple-darwin10.8.0 file names to toolchain
 format... func_convert_file_noop
 checking for /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld option to
 reload object files... -r
 checking for file... file
 checking for objdump... no
 checking how to recognize dependent libraries... pass_all
 checking for dlltool... no
 checking how to associate runtime and link libraries... printf %s\n
 checking for ar... ar
 checking for archiver @FILE support... no
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /opt/local/bin/nm -B output from
 /usr/bin/gcc-4.2 -std=gnu99 object... ok
 checking for sysroot... no
 checking for a working dd... /bin/dd
 checking how to truncate binary pipes... /bin/dd bs=4096 count=1
 checking for mt... no
 checking if : is a manifest tool... no
 checking for dsymutil... dsymutil
 checking for nmedit... nmedit
 checking for lipo... lipo
 checking for otool... otool
 checking for otool64... no
 checking for -single_module linker flag... yes
 checking for -exported_symbols_list linker flag... yes
 checking for -force_load linker flag... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if /usr/bin/gcc-4.2 -std=gnu99 supports -fno-rtti -fno-
 exceptions... no
 checking for /usr/bin/gcc-4.2 -std=gnu99 option to produce PIC... -fno-
 common -DPIC
 checking if /usr/bin/gcc-4.2 -std=gnu99 PIC flag -fno-common -DPIC
 works... yes
 checking if /usr/bin/gcc-4.2 -std=gnu99 static flag -static works... no
 checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... yes
 checking if /usr/bin/gcc-4.2 -std=gnu99 supports -c -o file.o... (cached)
 yes
 checking whether the /usr/bin/gcc-4.2 -std=gnu99 linker (/usr/libexec/gcc
 /powerpc-apple-darwin10/4.2.1/ld) supports shared libraries... yes
 checking dynamic linker characteristics... darwin10.8.0 dyld
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... no
 checking for inline... inline
 checking for gawk... (cached) awk
 checking for python... /opt/local/bin/python3.13
 checking for a version of Python >= '2.1.0'... yes
 checking for a version of Python >= '2.7'... yes
 checking for the sysconfig Python package... yes
 checking for Python include path...
 -I/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13
 checking for Python library path...
 -L/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib
 -lpython3.13
 checking for Python site-packages path...
 /opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
 /site-packages
 checking for Python platform specific site-packages path...
 /opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13
 /site-packages
 checking python extra libraries...  -ldl  -framework CoreFoundation
 -latomic
 checking python extra linking flags...
 -L/opt/local/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/config-3.13-darwin
 -lpython3.13 -ldl -framework CoreFoundation
 checking consistency of all components of python development
 environment... no
 configure: error: in
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_dbus-python/dbus-python313/work
 /dbus-python-1.3.2':
 configure: error:
   Could not link test program to Python. Maybe the main Python library has
 been
   installed in some non-standard library path. If so, pass it to
 configure,
   via the LIBS environment variable.
   Example: ./configure LIBS="-L/usr/non-standard-path/python/lib"
 ============================================================================
    ERROR!
    You probably have to install the development version of the Python
 package
    for your distribution.  The exact name of this package varies among
 them.
 ============================================================================

 See `config.log' for more details
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_macports_release_tarballs_ports_devel_dbus-python/dbus-python313/work
 /dbus-python-1.3.2" && ./configure
 --prefix=/opt/local/Library/Frameworks/Python.framework/Versions/3.13
 --docdir=/opt/local/share/doc/dbus-python313 --disable-documentation
 --includedir=/opt/local/Library/Frameworks/Python.framework/Versions/3.13/include/python3.13
 Exit code: 1
 }}}

 It should use the same requirement for compiler as python PG.

-- 
Ticket URL: <https://trac.macports.org/ticket/71889>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list