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
Created attachment 634714 [details, diff] okular-20.04.0-tests.patch
build.log...?
>>> '/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'
There is no more CMakeList.txt inside the {test,autotests} subdirectories so the patch fails.
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.
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.