Subject: pkg/15761: "make makesum" fails if no distinfo is found
To: None <gnats-bugs@gnats.netbsd.org>
From: None <martti.kuparinen@iki.fi>
List: netbsd-bugs
Date: 02/28/2002 10:21:46
>Number: 15761
>Category: pkg
>Synopsis: "make makesum" fails if no distinfo is found
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Feb 28 01:23:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Martti Kuparinen
>Release: NetBSD 1.5ZA
>Organization:
>Environment:
System: NetBSD dhcp118 1.5ZA NetBSD 1.5ZA (KAYAK) #2: Mon Feb 25 08:50:21 CET 2002 root@dhcp118:/usr/src/sys/arch/i386/compile/KAYAK i386
Architecture: i386
Machine: i386
>Description:
I'm creating a new pkg and discovered a serious bug in "make makesum".
I created the Makefile and ran "make makesum" to fetch the distfile and
generate the checksum. Something has been changed in pkgsrc/mk since
this fails if the distfile file is not found (see the output below).
>How-To-Repeat:
ROOT dhcp118:/usr/pkgsrc/wm/icewmconf> ls -l
total 1
-rw-r--r-- 1 martti wheel 766 Feb 28 10:12 Makefile
ROOT dhcp118:/usr/pkgsrc/wm/icewmconf> make makesum
=> icewmconf-2.1.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch icewmconf-2.1.0.tar.gz from http://sdboyd.dyndns.org/icewmconf/.
awk: cmd. line:2: fatal: cannot open file `/work/netbsd/pkgsrc/wm/icewmconf/distinfo' for reading (No such file or directory)
*** Error code 2
ROOT dhcp118:/usr/pkgsrc/wm/icewmconf> touch distinfo
ROOT dhcp118:/usr/pkgsrc/wm/icewmconf> make makesum
=> icewmconf-2.1.0.tar.gz doesn't seem to exist on this system.
=> Attempting to fetch icewmconf-2.1.0.tar.gz from http://sdboyd.dyndns.org/icewmconf/.
Requesting http://sdboyd.dyndns.org/icewmconf/icewmconf-2.1.0.tar.gz
100% |*************************************| 4166 13.13 KB/s 00:00 ETA
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: