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

Bug 580370

Summary: sys-libs/efivar-0.23 dies in install_qa_check
Product: Gentoo Linux Reporter: dashmz
Component: [OLD] Core systemAssignee: Portage team <dev-portage>
Status: RESOLVED INVALID    
Severity: normal CC: floppym
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info

Description dashmz 2016-04-17 20:32:15 UTC
Created attachment 431018 [details]
build.log

When emerging efivar-0.23 (or efivar-0.21) following error pops up:

 * ERROR: sys-libs/efivar-0.23::gentoo failed:
 *   rm failed!
 * 
 * Call stack:
 *   misc-functions.sh, line 603:  Called install_qa_check
 *   misc-functions.sh, line 256:  Called die
 * The specific snippet of code:
 *   	rm -f "${ED}"/usr/share/info/dir{,.gz,.bz2} || die "rm failed!"
Comment 1 dashmz 2016-04-17 20:32:59 UTC
Created attachment 431020 [details]
emerge --info
Comment 2 Mike Gilbert gentoo-dev 2016-04-17 20:46:21 UTC
I'm pretty sure this is an error being produced by some portage QA check, not the efivar ebuild.

There isn't enough diagnostic info in the log to track it down further than that.
Comment 3 Mike Gilbert gentoo-dev 2016-04-17 20:48:50 UTC
Also, I cannot reproduce the issue.
Comment 4 Zac Medico gentoo-dev 2016-04-17 22:43:56 UTC
(In reply to dashmz from comment #0)
> Created attachment 431018 [details]
> build.log
>
> realpath: ' ./man3/efi_variable_t.3.bz2': No such file or directory
> realpath: /var/tmp/portage/sys-libs/efivar-0.23/image//usr/share/info/dir: No such file or directory

It looks like you have a script that you have used to wrap the rm command. The script calls realpath, which outputs the above error messages. You need to fix your wrapper script.