Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739922 - kde-plasma/kscreenlocker-5.19.5 - cmake_run_in: command not found
Summary: kde-plasma/kscreenlocker-5.19.5 - cmake_run_in: command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 739934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-09-01 18:34 UTC by amedeos
Modified: 2020-09-02 14:47 UTC (History)
8 users (show)

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


Attachments
/var/tmp/portage/kde-plasma/kscreenlocker-5.19.5/temp/build.log (build.log,12.64 KB, text/x-log)
2020-09-01 18:34 UTC, amedeos
Details
emerge --info (emerge-info.txt,6.61 KB, text/plain)
2020-09-01 18:38 UTC, amedeos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description amedeos 2020-09-01 18:34:36 UTC
Created attachment 657768 [details]
/var/tmp/portage/kde-plasma/kscreenlocker-5.19.5/temp/build.log

kde-plasma/kscreenlocker-5.19.5 fails to emerge due to enabled "test" use flag by the src_prepare function.

Step to reproduce:

No test use flag:
equery uses kde-plasma/kscreenlocker
[ Legend : U - final flag setting for installation]
[        : I - package is installed with flag     ]
[ Colors : set, unset                             ]
 * Found these USE flags for kde-plasma/kscreenlocker-5.19.5:
 U I
 - - debug : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces
             see https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 + + pam   : Add support for PAM (Pluggable Authentication Modules) - DANGEROUS to arbitrarily flip
 - - test  : Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test
             but can be toggled independently)

but inside the ebuild file:

...
   63 src_prepare() {
   64     ecm_src_prepare
   65     use test || cmake_run_in greeter cmake_comment_add_subdirectory autotests
   66 }
...

and then emerging it:
-- Configuring done
CMake Error at greeter/autotests/CMakeLists.txt:26 (add_executable):
  Target "killTest" links to target "Qt5::Test" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at greeter/autotests/CMakeLists.txt:18 (add_executable):
  Target "authenticatorTest" links to target "Qt5::Test" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-01 18:37:28 UTC
> Created attachment 657768 [details]
> /var/tmp/portage/kde-plasma/kscreenlocker-5.19.5/temp/build.log
> 
> kde-plasma/kscreenlocker-5.19.5 fails to emerge due to enabled "test" use
> flag by the src_prepare function.

It's not enabling the test use flag, but it runs something if USE=test is *not* set.

Anyway, this is one problem:

>/var/tmp/portage/kde-plasma/kscreenlocker-5.19.5/temp/environment: line 2611: cmake_run_in: command not found(In reply to amedeos from comment #0)
Comment 2 amedeos 2020-09-01 18:38:36 UTC
Created attachment 657770 [details]
emerge --info
Comment 3 Andreas Sturmlechner gentoo-dev 2020-09-01 18:52:12 UTC
Will be fixed after your next sync, thanks for reporting.
Comment 4 kuerbiskern 2020-09-01 18:58:39 UTC
I know this is a bug tracker, but I'd like to misuse this comment to thank you for your reliable and _fast_ service. Keep up the good work!
Comment 5 Brian Evans (RETIRED) gentoo-dev 2020-09-01 19:57:44 UTC
*** Bug 739934 has been marked as a duplicate of this bug. ***
Comment 6 Johannes Hirte 2020-09-02 06:08:58 UTC
Seems to be fixed now. I was able to emerge kscreenlocker without problems. By the way, the summary is wrong. I've never had a 'cmake_run_in: command not found' error in the logs.
Comment 7 Perfect Gentleman 2020-09-02 11:29:25 UTC
(In reply to Johannes Hirte from comment #6)
> Seems to be fixed now. I was able to emerge kscreenlocker without problems.
> By the way, the summary is wrong. I've never had a 'cmake_run_in: command
> not found' error in the logs.

Don't think so.
----------------
-- Configuring done
CMake Error at greeter/autotests/CMakeLists.txt:26 (add_executable):
  Target "killTest" links to target "Qt5::Test" but the target was not found.
  Perhaps a find_package() call is missing for an IMPORTED target, or an
  ALIAS target is missing?


CMake Error at greeter/autotests/CMakeLists.txt:18 (add_executable):
  Target "authenticatorTest" links to target "Qt5::Test" but the target was
  not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?


-- Generating done
CMake Generate step failed.  Build files cannot be regenerated correctly.
-----------------
Comment 8 Andreas Sturmlechner gentoo-dev 2020-09-02 12:15:30 UTC
If it is not fixed for you then you didn't sync since yesterday or have set some local eclass override.
Comment 9 Perfect Gentleman 2020-09-02 14:47:08 UTC
(In reply to Andreas Sturmlechner from comment #8)
> If it is not fixed for you then you didn't sync since yesterday or have set
> some local eclass override.

You're right.