NetBSD Problem Report #27053
Received: (qmail 10833 invoked by uid 605); 27 Sep 2004 15:04:49 -0000
Message-Id: <20040927150448.1D8F8251F28@narn.netbsd.org>
Date: Mon, 27 Sep 2004 15:04:48 +0000 (UTC)
From: lillack@mis.mpg.de
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: lillack@mis.mpg.de
To: gnats-bugs@gnats.NetBSD.org
Subject: lang/python23[-pth] generates wrong PLIST on Solaris 8
X-Send-Pr-Version: www-1.0
>Number: 27053
>Category: pkg
>Synopsis: lang/python23[-pth] generates wrong PLIST on Solaris 8
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 27 15:05:00 +0000 2004
>Closed-Date: Sat Oct 30 16:19:23 +0000 2004
>Last-Modified: Sat Oct 30 16:19:23 +0000 2004
>Originator: Robert Lillack
>Release: none
>Organization:
Max-Planck-Institute for Mathematics in the Sciences, Leipzig, Germany
>Environment:
SunOS runner 5.8 Generic_108528-15 sun4u sparc SUNW,Sun-Blade-1000
>Description:
the Solaris specific files in PLIST do not match the real files (which get installed correctly into lib/python2p3/plat-sunos5/)
lillack@runner:/opt/local/pkgsrc/src/lang/python23-pth> bmake show-var VARNAME=PY_PLATNAME
sunos5
lillack@runner:/opt/local/pkgsrc/src/lang/python23-pth> grep sunos5 work/.PLIST
lillack@runner:/opt/local/pkgsrc/src/lang/python23-pth> grep solaris5 work/.PLIST
lib/python2p3/plat-solaris5/IN.py
lib/python2p3/plat-solaris5/IN.pyc
lib/python2p3/plat-solaris5/IN.pyo
lib/python2p3/plat-solaris5/regen
lib/python2p3/plat-solaris5/CDIO.py
lib/python2p3/plat-solaris5/CDIO.pyc
lib/python2p3/plat-solaris5/CDIO.pyo
lib/python2p3/plat-solaris5/DLFCN.py
lib/python2p3/plat-solaris5/DLFCN.pyc
lib/python2p3/plat-solaris5/DLFCN.pyo
lib/python2p3/plat-solaris5/STROPTS.py
lib/python2p3/plat-solaris5/STROPTS.pyc
lib/python2p3/plat-solaris5/STROPTS.pyo
lib/python2p3/plat-solaris5/SUNAUDIODEV.py
lib/python2p3/plat-solaris5/SUNAUDIODEV.pyc
lib/python2p3/plat-solaris5/SUNAUDIODEV.pyo
lib/python2p3/plat-solaris5/TYPES.py
lib/python2p3/plat-solaris5/TYPES.pyc
lib/python2p3/plat-solaris5/TYPES.pyo
@dirrm lib/python2p3/plat-solaris5
>How-To-Repeat:
bmake ;)
>Fix:
quick fix:
cp work/.PLIST work/.PLIST.old
cat work/.PLIST.old | sed -e 's/solaris5/sunos5/g' > work/.PLIST
real fix:
dont know. Makefile.common looks right to me:
[...]
| .if ${OPSYS} == "SunOS"
| LOWER_OPSYS= sunos
| .endif
[...]
| PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//}
[...]
| PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME}
[...]
and "bmake show-var VARNAME=PY_PLATNAME" does in fact output sunos5 which is correct.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: cube
Responsible-Changed-When: Mon Sep 27 15:19:57 UTC 2004
Responsible-Changed-Why:
solaris-specific problem.
From: grant beattie <grant@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: pr/27053 CVS commit: pkgsrc/lang/python23
Date: Sat, 30 Oct 2004 16:17:53 +0000 (UTC)
Module Name: pkgsrc
Committed By: grant
Date: Sat Oct 30 16:17:53 UTC 2004
Modified Files:
pkgsrc/lang/python23: Makefile.common
Log Message:
don't override LOWER_OPSYS just to set PY_PLATNAME. fixes broken PLIST
on Solaris.
addresses PR pkg/27053 from Robert Lillack.
To generate a diff of this commit:
cvs rdiff -r1.17 -r1.18 pkgsrc/lang/python23/Makefile.common
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: grant
State-Changed-When: Sat Oct 30 16:19:05 UTC 2004
State-Changed-Why:
I have fixed this in pkgsrc-current. thanks!
>Unformatted:
>Quarter:
>Keywords:
>Date-Required:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.