Subject: pkg/26668: graphics/vtk-data and graphics/vtk-docs cannot find distfiles
To: None <>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 08/15/2004 21:54:05
>Number:         26668
>Category:       pkg
>Synopsis:       graphics/vtk-data and graphics/vtk-docs cannot find distfiles
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 15 14:56:00 UTC 2004
>Originator:     Robert Elz
>Release:        NetBSD 1.6X (--- pkgsrc current as of date/time of this message)
	Prince of Songkla University
System: NetBSD 1.6X NetBSD 1.6X (JADE) #17: Wed Sep 24 20:25:35 ICT 2003 i386
Architecture: i386
Machine: i386
	No distfile can be fetched for graphics/vtk-data or
	graphics/vtk-docs (just one PR for both as they're caused
	by a common problem, that needs fixing only once).

	This is because neither of these packages has MASTER_SITES
	set - leaving them to try just MASTER_SITES_BACKUP - none
	of which can have he distfiles, as they only ever try to
	fetch from each other...

	rm .../distfiles/VTKData-4.2.tar.gz .../distfiles/VTKDocHtml-4.2.tar.gz
	## you may want to move them instead

	cd .../pkgsrc/graphics/vtk-data
	make fetch

	cd .../pkgsrc/graphics/vtk-docs
	make fetch

	Observe that the various netbsd (& freebsd) backup sites
	are used as sources for the distfiles, but none have them.

	Nowhere is sourceforge used, which does have the distfiles.
	Apply the patch below.

	**** Note that this patch is to the graphics/vtk package ***

	This moves the definition of MASTER_SITES from Makefile.vtkdist
	(which is used by graphics/vtk and graphics/vtk-python)
	into Makefile.common (which is used by all 4 vtk packages).

	Does anyone ever actually test any of this stuff ??
	(FWIW the pkgsrc-wip version of this package, last year, "worked"
	fine ("worked" for me means "distfile fetched and verified"))

Index: Makefile.common
RCS file: /cvsroot/pkgsrc/graphics/vtk/Makefile.common,v
retrieving revision
diff -u -r1.1.1.1 Makefile.common
--- Makefile.common	2 Aug 2004 13:13:40 -0000
+++ Makefile.common	15 Aug 2004 14:43:51 -0000
@@ -5,3 +5,5 @@
 CATEGORIES=		graphics
Index: Makefile.vtkdist
RCS file: /cvsroot/pkgsrc/graphics/vtk/Makefile.vtkdist,v
retrieving revision
diff -u -r1.1.1.1 Makefile.vtkdist
--- Makefile.vtkdist	2 Aug 2004 13:13:40 -0000
+++ Makefile.vtkdist	15 Aug 2004 14:43:51 -0000
@@ -8,8 +8,6 @@
 WRKSRC=       		${WRKDIR}/VTK
 DISTINFO_FILE=		${.CURDIR}/../vtk/distinfo
 PATCHDIR=		${.CURDIR}/../vtk/patches