Bug 207872 - lang/python27: poudriere and 10-STABLE-jail build failure
Summary: lang/python27: poudriere and 10-STABLE-jail build failure
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-10 06:58 UTC by O. Hartmann
Modified: 2017-04-09 12:49 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2016-03-10 06:58:10 UTC
The port fails to be built within poudriere jail, which is resembled from 10-STABLE.

The host running poudriere is running most recent CURRENT. Building lang/python27 with a jail also resembled from CURRENT on the very same host works flawless.

The 10-STABLE jail uses its own config files for make.conf and src.conf and they are "vanilla": no alterations made.

The port fails in staging with an Bad_c++_Code Error reported, below "portion of the poudriere log".

What to do?





portion of the poudriere log:

[...]
Creating directory /usr/local/lib/python2.7/config
install  -m 0644 Modules/config.c /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/config.c
install  -m 0644 Modules/python.o /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/python.o
install  -m 0644 ./Modules/config.c.in /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/config.c.in
install  -m 0644 Makefile /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/Makefile
install  -m 0644 Modules/Setup /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/Setup
install  -m 0644 Modules/Setup.local /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/Setup.local
install  -m 0644 Modules/Setup.config /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/Setup.config
install  -m 0644 Misc/python.pc /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/libdata/pkgconfig/python-2.7.pc
install  -m 555 ./Modules/makesetup /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/makesetup
install  -m 555 ./install-sh /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/config/install-sh
install  -m 555 python-config /wrkdirs/usr/ports/lang/python27/work/stage/usr/local/bin/python2.7-config
rm python-config
LD_LIBRARY_PATH=/wrkdirs/usr/ports/lang/python27/work/Python-2.7.11 ./python -E ./setup.py install  --prefix=/usr/local  --install-scripts=/usr/local/bin  --install-platlib=/usr/local/lib/python2.7/lib-dynload  --root=/wrkdirs/usr/ports/lang/python27/work/stage/
running install
running build
running build_ext
building dbm using ndbm
INFO: Can't locate Tcl/Tk libs and/or headers

Python build finished, but the necessary bits to build these modules were not found:
_bsddb             _sqlite3           _tkinter        
dl                 gdbm               imageop         
linuxaudiodev      spwd               sunaudiodev     
To find the necessary bits, look in setup.py in detect_modules() for the module's name.

running build_scripts
copying and adjusting /wrkdirs/usr/ports/lang/python27/work/Python-2.7.11/Tools/scripts/pydoc -> build/scripts-2.7
copying and adjusting /wrkdirs/usr/ports/lang/python27/work/Python-2.7.11/Tools/scripts/idle -> build/scripts-2.7
copying and adjusting /wrkdirs/usr/ports/lang/python27/work/Python-2.7.11/Tools/scripts/2to3 -> build/scripts-2.7
changing mode of build/scripts-2.7/pydoc from 644 to 755
changing mode of build/scripts-2.7/idle from 644 to 755
changing mode of build/scripts-2.7/2to3 from 644 to 755
renaming build/scripts-2.7/pydoc to build/scripts-2.7/pydoc2.7
renaming build/scripts-2.7/idle to build/scripts-2.7/idle2.7
renaming build/scripts-2.7/2to3 to build/scripts-2.7/2to3-2.7
running install_lib
error: error listing files in 'build/lib.freebsd-10.3-PRERELEASE-amd64-2.7': Operation not supported
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/lang/python27/work/Python-2.7.11
*** Error code 1

Stop.
make: stopped in /usr/ports/lang/python27
====>> Cleaning up wrkdir
===>  Cleaning for python27-2.7.11_1
build of lang/python27 ended at Thu Mar 10 07:21:35 CET 2016
build time: 00:00:42
!!! build failure encountered !!!
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2017-03-03 07:30:21 UTC
Hi,

Is the problem still present? Right now I can't reproduce it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2017-04-09 12:49:34 UTC
Feedback timeout