Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jun 2010 16:20:24 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/147291: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package
Message-ID:  <201006011620.o51GKOQQ030178@www.freebsd.org>
Resent-Message-ID: <201006011630.o51GU2pE001907@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201006011620.o51GKOQQ030178>