NetBSD Problem Report #50254

From www@NetBSD.org  Fri Sep 18 08:03:18 2015
Return-Path: <www@NetBSD.org>
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 B0E92A6531
	for <gnats-bugs@gnats.NetBSD.org>; Fri, 18 Sep 2015 08:03:18 +0000 (UTC)
Message-Id: <20150918080317.76BA4A6554@mollari.NetBSD.org>
Date: Fri, 18 Sep 2015 08:03:17 +0000 (UTC)
From: slitvinov@gmail.com
Reply-To: slitvinov@gmail.com
To: gnats-bugs@NetBSD.org
Subject: security/p5-Net-SSLeay
X-Send-Pr-Version: www-1.0

>Number:         50254
>Category:       pkg
>Synopsis:       security/p5-Net-SSLeay
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 18 08:05:00 +0000 2015
>Last-Modified:  Fri Sep 25 08:40:00 +0000 2015
>Originator:     Sergey Litvinov
>Release:        Linux
>Organization:
ETH
>Environment:
Linux  3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>Description:
security/p5-Net-SSLeay fails to install due to missing .packlist

The error message is as follows:
Installing /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/perl5/man/man3/Net::SSLeay.3
Installing /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/perl5/man/man3/Net::SSLeay::Handle.3
Appending installation info to /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
Perl packlist /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/gerris-deploy/prefix/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Net/SSLeay/.packlist is missing.

>How-To-Repeat:
bmake in
Installing /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/perl5/man/man3/Net::SSLeay.3
Installing /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/perl5/man/man3/Net::SSLeay::Handle.3
Appending installation info to /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/perl5/lib/perl5/x86_64-linux-thread-multi/perllocal.pod
Perl packlist /home/lisergey/gerris-deploy/pkgsrc/security/p5-Net-SSLeay/work/.destdir/home/lisergey/gerris-deploy/prefix/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Net/SSLeay/.packlist is missing.

>Fix:

>Audit-Trail:
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/50254 CVS commit: pkgsrc/security/p5-Net-SSLeay
Date: Fri, 18 Sep 2015 09:37:07 +0000

 Module Name:	pkgsrc
 Committed By:	wiz
 Date:		Fri Sep 18 09:37:07 UTC 2015

 Modified Files:
 	pkgsrc/security/p5-Net-SSLeay: Makefile

 Log Message:
 Remove
 PERL5_MODULE_TYPE=     Module::Install::Bundled
 in the hope it fixes PR 50254.

 While here, remove API depends line that's lower than what's in
 openssl/bl3.mk.


 To generate a diff of this commit:
 cvs rdiff -u -r1.73 -r1.74 pkgsrc/security/p5-Net-SSLeay/Makefile

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

From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/50254: security/p5-Net-SSLeay
Date: Fri, 18 Sep 2015 11:38:24 +0200

 On Fri, Sep 18, 2015 at 08:05:00AM +0000, slitvinov@gmail.com wrote:
 > Linux  3.10.0-229.1.2.el7.x86_64 #1 SMP Fri Mar 27 03:04:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
 > >Description:
 > security/p5-Net-SSLeay fails to install due to missing .packlist

 As a data point, this works for me on NetBSD-7.99.22/amd64.

 I assume you're not building in a sandbox and a pre-installed perl
 module causes trouble. Is the sandbox part correct?

 Anyway, I've removed

 PERL5_MODULE_TYPE=     Module::Install::Bundled

 in the hope that it might help -- can you please update and try again?

 Thanks,
  Thomas

From: Sergey Litvinov <slitvinov@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/50254: security/p5-Net-SSLeay
Date: Fri, 25 Sep 2015 10:32:08 +0200

 > I assume you're not building in a sandbox and a pre-installed perl
 > module causes trouble. Is the sandbox part correct?

 I am not sure. I did prefixed bootstrap

 ./bootstrap --unprivileged --prefix=$HOME/gerris-deploy/prefix

 I cannot find anything about sandbox in the guide doc/pkgsrc.txt

From: Sergey Litvinov <slitvinov@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/50254: security/p5-Net-SSLeay
Date: Fri, 25 Sep 2015 10:35:22 +0200

 >  in the hope that it might help -- can you please update and try again?

 I updated and did a fresh bootstrap. I am getting a similar error in
 devel/p5-Module-Build

 Building Module-Build
 Perl packlist /home/lisergey/gerris-deploy/pkgsrc/devel/p5-Module-Build/work/.destdir/home/lisergey/gerris-deploy/prefix/lib/perl5/vendor_perl/5.22.0/x86_64-linux-thread-multi/auto/Module/Build/.packlist
 is missing.

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.