Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 751799 - app-office/libreoffice-7.0.9999 - libreoffice-7.0.3.1-fix-non-pdfium-build.patch fails to apply
Summary: app-office/libreoffice-7.0.9999 - libreoffice-7.0.3.1-fix-non-pdfium-build.pa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Office Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-29 20:54 UTC by jospezial
Modified: 2020-10-29 21:44 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 jospezial 2020-10-29 20:54:28 UTC
Please remove that patch from the live ebuilds.

https://github.com/LibreOffice/core/commit/b9e5d5347e5dece693fe56b88570abc07a30a8ba
"fix --disable-pdfium build"

>>> Preparing source in /var/tmp/portage/app-office/libreoffice-7.0.9999/work/libreoffice-7.0.9999 ...
 * Applying libreoffice-5.3.4.2-kioclient5.patch ...
 [ ok ]
 * Applying libreoffice-6.1-nomancompress.patch ...
 [ ok ]
 * Applying libreoffice-7.0.3.1-fix-non-pdfium-build.patch ...
patching file vcl/source/filter/ipdf/pdfread.cxx
Hunk #1 FAILED at 220.
1 out of 1 hunk FAILED -- saving rejects to file vcl/source/filter/ipdf/pdfread.cxx.rej
 [ !! ]
 * ERROR: app-office/libreoffice-7.0.9999::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/app-office/libreoffice-7.0.9999/files/libreoffice-7.0.3.1-fix-non-pdfium-build.patch
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_prepare
 *             environment, line 6226:  Called default
 *      phase-functions.sh, line  855:  Called default_src_prepare
 *      phase-functions.sh, line  920:  Called __eapi6_src_prepare
 *             environment, line  721:  Called eapply '/var/tmp/portage/app-office/libreoffice-7.0.9999/files/libreoffice-5.3.4.2-kioclient5.patch' '/var/tmp/portage/app-office/libreoffice-7.0.9999/files/libreoffice-6.1-nomancompress.patch' '/var/tmp/portage/app-office/libreoffice-7.0.9999/files/libreoffice-7.0.3.1-fix-non-pdfium-build.patch'
 *             environment, line 2294:  Called _eapply_patch '/var/tmp/portage/app-office/libreoffice-7.0.9999/files/libreoffice-7.0.3.1-fix-non-pdfium-build.patch'
 *             environment, line 2232:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/app-office/libreoffice-7.0.9999/files/libreoffice-7.0.3.1-fix-non-pdfium-build.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *   		die "$@"
 *
Comment 1 jospezial 2020-10-29 21:27:26 UTC
(In reply to jospezial from comment #0)
> Please remove that patch from the live ebuilds.

only in libreoffice-7.0.9999

libreoffice-9999 does not have that patch in ebuild because it was fixed upstream earlier.
Comment 2 Andreas Sturmlechner gentoo-dev 2020-10-29 21:39:30 UTC
Please don't crosspost for attention, surely you can wait a few minutes for the bug wranglers to do their thing.
Comment 3 Larry the Git Cow gentoo-dev 2020-10-29 21:44:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01893b61f9921fb9ac213a156e115111030da36b

commit 01893b61f9921fb9ac213a156e115111030da36b
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2020-10-29 21:43:44 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2020-10-29 21:43:57 +0000

    app-office/libreoffice: Drop patch cherry-picked upstream
    
    Reported-by: jospezial <jospezial@gmx.de>
    Closes: https://bugs.gentoo.org/751799
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>

 app-office/libreoffice/libreoffice-7.0.9999.ebuild | 3 ---
 1 file changed, 3 deletions(-)