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

Bug 434196

Summary: sys-apps/util-linux-2.22 USE=-perl - rm: cannot remove '/var/tmp/portage/sys-apps/util-linux-2.22/image//usr/bin/chkdupexe': No such file or directory
Product: Gentoo Linux Reporter: Alexander Bergmann <alex>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: chkdupexe configure switch

Description Alexander Bergmann 2012-09-07 07:59:15 UTC
Created attachment 323126 [details]
chkdupexe configure switch

In util-linux version 2.22 the program chkdupexe is disabled by default.

 * ERROR: sys-apps/util-linux-2.22 failed (install phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line  85:  Called src_install
 *   environment, line 2722:  Called die
 * The specific snippet of code:
 *           rm "${ED}"/usr/bin/chkdupexe || die;

rm: cannot remove '/var/tmp/portage/sys-apps/util-linux-2.22/image//usr/bin/chkdupexe': No such file or directory

We get an exception if the perl use flag is disabled, because the ebuild tries to remove the chkdupexe and related man page, but they're not build by default anymore. The perl use flag was introduced with the fix for bug# 284093.

The attached patch connects the perl use flag with the chkdupexe configure switch and removes the deprecated src_install part.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-09-07 10:31:47 UTC

*** This bug has been marked as a duplicate of bug 434146 ***