Subject: Re: gmake broken on NetBSD 2
To: John Klos <john@ziaspace.com>
From: Johnny C. Lam <jlam@pkgsrc.org>
List: tech-pkg
Date: 04/07/2006 14:56:36
On Wed, Apr 05, 2006 at 02:04:13AM -0700, John Klos wrote:
> To qualify this a little bit:
> 
> Fails:
> 
> NetBSD 2.x PowerPC
> 
> NetBSD 3.x UltraSPARC
> 
> Mac OS X 10.4.6 PowerPC
> Mac OS X 10.4.6 Intel
> 
> Works:
> 
> NetBSD 1.6.x m68k
> NetBSD 1.6.x PowerPC
> NetBSD 1.6.x i386
> 
> NetBSD 2.x VAX
> NetBSD 2.x i386
> 
> NetBSD 3.x m68k
> NetBSD 3.x PowerPC
> NetBSD 3.x x86-64
> 
> 
> They all fail in the same place:
> 
> Updating ./version.texi
> restore=: && backupdir=".am$$" &&  am__cwd=`pwd` && cd . &&  rm -rf 
> $backupdir && mkdir $backupdir &&  if 
> (/usr/pkgsrc/devel/gmake/work/.tools/bin/makeinfo --version) >/dev/null 
> 2>&1; then  for f in ./make.info ./make.info-[0-9] ./make.info-[0-9][0-9] 
> ./make.i[0-9] ./make.i[0-9][0-9]; do  if test -f $f; then mv $f 
> $backupdir; restore=mv; else :; fi;  done;  else :; fi &&  cd "$am__cwd"; 
> if /usr/pkgsrc/devel/gmake/work/.tools/bin/makeinfo   -I .  -o ./make.info 
> ./make.texi;  then  rc=0;  cd .;  else  rc=$?;  cd . &&  $restore 
> $backupdir/* `echo "././make.info" | sed 's|[^/]*$||'`;  fi;  rm -rf 
> $backupdir; exit $rc
> *** Error code 1

I've committed a possible fix for this in pkgsrc/mk/tools/texinfo.mk:1.11.
Please update your pkgsrc and let me know if this fixes the problem.

	Cheers,

	-- Johnny Lam <jlam@pkgsrc.org>