Index | Thread | Search

From:
Sebastien Marie <semarie@kapouay.eu.org>
Subject:
Re: dpb always rebuild rust-bootstrap
To:
Solene Rapenne <solene@perso.pw>, ports@openbsd.org
Date:
Sat, 20 Apr 2024 09:00:30 +0200

Download raw body.

Thread
Solene Rapenne <solene@perso.pw> writes:

> hi, on a fresh current amd64 I had to set up dpb because it seems
> there was a libc bump at the wrong time for me :)
>
> however, now I have my working dpb (easy to setup once you understand
> it), I don't understand why dpb -R something_depending_on_rust
> always have to recompile lang/rust, in the packages directory, only
> the rust bootstrap package is changed everytime I run dpb.
>
> I'm not sure which logs I could provide though. This is quite
> annoying because lang/rust is heavy to compile and I like to trigger
> dpb every time I try a diff.
>
> Am I the only one with this issue?

I'm interested to know if there are any problems with the way I did
rust-bootstrap.

Currently, it is marked with 'always-update', because the package
content depend on the build host (system libraries are embedded in the
package for the bootstrap purpose). I expected that if the package isn't
installed (and it shouldn't in standard usage) it will not be a problem.

Do you have it installed ? If it isn't the case, and dpb is rebuilding
it without purpose (I assume no port depending on it), it might be a
problem in dpb, or some side effect for a subpackage having
'always-update'.

I could look to remove the 'always-update' option from rust-bootstrap
without too much trouble.

Thanks.
-- 
Sebastien Marie