maintainer-feedback requested: [Bug 234409] lang/python37: Python 3.7.2 fails to build

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 26 10:03:31 UTC 2018


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-python mailing
list <python at FreeBSD.org> for maintainer-feedback:
Bug 234409: lang/python37: Python 3.7.2 fails to build
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234409



--- Description ---
The latest port python37-3.7.2 fails to build with:

--- Programs/_testembed ---
cc -pthread  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -fstack-protector   
-Wl,--export-dynamic -o Programs/_testembed Programs/_testembed.o -L.
-lpython3.7m -lintl -ldl -L/usr/local/lib -lintl -lutil   -lm  
Programs/_testembed.o: In function `dump_config':
_testembed.c:(.text+0xfac): undefined reference to
`_Py_GetGlobalVariablesAsDict'
_testembed.c:(.text+0xff7): undefined reference to `_PyCoreConfig_AsDict'
_testembed.c:(.text+0x103c): undefined reference to
`_PyMainInterpreterConfig_AsDict'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- pybuilddir.txt ---
LD_LIBRARY_PATH=/usr/ports/lang/python37/work/Python-3.7.2 ./python -E -S -m
sysconfig --generate-posix-vars ; if test $? -ne 0 ; then  echo
"generate-posix-vars failed" ;	rm -f ./pybuilddir.txt ;  exit 1 ;  fi
--- Programs/_testembed ---
*** [Programs/_testembed] Error code 1

make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.2
1 error

make[2]: stopped in /usr/ports/lang/python37/work/Python-3.7.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/lang/python37
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python37


More information about the freebsd-python mailing list