Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Dec 2018 10:03:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 234409] lang/python37: Python 3.7.2 fails to build
Message-ID:  <bug-234409-21822-mVukUbmViY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-234409-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-234409-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-python mailing
list <python@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=3D234409



--- 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=
=20=20=20
-Wl,--export-dynamic -o Programs/_testembed Programs/_testembed.o -L.
-lpython3.7m -lintl -ldl -L/usr/local/lib -lintl -lutil   -lm=20=20
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=3D/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
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes 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



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