Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 862357

Summary: www-apps/cgit fails to install to custom ROOT
Product: Gentoo Linux Reporter: ev
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: UNCONFIRMED ---    
Severity: minor CC: web-apps
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cgit failed install log

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.