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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 11 16:35:01 +0000 2014
>Last-Modified:  Mon May 12 01:20:01 +0000 2014
>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:

>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

NetBSD Home
NetBSD PR Database Search

(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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.