From nobody@FreeBSD.org  Tue Jun  1 16:20:25 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 54A141065670
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  1 Jun 2010 16:20:25 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 43C558FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  1 Jun 2010 16:20:25 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o51GKO0N030179
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 1 Jun 2010 16:20:24 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o51GKOQQ030178;
	Tue, 1 Jun 2010 16:20:24 GMT
	(envelope-from nobody)
Message-Id: <201006011620.o51GKOQQ030178@www.freebsd.org>
Date: Tue, 1 Jun 2010 16:20:24 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: lang/python* doesn't compile nis.so when WITHOUT_NIS specified; breaks make package
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>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-python
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 01 16:30:01 UTC 2010
>Closed-Date:    Sun Sep 11 11:13:12 UTC 2011
>Last-Modified:  Sun Feb 03 22:28:56 UTC 2013
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->python 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Jun 1 16:30:13 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147291 

From: wen heping <wenheping@gmail.com>
To: bug-followup@FreeBSD.org, gcooper@FreeBSD.org
Cc:  
Subject: Re: ports/147291: lang/python* doesn't compile nis.so when 
	WITHOUT_NIS specified; breaks make package
Date: Fri, 4 Jun 2010 20:06:29 +0800

 Would this help?
 http://www.hydrus.org.uk/journal/pkg-creation.html
 
 Actullay, there were same PRs before:
 http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports&severity=&priority=&class=&state=&sort=none&text=NO_NIS&responsible=&multitext=&originator=&closedtoo=on&release=
 
 wen

From: Garrett Cooper <yaneurabeya@gmail.com>
To: wen heping <wenheping@gmail.com>
Cc: bug-followup@freebsd.org
Subject: Re: ports/147291: lang/python* doesn't compile nis.so when 
	WITHOUT_NIS specified; breaks make package
Date: Fri, 4 Jun 2010 09:37:29 -0700

 On Fri, Jun 4, 2010 at 5:06 AM, wen heping <wenheping@gmail.com> wrote:
 > Would this help?
 > http://www.hydrus.org.uk/journal/pkg-creation.html
 >
 > Actullay, there were same PRs before:
 > http://www.freebsd.org/cgi/query-pr-summary.cgi?category=ports&severity=&priority=&class=&state=&sort=none&text=NO_NIS&responsible=&multitext=&originator=&closedtoo=on&release=
 
 Yeah, the above link would work... changing NO_NIS to MK_NIS == "no"
 
 Thanks,
 -Garrett
Responsible-Changed-From-To: python->freebsd-python 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Mon Jun 7 13:27:08 UTC 2010 
Responsible-Changed-Why:  
Canonicalize assignment. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147291 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Sun Sep 11 11:13:11 UTC 2011 
State-Changed-Why:  
Duplicate of 115940 

http://www.freebsd.org/cgi/query-pr.cgi?pr=147291 
>Unformatted:
