This happens when I try to build the recent version of mupdf. Thanks. * mupdf-1.10a-source.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mupdf-1.10a-source.tar.gz to /var/tmp/portage/app-text/mupdf-1.10a/work >>> Source unpacked in /var/tmp/portage/app-text/mupdf-1.10a/work >>> Preparing source in /var/tmp/portage/app-text/mupdf-1.10a/work/mupdf-1.10a-source ... * Applying mupdf-1.9a-CFLAGS.patch ... [ ok ] * Applying mupdf-1.9a-debug-build.patch ... [ ok ] * Applying mupdf-1.10a-add-desktop-pc-xpm-files.patch ... [ ok ] * Applying mupdf-1.10a-Makerules-openssl-curl.patch ... [ ok ] * Applying mupdf-1.8-system-glfw.patch ... [ ok ] * Applying patches from /etc/portage/patches/app-text/mupdf ... * mupdf-1.9-openjpeg.patch ... 1 out of 2 hunks FAILED -- saving rejects to file source/fitz/load-jpx.c.rej [ !! ] * ERROR: app-text/mupdf-1.10a::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/app-text/mupdf/mupdf-1.9-openjpeg.patch * * Call stack: * ebuild.sh, line 115: Called src_prepare * environment, line 2457: Called default * phase-functions.sh, line 805: Called default_src_prepare * phase-functions.sh, line 870: Called __eapi6_src_prepare * environment, line 277: Called eapply_user * environment, line 771: Called eapply '/etc/portage/patches/app-text/mupdf' * environment, line 748: Called _eapply_patch '/etc/portage/patches/app-text/mupdf/mupdf-1.9-openjpeg.patch' ' ' * environment, line 690: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/app-text/mupdf/mupdf-1.9-openjpeg.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=app-text/mupdf-1.10a::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/mupdf-1.10a::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/mupdf-1.10a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/mupdf-1.10a/temp/environment'. * Working directory: '/var/tmp/portage/app-text/mupdf-1.10a/work/mupdf-1.10a-source' * S: '/var/tmp/portage/app-text/mupdf-1.10a/work/mupdf-1.10a-source' >>> Failed to emerge app-text/mupdf-1.10a, Log file: >>> '/var/tmp/portage/app-text/mupdf-1.10a/temp/build.log' * Messages for package app-text/mupdf-1.10a: * ERROR: app-text/mupdf-1.10a::gentoo failed (prepare phase): * patch -p1 failed with /etc/portage/patches/app-text/mupdf/mupdf-1.9-openjpeg.patch * * Call stack: * ebuild.sh, line 115: Called src_prepare * environment, line 2457: Called default * phase-functions.sh, line 805: Called default_src_prepare * phase-functions.sh, line 870: Called __eapi6_src_prepare * environment, line 277: Called eapply_user * environment, line 771: Called eapply '/etc/portage/patches/app-text/mupdf' * environment, line 748: Called _eapply_patch '/etc/portage/patches/app-text/mupdf/mupdf-1.9-openjpeg.patch' ' ' * environment, line 690: Called __helpers_die 'patch -p1 failed with /etc/portage/patches/app-text/mupdf/mupdf-1.9-openjpeg.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=app-text/mupdf-1.10a::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/mupdf-1.10a::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/mupdf-1.10a/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/mupdf-1.10a/temp/environment'. * Working directory: '/var/tmp/portage/app-text/mupdf-1.10a/work/mupdf-1.10a-source' * S: '/var/tmp/portage/app-text/mupdf-1.10a/work/mupdf-1.10a-source' Reproducible: Always
(In reply to jorgicio from comment #0) > [...] > * Applying patches from /etc/portage/patches/app-text/mupdf ... > * mupdf-1.9-openjpeg.patch ... > [...] You need to remove mupdf-1.9-openjpeg.patch from /etc/portage/patches/...
(In reply to charles17 from comment #1) > You need to remove mupdf-1.9-openjpeg.patch from /etc/portage/patches/... nice catch