[Top][All Lists]

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

error in distcheck caused by Info files modification time

From: Marco Maggi
Subject: error in distcheck caused by Info files modification time
Date: Thu, 10 Oct 2013 10:35:24 +0200


  I use the Autotools in several packages with no problems running "make
distcheck",  but  in a  single  package  I get  an  error.   I am  on  a
x86_64-unknown-linux-gnu  with Autoconf  2.69 and  Automake 1.14,  and I

   AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip])

  AFAICT with  almost all of  my packages: when running  "distcheck" the
documentation is  built only in  PDF format,  not Info format;  the Info
files are already present in the distribution archive.

  In a single package[1] I get:

Making all in doc
make[3]: Entering directory 
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd ../../doc && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh 
 makeinfo --version) >/dev/null 2>&1; then \
  for f in ../../doc/ ../../doc/[0-9] 
../../doc/[0-9][0-9] ../../doc/vicare-scheme.i[0-9] 
../../doc/vicare-scheme.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 /bin/sh 
 makeinfo   -I ../../doc \
 -o ../../doc/ ../../doc/vicare-scheme.texi; \
then \
  rc=0; \
  CDPATH="${ZSH_VERSION+.}:" && cd ../../doc; \
else \
  rc=$?; \
  CDPATH="${ZSH_VERSION+.}:" && cd ../../doc && \
  $restore $backupdir/* `echo "./../../doc/" | sed 
's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
mkdir: cannot create directory '.am7834': Permission denied
../../doc/vicare-scheme.texi: No such file or directory
make[3]: *** [../../doc/] Error 1
make[3]: Leaving directory 

the problem seems  to be that the  Info files from the  dist archive are
extracted  with last  modification time  older than  their corresponding
Texinfo files  from the dist archive;  this causes the Info  files to be
rebuilt, which fails because the "doc" directory has permissions 0550.

  This happens also when I make sure to remove all the Info files in the
original build tree  and rebuild them, so that I  can verify[2] that the
Info files are newer.  It was not happening on this very package until I
split the documentation to 3 master  files, rather than an all inclusive

  Was I just  lucky not to be hit  by this before?  I would  like not to
use the "info-in-builddir" option.


[1] <>
"Now feel the funk blast!"
Rage Against the Machine - "Calm like a bomb"

reply via email to

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