NetBSD Problem Report #49418
From www@NetBSD.org Tue Nov 25 10:55:02 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 62001A5809
for <gnats-bugs@gnats.NetBSD.org>; Tue, 25 Nov 2014 10:55:02 +0000 (UTC)
Message-Id: <20141125105501.36C40A654C@mollari.NetBSD.org>
Date: Tue, 25 Nov 2014 10:55:01 +0000 (UTC)
From: Sevan@NetBSD.org, Janiyan@NetBSD.org
Reply-To: Sevan@NetBSD.org, Janiyan@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: Fix devel/py-py2app PLIST
X-Send-Pr-Version: www-1.0
>Number: 49418
>Category: pkg
>Synopsis: Fix devel/py-py2app PLIST
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 25 11:00:00 +0000 2014
>Closed-Date: Tue Nov 25 11:21:41 +0000 2014
>Last-Modified: Tue Nov 25 11:21:41 +0000 2014
>Originator: venture37@geeklan.co.uk
>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
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/49418 CVS commit: pkgsrc/devel/py-py2app
Date: Tue, 25 Nov 2014 11:18:05 +0000
Module Name: pkgsrc
Committed By: obache
Date: Tue Nov 25 11:18:05 UTC 2014
Modified Files:
pkgsrc/devel/py-py2app: PLIST
Log Message:
Fixes unwanted subst x86_64 with ${MACHINE_ARCH}, PR pkg/49418 by Sevan Janiyan.
Also fixes missing subst of 2.7 with ${PYVERSSUFFIX}.
To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/devel/py-py2app/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Tue, 25 Nov 2014 11:21:41 +0000
State-Changed-Why:
Commited with one more fix. Thanks!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.