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 install fails: module.pod - Non-ASCII character seen #714

Closed
mathsen opened this issue Jul 18, 2024 · 3 comments
Closed

make install fails: module.pod - Non-ASCII character seen #714

mathsen opened this issue Jul 18, 2024 · 3 comments

Comments

@mathsen
Copy link

mathsen commented Jul 18, 2024

Since the update to 8.7.43 I'm not able to compile lmod any longer (even now with 8.7.44).
During "make install" I get:

/usr/bin/core_perl/pod2man ~/Downloads/lmod-install/lmod/8.7.44/share/man/man1/module.pod   > ~/Downloads/lmod-install/lmod/8.7.44/share/man/man1/module.1
~/Downloads/lmod-install/lmod/8.7.44/share/man/man1/module.pod around line 57: Non-ASCII character seen before =encoding in 'fr'. Assuming UTF-8
POD document had syntax errors at /usr/bin/core_perl/pod2man line 69.
make: *** [makefile:266: man_pages] Error 255

manually calling
/usr/bin/core_perl/pod2man ~/Downloads/lmod-install/lmod/8.7.44/share/man/man1/module.pod > ~/Downloads/lmod-install/lmod/8.7.44/share/man/man1/module.1

returns the same error message. Adding
=encoding UTF-8
at the beginning of the file fixes the issue for me.

@rtmclay
Copy link
Member

rtmclay commented Jul 18, 2024

I have modified the module.pod generation to add **=encoding UTF-8" at the top of this file. Please test Lmod's "IS714-utf8" branch, to see if it works for you. Thanks for the bug report!

rtmclay pushed a commit that referenced this issue Jul 18, 2024
rtmclay pushed a commit that referenced this issue Jul 18, 2024
@mathsen
Copy link
Author

mathsen commented Jul 18, 2024

@rtmclay Thanks for the quick fix! I can confirm that the "IS714-utf8" branch compiles just fine for me.

@rtmclay
Copy link
Member

rtmclay commented Jul 18, 2024

This fix is now live in Lmod 8.7.45. Closing this issue.

@rtmclay rtmclay closed this as completed Jul 18, 2024
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

No branches or pull requests

2 participants