Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 862357 - www-apps/cgit fails to install to custom ROOT
Summary: www-apps/cgit fails to install to custom ROOT
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Web Application Packages Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-30 15:00 UTC by ev
Modified: 2022-08-14 06:54 UTC (History)
1 user (show)

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


Attachments
cgit failed install log (cgit_install_log.txt,15.56 KB, text/plain)
2022-07-30 15:00 UTC, ev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ev 2022-07-30 15:00:29 UTC
Created attachment 795859 [details]
cgit failed install log

I cannot install www-apps/cgit when use emerge with custom ROOT value/

During install webapp_read_config refers to $ROOT/usr/sbin/webapp-config inside custom ROOT= selected by the user. 
$ROOT/usr/sbin/webapp-config cannot execute on the host machine when app-admin/webapp-config isn't also installed there. 
Python modules exist on ROOT fs but not on host fs.

Installing app-admin/webapp-config on host system works as a workaround, but it's very crude and not obvious solution. 

I'm attaching example log with failed installation.