Subject: pkg/13157: The automatically generated packlist support for perl doesn't work
To: None <gnats-bugs@gnats.netbsd.org>
From: Bernd Ernesti <bernd@arresum.inka.de>
List: netbsd-bugs
Date: 06/10/2001 23:30:48
>Number:         13157
>Category:       pkg
>Synopsis:       automatically generated packlist support for perl doesn't work
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 10 14:29:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Bernd Ernesti
>Release:        NetBSD-current 10-Jun-2001
>Organization:
	
>Environment:
	
System: NetBSD 1.5W
Architecture: i386
Machine: i386
>Description:
	The pkgsrc support for handling automatically generated packlist
	doesn't seem to work.

	${PERL5_SITEARCH} doesn't get expanded.

	This is due too not defining USE_PERL5 in www/p5-CGI, but the comment
	in this Makfile says it can't define USE_PERL5.
>How-To-Repeat:
	Try install /usr/pkg from scratch and look at the output during
	installation:

===> Installing for p5-CGI-2.75.2
Writing /usr/pkg/lib/perl5/site_perl/5.6.1/i386-netbsd/auto/CGI/.packlist
Appending installation info to /usr/pkg/lib/perl5/5.6.1/i386-netbsd/perllocal.pod
install -d -o root -g wheel -m 555 /usr/pkg/share/doc/html/p5-CGI
install -d -o root -g wheel -m 555 /usr/pkg/share/doc/html/p5-CGI/examples
cd /home/source/pkgsrc/www/p5-CGI/work.i386/CGI.pm-2.752; install -c -o root -g wheel -m 444 *.html /usr/pkg/share/doc/html/p5-CGI
cd /home/source/pkgsrc/www/p5-CGI/work.i386/CGI.pm-2.752/examples;
         install -c -o root -g wheel -m 444 *.gif *.html *.txt *.xbm /usr/pkg/share/doc/html/p5-CGI/examples;        install -c -o root -g wheel -m 555 *.cgi /usr/pkg/share/doc/html/p5-CGI/examples
cat: /auto/CGI/.packlist: No such file or directory
cat: /auto/CGI/.packlist: No such file or directory
===> Registering installation for p5-CGI-2.75.2

Notice the not expanded ${PERL5_SITEARCH} variable before /auto/CGI/.packlist.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: