[Bug 234409] lang/python37: Python 3.7.2 fails to build
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Dec 28 10:55:11 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234409
hakan at siktas.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hakan at siktas.com
--- Comment #3 from hakan at siktas.com ---
What is the right way to apply this patch? I ran
patch /usr/ports/lang/python37/work/Python-3.7.2/Makefile.pre.in.orig
~/python372patch
to apply it without an error but then running
portmaster -d lang/python37
results in
/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)
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
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list