[Bug 232510] lang/python37: Python 3.7.1 fails to build (upgrade) with 3.7.0 installed

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Oct 24 03:23:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232510

--- Comment #21 from Serge <skh1002 at hotmail.com> ---
Hi there,
I've just tried building with ccache disabled. At first sight, the problem
remains the same. Here are the final lines of the error:

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 `test_init_from_config':
_testembed.c:(.text+0xd28): undefined reference to `_Py_InitializeFromConfig'
Programs/_testembed.o: In function `test_init_dev_mode':
_testembed.c:(.text+0xe0f): undefined reference to `_Py_InitializeFromConfig'
Programs/_testembed.o: In function `test_init_isolated':
_testembed.c:(.text+0xeb3): undefined reference to `_Py_InitializeFromConfig'
--- pybuilddir.txt ---
--- Programs/_testembed ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- pybuilddir.txt ---
LD_LIBRARY_PATH=/skeleton/usr/ports/lang/python37/work/Python-3.7.1 ./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

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list