NetBSD Problem Report #48801
From www@NetBSD.org Sun May 11 16:34:41 2014
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id 74F23A5856
for <gnats-bugs@gnats.NetBSD.org>; Sun, 11 May 2014 16:34:41 +0000 (UTC)
Message-Id: <20140511163440.429EDA5857@mollari.NetBSD.org>
Date: Sun, 11 May 2014 16:34:40 +0000 (UTC)
From: richard@NetBSD.org
Reply-To: richard@NetBSD.org
To: gnats-bugs@NetBSD.org
Subject: python34 PLIST conflict with python33 concerning lib/libpython3.so
X-Send-Pr-Version: www-1.0
>Number: 48801
>Category: pkg
>Synopsis: python34 PLIST conflict with python33 concerning lib/libpython3.so
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun May 11 16:35:01 +0000 2014
>Closed-Date: Tue Sep 18 11:26:10 +0000 2018
>Last-Modified: Tue Sep 18 11:26:10 +0000 2018
>Originator: Richard PALO
>Release: pkgsrc current
>Organization:
>Environment:
SunOS devzone 5.11 illumos-gate-b9a43cd i86pc i386 i86pc
>Description:
building gedit3 now pulls in python34, but that install fails with the following:
===> Install binary package of python34-3.4.0
pkg_add: Conflicting PLIST with python33-3.3.5nb1: lib/libpython3.so
pkg_add: 1 package addition failed
*** Error code 1
Stop.
bmake: stopped in /home/richard/src/pkgsrc/lang/python34
indeed:
richard@devzone:~/src/pkgsrc/editors/gedit3$ grep libpython ../../lang/python3*/PLIST
../../lang/python33/PLIST:lib/libpython${PY_VER_SUFFIX}.so
../../lang/python33/PLIST:lib/libpython${PY_VER_SUFFIX}.so.1.0
../../lang/python33/PLIST:lib/libpython3.so
../../lang/python33/PLIST:lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/libpython${PY_VER_SUFFIX}.a
../../lang/python34/PLIST:lib/libpython${PY_VER_SUFFIX}.so
../../lang/python34/PLIST:lib/libpython${PY_VER_SUFFIX}.so.1.0
../../lang/python34/PLIST:lib/libpython3.so
../../lang/python34/PLIST:lib/python${PY_VER_SUFFIX}/config-${PY_VER_SUFFIX}/libpython${PY_VER_SUFFIX}.a
>How-To-Repeat:
bmake install
>Fix:
>Release-Note:
>Audit-Trail:
From: "OBATA Akio" <obata@lins.jp>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/48801: python34 PLIST conflict with python33 concerning
lib/libpython3.so
Date: Mon, 12 May 2014 10:16:22 +0900
Two issues.
The first one is conflict python34 with python33.
> ../../lang/python33/PLIST:lib/libpython3.so
> ../../lang/python34/PLIST:lib/libpython3.so
It is for PEP 384, and usually multiple python3x co-existence is not required.
The second one is that after python34 addition, it will be picked up if
DEFAULT_PYTHON_VERSION is not in PYHON_VERSION_ACCEPTABLE.
1. reorder DEFAULT_PYTHON_VERSION so that 33 is preferred than 34, same as previous?
2. bump all PYHON_VERSION_ACCEPTABL=3x packages to reflect the change?
--
OBATA Akio / obata@lins.jp
State-Changed-From-To: open->closed
State-Changed-By: leot@NetBSD.org
State-Changed-When: Tue, 18 Sep 2018 11:26:10 +0000
State-Changed-Why:
lang/python3* no longer conflict after:
cvs rdiff -u -r1.22 -r1.23 pkgsrc/lang/python34/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/python34/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/lang/python34/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/python34/patches/patch-au
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/python35/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/lang/python35/PLIST
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/python35/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/python35/patches/patch-Makefile.pre.in
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/python36/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/lang/python36/PLIST
cvs rdiff -u -r1.15 -r1.16 pkgsrc/lang/python36/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/python36/patches/patch-Makefile.pre.in
Thank you Richard for the PR and thanks to Jonathan for
investigating and fixing it!
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.