ports/147291: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package
Garrett Cooper
gcooper at FreeBSD.org
Tue Jun 1 16:30:02 UTC 2010
>Number: 147291
>Category: ports
>Synopsis: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Jun 01 16:30:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: 9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r206173M: Mon Apr 26 22:45:06 PDT 2010 root at bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA.ata amd64
>Description:
nis is conditionally compiled for pwd support in python. Specifying WITHOUT_NIS blocks this module from being compiled in both lang/python26 and lang/python31:
$ sudo pkg_create -b /var/db/pkg/python26-2.6.5/
tar: lib/python2.6/lib-dynload/nis.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
$ sudo pkg_create -b /var/db/pkg/python31-3.1.2/
tar: lib/python3.1/lib-dynload/_multiprocessing.so: Cannot stat: No such file or directory
tar: lib/python3.1/lib-dynload/nis.so: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
Note: the multiprocessing item is an artifact of another commit fix needing to be made for WITH_THREADS and devel/pth.
>How-To-Repeat:
1. Build and install world with -DWITHOUT_NIS
2. Install lang/python{26,31} from ports.
3. Run pkg_create -b /var/db/pkg/python{26,31}*
>Fix:
Will submit a patch later on.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list