View previous topic :: View next topic |
Author |
Message |
Xander314 n00b
Joined: 16 Apr 2012 Posts: 61
|
Posted: Sat Nov 10, 2012 2:23 pm Post subject: Emerge fails because rm tries to delete not existing files |
|
|
I'm trying to add Plymouth support to my Dracut initramfs. When sys-boot/plymouth-0.8.4 is emerged, it compiles fine but when it comes to installation, it fails, with the following error (key line highlighted):
Code: |
* ERROR: sys-boot/plymouth-0.8.4 failed (install phase):
[b] * rm '/var/tmp/portage/sys-boot/plymouth-0.8.4/image//usr/lib64/plymouth/*.la'[/b]
*
* Call stack:
* ebuild.sh, line 93: Called src_install
* environment, line 3072: Called die
* The specific snippet of code:
* rm "${la}" || die "rm '${la}'";
*
|
The problem is that it tries to remove files which aren't there. I am not really sure what to do about this. Should I file a bug?
Last edited by Xander314 on Sat Nov 10, 2012 3:01 pm; edited 1 time in total |
|
Back to top |
|
|
Xander314 n00b
Joined: 16 Apr 2012 Posts: 61
|
Posted: Sat Nov 10, 2012 2:58 pm Post subject: |
|
|
Okay I have a temporary solution working now. I just removed the offending invocation of rm from the ebuild file.
I wonder if anyone has any better ideas? If I file a bug report, I assume it's with the Gentoo developers rather than the Plymouth ones since this problem appears to be related to the ebuild process. |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21635
|
Posted: Sat Nov 10, 2012 4:01 pm Post subject: |
|
|
Yes, please file a bug. If the relevant libtool files are never present, then the ebuild should not try to delete them. If they are conditionally present, then it needs either to ignore their absence or to delete them only when they were generated. |
|
Back to top |
|
|
Xander314 n00b
Joined: 16 Apr 2012 Posts: 61
|
Posted: Sat Nov 10, 2012 5:50 pm Post subject: |
|
|
Okay. Bug filed. |
|
Back to top |
|
|
|