Subject: pkg/15710: checksum www/p5-CGI wrong
To: None <gnats-bugs@gnats.netbsd.org>
From: Andreas Lohrum <andy@tngtech.com>
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
>Closed-Date:
>Last-Modified:
>Originator:     Andreas Lohrum
>Release:        NetBSD 1.5ZA from 2002 Feb 23, pkgsrc from Feb 16
>Organization:
TNG Technology Consulting
>Environment:
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
>Description:
	checkum for www/p5-CGI is wrong
>How-To-Repeat:
	cd /usr/pkgsrc/www/p5-CGI
        make 
>Fix:
	fix checksum

root@haln: /usr/pkgsrc/www/p5-CGI
1552 # make
=> CGI.pm-2.79.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch CGI.pm-2.79.tar.gz from ftp://ftp.gmd.de/mirrors/CPAN/modules/by-module/CGI/.
Connected to data1.gmd.de.
220-Welcome to the official FTP server of the GMD, the
220-German National Research Center for Information Technology.
220-
220-This site is in Sankt Augustin, Germany, Europe, Planet Earth.
220-
220-Access is allowed all day.  Local time is Sat Feb 23 17:10:52 2002.
220-
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-
220-Questions regarding this server should be directed to ftpmaster@gmd.de.
220 [ftp.gmd.de] 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: CGI.pm-2.79.tar.gz remote: CGI.pm-2.79.tar.gz
500 EPSV not understood.
227 Entering Passive Mode (129,26,11,23,172,74).
150 Opening BINARY mode data connection for CGI.pm-2.79.tar.gz (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 CGI.pm-2.79.tar.gz.
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

Stop.
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/Config.pm.
cd /sun1/pkgsrc/www/p5-CGI/work/CGI.pm-2.79; /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/Config.pm expected /usr/pkg/lib/perl5/5.6.1/i386-netbsd/Config.pm
Your perl and your Config.pm 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/Push.pm blib/lib/CGI/Push.pm
cp CGI/Pretty.pm blib/lib/CGI/Pretty.pm
cp CGI/Fast.pm blib/lib/CGI/Fast.pm
cp CGI/Switch.pm blib/lib/CGI/Switch.pm
cp CGI/Carp.pm blib/lib/CGI/Carp.pm
cp CGI/Apache.pm blib/lib/CGI/Apache.pm
cp CGI/Util.pm blib/lib/CGI/Util.pm
cp CGI/Cookie.pm blib/lib/CGI/Cookie.pm
cp CGI.pm blib/lib/CGI.pm
cd /sun1/pkgsrc/www/p5-CGI/work/CGI.pm-2.79/examples;                                            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 make_links.pl
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/CGI.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Push.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Pretty.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Fast.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Switch.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Carp.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Apache.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Util.pm
Installing /usr/pkg/lib/perl5/site_perl/5.6.1/CGI/Cookie.pm
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/CGI.pm-2.79; install -c -o root -g wheel -m 444 *.html /usr/pkg/share/doc/html/p5-CGI
cd /sun1/pkgsrc/www/p5-CGI/work/CGI.pm-2.79/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
===> 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

>Release-Note:
>Audit-Trail:
>Unformatted: