Bug 201974 - lang/python27 package build fails during 'make buildworld' likely needs MAKE_JOBS_UNSAFE
Summary: lang/python27 package build fails during 'make buildworld' likely needs MAKE_...
Status: Closed DUPLICATE of bug 200622
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: Kubilay Kocak
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2015-07-29 17:45 UTC by slvr32
Modified: 2015-07-30 02:47 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description slvr32 2015-07-29 17:45:59 UTC
===>  Building for python27-2.7.10
install  -m 0644 ./Tools/gdb/libpython.py python-gdb.py
/usr/bin/make Parser/pgen
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/tokenizer_pgen.o Parser/tokenizer_pgen.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/printgrammar.o Parser/printgrammar.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/pgenmain.o Parser/pgenmain.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/node.o Parser/node.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/parser.o Parser/parser.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/parsetok.o Parser/parsetok.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/bitset.o Parser/bitset.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/metagrammar.o Parser/metagrammar.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/firstsets.o Parser/firstsets.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/grammar.o Parser/grammar.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/pgen.o Parser/pgen.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Objects/obmalloc.o Objects/obmalloc.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Python/mysnprintf.o Python/mysnprintf.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/myreadline.o Parser/myreadline.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Python/pyctype.o Python/pyctype.c
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Parser/tokenizer.o Parser/tokenizer.c
cc -DNDEBUG -lpthread  -Wl,-rpath=/usr/lib:/usr/local/lib Parser/acceler.o  Parser/grammar1.o  Parser/listnode.o  Parser/node.o  Parser/parser.o  Parser/parsetok.o  Parser/bitset.o  Parser/metagrammar.o  Parser/firstsets.o  Parser/grammar.o  Parser/pgen.o Objects/obmalloc.o  Python/mysnprintf.o  Python/pyctype.o  Parser/tokenizer_pgen.o  Parser/printgrammar.o  Parser/pgenmain.o -L/usr/local/lib -lintl -lutil -o Parser/pgen
cc -c -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -DNDEBUG  -I. -IInclude -I./Include -I/usr/local/include -fPIC -DPy_BUILD_CORE -o Objects/abstract.o Objects/abstract.c
Parser/pgenmain.o: In function `getgrammar':
pgenmain.c:(.text+0x244): undefined reference to `_Py_pgen'
*** [Parser/pgen] Error code 1
1 error
*** [Include/graminit.h] Error code 2
1 error
===> Compilation failed unexpectedly.
Python 2.7 build can break 'make buildworld', likely needs MAKE_JOBS_UNSAFE=yes to build reliably.

Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/lang/python27.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/py-setuptools27.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/py-Jinja2.
*** [build-depends] Error code 1

Stop in /usr/ports/textproc/py-sphinx.
*** [build-depends] Error code 1

Stop in /usr/ports/devel/cmake.
*** [build-depends] Error code 1

Stop in /usr/ports/graphics/png.
*** [lib-depends] Error code 1

Stop in /usr/ports/graphics/netpbm.
*** [run-depends] Error code 1

Stop in /usr/ports/textproc/docproj.
Comment 1 slvr32 2015-07-29 17:47:56 UTC
This build occasionally fails during 'make buildworld', and Python 2.7 package likely needs MAKES_JOBS_UNSAFE=yes.
Comment 2 Kubilay Kocak freebsd_committer freebsd_triage 2015-07-30 02:47:53 UTC
Very likely duplicate of bug 200622. Will address it there. Thank you for the report!

*** This bug has been marked as a duplicate of bug 200622 ***