Subject: build of gtkballs hanging
To: None <tech-pkg@netbsd.org>
From: Gavan Fantom <gavan@coolfactor.org>
List: tech-pkg
Date: 11/11/2003 17:11:08
When building gtkballs on Solaris, gmake gets into a big loop:

===> build-message [gtkballs-3.0.1nb4] ===> Building for gtkballs-3.0.1nb4
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/ksh ./config.status
creating Makefile
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/ksh ./config.status
creating Makefile
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/ksh ./config.status
creating Makefile
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/ksh ./config.status
creating Makefile
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/ksh ./config.status
creating Makefile

[etc]

I can fix this with the following patch, but I'm not sure if this is the
correct solution.

--- configure.orig      2002-08-22 15:36:27.000000000 +0100
+++ configure
@@ -2679,7 +2679,6 @@ cat >> $CONFIG_STATUS <<EOF
 EOF
 cat >> $CONFIG_STATUS <<\EOF
 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
-touch Makefile.in
            sed -e "/POTFILES =/r po/POTFILES" po/Makefile.in >
po/Makefile
 exit 0
 EOF


I don't know what the purpose of the "touch Makefile.in" line is, maybe
someone would be able to explain that to me? Is there any harm in just
removing it? Anyone care to come up with a better solution? Or an
explanation of why this only seems to bite on Solaris?

-- 
Gillette - the best a man can forget