NetBSD Problem Report #47335

From ryo_on@yk.rim.or.jp  Sun Dec 16 12:51:38 2012
Return-Path: <ryo_on@yk.rim.or.jp>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4DB3963E529
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 16 Dec 2012 12:51:38 +0000 (UTC)
Message-Id: <20121216125133.F4210DF3F8@mail.SiriusCloud.jp>
Date: Sun, 16 Dec 2012 21:51:33 +0900 (JST)
From: ryoon@NetBSD.org
Reply-To: ryoon@NetBSD.org
To: gnats-bugs@gnats.NetBSD.org
Subject: pkgtools/url2pkg is broken for p5-* packages
X-Send-Pr-Version: 3.95

>Number:         47335
>Category:       pkg
>Synopsis:       pkgtools/url2pkg is broken for p5-* packages
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 16 12:55:00 +0000 2012
>Last-Modified:  Sat Dec 28 16:50:01 +0000 2013
>Originator:     Ryo ONODERA
>Release:        NetBSD 6.99.15
>Organization:

>Environment:


System: NetBSD tellurium.elements.tetera.org 6.99.15 NetBSD 6.99.15 (NODKWEDGE) #91: Wed Dec 12 08:48:31 JST 2012 root@tellurium.elements.tetera.org:/usr/obj/sys/arch/amd64/compile/NODKWEDGE amd64
Architecture: x86_64
Machine: amd64
>Description:
At least with perl-5.16.2nb1, pkgtools/url2pkg for p5-* packages does not work properly.

% pkg_info |egrep 'perl|url2pkg'
perl-5.16.2nb1      Practical Extraction and Report Language
url2pkg-2.17        Tool to automate initial steps in building a package

ryo_on@tellurium: /usr/pkgsrc/www/p5-HTML-Quoted
% url2pkg http://search.cpan.org/CPAN/authors/id/R/RU/RUZ/HTML-Quoted-0.03.tar.gz                     
url2pkg> Running "make distinfo" ...
=> Lock /usr/tmp/www/p5-HTML-Quoted/work/.lockfile acquired for ``bootstrap-depends'' on behalf of process 2438
=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Lock /usr/tmp/www/p5-HTML-Quoted/work/.lockfile released for ``bootstrap-depends'' on behalf of process 2438
WARNING: [license.mk] Every package should define a LICENSE.
===> Checking for vulnerabilities in HTML-Quoted-0.03
=> distinfo: unchanged.
url2pkg> Running "make extract" ...
"$Verbose" is not exported by the ExtUtils::MakeMaker module
 "neatvalue" is not exported by the ExtUtils::MakeMaker module
Can't continue after import errors at /usr/pkg/lib/perl5/5.16.0/ExtUtils/MM_Unix.pm line 14.
BEGIN failed--compilation aborted at /usr/pkg/lib/perl5/5.16.0/ExtUtils/MM_Unix.pm line 14.
Compilation failed in require at inc/Module/Install/Metadata.pm line 316.
Died at /usr/pkg/bin/url2pkg line 190.


>How-To-Repeat:
See above.

>Fix:

I have no idea.

>Audit-Trail:
From: "Ryo ONODERA" <ryoon@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/47335 CVS commit: pkgsrc/pkgtools/url2pkg
Date: Sat, 28 Dec 2013 16:46:30 +0000

 Module Name:	pkgsrc
 Committed By:	ryoon
 Date:		Sat Dec 28 16:46:30 UTC 2013

 Modified Files:
 	pkgsrc/pkgtools/url2pkg: Makefile
 	pkgsrc/pkgtools/url2pkg/files: MakeMaker.pm url2pkg.pl

 Log Message:
 Update to 2.18

 * Partial fix for PR pkg/47335
 ** Define some variables
 ** Define empty function neatvalue
 ** Generate Makefile before custom MakeMaker.pm invocation
    to avoid no Makefile error.


 To generate a diff of this commit:
 cvs rdiff -u -r1.69 -r1.70 pkgsrc/pkgtools/url2pkg/Makefile
 cvs rdiff -u -r1.3 -r1.4 pkgsrc/pkgtools/url2pkg/files/MakeMaker.pm
 cvs rdiff -u -r1.22 -r1.23 pkgsrc/pkgtools/url2pkg/files/url2pkg.pl

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

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