heads-up, debhelper now depends transitively on libsub-prototype-perl and hence on the current "perlapi"
Alex Muntada
alexm at debian.org
Thu May 23 16:04:08 BST 2024
> After looking at the code I think that the easiest way to avoid
> monkey patching at all would be inheritance.
Inheritance won't work :(
> * Replaces `Archive::Zip->new()` with `Local::AZM->new()`.
Because Local::AZM replaces Archive::Zip::Member not Archive::Zip.
> Monkey patching without importing other packages is also doable,
> but I think inheritance is cleaner here.
So I ended up doing a manual monkey patch:
https://salsa.debian.org/reproducible-builds/strip-nondeterminism/-/merge_requests/16
JFYI, tests pass locally, but the pipeline failed on something
that totally unrelated:
gbp:error: Cannot find pristine tar commit for archive
'strip-nondeterminism_1.13.1.orig.tar.bz2'
Hope this helps,
Alex
--
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ Alex Muntada <alexm at debian.org>
⢿⡄⠘⠷⠚⠋ Debian Developer 🍥 log.alexm.org
⠈⠳⣄⠀⠀⠀⠀
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-builds/attachments/20240523/7db0bf0b/attachment.sig>
More information about the Reproducible-builds
mailing list