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

Bug 577710

Summary: www-client/google-chrome-49.0.2623.87_p1 Emerge-Error: rm: cannot remove ‘usr/share/menu’
Product: Gentoo Linux Reporter: Joerg "JJ" Junge <joerg.junge>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info
build.log

Description Joerg "JJ" Junge 2016-03-18 13:50:35 UTC
Created attachment 428532 [details]
emerge-info

Error: rm: cannot remove ‘usr/share/menu’: No such file or directory 

The install want's to delete a file while emerging, that is not present in the sandbox or on the system and dies. Without sandbox it doesn't work, too.
   
   FEATURES="-sandbox" emerge ...

There is not a single file or directory names 'usr/share/menu' on my system.

   find / | grep usr/share/menu

With Chrome 48 and before I had no problems.


Detailed Error:

 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/4.0.9-gentoo/build
 * Found sources for kernel version:
 *     4.0.9-gentoo
 * Checking for suitable kernel configuration options...                                                                                                                                                                                                 [ ok ]
>>> Unpacking source...
>>> Source unpacked in /var/tmp/portage/www-client/google-chrome-49.0.2623.87_p1/work
>>> Preparing source in /var/tmp/portage/www-client/google-chrome-49.0.2623.87_p1/work ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/www-client/google-chrome-49.0.2623.87_p1/work ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/www-client/google-chrome-49.0.2623.87_p1/work ...
>>> Source compiled.
>>> Test phase [not enabled]: www-client/google-chrome-49.0.2623.87_p1

>>> Install google-chrome-49.0.2623.87_p1 into /var/tmp/portage/www-client/google-chrome-49.0.2623.87_p1/image/ category www-client
rm: cannot remove ‘usr/share/menu’: No such file or directory                                                                                                                                                                                                   
 * ERROR: www-client/google-chrome-49.0.2623.87_p1::gentoo failed (install phase):                                                                                                                                                                              
 *   (no error message)                                                                                                                                                                                                                                         
 *                                                                                                                                                                                                                                                              
 * Call stack:                                                                                                                                                                                                                                                  
 *     ebuild.sh, line 133:  Called src_install                                                                                                                                                                                                                 
 *   environment, line 3411:  Called die                                                                                                                                                                                                                        
 * The specific snippet of code:                                                                                                                                                                                                                                
 *       rm -r usr/share/menu || die;                                                                                                                                                                                                                           
 *
Comment 1 Alex Xu (Hello71) 2016-03-18 13:54:47 UTC
please attach the complete build.log.
Comment 2 Joerg "JJ" Junge 2016-03-18 14:07:50 UTC
Created attachment 428534 [details]
build.log

build.log
Comment 3 Mike Gilbert gentoo-dev 2016-03-18 14:42:14 UTC

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