Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Unsupported Software
  • Search

Hyprlock emerge fails: cmake_install is not scriptable

This forum covers all Gentoo-related software not officially supported by Gentoo. Ebuilds/software posted here might harm the health and stability of your system(s), and are not supported by Gentoo developers. Bugs/errors caused by ebuilds from overlays.gentoo.org are covered by this forum, too.
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
setan
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Wed Feb 21, 2024 7:46 pm

Hyprlock emerge fails: cmake_install is not scriptable

  • Quote

Post by setan » Thu Apr 11, 2024 2:10 pm

Hello,

i wanted to upgrade my hyprlock, but the emerge failed during install phase:

Code: Select all

[0/2] /usr/bin/cmake -P /var/tmp/portage/gui-apps/hyprlock-0.3.0/work/hyprlock-0.3.0_build/CMakeFiles/VerifyGlobs.cmake
[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
i have checked the source and cmake_install_src is the command that fails it.

Does anyone know if this should be this way or why the install fails?

EDIT: more details:

Code: Select all

 * Messages for package gui-apps/hyprlock-0.3.0:

 * ERROR: gui-apps/hyprlock-0.3.0::guru failed (install phase):
 *   ninja -v -j8 -l8 install failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_install
 *   environment, line 2139:  Called cmake_src_install
 *   environment, line 1053:  Called cmake_build 'install'
 *   environment, line  857:  Called eninja 'install'
 *   environment, line 1328:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"

Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Thu Apr 11, 2024 4:02 pm

Moved from Kernel & Hardware to Unsupported Software.
https://wiki.gentoo.org/wiki/User:Pietinger --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Apr 11, 2024 6:22 pm

Try this patch, in the next version problem seems solved.
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
setan
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Wed Feb 21, 2024 7:46 pm

  • Quote

Post by setan » Thu Apr 11, 2024 6:58 pm

> Moved from Kernel & Hardware to Unsupported Software.

Sorry... I meant to put this in Pottage but this still was wrong :d

> Try this patch, in the next version problem seems solved.

How do I apply patches to ebuilds?

Also, how do you know if the next version will solve this?
From what I gather the link that you posted points to a file that is no longer in the repo.
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Thu Apr 11, 2024 7:32 pm

setan wrote:How do I apply patches to ebuilds?
With /etc/portage/patches
setan wrote:Also, how do you know if the next version will solve this?
Because upstream is already patched
setan wrote:From what I gather the link that you posted points to a file that is no longer in the repo.
The patch was removed because is patched directly on the latest code
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
setan
Tux's lil' helper
Tux's lil' helper
Posts: 86
Joined: Wed Feb 21, 2024 7:46 pm

  • Quote

Post by setan » Fri Apr 12, 2024 2:37 pm

Damn, patching is really well done. All's fixed now!

> Because upstream is already patched

I see.

I am kind of new to software development.
From what I gather they will realize a hotfix in 0.3.1.
Do you think this makes sense?
Top
Post Reply

6 posts • Page 1 of 1

Return to “Unsupported Software”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic