shadow-maint / shadow

Upstream shadow tree
Other
292 stars 228 forks source link

`make distcheck` error #948

Closed alejandro-colomar closed 5 months ago

alejandro-colomar commented 7 months ago

I tried running make distcheck while preparing the tarball for 4.14.4, but it failed:

...
make[4]: Entering directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man'
make  distdir-am
make[5]: Entering directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man'
 (cd po && make  top_distdir=../../shadow-4.14.4 distdir=../../shadow-4.14.4/man/po \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[6]: Entering directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man/po'
make update-po
make[7]: Entering directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man/po'
make shadow-man-pages.pot-update
make[8]: Entering directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man/po'
cp ../../../../po/remove-potcdate.sin remove-potcdate.sin
sed -e '/^#/d' remove-potcdate.sin > t-remove-potcdate.sed
mv t-remove-potcdate.sed remove-potcdate.sed
cd ../../../../man
/bin/sh: 7: cannot create chage.1.xml.out: Permission denied
make[8]: *** [Makefile:90: shadow-man-pages.pot-update] Error 2
make[8]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man/po'
make[7]: *** [Makefile:203: update-po] Error 2
make[7]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man/po'
make[6]: *** [Makefile:178: distdir] Error 2
make[6]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man/po'
make[5]: *** [Makefile:854: distdir-am] Error 1
make[5]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man'
make[4]: *** [Makefile:850: distdir] Error 2
make[4]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub/man'
make[3]: *** [Makefile:573: distdir-am] Error 1
make[3]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub'
make[2]: *** [Makefile:567: distdir] Error 2
make[2]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub'
make[1]: *** [Makefile:672: dist] Error 2
make[1]: Leaving directory '/home/alx/src/shadow/shadow/4.14.x/shadow-4.14.4/_build/sub'
make: *** [Makefile:684: distcheck] Error 1

And here's the relevant history:

 2032  git status
 2033  git clean -dffx
 2034  ./autogen.sh 
 2035  make dist
 2036  make distcheck

@hallyn , does make distcheck work for you? Can you reproduce this problem?

alejandro-colomar commented 7 months ago

To be clear, make dist works just fine. It's only distcheck that is problematic.

jubalh commented 6 months ago

I followed the steps you described and I get the same result: /bin/sh: 7: cannot create chage.1.xml.out: Permission denied.

hallyn commented 6 months ago

Hm, yeah, same here. Making a note to look a this, thanks.

hallyn commented 5 months ago

Looks like it's mostly fallout from recent changes in the manpage translation handling.

I'll hopefully have a patch in a bit.