Subject: pkg/32936: devel/libcfg+ fails to create binary package on OpenSolaris
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <segv@netctl.net>
List: pkgsrc-bugs
Date: 02/26/2006 18:20:00
>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.