tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Undefined PLT symbol "fma" in python on m68k



Hi,

Does anyone know where to look in python312 (probably others, too) to figure out how math got built without stuff like fma?

ImportError: /usr/pkg/lib/python3.12/lib-dynload/math.so: Undefined PLT symbol "fma" (symnum = 37)

This is pkgsrc-2024Q3 on NetBSD 10 on m68k.

Thanks,
John



(cd /tmp/pkgbuild/www/ddgr/work/ddgr-2.2/ && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=\ -pthread\ PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr DL_CFLAGS=\ -pthread\ DL_LDFLAGS=\ -pthread DL_LIBS= PYTHON=/usr/pkg/bin/python3.12 CC=gcc CFLAGS=-O2\ -fno-reorder-blocks\ -I/usr/include\ -I/usr/pkg/include/python3.12 CPPFLAGS=-I/usr/include\ -I/usr/pkg/include/python3.12 CXX=c++ CXXFLAGS=-O2\ -fno-reorder-blocks\ -I/usr/include\ -I/usr/pkg/include/python3.12 COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LANG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-L/usr/lib\ -Wl,-R/usr/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/tmp/pkgbuild/www/ddgr/work/.cwrapper/bin:/tmp/pkgbuild/www/ddgr/work/.buildlink/bin:/tmp/pkgbuild/www/ddgr/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin PREFIX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR=/usr/pkg/etc CPP=cpp CXXCPP=cpp HOME=/tmp/pkgbuild/www/ddgr/work/.home CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/www/ddgr/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/X11R7 PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/install BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wheel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/tmp/pkgbuild/www/ddgr/work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/tmp/pkgbuild/www/ddgr/work/.tools/bin/itstool GDBUS_CODEGEN=/tmp/pkgbuild/www/ddgr/work/.tools/bin/gdbus-codegen PKG_CONFIG=/tmp/pkgbuild/www/ddgr/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/tmp/pkgbuild/www/ddgr/work/.buildlink/lib/pkgconfig:/tmp/pkgbuild/www/ddgr/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/tmp/pkgbuild/www/ddgr/work/.pkg-config.log PKG_CONFIG_PATH= CWRAPPERS_CONFIG_DIR=/tmp/pkgbuild/www/ddgr/work/.cwrapper/config /usr/pkg/bin/python3.12 setup.py build )
Traceback (most recent call last):
File "/tmp/pkgbuild/www/ddgr/work/ddgr-2.2/setup.py", line 5, in <module>
    import setuptools
File "/usr/pkg/lib/python3.12/site-packages/setuptools/__init__.py", line 22, in <module>
    import _distutils_hack.override  # noqa: F401
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pkg/lib/python3.12/site-packages/_distutils_hack/override.py", line 1, in <module>
    __import__('_distutils_hack').do_override()
File "/usr/pkg/lib/python3.12/site-packages/_distutils_hack/__init__.py", line 90, in do_override
    ensure_local_distutils()
File "/usr/pkg/lib/python3.12/site-packages/_distutils_hack/__init__.py", line 73, in ensure_local_distutils
    importlib.import_module('distutils')
File "/usr/pkg/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/pkg/lib/python3.12/site-packages/_distutils_hack/__init__.py", line 110, in find_spec
    return method()
           ^^^^^^^^
File "/usr/pkg/lib/python3.12/site-packages/_distutils_hack/__init__.py", line 117, in spec_for_distutils
    import importlib.abc
  File "/usr/pkg/lib/python3.12/importlib/abc.py", line 18, in <module>
    from .resources import abc as _resources_abc
File "/usr/pkg/lib/python3.12/importlib/resources/__init__.py", line 3, in <module>
    from ._common import (
File "/usr/pkg/lib/python3.12/importlib/resources/_common.py", line 2, in <module>
    import pathlib
  File "/usr/pkg/lib/python3.12/pathlib.py", line 20, in <module>
    from urllib.parse import quote_from_bytes as urlquote_from_bytes
  File "/usr/pkg/lib/python3.12/urllib/parse.py", line 36, in <module>
    import math
ImportError: /usr/pkg/lib/python3.12/lib-dynload/math.so: Undefined PLT symbol "fma" (symnum = 37)
*** Error code 1

Stop.



Home | Main Index | Thread Index | Old Index