Summary: | lang/python27: building python27-2.7.6_1 fails for WITH_NIS=y | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | oz42 |
Component: | Individual Port(s) | Assignee: | Kubilay Kocak <koobs> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any | ||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193650 | ||
Bug Depends on: | 186412 | ||
Bug Blocks: |
Description
oz42
2014-01-28 12:10:00 UTC
Responsible Changed From-To: freebsd-ports-bugs->freebsd-python Over to maintainer (via the GNATS Auto Assign Tool) This PR is similar ports/147291. The problem is that src.conf isn=92t sourced in the ports build = infrastructure, so any variables plugged into src.conf won=92t get = picked up when building ports. Adding WITHOUT_NIS=3Dyes to /etc/make.conf will work around the = issue though. I=92m not sure if looking for *_failed.so would be a good idea = when creating the plist, but it would at least avoid the install/package = creation issue. Thanks! -Garrett= Am 01.02.2014 19:49, schrieb Garrett Cooper:
> This PR is similar ports/147291.
> The problem is that src.conf isnt sourced in the ports build infrastructure, so any variables plugged into src.conf wont get picked up when building ports.
> Adding WITHOUT_NIS=yes to /etc/make.conf will work around the issue though.
> Im not sure if looking for *_failed.so would be a good idea when creating the plist, but it would at least avoid the install/package creation issue.
> Thanks!
> -Garrett
>
Thanks! I had no idea that this make.conf options still do exist in 10.0
because:
[root@betsy ~/log]# man make.conf|grep NIS
[root@betsy ~/log]#
Cheers
Olaf
ports/186351 has been closed as a duplicate of this PR, but may contain useful information This one is already fixed in current ports version and in HEAD. MFC is pending: http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/186412 -- Sphinx of black quartz, judge my vow. Can you please tell me when this bug will be fixed? # grep NIS /etc/make.conf OPTIONS_UNSET=NIS X11 [root@lizzy /usr/ports/lang/python27]# make install ===> Installing for python27-2.7.6_4 ===> python27-2.7.6_4 depends on shared library: libintl.so - found ===> Checking if lang/python27 already installed ===> Registering installation for python27-2.7.6_4 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 Stop. make[1]: stopped in /usr/ports/lang/python27 *** Error code 1 Stop. make: stopped in /usr/ports/lang/python27 Support for removing files when WITHOUT_NIS is set in /etc/src.conf has been MFC'd: head: http://svnweb.freebsd.org/changeset/base/261521 stable/10: http://svnweb.freebsd.org/changeset/base/264116 stable/9: http://svnweb.freebsd.org/changeset/base/264117 Olaf, unless you can upgrade to the -CURRENT or -STABLE revisions mentioned above, please either: 1) Set WITHOUT_NIS=yes in /etc/make.conf, OR 2) Move or remove the /usr/bin/ypcat file These are currently the two methods by which the Python ports will disable building the Python nis extension and remove the entry from the pkg-plist State Changed From-To: open->feedback Dependent PR committed and closed. Pending confirmation from submitter Responsible Changed From-To: freebsd-python->koobs I'll take it. Confirmation timeout. Fix committed to HEAD, stable/10 and stable/9 |