This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Bootstrap failure on Solaris7 in Intl code



Dear Zack,
I guess your patch
  2001-10-31  Zack Weinberg  <zack@codesourcery.com>
	* Makefile.in (INTL_TARGETS, POSUB): Delete all references.
        ...
	(XGETTEXT, GMSGFMT, MSGMERGE, PACKAGE, CATALOGS): New variables.
        ...

breaks bootstrapping on my machine. The reason is that in aclocal.m4, we
now have
	if $GMSGFMT --statistics /dev/null >/dev/null 2>&1; then
	  : ;
	else
	  AC_MSG_RESULT(
	    [found msgfmt program is not GNU msgfmt; ignore it])
	  GMSGFMT=":"
        fi

while in Makefile:
  # Update files in $(srcdir) atomically.
  .po.gmo:
	test -d po || mkdir po
	$(GMSGFMT) --statistics $< -o $@
	$(SHELL) $(srcdir)/move-if-change $@ $(srcdir)/$@

On my machine, there's no suitable msgfmt program, so GMSGFMT==":", so the
second line in the make rule does not generate a sv.gmo file, so nothing
there to be moved in the last line, where make stops:

test -d po || mkdir po
: --statistics ../../gcc/gcc/po/sv.po -o po/sv.gmo
/bin/sh ../../gcc/gcc/move-if-change po/sv.gmo ../../gcc/gcc/po/sv.gmo
mv: po/sv.gmo: No such file or directory
make[2]: *** [po/sv.gmo] Error 1
make[2]: Leaving directory `/home/atlas2/wolf/var/gcc/gcc3.1/sun-bin/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/atlas2/wolf/var/gcc/gcc3.1/sun-bin/gcc'
make: *** [bootstrap] Error 2

Cheers
  Wolfgang

-------------------------------------------------------------------------
Wolfgang Bangerth          email: wolfgang.bangerth@iwr.uni-heidelberg.de
                             www: http://gaia.iwr.uni-heidelberg.de/~wolf



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]