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
Maintainers CC'd
Can you provide the configure and build output? I also assume, that you do not have NIS installed on your system (ypcat and friends)?
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"
oh, "make config" does not have any output, and "make" (build) runs fine. "make install" always fails.
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.
Possible duplicate, see bug 186192
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
NIS detection has been slightly changed and we expect it to work properly now.
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
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[1]: stopped in /usr/ports/lang/python27 *** Error code 1
(In reply to Mikhail Teterin from comment #10) I had to delete the ancient /usr/bin/ypcat for Python to install. This was not necessary earlier. I have both of the below: % make -V NO_NIS -V WITHOUT:MNIS true NIS which used to be sufficient...
^Triage: mark this as (hopefully) overcome by events. python27 is no longer supported upstream and will be removed RSN.