Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 13:54:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 234409] lang/python37: Python 3.7.2 fails to build
Message-ID:  <bug-234409-21822-2n7T5HRCWr@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
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D234409

--- Comment #5 from hakan@siktas.com ---
(In reply to wen from comment #4)
Alright, I just did that and now the error as changed slightly:


--- Programs/_testembed ---
/usr/bin/ld: error: undefined symbol: _Py_GetGlobalVariablesAsDict
>>> referenced by _testembed.c
>>>               Programs/_testembed.o:(dump_config)

/usr/bin/ld: error: undefined symbol: _PyCoreConfig_AsDict
>>> referenced by _testembed.c
>>>               Programs/_testembed.o:(dump_config)

/usr/bin/ld: error: undefined symbol: _PyMainInterpreterConfig_AsDict
>>> referenced by _testembed.c
>>>               Programs/_testembed.o:(dump_config)
--- 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 ---
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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