Subject: pkg/26334: math/scilab: Makefile & distinfo disagree about DIST_SUBDIR
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 07/15/2004 18:49:56
>Number: 26334
>Category: pkg
>Synopsis: math/scilab: Makefile & distinfo disagree about DIST_SUBDIR
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jul 15 11:53:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Robert Elz
>Release: NetBSD 1.6X ( -- pkgsrc current as of date of message)
>Organization:
Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 1.6X NetBSD 1.6X (JADE) #17: Wed Sep 24 20:25:35 ICT 2003 kre@jade.coe.psu.ac.th:/usr/src/real-sys/arch/i386/compile/JADE i386
Architecture: i386
Machine: i386
>Description:
The distinfo file for math.scilab assumes a DIST_SUBDIR called scilab-3.0
exists for the distfile. The Makefile defines no DIST_SUBDIR at all.
>How-To-Repeat:
cd ..../pkgsrc/math/scilab
make checksum
(# no need to remove any old distfiles for this one).
Eventually you'll see:
=> No checksum recorded for scilab-3.0.src.tar.gz.
Make sure the Makefile and checksum file (/usr/src/pkgsrc/math/scilab/distinfo)
are up to date. If you want to override this check, type
"/usr/bin/make NO_CHECKSUM=yes [other args]".
That's because the distfile has been fetched as distfiles/scilab-3.0.src.tar.gz
where the distinfo file is expecting distfiles/scilab-3.0/scilab-3.0.src.tar.gz
>Fix:
Make the Makefile and distinfo file consistent. Either add a DIST_SUBDIR
to the Makefile, or change the distinfo file to remove the scilab-3.0
DIST_SUBDIR it assumes.
In this case I'd suggest that changing the distinfo file is better, there's
no need for a DIST_SUBDIR for this package (at the minute) it seems, it has
just one distfile with a perfectly adequate name & version number in its name.
What's more, making this change means that people who have already fetched
the distfile won't have their pkgsrc just go fetch it again.
>Release-Note:
>Audit-Trail:
>Unformatted: