Discussion:
pkg/49248: p5-Test-YAML-1.05 - Conflicting PLIST with p5-YAML-0.92
Hauke Fath
2014-09-30 14:55:00 UTC
Permalink
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
System: NetBSD Hochobir 6.1_STABLE NetBSD 6.1_STABLE (DMZ_DOMU) #0: Tue Jun 10 12:52:23 CEST 2014 ***@Hochstuhl:/var/obj/netbsd-builds/6/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
Architecture: x86_64
Machine: amd64
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
Install p5-YAML, I guess.
Well, have only one of p5-YAML and p5-Test-YAML install the
disputed file, I guess.
wen heping
2014-09-30 15:50:01 UTC
Permalink
The following reply was made to PR pkg/49248; it has been noted by GNATS.

From: wen heping <***@gmail.com>
To: gnats-***@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
Post by Hauke Fath
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
Architecture: x86_64
Machine: amd64
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
Install p5-YAML, I guess.
Well, have only one of p5-YAML and p5-Test-YAML install the
disputed file, I guess.
Hauke Fath
2014-09-30 16:20:01 UTC
Permalink
The following reply was made to PR pkg/49248; it has been noted by GNATS.

From: Hauke Fath <***@spg.tu-darmstadt.de>
To: gnats-***@netbsd.org
Cc: pkg-***@netbsd.org, gnats-***@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
[...]

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

Loading...