Bug#822834: FTBFS as root because of perldoc
Uli Martens
uli at youam.net
Tue May 3 06:54:49 UTC 2016
Hello Dominique,
tl;dr: the redirection works fine
On Sat, Apr 30, 2016 at 05:26:54PM +0200, Dominique Dumont wrote:
> Weird, I don't have any issue when building moarvm with cowbuilder.
I should clarify that I've been trying to build interactively in
sudo pbuilder --login, not some "build this .dsc/directory" mode because
I've still been figuring out what I need to backport. But that shouldn't
matter.
> That said, I'm not thrilled at the idea of using an undocumented option.
Ack.
> In moarvm case, using perldoc ... docs/moar.pod > debian/moar.1 provides a
> similat result.
>
> I've tested this with gbp and cowbuild. Could you test this patch on your side
> with pbuilder ?
I've now tried running the build (and perldoc) with this modified
makefile snippets:
perldoc -F -onroff -U -ddebian/moar.A \
-w center:MoarVM \
-w "release:MoarVM-$(MOAR_VERSION)" \
-w "date:$(MOAR_DATE)" \
docs/moar.pod
perldoc -F -onroff \
-w center:MoarVM \
-w "release:MoarVM-$(MOAR_VERSION)" \
-w "date:$(MOAR_DATE)" \
docs/moar.pod > debian/moar.B
That is, once as it's in the official version plus -U, and once without the
-d$file but with redirection. The output files were bit-identical, but the
moar.A file was chmod 600, the redirected one was chmod 644. As the file gets
installed by dh_installman, that should be irrelevant.
youam / Uli
More information about the Pkg-rakudo-devel
mailing list