NetBSD Problem Report #48158
From www@NetBSD.org Wed Aug 28 07:01:00 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "mail.NetBSD.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id EB9B071AB3
for <gnats-bugs@gnats.NetBSD.org>; Wed, 28 Aug 2013 07:01:00 +0000 (UTC)
Message-Id: <20130828070059.8321971AB5@mollari.NetBSD.org>
Date: Wed, 28 Aug 2013 07:00:59 +0000 (UTC)
From: richard@netbsd.org
Reply-To: richard@netbsd.org
To: gnats-bugs@NetBSD.org
Subject: devel/mdds fail to install (on solaris)
X-Send-Pr-Version: www-1.0
>Number: 48158
>Category: pkg
>Synopsis: devel/mdds fail to install (on solaris)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Wed Aug 28 07:05:00 +0000 2013
>Last-Modified: Tue Sep 03 05:20:00 +0000 2013
>Originator: Richard PALO
>Release: pkgsrc trunk
>Organization:
>Environment:
SunOS dev32 5.11 omnios-b281e50 i86pc i386 i86pc
>Description:
There seems to be some problems in the selection of files for install in devel/mdds.
The install fails with:
===> Building for mdds-0.9.0
=> Unwrapping files-to-be-installed.
INFO: [subst.mk:unwrap] Nothing changed in ./misc/mdds.pc.
===> Installing for mdds-0.9.0
=> Generating pre-install file lists
=> Creating installation directories
for i in /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/*.*; do /opt/local/bin/install-sh -c -o richard -g staff -m 644 $i /var/tmp/pkgsrc/devel/mdds/work/.destdir/opt/local/include/mdds; done
install: /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/PaxHeaders.18527: not a regular file
rm -f /var/tmp/pkgsrc/devel/mdds/work/.destdir/opt/local/include/mdds/*orig
for i in /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/hash_container/*.*; do /opt/local/bin/install-sh -c -o richard -g staff -m 644 $i /var/tmp/pkgsrc/devel/mdds/work/.destdir/opt/local/include/mdds/hash_container; done
install: /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/hash_container/PaxHeaders.18527: not a regular file
*** Error code 1
Stop.
bmake: stopped in /home/richard/src/pkgsrc/devel/mdds
*** Error code 1
The archive seems to contain extended headers, but the script (or pkgsrc extract) does not seem to deal (correctly) with it.
>How-To-Repeat:
>Fix:
>Audit-Trail:
From: Richard PALO <richard.palo@free.fr>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48158: devel/mdds fail to install (on solaris)
Date: Thu, 29 Aug 2013 09:19:30 +0200
Le 28/08/13 09:05, richard@netbsd.org a écrit :
>> Number: 48158
>> Category: pkg
>> Synopsis: devel/mdds fail to install (on solaris)
>> Confidential: no
>> Severity: serious
>> Priority: medium
>> Responsible: pkg-manager
>> State: open
>> Class: sw-bug
>> Submitter-Id: net
>> Arrival-Date: Wed Aug 28 07:05:00 +0000 2013
>> Originator: Richard PALO
>> Release: pkgsrc trunk
>> Organization:
>> Environment:
> SunOS dev32 5.11 omnios-b281e50 i86pc i386 i86pc
>
>> Description:
> There seems to be some problems in the selection of files for install in devel/mdds.
>
> The install fails with:
> ===> Building for mdds-0.9.0
> => Unwrapping files-to-be-installed.
> INFO: [subst.mk:unwrap] Nothing changed in ./misc/mdds.pc.
> ===> Installing for mdds-0.9.0
> => Generating pre-install file lists
> => Creating installation directories
> for i in /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/*.*; do /opt/local/bin/install-sh -c -o richard -g staff -m 644 $i /var/tmp/pkgsrc/devel/mdds/work/.destdir/opt/local/include/mdds; done
> install: /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/PaxHeaders.18527: not a regular file
> rm -f /var/tmp/pkgsrc/devel/mdds/work/.destdir/opt/local/include/mdds/*orig
> for i in /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/hash_container/*.*; do /opt/local/bin/install-sh -c -o richard -g staff -m 644 $i /var/tmp/pkgsrc/devel/mdds/work/.destdir/opt/local/include/mdds/hash_container; done
> install: /var/tmp/pkgsrc/devel/mdds/work/mdds_0.9.0/include/mdds/hash_container/PaxHeaders.18527: not a regular file
> *** Error code 1
>
> Stop.
> bmake: stopped in /home/richard/src/pkgsrc/devel/mdds
> *** Error code 1
>
>
> The archive seems to contain extended headers, but the script (or pkgsrc extract) does not seem to deal (correctly) with it.
>> How-To-Repeat:
>
>> Fix:
>
>
the following patch seems to get over the problem for now:
diff --git a/devel/mdds/Makefile b/devel/mdds/Makefile
index 0e4ad78..cd461b9 100644
--- a/devel/mdds/Makefile
+++ b/devel/mdds/Makefile
@@ -6,6 +6,7 @@ PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= devel
MASTER_SITES= http://multidimalgorithm.googlecode.com/files/
EXTRACT_SUFX= .tar.bz2
+EXTRACT_USING= gtar
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://code.google.com/p/multidimalgorithm/
Shouldn't nbtar work with extended headers, though, at this day in age?
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/48158: devel/mdds fail to install (on solaris)
Date: Tue, 3 Sep 2013 05:17:48 +0000
On Thu, Aug 29, 2013 at 06:25:01AM +0000, Richard PALO wrote:
> the following patch seems to get over the problem for now:
> diff --git a/devel/mdds/Makefile b/devel/mdds/Makefile
> index 0e4ad78..cd461b9 100644
> --- a/devel/mdds/Makefile
> +++ b/devel/mdds/Makefile
> @@ -6,6 +6,7 @@ PKGNAME= ${DISTNAME:S/_/-/}
> CATEGORIES= devel
> MASTER_SITES= http://multidimalgorithm.googlecode.com/files/
> EXTRACT_SUFX= .tar.bz2
> +EXTRACT_USING= gtar
>
> MAINTAINER= pkgsrc-users@NetBSD.org
> HOMEPAGE= http://code.google.com/p/multidimalgorithm/
please go ahead and commit that.
> Shouldn't nbtar work with extended headers, though, at this day in age?
Yes, probably.
--
David A. Holland
dholland@netbsd.org
(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.