Subject: pkg/15710: checksum www/p5-CGI wrong
To: None <>
From: Andreas Lohrum <>
List: netbsd-bugs
Date: 02/23/2002 17:14:02
>Number:         15710
>Category:       pkg
>Synopsis:       checksum www/p5-CGI wrong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 23 08:15:00 PST 2002
>Originator:     Andreas Lohrum
>Release:        NetBSD 1.5ZA from 2002 Feb 23, pkgsrc from Feb 16
TNG Technology Consulting
System: NetBSD haln 1.5ZA NetBSD 1.5ZA (HALN) #9: Sat Feb 23 11:43:07 CET 2002 root@haln:/big/src/sys/arch/i386/compile/HALN i386
Architecture: i386
Machine: i386
	checkum for www/p5-CGI is wrong
	cd /usr/pkgsrc/www/p5-CGI
	fix checksum

root@haln: /usr/pkgsrc/www/p5-CGI
1552 # make
=> doesn't seem to exist on this system.
=> Attempting to fetch from
Connected to
220-Welcome to the official FTP server of the GMD, the
220-German National Research Center for Information Technology.
220-This site is in Sankt Augustin, Germany, Europe, Planet Earth.
220-Access is allowed all day.  Local time is Sat Feb 23 17:10:52 2002.
220-All your commands and transfers are logged with all information
220-this machine could get from you! If you don't like this policy,
220-disconnect now!
220-Questions regarding this server should be directed to
220 [] FTP Server (GMD's Official FTP Server) ready.
331 Anonymous login ok, send your complete email address as your password.
230 Anonymous access granted, restrictions apply.
Remote system type is UNIX.
Using binary mode to transfer files.
200 Type set to I.
250 CWD command successful.
250-CWD command successful.
250-Please read the file README
250    it was last modified on Fri Mar  5 13:28:14 1999 - 1086 days ago
250 CWD command successful.
250 CWD command successful.
250 CWD command successful.
local: remote:
500 EPSV not understood.
227 Entering Passive Mode (129,26,11,23,172,74).
150 Opening BINARY mode data connection for (193377 bytes).
100% |*************************************|   188 KB   78.00 KB/s    00:00 ETA
226 Transfer complete.
193377 bytes received in 00:02 (77.96 KB/s)
221 Goodbye.
===> Validating dependencies for p5-CGI-2.79
=> Checksum mismatch for
Make sure the Makefile and checksum file (/sun1/pkgsrc/www/p5-CGI/distinfo)
are up to date.  If you want to override this check, type
"make NO_CHECKSUM=yes [other args]".
*** Error code 1

make: stopped in /sun1/pkgsrc/www/p5-CGI
root@haln: /usr/pkgsrc/www/p5-CGI
1553 # make  NO_CHECKSUM=yes  
===> Validating dependencies for p5-CGI-2.79
===> Extracting for p5-CGI-2.79
===> Required installed package {perl-5.0*,perl-5.6.0nb2,perl-base>=5.6.0,perl>=5.6.1nb2}: perl-5.6.1nb7 found
===> Patching for p5-CGI-2.79
===> Applying NetBSD patches for p5-CGI-2.79
===> Configuring for p5-CGI-2.79
=> Creating /sun1/pkgsrc/www/p5-CGI/work/.buildlink/lib/perl5/5.6.1/i386-netbsd/
cd /sun1/pkgsrc/www/p5-CGI/work/; /usr/bin/env BUILDLINK_DIR="/sun1/pkgsrc/www/p5-CGI/work/.buildlink" BUILDLINK_CPPFLAGS="-I/sun1/pkgsrc/www/p5-CGI/work/.buildlink/include" BUILDLINK_LDFLAGS="-L/sun1/pkgsrc/www/p5-CGI/work/.buildlink/lib" USETOOLS=no PERL5OPT="-I/sun1/pkgsrc/www/p5-CGI/work/.buildlink/lib/perl5/5.6.1/i386-netbsd" MAKECONF=/dev/null USETOOLS="no" LDFLAGS="-L/sun1/pkgsrc/www/p5-CGI/work/.buildlink/lib  -Wl,-R/usr/pkg/lib" PATH=/root/bin:/root/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/local/bin:/usr/X11R6/bin:/bin:/usr/local/teTeX/bin/i386-netbsd1.5:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/usr/local/Eiffel/SmallEiffel/bin:/usr/local/teTeX/bin/i386-netbsd1.5:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/bin:/usr/X11R6/bin PREFIX=/usr/pkg LOCALBASE=/usr/pkg X11BASE=/usr/X11R6 CFLAGS="-I/sun1/pkgsrc/www/p5-CGI/work/.buildlink/include -O2" CPPFLAGS="-I/sun1/pkgsrc/www/p5-!
CGI/work/.buildlink/include " FFLAGS="-O" BSD_INSTALL_PROGRAM="install -c -s -o root -g wheel -m 555"               BSD_INSTALL_SCRIPT="install -c -o root -g wheel -m 555"                         BSD_INSTALL_DATA="install -c -o root -g wheel -m 444"                   BSD_INSTALL_MAN="install -c -o root -g wheel -m 444"                    BSD_INSTALL_PROGRAM_DIR="install -d -o root -g wheel -m 555"    BSD_INSTALL_SCRIPT_DIR="install -d -o root -g wheel -m 555"             BSD_INSTALL_DATA_DIR="install -d -o root -g wheel -m 555"               BSD_INSTALL_MAN_DIR="install -d -o root -g wheel -m 555" PKG_SYSCONFDIR="/usr/pkg/etc" /usr/pkg/bin/perl Makefile.PL
Checking if your kit is complete...
Looks good
Have /sun1/pkgsrc/www/p5-CGI/work/.buildlink/lib/perl5/5.6.1/i386-netbsd/ expected /usr/pkg/lib/perl5/5.6.1/i386-netbsd/
Your perl and your seem to have different ideas about the architecture
they are running on.
Perl thinks: [i386-netbsd]
Config says: [i386-netbsd]
This may or may not cause problems. Please check your installation of perl if you
have problems building this extension.
Writing Makefile for CGI
=> Removing rpath references to buildlink directories.
===> Building for p5-CGI-2.79
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp CGI/ blib/lib/CGI/
cp blib/lib/
cd /sun1/pkgsrc/www/p5-CGI/work/;                                            for file in *.cgi *.pl; do                                      /usr/bin/sed   -e "s|^#!/.*|#!/usr/pkg/bin/perl|g"                      ${file} > ${file}.tmp;                  /bin/mv -f ${file}.tmp ${file};                                 done;                                                           /bin/chmod +x *.cgi;                                            /usr/pkg/bin/perl
root@haln: /usr/pkgsrc/www/p5-CGI
1554 # make install                 
===> Installing for p5-CGI-2.79
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/
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 /sun1/pkgsrc/www/p5-CGI/work/; install -c -o root -g wheel -m 444 *.html /usr/pkg/share/doc/html/p5-CGI
cd /sun1/pkgsrc/www/p5-CGI/work/;                                            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
===> Registering installation for p5-CGI-2.79
p5-CGI-2.79 requires installed package perl-5.6.1nb7
root@haln: /usr/pkgsrc/www/p5-CGI