New comment by paper42 on void-packages repository https://github.com/void-linux/void-packages/pull/37816#issuecomment-1173143882 Comment: > The inability to rebuild a package does affect me when I'm trying to recompile parts of Void for reproducibility (and/or local testing/hosting), and I believe it's useful to have a current set of buildable and re-buildable distribution for testing infrastructure like toolchain upgrades. Definitely, but if the patches are off by a few lines (like here), the packages will still be build-able. The reason why this package didn't build for you was the whitespace issue that was triggered by us disabling loose whitespace matching in patch (we now use `patch` without `-l`). Try applying this minimal patch and the package will build fine without the rest of the changes. ```patch diff --git a/srcpkgs/gperftools/patches/ppc-musl.patch b/srcpkgs/gperftools/patches/ppc-musl.patch index bbeb4cd393..d192ea6127 100644 --- a/srcpkgs/gperftools/patches/ppc-musl.patch +++ b/srcpkgs/gperftools/patches/ppc-musl.patch @@ -14,7 +14,7 @@ Compatibility fixes for musl. pc_field_found=true) elif test "x$ac_cv_header_sys_ucontext_h" = xyes; then AC_TRY_COMPILE([#define _GNU_SOURCE 1 -- #include ], +- #include ], + #include + #include ], [ucontext_t u; return u.$pc_field == 0;], ```