NetBSD Problem Report #32936
From www@netbsd.org Sun Feb 26 18:19:11 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 1174363B8C1; Sun, 26 Feb 2006 18:19:11 +0000 (UTC)
Message-Id: <20060226181911.1174363B8C1@narn.netbsd.org>
Date: Sun, 26 Feb 2006 18:19:11 +0000 (UTC)
From: segv@netctl.net
Reply-To: segv@netctl.net
To: gnats-bugs@netbsd.org
Subject: devel/libcfg+ fails to create binary package on OpenSolaris
X-Send-Pr-Version: www-1.0
>Number: 32936
>Category: pkg
>Synopsis: devel/libcfg+ fails to create binary package on OpenSolaris
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 26 18:20:00 +0000 2006
>Closed-Date: Thu Feb 07 14:22:14 +0000 2013
>Last-Modified: Thu Feb 07 14:22:14 +0000 2013
>Originator: segv
>Release:
>Organization:
>Environment:
SunOS e450-dsl 5.11 snv_28 sun4u sparc SUNW,Ultra-4
>Description:
Running 'bmake package' on OpenSolaris results in the following error:
===> Registering installation for libcfg+-0.6.2nb3
pkg_create: can't stat `/opt/pkg/man/man3/cfg_add_property.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_context.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_option.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_parse.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_print_error.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_set_context_flag.3'
pkg_create: can't stat `/opt/pkg/man/man3/libcfg+.3'
===> Packaging libcfg+-0.6.2nb3
===> Building binary package for libcfg+-0.6.2nb3
Creating package /opt/pkg.packages/All/libcfg+-0.6.2nb3.tgz
Using SrcDir value of /opt/pkg
Registering depends:.
pkg_create: can't stat `/opt/pkg/man/man3/cfg_add_property.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_context.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_option.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_parse.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_print_error.3'
pkg_create: can't stat `/opt/pkg/man/man3/cfg_set_context_flag.3'
pkg_create: can't stat `/opt/pkg/man/man3/libcfg+.3'
tar: Unable to access man/man3/cfg_add_property.3 (No such file or directory)
tar: Unable to access man/man3/cfg_context.3 (No such file or directory)
tar: Unable to access man/man3/cfg_option.3 (No such file or directory)
tar: Unable to access man/man3/cfg_parse.3 (No such file or directory)
tar: Unable to access man/man3/cfg_print_error.3 (No such file or directory)
tar: Unable to access man/man3/cfg_set_context_flag.3 (No such file or directory)
tar: Unable to access man/man3/libcfg+.3 (No such file or directory)
>How-To-Repeat:
>Fix:
cd $LOCALBASE/pkg/man/man3
for i in cfg_add_property.3 cfg_context.3 cfg_option.3 cfg_parse.3 cfg_print_error.3 cfg_set_context_flag.3 libcfg+.3
do
gunzip $i.gz
done
Then go back and run 'bmake package' again
The proper fix would be to force the package not to install gzipped man pages.
>Release-Note:
>Audit-Trail:
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org, gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/32936: devel/libcfg+ fails to create binary package on OpenSolaris
Date: Mon, 27 Feb 2006 18:06:43 +0100 (CET)
> Delivered-To: dauphin@enst.fr
> X-Original-To: pkgsrc-bugs@netbsd.org
> Delivered-To: pkgsrc-bugs@netbsd.org
> From: segv@netctl.net
> To: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org, pkgsrc-bugs@NetBSD.org
> Subject: pkg/32936: devel/libcfg+ fails to create binary package on
OpenSolaris
> X-Gnats-Was-Stupid: no
> Cc:
> X-Virus-Scanned: amavisd-new at enst.fr
>
> >Number: 32936
> >Category: pkg
> >Synopsis: devel/libcfg+ fails to create binary package on OpenSolaris
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: pkg-manager
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Sun Feb 26 18:20:00 +0000 2006
> >Originator: segv
> >Release:
> >Organization:
> >Environment:
> SunOS e450-dsl 5.11 snv_28 sun4u sparc SUNW,Ultra-4
>
> >Description:
> Running 'bmake package' on OpenSolaris results in the following error:
>
> ===> Registering installation for libcfg+-0.6.2nb3
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_add_property.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_context.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_option.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_parse.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_print_error.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_set_context_flag.3'
> pkg_create: can't stat `/opt/pkg/man/man3/libcfg+.3'
> ===> Packaging libcfg+-0.6.2nb3
> ===> Building binary package for libcfg+-0.6.2nb3
> Creating package /opt/pkg.packages/All/libcfg+-0.6.2nb3.tgz
> Using SrcDir value of /opt/pkg
> Registering depends:.
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_add_property.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_context.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_option.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_parse.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_print_error.3'
> pkg_create: can't stat `/opt/pkg/man/man3/cfg_set_context_flag.3'
> pkg_create: can't stat `/opt/pkg/man/man3/libcfg+.3'
> tar: Unable to access man/man3/cfg_add_property.3 (No such file or directory)
> tar: Unable to access man/man3/cfg_context.3 (No such file or directory)
> tar: Unable to access man/man3/cfg_option.3 (No such file or directory)
> tar: Unable to access man/man3/cfg_parse.3 (No such file or directory)
> tar: Unable to access man/man3/cfg_print_error.3 (No such file or directory)
> tar: Unable to access man/man3/cfg_set_context_flag.3 (No such file or
directory)
> tar: Unable to access man/man3/libcfg+.3 (No such file or directory)
> >How-To-Repeat:
>
> >Fix:
> cd $LOCALBASE/pkg/man/man3
> for i in cfg_add_property.3 cfg_context.3 cfg_option.3 cfg_parse.3
cfg_print_error.3 cfg_set_context_flag.3 libcfg+.3
> do
> gunzip $i.gz
> done
>
> Then go back and run 'bmake package' again
>
> The proper fix would be to force the package not to install gzipped man pages.
try this in mk/tools/tools.SunOS.mk
TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat
TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
Gilles
From: segv@netctl.net
To: gnats-bugs@netbsd.org
Cc: Gilles.Dauphin@enst.fr, pkg-manager@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32936: devel/libcfg+ fails to create binary package on
OpenSolaris
Date: Tue, 28 Feb 2006 02:04:23 +0000
On Mon, 27 Feb 2006 17:10:02 +0000 (UTC)
Gilles Dauphin <Gilles.Dauphin@enst.fr> wrote:
> try this in mk/tools/tools.SunOS.mk
> TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
> TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat
> TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
>
> Gilles
>
What difference would that make?
'gzip -d' == 'gunzip'
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: gnats-bugs@netbsd.org, segv@netctl.net
Cc: Gilles.Dauphin@enst.fr, pkg-manager@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32936: devel/libcfg+ fails to create binary package on OpenSolaris
Date: Tue, 28 Feb 2006 09:05:19 +0100 (CET)
> Delivered-To: dauphin@enst.fr
> From: segv@netctl.net
> To: gnats-bugs@netbsd.org
> Cc: Gilles.Dauphin@enst.fr, pkg-manager@netbsd.org, gnats-admin@netbsd.org,
pkgsrc-bugs@netbsd.org
> Subject: Re: pkg/32936: devel/libcfg+ fails to create binary package on
OpenSolaris
> X-Virus-Scanned: amavisd-new at enst.fr
>
> On Mon, 27 Feb 2006 17:10:02 +0000 (UTC)
> Gilles Dauphin <Gilles.Dauphin@enst.fr> wrote:
>
> > try this in mk/tools/tools.SunOS.mk
> > TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
> > TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat
> > TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
> >
> > Gilles
> >
>
> What difference would that make?
>
> 'gzip -d' == 'gunzip'
simpler!
Your problem was to decompress man, and TOOLS_PLATFORM.gzcat solve your
problem , I think. Please test and feedback.
Gilles
From: segv@netctl.net
To: gnats-bugs@netbsd.org
Cc: Gilles.Dauphin@enst.fr, pkg-manager@netbsd.org,
gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/32936: devel/libcfg+ fails to create binary package on
OpenSolaris
Date: Tue, 28 Feb 2006 14:35:48 +0000
On Tue, 28 Feb 2006 08:10:03 +0000 (UTC)
Gilles Dauphin <Gilles.Dauphin@enst.fr> wrote:
> Your problem was to decompress man, and TOOLS_PLATFORM.gzcat solve your
> problem , I think. Please test and feedback.
> Gilles
>
I don't follow your logic.
You suggest changing mk/tools/tools.SunOS.mk
TOOLS_PLATFORM.gunzip?= /usr/bin/gzip -df
TOOLS_PLATFORM.gzcat?= /usr/bin/gzip -cd
TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
to
TOOLS_PLATFORM.gunzip?= /usr/bin/gunzip -f
TOOLS_PLATFORM.gzcat?= /usr/bin/gzcat
TOOLS_PLATFORM.gzip?= /usr/bin/gzip -nf ${GZIP}
but, 'gzcat' is that same thing as 'gzip -cd'
So what difference would that make??? Are you sure you're not just confused
about how gzip operates?
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Tue, 19 May 2009 21:39:36 +0000
Responsible-Changed-Why:
Solaris problem.
State-Changed-From-To: open->closed
State-Changed-By: jperkin@NetBSD.org
State-Changed-When: Thu, 07 Feb 2013 14:22:14 +0000
State-Changed-Why:
I don't see a need to keep this PR around any longer.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano 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.