Subject: Re: pkg/32936: devel/libcfg+ fails to create binary package on OpenSolaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
List: pkgsrc-bugs
Date: 02/27/2006 17:10:02
The following reply was made to PR pkg/32936; it has been noted by GNATS.
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