Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2018 03:23:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 232510] lang/python37: Python 3.7.1 fails to build (upgrade) with 3.7.0 installed
Message-ID:  <bug-232510-21822-jqqliOhwmT@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-232510-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-232510-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232510

--- Comment #21 from Serge <skh1002@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=20
-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_InitializeFromConfi=
g'
Programs/_testembed.o: In function `test_init_dev_mode':
_testembed.c:(.text+0xe0f): undefined reference to `_Py_InitializeFromConfi=
g'
Programs/_testembed.o: In function `test_init_isolated':
_testembed.c:(.text+0xeb3): undefined reference to `_Py_InitializeFromConfi=
g'
--- pybuilddir.txt ---
--- Programs/_testembed ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--- pybuilddir.txt ---
LD_LIBRARY_PATH=3D/skeleton/usr/ports/lang/python37/work/Python-3.7.1 ./pyt=
hon -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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232510-21822-jqqliOhwmT>