|Summary:||lang/python27 fails to install when base built without NIS|
|Product:||Ports & Packages||Reporter:||oz42|
|Component:||Individual Port(s)||Assignee:||freebsd-python (Nobody) <python>|
|Severity:||Affects Some People||CC:||mi, mva, python|
Description oz42 2014-09-15 07:47:36 UTC
portupgrade -a on FB 10.0p8 says: [1/1] Deleting python27-2.7.8_4: 100% [Reading data from pkg(8) ... - 170 packages found - done] ---> Installing the new version via the port ===> Installing for python27-2.7.8_5 ===> python27-2.7.8_5 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so.9) ===> Registering installation for python27-2.7.8_5 as automatic pkg-static: lstat(/usr/ports/lang/python27/work/stage/usr/local/lib/python2.7/lib-dynload/nis.so): No such file or directory *** Error code 74 make.conf is: KERNCONF=OZ MODULES_OVERRIDE=re OPTIONS_UNSET= NIS
Comment 1 Bugzilla Automation 2014-09-15 07:47:36 UTC
Comment 2 Marcus von Appen 2014-09-17 06:19:25 UTC
Can you provide the configure and build output? I also assume, that you do not have NIS installed on your system (ypcat and friends)?
Comment 3 oz42 2014-09-17 11:27:26 UTC
I really would like to "deinstall" NIS and the yp* stuff, but a "make delete-old" in /src leaves it intact. src.conf says "WITHOUT_NIS=YES" and make.conf says "OPTIONS_UNSET=NIS X11"
Comment 4 oz42 2014-09-17 11:29:22 UTC
oh, "make config" does not have any output, and "make" (build) runs fine. "make install" always fails.
Comment 5 Marcus von Appen 2014-09-17 16:14:56 UTC
We really need to see the full configure and build output to find out, why it breaks. Can you log it to a file and attach the file to this bug? # make clean # make 2>&1 | tee build.log should log everything of relevance for further investigation.
Comment 7 commit-hook 2014-12-22 09:46:21 UTC
A commit references this bug: Author: mva Date: Mon Dec 22 09:45:39 UTC 2014 New revision: 375220 URL: https://svnweb.freebsd.org/changeset/ports/375220 Log: lang/python27: Update to 2.7.9 The FreeBSD Python team welcomes Python 2.7.9 to the Ports tree! Announcement: https://www.python.org/downloads/release/python-279/ Changelog: http://hg.python.org/cpython/raw-file/v2.7.9/Misc/NEWS Important changes for this release: - The entirety of Python 3.4's ssl module has been backported for Python 2.7.9. See PEP 466 for justification. - HTTPS certificate validation using the system's certificate store is now enabled by default. See PEP 476 for details. - SSLv3 has been disabled by default in httplib and its reverse dependencies due to the POODLE attack. - The ensurepip module module has been backported, which provides the pip package manager in every Python 2.7 installation. See PEP 477. - While updating, try to improve the NIS detection for FreeBSD PR: 193650 Differential Revision: https://reviews.freebsd.org/D1323 Reviewed by: koobs With hat: python Changes: head/lang/python-doc-html/distinfo head/lang/python27/Makefile head/lang/python27/distinfo head/lang/python27/files/patch-Modules-_ctypes-libffi-configure head/lang/python27/files/patch-issue21166 head/lang/python27/pkg-plist
Comment 8 Marcus von Appen 2014-12-22 09:48:23 UTC
NIS detection has been slightly changed and we expect it to work properly now.
Comment 9 commit-hook 2014-12-22 09:48:23 UTC
A commit references this bug: Author: mva Date: Mon Dec 22 09:47:37 UTC 2014 New revision: 375221 URL: https://svnweb.freebsd.org/changeset/ports/375221 Log: - Python 3.x: try to improve the NIS detection for FreeBSD PR: 193650 With hat: python Changes: head/lang/python32/Makefile head/lang/python33/Makefile head/lang/python34/Makefile
Comment 10 Mikhail Teterin 2019-08-22 12:03:43 UTC
Just had this happen on a freshly updated ports-tree: root@mama:/usr/ports/lang/python27 # make install ===> Installing for python27-2.7.16_1 ===> Checking if python27 is already installed ===> Registering installation for python27-2.7.16_1 pkg-static: Unable to access file /home/usr/ports/lang/python27/work/stage/opt/lib/python2.7/lib-dynload/nis.so:No such file or directory *** Error code 74 Stop. make: stopped in /usr/ports/lang/python27 *** Error code 1