NetBSD Problem Report #51431
From www@NetBSD.org Sat Aug 20 19:45:40 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(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 DEF557A221
for <gnats-bugs@gnats.NetBSD.org>; Sat, 20 Aug 2016 19:45:39 +0000 (UTC)
Message-Id: <20160820194539.0E6727A28E@mollari.NetBSD.org>
Date: Sat, 20 Aug 2016 19:45:39 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: installing both python2 and python3 py- packages creates stale workdirs
X-Send-Pr-Version: www-1.0
>Number: 51431
>Category: pkg
>Synopsis: installing both python2 and python3 py- packages creates stale workdirs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Aug 20 19:50:00 +0000 2016
>Closed-Date:
>Last-Modified: Tue Mar 14 05:30:08 +0000 2017
>Originator: coypu
>Release: NetBSD 6.1.5, pkgsrc-2016Q3 (current now)
>Organization:
>Environment:
NetBSD 6.1.5 NetBSD 6.1.5 (GENERIC) amd64
>Description:
Using PYTHON_VERSION_DEFAULT=35 you will encounter this issue fairly quickly.
Package A can handle python3 and requires py-expat, you build py35-expat.
Package B requires python2 and py-expat too, but now you have a work
directory for python3, and it fails to build.
Will likely not be a "real" problem for some time, but it's possible that
in the future, python3 packages will not support python2.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/51431: installing both python2 and python3 py- packages
creates stale workdirs
Date: Sat, 20 Aug 2016 22:03:09 +0200
On Sat, Aug 20, 2016 at 07:50:00PM +0000, coypu@sdf.org wrote:
> >Synopsis: installing both python2 and python3 py- packages creates stale workdirs
"Works as intended". If you want things to clean up automatically, set
DEPENDS_TARGET to something like "install clean".
Joerg
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51431: installing both python2 and python3 py- packages
creates stale workdirs
Date: Wed, 24 Aug 2016 07:35:41 +0000
On Sat, Aug 20, 2016 at 07:50:00PM +0000, coypu@sdf.org wrote:
> Using PYTHON_VERSION_DEFAULT=35 you will encounter this issue
> fairly quickly.
>
> Package A can handle python3 and requires py-expat, you build py35-expat.
> Package B requires python2 and py-expat too, but now you have a work
> directory for python3, and it fails to build.
>
> Will likely not be a "real" problem for some time, but it's possible that
> in the future, python3 packages will not support python2.
This is a long-standing problem, and AFAIK unless things have been
vastly improved lately, if you do this *and* clean py-expat in between
it will build another py35-expat (instead of a py27-expat) and then
fail to install it.
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sun, 26 Feb 2017 02:39:20 +0000
State-Changed-Why:
apparently only pbulk should work for packages, 'make install' shouldn't just do the right thing.
State-Changed-From-To: closed->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Tue, 14 Mar 2017 05:30:08 +0000
State-Changed-Why:
real problem, not actually fixed
>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.