Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
On Fri, 3 Mar 2017, Nick Bowler wrote: So the problem seems to be that defines.texi is *also* generated, but by your normal build process? configure outputs it? Or automake, as run by configure? $ cat doc/defines.texi.in @c -*- texinfo -*- @c @configure_input@ @c Set variables @set PACKAGE_

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Mathieu Lirzin
Paul Jakma writes: > On Fri, 3 Mar 2017, Mathieu Lirzin wrote: > >> I stopped digging when I saw that I need libcares which is not provided >> by my distro. > > Ah, well, it's only needed for nhrpd, which can be disabled with > --disable-nhrpd. I'm not sure if the configure script handles it > co

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Nick Bowler
Hello, On 3/3/17, Paul Jakma wrote: > Well, it's due to the distributed 'doc/quagga.info' being slightly older > than the (built by automake) doc/defines.texi. > > Both are made by the 'make dist' and put in the dist tarball. Then > distcheck unpacks that to a subdir, makes it RO, and creates ano

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
On Fri, 3 Mar 2017, Paul Smith wrote: On Fri, 2017-03-03 at 17:09 +, Paul Jakma wrote: Well, it's due to the distributed 'doc/quagga.info' being slightly older than the (built by automake) doc/defines.texi. I don't understand this: if doc/defines.texi is needed by quagga.info then why doe

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Smith
On Fri, 2017-03-03 at 17:09 +, Paul Jakma wrote: > Well, it's due to the distributed 'doc/quagga.info' being slightly > older than the (built by automake) doc/defines.texi. I don't understand this: if doc/defines.texi is needed by quagga.info then why doesn't quagga.info depend on it? And if

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
On Fri, 3 Mar 2017, Mathieu Lirzin wrote: I stopped digging when I saw that I need libcares which is not provided by my distro. Ah, well, it's only needed for nhrpd, which can be disabled with --disable-nhrpd. I'm not sure if the configure script handles it correctly though. in "doc/Makefi

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
On Fri, 3 Mar 2017, Paul Smith wrote: Baffling? Run make (in a remote directory freshly unpacked from your dist file) with the "-d" flag (redirect it due to voluminous output) and it will tell you exactly why it decided to run that recipe. No doubt it depends on some other file which has

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Mathieu Lirzin
Paul Jakma writes: > On Fri, 3 Mar 2017, Mathieu Lirzin wrote: > >> Can you provide a minimal example that allow others to reproduce the >> problem? > > I have a reproducer, but far from minimal: > > (cd /tmp/ && \ > wget http://download.savannah.gnu.org/releases/quagga/quagga-1.2.0.tar.gz && >

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Smith
On Fri, 2017-03-03 at 15:48 +, Paul Jakma wrote: > make[4]: Entering directory  > '/home/paul/code/quagga/quagga-1.2.0/_build/sub/doc' >    MAKEINFO ../../../doc/quagga.info > mkdir: cannot create directory ‘.am8211’: Permission denied > could not open ../../../doc/quagga.texi: No such file or

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
On Fri, 3 Mar 2017, Nick Bowler wrote: This includes running 'make dist' from such a source tree. Yeah makes sense, and it's a good thing, and I'd like to fix it. But I'm struggling to see where the issue is - whether it's something in our rules, or some bug in some automake macro somewhere

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
On Fri, 3 Mar 2017, Mathieu Lirzin wrote: Can you provide a minimal example that allow others to reproduce the problem? I have a reproducer, but far from minimal: (cd /tmp/ && \ wget http://download.savannah.gnu.org/releases/quagga/quagga-1.2.0.tar.gz && \ cd quagga-1.2.0 && ./update-autoto

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Nick Bowler
Hi, On 3/3/17, Paul Jakma wrote: > My make distcheck is broken and I can't figure out how to fix it or > where the problem lies. [...] > chmod -R a-w quagga-1.2.0 > chmod u+w quagga-1.2.0 > mkdir quagga-1.2.0/_build quagga-1.2.0/_build/sub quagga-1.2.0/_inst > chmod a-w quagga-1.2.0 > test -d qua

Re: distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Mathieu Lirzin
Hi Paul, Paul Jakma writes: > My make distcheck is broken and I can't figure out how to fix it or > where the problem lies. It seems to be a similar issue to: > > http://gnu-automake.7480.n7.nabble.com/cannot-create-directory-am15097-Permission-denied-td209.html > > Mine does: > > ... > chmod -R

distcheck does 'chmod a-w' - leads to mkdir "permission denied"

2017-03-03 Thread Paul Jakma
Hi, My make distcheck is broken and I can't figure out how to fix it or where the problem lies. It seems to be a similar issue to: http://gnu-automake.7480.n7.nabble.com/cannot-create-directory-am15097-Permission-denied-td209.html Mine does: ... chmod -R a-w quagga-1.2.0 chmod u+w quagga-1.2