NetBSD Problem Report #50996

From www@NetBSD.org  Thu Mar 24 00:54:03 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 B2C077ABDD
	for <gnats-bugs@gnats.NetBSD.org>; Thu, 24 Mar 2016 00:54:03 +0000 (UTC)
Message-Id: <20160324005402.85D417ACBB@mollari.NetBSD.org>
Date: Thu, 24 Mar 2016 00:54:02 +0000 (UTC)
From: d.stetner@uq.edu.au
Reply-To: d.stetner@uq.edu.au
To: gnats-bugs@NetBSD.org
Subject: p5-Getopt-Long-2.46nb1 fails with Conflicting PLIST with p5-Perl4-CoreLibs-0.003nb5
X-Send-Pr-Version: www-1.0

>Number:         50996
>Category:       pkg
>Synopsis:       p5-Getopt-Long-2.46nb1 fails with Conflicting PLIST with p5-Perl4-CoreLibs-0.003nb5
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    mef
>State:          closed
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 24 00:55:00 +0000 2016
>Closed-Date:    Mon Jun 06 05:45:23 +0000 2016
>Last-Modified:  Mon Jun 06 05:45:23 +0000 2016
>Originator:     Douglas Stetner
>Release:        Not sure how to get this
>Organization:
Institute of Molecular Bioscience, University of Queensland
>Environment:
# uname -a
Linux delta-build 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
>Description:
[root@delta-build p5-Getopt-Long]# bmake install && bmake clean
=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /opt/pkg/2015Q2/var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/opt/pkg/2015Q2/sbin/pkg_admin -K /opt/pkg/2015Q2/var/db/pkg fetch-pkg-vulnerabilities'.
===> Install binary package of p5-Getopt-Long-2.46nb1
pkg_add: Conflicting PLIST with p5-Perl4-CoreLibs-0.003nb5: lib/perl5/vendor_perl/5.22.0/newgetopt.pl
pkg_add: 1 package addition failed
*** Error code 1

Stop.
bmake[2]: stopped in /opt/pkg/latest/pkgsrc/devel/p5-Getopt-Long
*** Error code 1

Stop.
bmake[1]: stopped in /opt/pkg/latest/pkgsrc/devel/p5-Getopt-Long
*** Error code 1

Stop.
bmake: stopped in /opt/pkg/latest/pkgsrc/devel/p5-Getopt-Long
>How-To-Repeat:
bmake install

Tried doing a pkg_admin rebuild but problem still exists

>Fix:
unknown

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50996: p5-Getopt-Long-2.46nb1 fails with Conflicting PLIST
 with p5-Perl4-CoreLibs-0.003nb5
Date: Thu, 5 May 2016 16:04:37 +0000

 (not sent to gnats)

    ------

 From: Makoto Fujiwara <makoto@ki.nu>
 To: pkgsrc-bugs@NetBSD.org
 Subject: Re: pkg/50996: p5-Getopt-Long-2.46nb1 fails with Conflicting PLIST
 	with p5-Perl4-CoreLibs-0.003nb5
 Date: Mon, 25 Apr 2016 22:09:49 +0900

 My instant fix is attached.
   - Add DEPENDS+= p5-Perl4-CoreLibs
   - Remove newgetopt.pl from Getopt-Long.pm
     (Fortunately the files are exactly the same as v1.18)
 ---
 mef@NetBSD.org
 Makoto Fujiwara, 
 Chiba, Japan, Narita Airport and Disneyland prefecture.

 Index: devel/p5-Getopt-Long/Makefile
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/p5-Getopt-Long/Makefile,v
 retrieving revision 1.24
 diff -u -u -p -r1.24 Makefile
 --- devel/p5-Getopt-Long/Makefile	15 Nov 2015 04:54:38 -0000	1.24
 +++ devel/p5-Getopt-Long/Makefile	25 Apr 2016 13:03:00 -0000
 @@ -10,6 +10,8 @@ HOMEPAGE=		http://search.cpan.org/dist/G
  COMMENT=		Extended processing of command line options
  LICENSE=		${PERL5_LICENSE}

 +DEPENDS+=	p5-Perl4-CoreLibs-[0-9]*:../../devel/p5-Perl4-CoreLibs
 +
  REPLACE_PERL+=	lib/Getopt/Long.pm

  USE_LANGUAGES=	# empty
 Index: devel/p5-Getopt-Long/distinfo
 ===================================================================
 RCS file: /cvsroot/pkgsrc/devel/p5-Getopt-Long/distinfo,v
 retrieving revision 1.13
 diff -u -u -p -r1.13 distinfo
 --- devel/p5-Getopt-Long/distinfo	15 Nov 2015 04:54:38 -0000	1.13
 +++ devel/p5-Getopt-Long/distinfo	25 Apr 2016 13:03:00 -0000
 @@ -4,3 +4,4 @@ SHA1 (Getopt-Long-2.48.tar.gz) = ede3083
  RMD160 (Getopt-Long-2.48.tar.gz) = f8a517d271ef8325f206d0fe719230d051229e1f
  SHA512 (Getopt-Long-2.48.tar.gz) = 29e15d0e931225886cfcc31efc3b37501aa9453d5f5655ff116286faa7015712770d4da22b4bcecb775cdd8af1ceb535c0f03aeab55244de1acc51886ae835c8
  Size (Getopt-Long-2.48.tar.gz) = 42740 bytes
 +SHA1 (patch-Makefile.PL) = 6be5f0773432d6a28c5f1b43afdcf6fed0fd0b54
 Index: devel/p5-Getopt-Long/patches/patch-Makefile.PL
 ===================================================================
 RCS file: devel/p5-Getopt-Long/patches/patch-Makefile.PL
 diff -N devel/p5-Getopt-Long/patches/patch-Makefile.PL
 --- /dev/null	1 Jan 1970 00:00:00 -0000
 +++ devel/p5-Getopt-Long/patches/patch-Makefile.PL	25 Apr 2016 13:03:00 -0000
 @@ -0,0 +1,16 @@
 +$NetBSD$
 +
 +newgetopt.pl does exist in p5-Perl4-CoreLibs. To co-exist
 +with that,
 +
 +--- Makefile.PL.orig	2013-07-08 15:14:42.000000000 +0900
 ++++ Makefile.PL	2016-04-25 22:02:20.000000000 +0900
 +@@ -89,7 +89,7 @@ WriteMakefile(
 +         ),
 + 
 + 	INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
 +-	PM 	  => { "lib/newgetopt.pl"  => '$(INST_LIB)/newgetopt.pl',
 ++	PM 	  => { 
 + 		       "lib/Getopt/Long.pm" => '$(INST_LIB)/Getopt/Long.pm',
 + 		     },
 + 	dist      => { COMPRESS => 'gzip', SUFFIX => 'gz',

From: David Holland <dholland-pbugs@netbsd.org>
To: Makoto Fujiwara <makoto@ki.nu>
Cc: gnats-bugs@NetBSD.org
Subject: Re: pkg/50996: p5-Getopt-Long-2.46nb1 fails with Conflicting PLIST
 with p5-Perl4-CoreLibs-0.003nb5
Date: Thu, 5 May 2016 16:04:54 +0000

 On Thu, May 05, 2016 at 10:46:39PM +0900, Makoto Fujiwara wrote:
  > I'll commit the patch in a few days if there is no objection, thank you

 I see no reason to object; please commit

 -- 
 David A. Holland
 dholland@netbsd.org

From: "Makoto Fujiwara" <mef@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50996 CVS commit: pkgsrc/devel/p5-Getopt-Long
Date: Fri, 6 May 2016 12:41:59 +0000

 Module Name:	pkgsrc
 Committed By:	mef
 Date:		Fri May  6 12:41:59 UTC 2016

 Modified Files:
 	pkgsrc/devel/p5-Getopt-Long: Makefile distinfo
 Added Files:
 	pkgsrc/devel/p5-Getopt-Long/patches: patch-Makefile.PL

 Log Message:
 To fix the problem PR pkg/50996
 (fails with Conflicting PLIST with p5-Perl4-CoreLibs-0.003nb5):
   - Add DEPENDS+= p5-Perl4-CoreLibs
   - Remove newgetopt.pl from Getopt-Long.pm (by patch-Makefile.PL)
     (Fortunately the files are exactly the same as v1.18)
 Thanks dholland@ for review :-)


 To generate a diff of this commit:
 cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/p5-Getopt-Long/Makefile
 cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/p5-Getopt-Long/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/devel/p5-Getopt-Long/patches/patch-Makefile.PL

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

Responsible-Changed-From-To: pkg-manager->mef
Responsible-Changed-By: mef@NetBSD.org
Responsible-Changed-When: Fri, 06 May 2016 12:48:09 +0000
Responsible-Changed-Why:
I'll take this


State-Changed-From-To: open->feedback
State-Changed-By: mef@NetBSD.org
State-Changed-When: Fri, 06 May 2016 12:48:09 +0000
State-Changed-Why:
Fix proposed and committed. Say OK if the change looks good, thanks.


From: Doug Stetner <d.stetner@imb.uq.edu.au>
To: "gnats-bugs@gnats.netbsd.org" <gnats-bugs@gnats.netbsd.org>
Cc: 
Subject: Re: pkg/50996
Date: Mon, 6 Jun 2016 00:27:49 +0000

 --Apple-Mail=_1E6697F5-2FAA-4A37-8F86-FC6B28D8F21A
 Content-Type: multipart/alternative;
 	boundary="Apple-Mail=_A4B95090-81BE-49BF-8A92-1EC396D5346B"


 --Apple-Mail=_A4B95090-81BE-49BF-8A92-1EC396D5346B
 Content-Transfer-Encoding: 7bit
 Content-Type: text/plain;
 	charset=us-ascii

 No longer able to test


 Douglas Stetner | Systems Administrator
 Division of Genomics of Development & Disease
 Institute for Molecular Bioscience



 --Apple-Mail=_A4B95090-81BE-49BF-8A92-1EC396D5346B
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/html;
 	charset=us-ascii

 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
 charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
 -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
 class=3D"">No longer able to test<div class=3D""><br class=3D""></div><div=
  class=3D""><br class=3D""><div class=3D"">
 <font face=3D"Helvetica, Arial, sans-serif" class=3D""><span =
 style=3D"font-size: 12px;" class=3D"">Douglas =
 Stetner</span></font><font style=3D"font-family: -webkit-standard; =
 font-size: 12px;" class=3D"">&nbsp;|&nbsp;</font><span =
 style=3D"font-family: Helvetica; orphans: 2; widows: 2;" =
 class=3D"">Systems Administrator</span><br class=3D""><div =
 class=3D""><font color=3D"#808080" face=3D"-webkit-standard" =
 class=3D""><span style=3D"font-size: 12px;" class=3D"">Division of =
 Genomics of Development &amp; Disease</span></font></div><div =
 class=3D""><font style=3D"color: rgb(0, 0, 0); font-style: normal; =
 font-variant: normal; font-weight: normal; letter-spacing: normal; =
 orphans: auto; text-align: start; text-indent: 0px; text-transform: =
 none; white-space: normal; widows: auto; word-spacing: 0px; =
 -webkit-text-stroke-width: 0px; font-family: -webkit-standard; =
 font-size: 12px;" class=3D""><font color=3D"grey" class=3D"">Institute =
 for Molecular Bioscience</font></font><br style=3D"color: rgb(0, 0, 0); =
 font-size: 14px; font-style: normal; font-variant: normal; font-weight: =
 normal; letter-spacing: normal; orphans: auto; text-align: start; =
 text-indent: 0px; text-transform: none; white-space: normal; widows: =
 auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: =
 -webkit-standard;" class=3D""></div><div class=3D""><font style=3D"color: =
 rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: =
 normal; letter-spacing: normal; orphans: auto; text-align: start; =
 text-indent: 0px; text-transform: none; white-space: normal; widows: =
 auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: =
 -webkit-standard; font-size: 12px;" class=3D""><font color=3D"grey" =
 class=3D""><br class=3D""></font></font></div></div><br =
 class=3D""></div></body></html>=

 --Apple-Mail=_A4B95090-81BE-49BF-8A92-1EC396D5346B--

 --Apple-Mail=_1E6697F5-2FAA-4A37-8F86-FC6B28D8F21A
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment; filename="signature.asc"
 Content-Type: application/pgp-signature; name="signature.asc"
 Content-Description: Message signed with OpenPGP using GPGMail

 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - https://gpgtools.org

 iQIcBAEBCgAGBQJXVMOEAAoJEHF/Z6OnyRdsUqIP/A5ISzp3yxJn+0lUR0hqlqav
 4B5eFyv6F2GLug+7dEFuoaNApWlPsP/nabJGMoy2oVyyMdrU0AQdkgMkRDfUEODU
 p02+vSE/JM+m4NTowl/7ZMG6FpOFWf/w6GcGzTH3fsASQTuZXwzVr342aqNmUUNm
 9X9B16TwM2encd6FPBbVx5i13BrmEJ0AMg4+SlhXIgLIOmH/UbmriT4W9Qbfou6T
 dUEeOQrqROsTe44O19Ty2rxSwco9mF4CM4dbv5OZjFhIiQDm+aXyK6MWLuI2dL/J
 zsCeIchA3o+gzW9dSPLuXbT9LJgABL8of46RXd/ZYIN7Vp4fUgRFSun2tvxJQsAj
 HUJHXKfIXNQomerbVV1N0mYE+Dviw4KApFUsvf1RKWSIWOAYWUiYZHCPlFmFpoXc
 64qrLm/ejkZojQUfK3sqJtDJTiPI/vDen9zdiXES6TPZU5YyPcESrLJU/KaEv9AL
 0I17PipsIfmqjjgmouIktgunnS5AQtBeDIzQbamRI9pnrJcgtUgtXfYkSOeCHx7l
 wkqGTHDYDFeKHsNqFFttIIxUg8zY5lVkjCBuXuLHpYmWj9erDdaXP6D39/yoHb+D
 uc1Zy7zfGiD2kRM40upPZvn0hU5dwng1sfH6f+sDgHy+q7WDHyk4hOBdyziPQY6V
 ELdR8Dsii5W8O45tnhyS
 =SZpT
 -----END PGP SIGNATURE-----

 --Apple-Mail=_1E6697F5-2FAA-4A37-8F86-FC6B28D8F21A--

State-Changed-From-To: feedback->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 06 Jun 2016 05:45:23 +0000
State-Changed-Why:
submitter can't test


>Unformatted:

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