bug-automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

automake 1.5 & distcheck & po generation


From: Karl Berry
Subject: automake 1.5 & distcheck & po generation
Date: Thu, 17 Jan 2002 15:55:25 -0500

Automake 1.5, autoconf 2.52, gettext 0.10.39.  As far as I know I don't
have any special changes installed ...

I was preparing a new Texinfo distribution and make distcheck failed
because the .po files are regenerated and the po/ directory is readonly.
(Also, make distcheck doesn't notice this error and goes on to say it's
"ready for distribution".  This may not be a bad thing, though :)

I worked around this by simply commenting out the chmod in distcheck,
but there's probably a real fix somehow?

*** /usr/local/gnu/share/automake/am/ORIG/distdir.am    Wed Sep 12 08:35:55 2001
--- /usr/local/gnu/share/automake/am/distdir.am Thu Jan 17 11:34:00 2002
***************
*** 245,251 ****
  ## Make the new source tree read-only.  Distributions ought to work in
  ## this case.  However, make the top-level directory writable so we
  ## can make our new subdirs.
!       chmod -R a-w $(distdir); chmod a+w $(distdir)
        mkdir $(distdir)/=build
        mkdir $(distdir)/=inst
  ## Undo the write access.
--- 245,251 ----
  ## Make the new source tree read-only.  Distributions ought to work in
  ## this case.  However, make the top-level directory writable so we
  ## can make our new subdirs.
! #     chmod -R a-w $(distdir); chmod a+w $(distdir)
        mkdir $(distdir)/=build
        mkdir $(distdir)/=inst
  ## Undo the write access.

Appended is the part of the make output that shows the problem.

Thanks,
address@hidden


...
make[1]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build'
chmod -R a+w texinfo-4.0e >/dev/null 2>&1; rm -rf texinfo-4.0e
mkdir texinfo-4.0e
/bin/sh ../mkinstalldirs texinfo-4.0e/intl texinfo-4.0e/po
mkdir texinfo-4.0e/intl
mkdir texinfo-4.0e/po
for subdir in intl lib info makeinfo po util doc; do \
  if test "$subdir" = .; then :; else \
    test -d texinfo-4.0e/$subdir \
    || mkdir texinfo-4.0e/$subdir \
    || exit 1; \
    (cd $subdir && \
      make  \
        top_distdir="." \
        distdir=../texinfo-4.0e/$subdir \
        distdir) \
      || exit 1; \
  fi; \
done
/u/texinfo/src/texinfo-4.0e/=build/intl
make[2]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/intl'
if test "texinfo" = gettext; then \
  additional="libintl.glibc"; \
else \
  additional="VERSION"; \
fi; \
make Makefile.in config.charset locale.alias ref-add.sin ref-del.sin gettext.h 
gettextP.h hash-string.h libgnuintl.h libgettext.h loadinfo.h bindtextdom.c 
dcgettext.c dgettext.c gettext.c finddomain.c loadmsgcat.c localealias.c 
textdomain.c l10nflist.c explodename.c dcigettext.c dcngettext.c dngettext.c 
ngettext.c plural.y localcharset.c intl-compat.c plural.c $additional; \
for file in ChangeLog Makefile.in config.charset locale.alias ref-add.sin 
ref-del.sin gettext.h gettextP.h hash-string.h libgnuintl.h libgettext.h 
loadinfo.h bindtextdom.c dcgettext.c dgettext.c gettext.c finddomain.c 
loadmsgcat.c localealias.c textdomain.c l10nflist.c explodename.c dcigettext.c 
dcngettext.c dngettext.c ngettext.c plural.y localcharset.c intl-compat.c 
plural.c $additional; do \
  if test -f $file; then dir=.; else dir=../../intl; fi; \
  ln $dir/$file ../texinfo-4.0e/intl 2> /dev/null \
    || cp -p $dir/$file ../texinfo-4.0e/intl; \
done
make[3]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/intl'
make[3]: Nothing to be done for `../../intl/Makefile.in'.
make[3]: Nothing to be done for `../../intl/config.charset'.
make[3]: Nothing to be done for `../../intl/locale.alias'.
make[3]: Nothing to be done for `../../intl/ref-add.sin'.
make[3]: Nothing to be done for `../../intl/ref-del.sin'.
make[3]: Nothing to be done for `../../intl/gettext.h'.
make[3]: Nothing to be done for `../../intl/gettextP.h'.
make[3]: Nothing to be done for `../../intl/hash-string.h'.
make[3]: Nothing to be done for `../../intl/libgnuintl.h'.
make[3]: Nothing to be done for `../../intl/libgettext.h'.
make[3]: Nothing to be done for `../../intl/loadinfo.h'.
make[3]: Nothing to be done for `../../intl/bindtextdom.c'.
make[3]: Nothing to be done for `../../intl/dcgettext.c'.
make[3]: Nothing to be done for `../../intl/dgettext.c'.
make[3]: Nothing to be done for `../../intl/gettext.c'.
make[3]: Nothing to be done for `../../intl/finddomain.c'.
make[3]: Nothing to be done for `../../intl/loadmsgcat.c'.
make[3]: Nothing to be done for `../../intl/localealias.c'.
make[3]: Nothing to be done for `../../intl/textdomain.c'.
make[3]: Nothing to be done for `../../intl/l10nflist.c'.
make[3]: Nothing to be done for `../../intl/explodename.c'.
make[3]: Nothing to be done for `../../intl/dcigettext.c'.
make[3]: Nothing to be done for `../../intl/dcngettext.c'.
make[3]: Nothing to be done for `../../intl/dngettext.c'.
make[3]: Nothing to be done for `../../intl/ngettext.c'.
make[3]: Nothing to be done for `../../intl/plural.y'.
make[3]: Nothing to be done for `../../intl/localcharset.c'.
make[3]: Nothing to be done for `../../intl/intl-compat.c'.
make[3]: `../../intl/plural.c' is up to date.
make[3]: Nothing to be done for `../../intl/VERSION'.
make[3]: Leaving directory `/u/texinfo/src/texinfo-4.0e/=build/intl'
make[2]: Leaving directory `/u/texinfo/src/texinfo-4.0e/=build/intl'
/u/texinfo/src/texinfo-4.0e/=build/lib
make[2]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/lib'
make[2]: Leaving directory `/u/texinfo/src/texinfo-4.0e/=build/lib'
/u/texinfo/src/texinfo-4.0e/=build/info
make[2]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/info'
make[2]: Leaving directory `/u/texinfo/src/texinfo-4.0e/=build/info'
/u/texinfo/src/texinfo-4.0e/=build/makeinfo
make[2]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/makeinfo'
for subdir in tests; do \
  if test "$subdir" = .; then :; else \
    test -d ../texinfo-4.0e/makeinfo/$subdir \
    || mkdir ../texinfo-4.0e/makeinfo/$subdir \
    || exit 1; \
    (cd $subdir && \
      make  \
        top_distdir="." \
        distdir=../../texinfo-4.0e/makeinfo/$subdir \
        distdir) \
      || exit 1; \
  fi; \
done
/u/texinfo/src/texinfo-4.0e/=build/makeinfo/tests
make[3]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/makeinfo/tests'
make[3]: Leaving directory `/u/texinfo/src/texinfo-4.0e/=build/makeinfo/tests'
make[2]: Leaving directory `/u/texinfo/src/texinfo-4.0e/=build/makeinfo'
/u/texinfo/src/texinfo-4.0e/=build/po
make[2]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/po'
make update-po
make[3]: Entering directory `/u/texinfo/src/texinfo-4.0e/=build/po'
make texinfo.pot
if test "texinfo" = "gettext"; then PATH=`pwd`/../src:$PATH; fi; \
cd ../../po; \
catalogs='cs.gmo da.gmo de.gmo de_AT.gmo eo.gmo fr.gmo he.gmo ja.gmo nl.gmo 
no.gmo ru.gmo sv.gmo'; \
for cat in $catalogs; do \
  cat=`basename $cat`; \
  lang=`echo $cat | sed 's/\.gmo$//'`; \
  echo "$lang:"; \
  if msgmerge $lang.po texinfo.pot -o $lang.new.po; then \
    mv -f $lang.new.po $lang.po; \
  else \
    echo "msgmerge for $cat failed!"; \
    rm -f $lang.new.po; \
  fi; \
done
cs:
..................................................... done.
cannot create output file "cs.new.po": Permission denied
msgmerge for cs.gmo failed!
da:
..................................................... done.
cannot create output file "da.new.po": Permission denied
msgmerge for da.gmo failed!
de:
..................................................... done.
cannot create output file "de.new.po": Permission denied
msgmerge for de.gmo failed!
de_AT:
..................................................... done.
cannot create output file "de_AT.new.po": Permission denied
msgmerge for de_AT.gmo failed!
eo:
..................................................... done.
cannot create output file "eo.new.po": Permission denied
msgmerge for eo.gmo failed!
fr:
..................................................... done.
cannot create output file "fr.new.po": Permission denied
msgmerge for fr.gmo failed!
he:
..................................................... done.
cannot create output file "he.new.po": Permission denied
msgmerge for he.gmo failed!
ja:
..................................................... done.
cannot create output file "ja.new.po": Permission denied
msgmerge for ja.gmo failed!
nl:
..................................................... done.
cannot create output file "nl.new.po": Permission denied
msgmerge for nl.gmo failed!
no:
..................................................... done.
cannot create output file "no.new.po": Permission denied
msgmerge for no.gmo failed!
ru:
..................................................... done.
cannot create output file "ru.new.po": Permission denied
msgmerge for ru.gmo failed!
sv:
..................................................... done.
cannot create output file "sv.new.po": Permission denied
msgmerge for sv.gmo failed!
...



reply via email to

[Prev in Thread] Current Thread [Next in Thread]