Subject: gmake broken on NetBSD 2
To: None <tech-pkg@netbsd.org>
From: John Klos <john@ziaspace.com>
List: tech-pkg
Date: 04/05/2006 00:46:54
The glob warnings have been there for as long as I can remember. But the 
bombing is new as of 3.81. It bombs on all of the 2.x machines I've tried, 
but works on all of the 3.x machines I've tried.

Ideas?


===> build-message [gmake-3.81] ===> Building for gmake-3.81
/usr/bin/make  all-recursive
Making all in glob
if cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -O2 -I/usr/include 
-MT glob.o -MD -MP -MF ".deps/glob.Tpo" -c -o glob.o glob.c;  then mv -f 
".deps/glob.Tpo" ".deps/glob.Po"; else rm -f ".deps/glob.Tpo"; exit 1; fi
In file included from glob.c:204:
glob.c: In function `glob':
glob.c:198: warning: passing arg of `my_realloc' from incompatible pointer 
type
In file included from glob.c:204:
glob.c:198: warning: passing arg of `my_realloc' from incompatible pointer 
type
In file included from glob.c:204:
glob.c:198: warning: passing arg of `my_realloc' from incompatible pointer 
type
In file included from glob.c:204:
glob.c: In function `glob_in_dir':
glob.c:198: warning: passing arg of `my_realloc' from incompatible pointer 
type
if cc -DHAVE_CONFIG_H -I. -I. -I..    -I/usr/include  -O2 -I/usr/include 
-MT fnmatch.o -MD -MP -MF ".deps/fnmatch.Tpo" -c -o fnmatch.o fnmatch.c; 
then mv -f ".deps/fnmatch.Tpo" ".deps/fnmatch.Po"; else rm -f 
".deps/fnmatch.Tpo"; exit 1; fi
rm -f libglob.a
ar cru libglob.a glob.o fnmatch.o
ranlib libglob.a
Making all in config
Making all in po
Making all in doc
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

Stop.
make: stopped in /usr/pkgsrc/devel/gmake/work/make-3.81/doc
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gmake/work/make-3.81
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gmake/work/make-3.81
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gmake
===> /usr/pkgsrc/devel/gmake/work/.build_done [gmake-3.81] ===>
===> /usr/pkgsrc/devel/gmake/work/.build_done [gmake-3.81] ===> There was 
an error during the ``build'' phase.
===> /usr/pkgsrc/devel/gmake/work/.build_done [gmake-3.81] ===> Please 
investigate the following for more information:
===> /usr/pkgsrc/devel/gmake/work/.build_done [gmake-3.81] ===>      * log 
of the build
===> /usr/pkgsrc/devel/gmake/work/.build_done [gmake-3.81] ===>      * 
/usr/pkgsrc/devel/gmake/work/.work.log
===> /usr/pkgsrc/devel/gmake/work/.build_done [gmake-3.81] ===>
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/gmake