Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929117 - gui-apps/hyprlock-0.3.0: Install failed: Cmake Error: Install command is not scriptable
Summary: gui-apps/hyprlock-0.3.0: Install failed: Cmake Error: Install command is not ...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gonçalo Negrier Duarte
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-11 05:46 UTC by NHO
Modified: 2024-04-13 17:15 UTC (History)
2 users (show)

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


Attachments
Build log (build.log,46.24 KB, text/x-log)
2024-04-11 05:47 UTC, NHO
Details
emerge --info (emerge.info.txt,7.24 KB, text/plain)
2024-04-12 11:22 UTC, NHO
Details
new emerge.info (emerge.info,7.24 KB, text/plain)
2024-04-12 13:07 UTC, NHO
Details
new build.log (build.log,46.25 KB, text/x-log)
2024-04-12 13:08 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2024-04-11 05:46:57 UTC
Update of hyprlock fails with

[0/1] cd /var/tmp/portage/gui-apps/hyprlock-0.3.0/work/hyprlock-0.3.0_build && /usr/bin/cmake -P cmake_install.cmake
-- Install configuration: "RelWithDebInfo"
-- Installing: /var/tmp/portage/gui-apps/hyprlock-0.3.0/image/usr/bin/hyprlock
CMake Error at cmake_install.cmake:64 (install):
  install command is not scriptable

Reproducible: Always
Comment 1 NHO 2024-04-11 05:47:52 UTC
Created attachment 890410 [details]
Build log
Comment 2 Gonçalo Negrier Duarte 2024-04-12 09:18:03 UTC
Probably something change with cmake commands I will try fix it later (I change to plasma recently that why the ebuild was outdated)
Comment 3 Gonçalo Negrier Duarte 2024-04-12 09:22:54 UTC
Also share you `emerge --info`
Comment 4 NHO 2024-04-12 11:22:05 UTC
Created attachment 890482 [details]
emerge --info

Still fails with same error and same attached emerge --info
Comment 5 Gonçalo Negrier Duarte 2024-04-12 12:19:57 UTC
Try with the stable gentoo version of cmake if posssible
Comment 6 NHO 2024-04-12 13:06:53 UTC
Stable gentoo's cmake at this moment is dev-build/cmake-3.28.3

Build fails in same way.
Comment 7 NHO 2024-04-12 13:07:43 UTC
Created attachment 890486 [details]
new emerge.info
Comment 8 NHO 2024-04-12 13:08:00 UTC
Created attachment 890487 [details]
new build.log
Comment 9 Gonçalo Negrier Duarte 2024-04-13 16:15:24 UTC
Ok the problem was fix upstream with this commit need just to apply it to the 0.3.0 ebuild:
https://github.com/hyprwm/hyprlock/commit/e0d7e8f946259a51eb455b172e268e2d1590a281
Comment 10 Gonçalo Negrier Duarte 2024-04-13 16:21:15 UTC
(In reply to Gonçalo Negrier Duarte from comment #9)
> Ok the problem was fix upstream with this commit need just to apply it to
> the 0.3.0 ebuild:
> https://github.com/hyprwm/hyprlock/commit/
> e0d7e8f946259a51eb455b172e268e2d1590a281

wait wrong link: https://github.com/hyprwm/hyprlock/commit/d9a6229434fba475ea42b634ee2f03919236798d.patch
Comment 12 Larry the Git Cow gentoo-dev 2024-04-13 17:15:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2af7eea2247a8c9ad1af4af9cfe3a970163f6e45

commit 2af7eea2247a8c9ad1af4af9cfe3a970163f6e45
Author:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
AuthorDate: 2024-04-13 16:17:55 +0000
Commit:     Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>
CommitDate: 2024-04-13 16:21:54 +0000

    gui-apps/hyprlock: add 0.3.0-r1, drop 0.3.0
    
    * apply upstream patch that fix cmake install error
    
    Closes: https://bugs.gentoo.org/929117
    Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte@gmail.com>

 .../files/0002-cmake-install-pam-file-fix.patch    | 24 ++++++++++++++++++++++
 ...rlock-0.3.0.ebuild => hyprlock-0.3.0-r1.ebuild} |  1 +
 gui-apps/hyprlock/hyprlock-9999.ebuild             |  9 ++------
 3 files changed, 27 insertions(+), 7 deletions(-)