-
Notifications
You must be signed in to change notification settings - Fork 113
PKGBUILD error: pod2man not found (wayland) #638
Comments
Hum, interesting. Skimming through the long bug report, I wasn't able to determine if RH/Gnome only pushed a temporary workaround in Fedora or if the issue will be somehow fixed on the long term by wayland/systemd instead. In any case, it might be worth raising this issue on the Arch mailing list if this isn't done already. Pod2man is only used for generating the man page from the README.pod, but this issue goes beyond a simple workaround for pacaur only. Cower does generate its man page in the same way, so that workaround would need to be applied there too, otherwise this is pointless. Finding a general patch/workaround for the entire distribution seems to be the correct approach here. |
I raised Arch bug https://bugs.archlinux.org/task/52837 for this. |
Which they already closed, "will not fix". |
Reason for closing is "Upstream" (see #51341). Not much to do here. |
Simple fix: write the README in groff instead of pod. ¯\ʔ•ᴥ•ʕ/¯ Not that there's much difference in the syntax anyway, besides some added verbosity for pod. compare: |
The reason I'm using POD is because I want the man page to be readable online. Can this be done with groff? |
Typical github preferring bloat like topics and emojis rather than actual useful features such as groff previews: However, you can do it the other way around: write the readme in groff, then convert it to some previewable format with e.g. pandoc. Said conversion could be done in a pre-commit hook or such. |
Doing it on my end isn't worth it for an upstream bug workaround. Also, this depends on cower too, since it is a direct dependency. I'd heavily consider getting rid of perl if GitHub allows preview of some other format than .pod. |
If anybody else come here looking at this problem then you are probably also running GNOME on Arch which now defaults to using Wayland so the easiest and best fix I have researched is to change the first line of
to
As per https://bugzilla.gnome.org/show_bug.cgi?id=736660, this issue is in the pipeline to get fixed properly but that small patch is the best fix (on Arch) in the meantime. |
Version pacaur 4.7.0-1.
I wrote this as a comment on the pacaur AUR web page but thought it best to raise a bug. Since pacaur 4.7 I, and at least one other person on the AUR page, get an error when updating pacaur about
pod2man: command not found
. The reason is because I am using Wayland and it does not source/etc/profile
so the perl path is not set via/etc/profile.d/
. See https://bugzilla.gnome.org/show_bug.cgi?id=736660.An easy fix is just to specify the full path
/usr/bin/core_perl/pod2man
in the PKGBUILD which fixes the issue.The text was updated successfully, but these errors were encountered: