Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606864 - app-text/mupdf-1.10a fails at patch
Summary: app-text/mupdf-1.10a fails at patch
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-23 01:14 UTC by jorgicio
Modified: 2017-01-23 08:16 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jorgicio 2017-01-23 01:14:10 UTC
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
Comment 1 charles17 2017-01-23 07:00:03 UTC
(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/...
Comment 2 Michael Weber (RETIRED) gentoo-dev 2017-01-23 08:16:25 UTC
(In reply to charles17 from comment #1)
> You need to remove mupdf-1.9-openjpeg.patch from /etc/portage/patches/...

nice catch