autogen-5.18.16 fails configure w/out autogen already installed
Brought to you by:
bkorb
With no autogen already installed, the end of configure fails like this:
config.status: creating xml2ag/test/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: error: in `/sw/build.build/autogen-5.18.16-1/autogen-5.18.16/finkbuild':
config.status: error: Something went wrong bootstrapping makefile fragments
for automatic dependency tracking. Try re-running configure with the
'--disable-dependency-tracking' option to at least be able to build
the package (albeit without support for automatic dependency tracking).
See `config.log' for more details
Config.log has this:
config.status:1334: creating xml2ag/test/Makefile
config.status:1334: creating config.h
config.status:1548: executing depfiles commands
config.status:1625: cd agen5 && sed -e '/# am--include-marker/d' Makefile | make -f - am--depfiles
/bin/sh ../../agen5/mk-stamps.sh ".deps/dep-stamp-gver.mk"
make[1]: Entering directory '/sw/build.build/autogen-5.18.16-1/autogen-5.18.16/finkbuild'
/bin/sh config/mk-shdefs config/shdefs
config.status: creating shdef-temp
make[1]: Leaving directory '/sw/build.build/autogen-5.18.16-1/autogen-5.18.16/finkbuild'
/var/tmp/GmDt99xg:1085: .deps/dep-stamp-gver.mk: No such file or directory
make: *** [/var/tmp/GmDt99xg:1084: .deps/dep-stamp-gver.mk] Killed: 9
If I add --disable-dependency-tracking to ../configure, then the build succeeds. If I then install this copy of autogen and remove the --disable-dependency-tracking flag, then the rebuild also succeeds.
The original failing configure parameters I pass are: ../configure --prefix=/sw --enable-snprintfv-install --disable-nls