Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Nov 2009 21:05:41 GMT
From:      Stef Walter <stef@memberwebs.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/140256: [patch] Fix make package for devel/py-parsing
Message-ID:  <200911032105.nA3L5fjZ003182@www.freebsd.org>
Resent-Message-ID: <200911032110.nA3LA1LH040754@freefall.freebsd.org>

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

>Number:         140256
>Category:       ports
>Synopsis:       [patch] Fix make package for devel/py-parsing
>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 Nov 03 21:10:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Stef Walter
>Release:        7.2-RELEASE
>Organization:
>Environment:
FreeBSD 7orient.ws.local 7.2-RELEASE FreeBSD 7.2-RELEASE-p4 #2: Sat Oct  3 02:36:12 UTC 2009     root@dev-test2.ws.local:/usr/obj/usr/src/sys/DEVTEST2  amd64

>Description:
Running 'make package' on the port devel/py-parsing when python 3.x is not installed doesn't work:

/usr/ports/devel/py-parsing # make package
===>  Building package for py26-parsing-1.5.2_1
Creating package /data/packages/All/py26-parsing-1.5.2_1.tbz
Registering depends: python26-2.6.2_3.
Creating bzip'd tar ball in '/data/packages/All/py26-parsing-1.5.2_1.tbz'
tar: lib/python2.6/site-packages/pyparsing_py3.pyc: Cannot stat: No such file or directory
tar: lib/python2.6/site-packages/pyparsing_py3.pyo: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** Error code 1

>How-To-Repeat:

>Fix:
Attached is a patch which fixes the problem for me. However I do not believe this to be a complete fix.

Patch attached with submission follows:

--- ./pkg-plist.orig	2009-11-02 21:59:26.000000000 +0000
+++ ./pkg-plist	2009-11-02 21:59:37.000000000 +0000
@@ -3,6 +3,4 @@
 %%PYTHON_SITELIBDIR%%/pyparsing.pyo
 %%PYTHON_SITELIBDIR%%/pyparsing_py3.py
-%%PYTHON_SITELIBDIR%%/pyparsing_py3.pyc
-%%PYTHON_SITELIBDIR%%/pyparsing_py3.pyo
 %%PORTDOCS%%%%DOCSDIR%%/api-objects.txt
 %%PORTDOCS%%%%DOCSDIR%%/class-tree.html


>Release-Note:
>Audit-Trail:
>Unformatted:



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