Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 719666 - kde-apps/okular-20.04.0 fails to configure
Summary: kde-apps/okular-20.04.0 fails to configure
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2020-04-26 16:02 UTC by Tiger
Modified: 2020-04-28 20:31 UTC (History)
1 user (show)

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


Attachments
okular-20.04.0-tests.patch (okular-20.04.0-tests.patch,1.92 KB, patch)
2020-04-26 16:03 UTC, Tiger
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tiger 2020-04-26 16:02:12 UTC
Hello,

Okular ebuild fails at patch because it is using old ones and then once removed at configure because it requires modifications again in like previous versions in the CMakeLists.txt of the following contents :
  generators/chm/
  generators/comicbook/
  generators/kimgio/


Reproducible: Sometimes
Comment 1 Tiger 2020-04-26 16:03:33 UTC
Created attachment 634714 [details, diff]
okular-20.04.0-tests.patch
Comment 2 Andreas Sturmlechner gentoo-dev 2020-04-26 16:06:14 UTC
build.log...?
Comment 3 Tiger 2020-04-26 16:36:23 UTC
>>>  '/var/tmp/portage/kde-apps/okular-20.04.0/temp/build.log'

 * Messages for package kde-apps/okular-20.04.0:

 * ERROR: kde-apps/okular-20.04.0::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/kde-apps/okular-20.04.0/files/okular-20.03.70-tests.patch
 * 
 * Call stack:
 *               ebuild.sh, line  125:  Called src_prepare
 *             environment, line 2454:  Called ecm_src_prepare
 *             environment, line 1405:  Called cmake_src_prepare
 *             environment, line 1104:  Called default_src_prepare
 *      phase-functions.sh, line  920:  Called __eapi6_src_prepare
 *             environment, line  364:  Called eapply '/var/tmp/portage/kde-apps/okular-20.04.0/files/okular-18.12.0-tests.patch' '/var/tmp/portage/kde-apps/okular-20.04.0/files/okular-20.03.70-tests.patch'
 *             environment, line 1255:  Called _eapply_patch '/var/tmp/portage/kde-apps/okular-20.04.0/files/okular-20.03.70-tests.patch'
 *             environment, line 1193:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/kde-apps/okular-20.04.0/files/okular-20.03.70-tests.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 * 
 * If you need support, post the output of `emerge --info '=kde-apps/okular-20.04.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=kde-apps/okular-20.04.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/kde-apps/okular-20.04.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-apps/okular-20.04.0/temp/environment'.
 * Working directory: '/var/tmp/portage/kde-apps/okular-20.04.0/work/okular-20.04.0'
 * S: '/var/tmp/portage/kde-apps/okular-20.04.0/work/okular-20.04.0'
Comment 4 Tiger 2020-04-26 16:38:04 UTC
There is no more CMakeList.txt inside the {test,autotests} subdirectories so the patch fails.
Comment 5 Jonas Stein gentoo-dev 2020-04-28 20:23:30 UTC
Thank you for the report and the patch. 
Something is strange here. 

We need to have all information at hand before ticket assignment. That is why I ask you to 
* attach the logs and 
* paste the emerge info 
as described on 
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
Please reopen this ticket (Status:UNCONFIRMED) afterwards.
Comment 6 Andreas Sturmlechner gentoo-dev 2020-04-28 20:31:27 UTC
Not reproducible:


>>> Preparing source in /var/tmp/portage/kde-apps/okular-20.04.0/work/okular-20.04.0 ...
 * Applying okular-18.12.0-tests.patch ...                                                                                                                      [ ok ]
 * Applying okular-20.03.70-tests.patch ...                                                                                                                     [ ok ]
 * Working in BUILD_DIR: "/var/tmp/portage/kde-apps/okular-20.04.0/work/okular-20.04.0_build"
>>> Source prepared.