NetBSD Problem Report #55881
From bjjl@chaos.lorenz.place Sat Dec 19 10:09:14 2020
Return-Path: <bjjl@chaos.lorenz.place>
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 "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id 80FD21A9239
for <gnats-bugs@gnats.NetBSD.org>; Sat, 19 Dec 2020 10:09:14 +0000 (UTC)
Message-Id: <20201219085238.C5D474107AF@chaos.lorenz.place>
Date: Sat, 19 Dec 2020 09:52:38 +0100 (CET)
From: ben@pocket.services
To: gnats-bugs@NetBSD.org
Subject: mate install fails
X-Send-Pr-Version: 3.95
>Number: 55881
>Category: pkg
>Synopsis: mate install fails
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Dec 19 10:10:00 +0000 2020
>Closed-Date: Sun Dec 20 14:20:45 +0000 2020
>Last-Modified: Sun Dec 20 14:20:45 +0000 2020
>Originator: Benjamin Lorenz
>Release: NetBSD 9.1
>Organization:
>Environment:
System: NetBSD chaos.lorenz.place 9.1 NetBSD 9.1 (GENERIC) #0: Sun Dec 13 13:08:51 CET 2020 bjjl@chaos.lorenz.place:/usr/obj/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
This is with pkgsrc-current:
===> Installing binary package of py27-cairo-1.18.2nb1
pkg_add: Installed package `py38-cairo-1.20.0' conflicts with `py27-cairo-[0-9]*' when trying to install `py27-cairo-1.18.2nb1'.
pkg_add: 1 package addition failed
*** Error code 1
Stop.
make[9]: stopped in /usr/pkg/current.src/graphics/py-cairo118
*** Error code 1
Stop.
make[8]: stopped in /usr/pkg/current.src/graphics/py-cairo118
*** Error code 1
Stop.
make[7]: stopped in /usr/pkg/current.src/graphics/py-cairo118
*** Error code 1
Stop.
make[6]: stopped in /usr/pkg/current.src/graphics/py-cairo118
*** Error code 1
Stop.
make[5]: stopped in /usr/pkg/current.src/devel/py-gobject3
*** Error code 1
Stop.
make[4]: stopped in /usr/pkg/current.src/devel/py-gobject3
*** Error code 1
Stop.
make[3]: stopped in /usr/pkg/current.src/x11/mate-applets
*** Error code 1
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
From: "Nia Alarie" <nia@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/55881 CVS commit: pkgsrc/lang/python
Date: Sat, 19 Dec 2020 13:12:00 +0000
Module Name: pkgsrc
Committed By: nia
Date: Sat Dec 19 13:12:00 UTC 2020
Modified Files:
pkgsrc/lang/python: pyversion.mk
Log Message:
pyversion.mk: Do not create self-conflicts for incompatible versions
This resolves a problem where graphics/py-cairo and graphics/py-cairo118
cannot be installed simulatenously despite not conflicting.
PR pkg/55881
To generate a diff of this commit:
cvs rdiff -u -r1.133 -r1.134 pkgsrc/lang/python/pyversion.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "David H. Gutteridge" <david@gutteridge.ca>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/55881: mate install fails
Date: Sat, 19 Dec 2020 08:13:08 -0500
This is caused by rev 1.67 of graphics/py-cairo/Makefile, which marked
that package with PYTHON_SELF_CONFLICT. It's correct that that specific
package does self-conflict across Python versions. Unfortunately, the
code that evaluates PYTHON_SELF_CONFLICT applies a pattern that includes
py-cairo118, though there really is no conflict with the latter. (I'm
assuming that's because there are other Python packages that do conflict
across distinct 2.7 and 3.x versions.)
Options:
1. Revert rev 1.67 for now, that to me being the lesser evil vs. various
packages refusing to install. (I think it's more common for users to
need one Python 3 version of py-cairo plus py-cairo118, rather than two
Python 3 versions of py-cairo, though I don't know all the possibilities
here.)
2. Make the PYTHON_SELF_CONFLICT logic tunable, so one can indicate not
to apply it if the exact package name differs.
3. Go through MATE dependencies like libappindicator and look into
possibilities of upgrades so they no longer require py-gtk2 or the 2.7
version of py-gobject3. (I think it's just mate-applets and
mate-control-
center that are affected here.)
Dave
State-Changed-From-To: open->feedback
State-Changed-By: nia@NetBSD.org
State-Changed-When: Sun, 20 Dec 2020 10:53:39 +0000
State-Changed-Why:
This should have been fixed by my commit to pyversion.mk
From: Benjamin Lorenz <ben@pocket.services>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org,
pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org,
"nia@netbsd.org" <nia@NetBSD.org>
Subject: Re: pkg/55881 (mate install fails)
Date: Sun, 20 Dec 2020 12:40:58 +0100
The fix works for me. Mate builds again.
State-Changed-From-To: feedback->closed
State-Changed-By: nia@NetBSD.org
State-Changed-When: Sun, 20 Dec 2020 14:20:45 +0000
State-Changed-Why:
>Unformatted:
(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.