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

Bug 667102

Summary: www-servers/nginx-1.15.10: The ebuild is installing to one or more unexpected paths: /run
Product: Gentoo Linux Reporter: Perfect Gentleman <perfect007gentleman>
Component: Current packagesAssignee: Thomas Deutschmann <whissi>
Status: CONFIRMED ---    
Severity: QA CC: dan, dev-zero, hydrapolic
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Perfect Gentleman 2018-09-26 04:37:20 UTC
>>> Completed installing nginx-1.15.4 into /tmp/portage/www-servers/nginx-1.15.4/image/

 * Final size of build directory: 10944 KiB (10.6 MiB)
 * Final size of installed tree:   1900 KiB ( 1.8 MiB)

 * The ebuild is installing to one or more unexpected paths:
 * 
 *   /run
 * 
 * Please fix the ebuild to use correct FHS/Gentoo policy paths.
Warning : /tmp/portage/www-servers/nginx-1.15.4/image/usr/share/man/man8/nginx.8 won't be used ! Do you want multiple input files (-m) ? 
/tmp/portage/www-servers/nginx-1.15.4/image/usr/share/doc/nginx-1.15.4/CHANGES.ru already exists; do you wish to overwrite (y/N) ?     not overwritten  
 * ERROR: www-servers/nginx-1.15.4::gentoo failed:
 *   ecompress-file failed
Comment 1 Thomas Deutschmann gentoo-dev Security 2018-09-26 10:59:19 UTC
I saw this on one of my own boxes with portage-2.3.50-r1 but I don't see that with portage-9999 at the moment. I think is will more or less go away without any changes because we don't call "keepdir" and there's a (pending?) change causing portage to ignore empty directories...
Comment 2 Tomáš Mózes 2019-03-27 06:28:38 UTC
Still there with portage-9999. Should we just add $(rm -r "${ED}/run" || die) to src_install()?