New issue by paper42 on void-packages repository https://github.com/void-linux/void-packages/issues/38922 Description: Most of these happen because we used to ignore whitespace issues, but we don't do that anymore since 7b4119df5cbc0cc37348164a10c88a32910009d8. These packages can be fixed by applying the patch manually with `patch -Nlp1` and then generating the patch again. ## GraphicsMagick ``` GraphicsMagick-1.3.36.tar.gz: [9.9MB 70%] 608KB/s ETA: 00m05s GraphicsMagick-1.3.36.tar.gz: [9.9MB 74%] 597KB/s ETA: 00m04s GraphicsMagick-1.3.36.tar.gz: [9.9MB 79%] 591KB/s ETA: 00m03s GraphicsMagick-1.3.36.tar.gz: [9.9MB 85%] 589KB/s ETA: 00m02s GraphicsMagick-1.3.36.tar.gz: [9.9MB 89%] 579KB/s ETA: 00m01s GraphicsMagick-1.3.36.tar.gz: [9.9MB 95%] 585KB/s ETA: 00m00s GraphicsMagick-1.3.36.tar.gz: 9.9MB [avg rate: 610KB/s] => GraphicsMagick-1.3.36_1: verifying checksum for distfile 'GraphicsMagick-1.3.36.tar.gz'... OK. => GraphicsMagick-1.3.36_1: running do-extract hook: 00-distfiles ... => GraphicsMagick-1.3.36_1: extracting distfile(s), please wait... => GraphicsMagick-1.3.36_1: running do-patch hook: 00-patches ... => GraphicsMagick-1.3.36_1: patching: disable_perlmagick_tests.patch. 1 out of 1 hunk FAILED -- saving rejects to file Makefile.am.rej => ERROR: GraphicsMagick-1.3.36_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## ck ``` => ck-0.7.0_1: building [configure] for x86_64-musl... [runtime] ck-0.7.0_1: found (https://repo-default.voidlinux.org/current/musl) => ck-0.7.0_1: running do-fetch hook: 00-distfiles ... => ck-0.7.0_1: fetching distfile '0.7.0.tar.gz'... 0.7.0.tar.gz: [0B 0%] 12MB/s ETA: unknown 0.7.0.tar.gz: 240KB [avg rate: 703MB/s] => ck-0.7.0_1: verifying checksum for distfile '0.7.0.tar.gz'... OK. => ck-0.7.0_1: running do-extract hook: 00-distfiles ... => ck-0.7.0_1: extracting distfile(s), please wait... => ck-0.7.0_1: running do-patch hook: 00-patches ... => ck-0.7.0_1: patching: cross.patch. => ck-0.7.0_1: patching: ppc32.patch. 1 out of 1 hunk FAILED -- saving rejects to file configure.rej => ERROR: ck-0.7.0_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## dmg2img ``` [target] openssl-devel-1.1.1q_1: found (https://repo-default.voidlinux.org/current/musl) => dmg2img-1.6.7_5: installing target dependencies: zlib-devel-1.2.12_4 bzip2-devel-1.0.8_1 openssl-devel-1.1.1q_1 ... => dmg2img-1.6.7_5: running do-fetch hook: 00-distfiles ... => dmg2img-1.6.7_5: fetching distfile 'dmg2img-1.6.7.tar.gz'... dmg2img-1.6.7.tar.gz: [23KB 17%] 2334KB/s ETA: 00m00s dmg2img-1.6.7.tar.gz: [23KB 70%] 276KB/s ETA: 00m00s dmg2img-1.6.7.tar.gz: 23KB [avg rate: 391KB/s] => dmg2img-1.6.7_5: verifying checksum for distfile 'dmg2img-1.6.7.tar.gz'... OK. => dmg2img-1.6.7_5: running do-extract hook: 00-distfiles ... => dmg2img-1.6.7_5: extracting distfile(s), please wait... => dmg2img-1.6.7_5: running do-patch hook: 00-patches ... => dmg2img-1.6.7_5: patching: 0001-openssl-1.1-compatibility.patch. 1 out of 6 hunks FAILED -- saving rejects to file vfdecrypt.c.rej => ERROR: dmg2img-1.6.7_5: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## exfat-dkms ``` => exfat-dkms-1.2.8_5: removing autodeps, please wait... => exfat-dkms-1.2.8_5: building for x86_64-musl... [runtime] dkms-2.8.4_2: found (/host/binpkgs/rebuild) => exfat-dkms-1.2.8_5: running do-fetch hook: 00-distfiles ... => exfat-dkms-1.2.8_5: fetching distfile '01c30ad52625a7261e1b0d874553b6ca7af25966.tar.gz'... 01c30ad52625a7261e1b0d874553b6ca7af25966.tar.gz: [0B 0%] 2414KB/s ETA: unknown 01c30ad52625a7261e1b0d874553b6ca7af25966.tar.gz: 72KB [avg rate: 42MB/s] => exfat-dkms-1.2.8_5: verifying checksum for distfile '01c30ad52625a7261e1b0d874553b6ca7af25966.tar.gz'... OK. => exfat-dkms-1.2.8_5: running do-extract hook: 00-distfiles ... => exfat-dkms-1.2.8_5: extracting distfile(s), please wait... => exfat-dkms-1.2.8_5: running do-patch hook: 00-patches ... => exfat-dkms-1.2.8_5: patching: linux4.18.patch. 2 out of 3 hunks FAILED -- saving rejects to file exfat_super.c.rej => ERROR: exfat-dkms-1.2.8_5: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## freeipmi ``` => freeipmi-1.6.6_1: running do-fetch hook: 00-distfiles ... => freeipmi-1.6.6_1: fetching distfile 'freeipmi-1.6.6.tar.gz'... freeipmi-1.6.6.tar.gz: [3339KB 0%] 36KB/s ETA: 00m00s freeipmi-1.6.6.tar.gz: [3339KB 8%] 564KB/s ETA: 00m11s freeipmi-1.6.6.tar.gz: [3339KB 80%] 1802KB/s ETA: 00m00s freeipmi-1.6.6.tar.gz: 3339KB [avg rate: 2236KB/s] => freeipmi-1.6.6_1: verifying checksum for distfile 'freeipmi-1.6.6.tar.gz'... OK. => freeipmi-1.6.6_1: running do-extract hook: 00-distfiles ... => freeipmi-1.6.6_1: extracting distfile(s), please wait... => freeipmi-1.6.6_1: running do-patch hook: 00-patches ... => freeipmi-1.6.6_1: patching: fix-build-musl-non-x86.patch. => freeipmi-1.6.6_1: patching: fix-build-with-C99-compilers.patch. 1 out of 5 hunks FAILED -- saving rejects to file common/portability/freeipmi-argp-fmtstream.h.rej => ERROR: freeipmi-1.6.6_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## jfsutils ``` [target] libuuid-devel-2.38_1: found (https://repo-default.voidlinux.org/current/musl) => jfsutils-1.1.15_3: installing target dependencies: libuuid-devel-2.38_1 ... => jfsutils-1.1.15_3: running do-fetch hook: 00-distfiles ... => jfsutils-1.1.15_3: fetching distfile 'jfsutils-1.1.15.tar.gz'... jfsutils-1.1.15.tar.gz: [527KB 0%] 2811KB/s ETA: 00m00s jfsutils-1.1.15.tar.gz: [527KB 97%] 473KB/s ETA: 00m00s jfsutils-1.1.15.tar.gz: 527KB [avg rate: 486KB/s] => jfsutils-1.1.15_3: verifying checksum for distfile 'jfsutils-1.1.15.tar.gz'... OK. => jfsutils-1.1.15_3: running do-extract hook: 00-distfiles ... => jfsutils-1.1.15_3: extracting distfile(s), please wait... => jfsutils-1.1.15_3: running do-patch hook: 00-patches ... => jfsutils-1.1.15_3: patching: flush-before-read-musl.patch. 1 out of 1 hunk FAILED -- saving rejects to file mkfs/mkfs.c.rej => ERROR: jfsutils-1.1.15_3: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## libtar ``` [target] zlib-devel-1.2.12_4: found (https://repo-default.voidlinux.org/current/musl) [runtime] zlib-devel-1.2.12_4: found (https://repo-default.voidlinux.org/current/musl) [runtime] libtar-1.2.20_3: found (https://repo-default.voidlinux.org/current/musl) => libtar-1.2.20_3: installing host dependencies: automake-1.16.5_1 libtool-2.4.6_6 pkg-config-0.29.2_3 ... => libtar-1.2.20_3: installing target dependencies: zlib-devel-1.2.12_4 ... => libtar-1.2.20_3: running do-fetch hook: 00-distfiles ... => libtar-1.2.20_3: running do-extract hook: 00-distfiles ... => libtar-1.2.20_3: extracting distfile(s), please wait... => libtar-1.2.20_3: running do-patch hook: 00-patches ... => libtar-1.2.20_3: patching: CVE-2013-4420.patch. 2 out of 2 hunks FAILED -- saving rejects to file lib/decode.c.rej 2 out of 2 hunks FAILED -- saving rejects to file lib/extract.c.rej 1 out of 1 hunk FAILED -- saving rejects to file lib/output.c.rej => ERROR: libtar-1.2.20_3: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## moc ``` [target] sndio-devel-1.9.0_1: found (https://repo-default.voidlinux.org/current/musl) => moc-2.5.2_6: installing host dependencies: pkg-config-0.29.2_3 ... => moc-2.5.2_6: installing target dependencies: db-devel-5.3.28_8 ncurses-devel-6.3_2 libcurl-devel-7.84.0_2 popt-devel-1.18_1 ffmpeg-devel-4.4.2_2 jack-devel-1.9.21_1 alsa-lib-devel-1.2.7.2_1 libltdl-devel-2.4.6_6 libflac-devel-1.3.4_1 libvorbis-devel-1.3.7_1 libmad-devel-0.15.1b_10 libmpcdec-devel-1.2.6_6 libmodplug-devel-0.8.9.0_1 libid3tag-devel-0.15.1b_8 faad2-devel-2.10.0_1 taglib-devel-1.12_1 libsndfile-devel-1.0.31_1 wavpack-devel-5.4.0_1 speex-devel-1.2.1_1 libsamplerate-devel-0.1.9_1 sndio-devel-1.9.0_1 ... => moc-2.5.2_6: running do-fetch hook: 00-distfiles ... => moc-2.5.2_6: fetching distfile 'moc-2.5.2.tar.bz2'... moc-2.5.2.tar.bz2: [589KB 0%] 4381KB/s ETA: 00m00s moc-2.5.2.tar.bz2: 589KB [avg rate: 630MB/s] => moc-2.5.2_6: verifying checksum for distfile 'moc-2.5.2.tar.bz2'... OK. => moc-2.5.2_6: running do-extract hook: 00-distfiles ... => moc-2.5.2_6: extracting distfile(s), please wait... => moc-2.5.2_6: running do-patch hook: 00-patches ... => moc-2.5.2_6: patching: ffmpeg4.patch. 3 out of 3 hunks FAILED -- saving rejects to file decoder_plugins/ffmpeg/ffmpeg.c.rej => ERROR: moc-2.5.2_6: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## pdfgrep ``` [target] poppler-cpp-devel-22.07.0_2: found (https://repo-default.voidlinux.org/current/musl) => pdfgrep-2.1.2_2: installing host dependencies: pkg-config-0.29.2_3 ... => pdfgrep-2.1.2_2: installing target dependencies: libgcrypt-devel-1.10.1_1 poppler-cpp-devel-22.07.0_2 ... => pdfgrep-2.1.2_2: running do-fetch hook: 00-distfiles ... => pdfgrep-2.1.2_2: fetching distfile 'pdfgrep-2.1.2.tar.gz'... pdfgrep-2.1.2.tar.gz: [193KB 2%] 260MB/s ETA: 00m00s pdfgrep-2.1.2.tar.gz: 193KB [avg rate: 12GB/s] => pdfgrep-2.1.2_2: verifying checksum for distfile 'pdfgrep-2.1.2.tar.gz'... OK. => pdfgrep-2.1.2_2: running do-extract hook: 00-distfiles ... => pdfgrep-2.1.2_2: extracting distfile(s), please wait... => pdfgrep-2.1.2_2: running do-patch hook: 00-patches ... => pdfgrep-2.1.2_2: patching: fix-musl.patch. 1 out of 1 hunk FAILED -- saving rejects to file src/pdfgrep.cc.rej => ERROR: pdfgrep-2.1.2_2: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## uwsgi ``` => uwsgi-2.0.20_1: installing host dependencies: python3-3.10.6_1 ... => uwsgi-2.0.20_1: installing target dependencies: python3-devel-3.10.6_1 ... => uwsgi-2.0.20_1: running do-fetch hook: 00-distfiles ... => uwsgi-2.0.20_1: fetching distfile '2.0.20.tar.gz'... 2.0.20.tar.gz: [0B 0%] 2577KB/s ETA: unknown 2.0.20.tar.gz: 786KB [avg rate: 495MB/s] => uwsgi-2.0.20_1: verifying checksum for distfile '2.0.20.tar.gz'... OK. => uwsgi-2.0.20_1: running do-extract hook: 00-distfiles ... => uwsgi-2.0.20_1: extracting distfile(s), please wait... => uwsgi-2.0.20_1: running do-patch hook: 00-patches ... => uwsgi-2.0.20_1: patching: musl-fix-python.patch. => uwsgi-2.0.20_1: patching: musl-locking-fix.patch. 1 out of 1 hunk FAILED -- saving rejects to file core/lock.c.rej => ERROR: uwsgi-2.0.20_1: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## xzoom ``` => xzoom-0.3_2: installing host dependencies: imake-1.0.8_1 ... => xzoom-0.3_2: installing target dependencies: libXt-devel-1.2.1_1 libXext-devel-1.3.4_1 ... => xzoom-0.3_2: running do-fetch hook: 00-distfiles ... => xzoom-0.3_2: fetching distfile 'xzoom-0.3.tgz'... xzoom-0.3.tgz: [9127B 44%] 8869KB/s ETA: 00m00s xzoom-0.3.tgz: 9127B [avg rate: 19MB/s] => xzoom-0.3_2: verifying checksum for distfile 'xzoom-0.3.tgz'... OK. => xzoom-0.3_2: running do-extract hook: 00-distfiles ... => xzoom-0.3_2: extracting distfile(s), please wait... => xzoom-0.3_2: running do-patch hook: 00-patches ... => xzoom-0.3_2: patching: xzoom_0.3-23.patch. 10 out of 30 hunks FAILED -- saving rejects to file xzoom.c.rej 1 out of 4 hunks FAILED -- saving rejects to file xzoom.man.rej => ERROR: xzoom-0.3_2: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ``` ## yeahwm ``` [target] libX11-devel-1.8.1_1: found (/host/binpkgs/rebuild) [target] libXinerama-devel-1.1.4_1: found (/host/binpkgs/rebuild) => yeahwm-0.3.5_3: installing target dependencies: motif-devel-2.3.8_1 libX11-devel-1.8.1_1 libXinerama-devel-1.1.4_1 ... => yeahwm-0.3.5_3: running do-fetch hook: 00-distfiles ... => yeahwm-0.3.5_3: fetching distfile 'yeahwm_0.3.5.tar.gz'... yeahwm_0.3.5.tar.gz: [23KB 17%] 2861KB/s ETA: 00m00s yeahwm_0.3.5.tar.gz: 23KB [avg rate: 16MB/s] => yeahwm-0.3.5_3: verifying checksum for distfile 'yeahwm_0.3.5.tar.gz'... OK. => yeahwm-0.3.5_3: running do-extract hook: 00-distfiles ... => yeahwm-0.3.5_3: extracting distfile(s), please wait... => yeahwm-0.3.5_3: running do-patch hook: 00-patches ... => yeahwm-0.3.5_3: patching: fix-makefile.patch. 1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej => ERROR: yeahwm-0.3.5_3: do-patch_00-patches: 'patch -s ${_args} < "${_patch}" 2> /dev/null' exited with 1 => ERROR: in _process_patch() at common/hooks/do-patch/00-patches.sh:34 => ERROR: in hook() at common/hooks/do-patch/00-patches.sh:51 => ERROR: in run_func() at common/xbps-src/shutils/common.sh:21 => ERROR: in run_pkg_hooks() at common/xbps-src/shutils/common.sh:262 => ERROR: in run_step() at common/xbps-src/shutils/common.sh:71 => ERROR: in main() at common/xbps-src/libexec/xbps-src-dopatch.sh:33 ```