[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1012286: RFS: zig/0.9.1-1 [ITP] -- Programming language



Hi,

thought it may be a little while until I could dig into this but
actually found the time today. So here's another quick update.

* Nick Hastings <nicholaschastings@gmail.com> [221216 13:15]:
> Hi,
>
> quick update.
>
> * Nick Hastings <nicholaschastings@gmail.com> [221215 14:40]:
>
> > * Bastian Germann <bage@debian.org> [221215 08:57]:
> >
> > > Your package fails to build from scratch on amd64 with a test fail (maybecaused by wrong pwd?):

Yes, turns out to be wrong pwd.

<snip>

> > I don't know why that is. It works for me on amd64 on unstable
> > (bullseye with backports). I do recall that someone on #mentors had
> > issues building it using sbuild at some point. But at least 3 or 4
> > others did not: success was reported with both pbuilder and sbuild.
>
> I updated my unstable chroot and now build the fails in this way for me
> too. I will investigate.

I don't actually understand why this ever worked. As I now understand it
dh_auto_test is run before dh_auto_install so I had no reason to expect
that the binary would already be in debian/zig/usr/bin/zig. Updating
this to the build time path fixed this (thanks to pabs and mjt in
#debian-mentors).  Now all but one of the test suites completes without
error. An updated d/rules skips that test suite for now.

I was able to build the package on x86_64 unstable with pbuilder.

New package uploaded to both mentors and salsa.

Cheers,

Nick.


Reply to: