NetBSD Problem Report #49248
From hf@spg.tu-darmstadt.de Tue Sep 30 14:54:54 2014
Return-Path: <hf@spg.tu-darmstadt.de>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(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 ED461A6552
for <gnats-bugs@gnats.NetBSD.org>; Tue, 30 Sep 2014 14:54:54 +0000 (UTC)
Message-Id: <201409301437.s8UEbNSI020576@Hochobir.nt.e-technik.tu-darmstadt.de>
Date: Tue, 30 Sep 2014 16:37:23 +0200 (CEST)
From: Hauke Fath <hf@spg.tu-darmstadt.de>
Reply-To: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@gnats.NetBSD.org
Cc: Hauke Fath <hf@spg.tu-darmstadt.de>
Subject: p5-Test-YAML-1.05 - Conflicting PLIST with p5-YAML-0.92
X-Send-Pr-Version: 3.95
>Number: 49248
>Category: pkg
>Synopsis: p5-Test-YAML-1.05 conflicting PLIST with p5-YAML-0.92
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Sep 30 14:55:00 +0000 2014
>Closed-Date: Mon Dec 15 09:27:44 +0000 2014
>Last-Modified: Mon Dec 15 09:27:44 +0000 2014
>Originator: Hauke Fath
>Release: NetBSD 6.1_STABLE
>Organization:
>Environment:
System: NetBSD Hochobir 6.1_STABLE NetBSD 6.1_STABLE (DMZ_DOMU) #0: Tue Jun 10 12:52:23 CEST 2014 hf@Hochstuhl:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:
Today's pkg_rr run fails because p5-YAML needs an update which
mandates p5-Test-YAML needs an update which fails because both
cannot install lib/perl5/vendor_perl/5.20.0/Test/YAML.pm in
the same place. I think.
[...]
===> Install binary package of p5-Test-YAML-1.05
pkg_add: Conflicting PLIST with p5-YAML-0.92: lib/perl5/vendor_perl/5.20.0/Test/YAML.pm
pkg_add: 1 package addition failed
*** Error code 1
>How-To-Repeat:
Install p5-YAML, I guess.
>Fix:
Well, have only one of p5-YAML and p5-Test-YAML install the
disputed file, I guess.
>Release-Note:
>Audit-Trail:
From: wen heping <wenheping@gmail.com>
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/49248: p5-Test-YAML-1.05 - Conflicting PLIST with p5-YAML-0.92
Date: Tue, 30 Sep 2014 23:47:42 +0800
Yes, this is a simple patch for p5-Test-YAML:
--- Makefile 6 Sep 2014 14:45:49 -0000 1.1
+++ Makefile 30 Sep 2014 15:42:59 -0000
@@ -10,6 +10,8 @@ HOMEPAGE= http://search.cpan.org/dist/Te
COMMENT= Testing Module for YAML Implementations
LICENSE= ${PERL5_LICENSE}
+CONFLICTS+= p5-YAML-[0-9]*
+
PERL5_PACKLIST= auto/Test/YAML/.packlist
USE_TOOLS+= bash:run
wen
2014-09-30 22:55 GMT+08:00 Hauke Fath <hf@spg.tu-darmstadt.de>:
>>Number: 49248
>>Category: pkg
>>Synopsis: p5-Test-YAML-1.05 conflicting PLIST with p5-YAML-0.92
>>Confidential: no
>>Severity: serious
>>Priority: medium
>>Responsible: pkg-manager
>>State: open
>>Class: sw-bug
>>Submitter-Id: net
>>Arrival-Date: Tue Sep 30 14:55:00 +0000 2014
>>Originator: Hauke Fath
>>Release: NetBSD 6.1_STABLE
>>Organization:
>
>>Environment:
>
>
> System: NetBSD Hochobir 6.1_STABLE NetBSD 6.1_STABLE (DMZ_DOMU) #0: Tue Jun 10 12:52:23 CEST 2014 hf@Hochstuhl:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
> Architecture: x86_64
> Machine: amd64
>>Description:
>
> Today's pkg_rr run fails because p5-YAML needs an update which
> mandates p5-Test-YAML needs an update which fails because both
> cannot install lib/perl5/vendor_perl/5.20.0/Test/YAML.pm in
> the same place. I think.
>
> [...]
> ===> Install binary package of p5-Test-YAML-1.05
> pkg_add: Conflicting PLIST with p5-YAML-0.92: lib/perl5/vendor_perl/5.20.0/Test/YAML.pm
> pkg_add: 1 package addition failed
> *** Error code 1
>
>
>>How-To-Repeat:
>
> Install p5-YAML, I guess.
>
>>Fix:
> Well, have only one of p5-YAML and p5-Test-YAML install the
> disputed file, I guess.
>
>>Unformatted:
>
>
From: Hauke Fath <hf@spg.tu-darmstadt.de>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org
Subject: Re: pkg/49248: p5-Test-YAML-1.05 - Conflicting PLIST with
p5-YAML-0.92
Date: Tue, 30 Sep 2014 18:13:56 +0200
On Tue, 30 Sep 2014 15:50:01 +0000 (UTC), wen heping wrote:
> Yes, this is a simple patch for p5-Test-YAML:
[...]
Well, you can't conflict p5-Test-YAML, _and_ make it a build depencency:
% /<3>textproc/p5-YAML > fgrep p5-Test-YAML Makefile=20
BUILD_DEPENDS+=3D p5-Test-YAML-[0-9]*:../../textproc/p5-Test-YAML
% /<3>textproc/p5-YAML >
hauke
--=20
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut f=FCr Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Mon, 15 Dec 2014 09:27:44 +0000
State-Changed-Why:
p5-YAML>=0.99 using external Test, resolved.
>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.