pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/49418: Fix devel/py-py2app PLIST



>Number:         49418
>Category:       pkg
>Synopsis:       Fix devel/py-py2app PLIST
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Nov 25 11:00:00 +0000 2014
>Originator:     venture37%geeklan.co.uk@localhost
>Release:        pkgsrc-current
>Organization:
>Environment:
>Description:
devel/py2app fails at the install stage with the following PLIST error:

ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /tmp/devel/py-py2app/work/.destdir/usr/pkg:
ERROR:         /tmp/devel/py-py2app/work/.destdir/usr/pkg/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-powerpc
ERROR:         /tmp/devel/py-py2app/work/.destdir/usr/pkg/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/secondary-powerpc
ERROR:         /tmp/devel/py-py2app/work/.destdir/usr/pkg/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-powerpc
ERROR: ************************************************************
ERROR: The following files are in /tmp/devel/py-py2app/work/.destdir/usr/pkg but not in the PLIST:
ERROR:         /tmp/devel/py-py2app/work/.destdir/usr/pkg/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/main-x86_64
ERROR:         /tmp/devel/py-py2app/work/.destdir/usr/pkg/lib/python2.7/site-packages/py2app/apptemplate/prebuilt/secondary-x86_64
ERROR:         /tmp/devel/py-py2app/work/.destdir/usr/pkg/lib/python2.7/site-packages/py2app/bundletemplate/prebuilt/main-x86_64


1) PLIST is incomplete and doesn't include the x86_64 suffixed files
2) the main-${MACHINE_ARCH} entries in the PLIST are causing thing to trip up, pkgsrc refers to PowerPC arch as powerpc but the bundled files for this arch take the alternative reference as ppc & ppc64.
The included patch removes the ${MACHINE_ARCH} suffixed entries & adds the missing items.
>How-To-Repeat:

>Fix:
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/devel/py-py2app/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST       7 Aug 2014 01:58:35 -0000       1.3
+++ PLIST       25 Nov 2014 10:48:01 -0000
@@ -27,7 +27,7 @@
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-ppc
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-ppc64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/main-universal
-${PYSITELIB}/py2app/apptemplate/prebuilt/main-${MACHINE_ARCH}
+${PYSITELIB}/py2app/apptemplate/prebuilt/main-x86_64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-fat
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-fat3
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-i386
@@ -35,7 +35,7 @@
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-ppc
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-ppc64
 ${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-universal
-${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-${MACHINE_ARCH}
+${PYSITELIB}/py2app/apptemplate/prebuilt/secondary-x86_64
 ${PYSITELIB}/py2app/apptemplate/setup.py
 ${PYSITELIB}/py2app/apptemplate/setup.pyc
 ${PYSITELIB}/py2app/apptemplate/setup.pyo
@@ -123,7 +123,7 @@
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-ppc
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-ppc64
 ${PYSITELIB}/py2app/bundletemplate/prebuilt/main-universal
-${PYSITELIB}/py2app/bundletemplate/prebuilt/main-${MACHINE_ARCH}
+${PYSITELIB}/py2app/bundletemplate/prebuilt/main-x86_64
 ${PYSITELIB}/py2app/bundletemplate/setup.py
 ${PYSITELIB}/py2app/bundletemplate/setup.pyc
 ${PYSITELIB}/py2app/bundletemplate/setup.pyo



Home | Main Index | Thread Index | Old Index