Hello.

With r482664 lang/python37 was updated to 3.7.1. So I updated ports
tree and built it. With poudriere build completed successfully. But
with real system build failed as following.

--- libpython3.so ---
cc -pthread -shared  -L/usr/local/lib  -fstack-protector  -Wl,--no-as-needed -o 
libpython3.so -Wl,-hlibpython3.so 
--- python ---
--- Programs/_testembed ---
--- python ---
cc -pthread  -L/usr/local/lib  -fstack-protector  -Wl,--export-dynamic -o 
python Programs/python.o -L. -lpython3.7m -lintl -ldl -L/usr/local/lib -lintl 
-lutil   -lm  
--- Programs/_testembed ---
cc -pthread  -L/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'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- pybuilddir.txt ---
--- Programs/_testembed ---
*** [Programs/_testembed] Error code 1

make[1]: stopped in 
/usr0/freebsd/ports/work/usr0/freebsd/ports/head/lang/python37/work/Python-3.7.1
--- pybuilddir.txt ---
LD_LIBRARY_PATH=/usr0/freebsd/ports/work/usr0/freebsd/ports/head/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
1 error

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

Stop.
make: stopped in /usr0/freebsd/ports/head/lang/python37
yasu@with[572]%

I tried on 11.2-RELEASE/12.0-BETA1 amd64 and got same result.

Does anyone else experienced this? Or are there anyone who succeeded
to build on real system?

Regards.

---
Yasuhiro KIMURA
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to