dh-perl6 vs. dh-raku: reproducibility issues with vendor/precompiled

Mattia Rizzolo mattia at debian.org
Wed Feb 9 22:45:10 GMT 2022


(just dumping a quick point else I'm sure I'll forget by the time I get to
this mail when on the computer..)

A build process really must not create random files in HOME, and possibly
not even try to access them...

If having a nonexistent home dir (which... Isn't the case of boh default
pbuilder and sbuild?) leads to an ftbfs, that's pretty much a RC bug.
Although I don't remember the reference by heart, I'm quite sure I've seen
such RC bugs filed in the past.


On Wed, 9 Feb 2022, 7:36 pm Chris Lamb, <lamby at debian.org> wrote:

> Hi Dominique,
>
> >>     --- a/dh_raku_build
> >>     +++ b/dh_raku_build
> >>     @@ -39,6 +39,7 @@ foreach my $pkg (getpackages()) {
> >>                       --from=. --to=debian/tmp/pre-compiled!;
> >>          doit({
> >>              update_env => {
> >>     +            HOME => "/nonexistent",
> >>                  RAKUDO_RERESOLVE_DEPENDENCIES => 0,
> >>              }
> >>          }, at cmd);
> >
> > Unfortunately, the build of perl6-zef with cowbuilder is already broken
> > with cowbuilder. The nonexistant home dir leads to build failures.
>
> Ah, shame. Although I wasn't experiencing a build failure, I was
> getting the same or similar warnings when building "perl6-readline".
>
> My gut sense is that this will require a change to Raku itself to not
> fail if the home directory does not exist. That would feel like a
> desired property anyway.
>
>
> Regards,
>
> --
>       ,''`.
>      : :'  :     Chris Lamb
>      `. `'`      lamby at debian.org 🍥 chris-lamb.co.uk
>        `-
>
> _______________________________________________
> Reproducible-builds mailing list
> Reproducible-builds at alioth-lists.debian.net
>
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/reproducible-builds
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20220209/f17412a8/attachment.htm>


More information about the Reproducible-builds mailing list