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

Bug#1110048: RFS: hyprgraphics/0.1.5-1 [ITP] -- C++ graphics utility library for Hyprland



Hi Soren,

Soren Stoutner <soren@debian.org> writes:

> [...]
>
> I am not aware of a way to use sbuild to perform a reproducible build.
>

In case this is useful, sbuild wiki has a section "Validate package
cleanup"[1] which I think essentially checks that a package is
reproducible.  This requires that you do the clean up before the end of
the build.

A slightly hackish way is to do the cleanup in dh_auto_clean which
sometimes avoid having to do cleanup in multiple places, but it will
fail the previous check.  I'm using the following simpler way for
checking that allows one to use dh_auto_clean (which I think I also
copied from sbuild wiki but it is now replaced by the current version):
,----
| "finished-build-commands" =>
| [
|  'cd %SBUILD_PKGBUILD_DIR &&
|      runuser -u $(id -un) -- dpkg-buildpackage --sanitize-env -us -uc -rfakeroot -S'
| ]
`----

HTH.

> [...]

[1] https://wiki.debian.org/sbuild#Validate_package_cleanup

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature


Reply to: