Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make distcheck error #948

Closed
alejandro-colomar opened this issue Feb 11, 2024 · 4 comments · Fixed by #970
Closed

make distcheck error #948

alejandro-colomar opened this issue Feb 11, 2024 · 4 comments · Fixed by #970

Comments

@alejandro-colomar
Copy link
Collaborator

alejandro-colomar commented Feb 11, 2024

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
Copy link
Collaborator Author

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

@jubalh
Copy link
Member

jubalh commented Feb 13, 2024

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

@hallyn
Copy link
Member

hallyn commented Mar 3, 2024

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

@hallyn
Copy link
Member

hallyn commented Mar 13, 2024

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

I'll hopefully have a patch in a bit.

@alejandro-colomar alejandro-colomar linked a pull request Mar 18, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants