Subject: Re: CVS commit: pkgsrc/mk/extract
To: None <schwarz@netbsd.org>
From: Greg Oster <oster@cs.usask.ca>
List: pkgsrc-changes
Date: 08/20/2006 08:48:46
Georg Schwarz writes:
> 
> Module Name:	pkgsrc
> Committed By:	schwarz
> Date:		Sat Aug 19 20:32:28 UTC 2006
> 
> Modified Files:
> 	pkgsrc/mk/extract: bsd.extract-vars.mk
> 
> Log Message:
> it is not necessary to have a variable _EXTRACT_PATTERNS that contains
> ${EXTRACT_SUFX}, so one can directly use EXTRACT_ONLY instead.
> EXTRACT_ONLY defaults to ${DISTFILES} which in turn defaults to
> ${DISTNAME}${EXTRACT_SUFX}. So if EXTRACT_SUFX is relevant for determining
> which tools are needed this can only happen if neither DISTFILES nor
> EXTRACT_ONLY have been set by the package, in which case the relevant
> variable EXTRACT_ONLY would contain EXTRACT_SUFX.

with rev 1.4 of the above I get this:

make package clean
=> Required installed package digest>=20010302: digest-20060302 found
=> Checksum SHA1 OK for html-4.01.tar.gz
=> Checksum RMD160 OK for html-4.01.tar.gz
===> Installing dependencies for html-4.01nb4
=> Required installed package iso8879>=1986: iso8879-1986nb6 found
=> Required installed package xmlcatmgr>=2.0beta1: xmlcatmgr-2.2nb1 found
===> Overriding tools for html-4.01nb4
===> Extracting for html-4.01nb4
===> Patching for html-4.01nb4
===> Creating toolchain wrappers for html-4.01nb4
===> Configuring for html-4.01nb4
===> Installing for html-4.01nb4
=> Running PRE-INSTALL script actions
/usr/bin/install -d -o root -g wheel -m 755 /usr/pkg/share/sgml/html
cd /usr/pkg/share/sgml/html &&   -zxf /usr/pkgsrc/distfiles/html-4.01.tar.gz
-zxf: not found
*** Error code 127

Stop.
make: stopped in /usr/pkgsrc/textproc/html
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/html
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/textproc/html

With rev 1.2, things build fine.  (havn't tried rev 1.3, but the 
above is repeatable...)

A fix, please? :) 

Later...

Greg Oster