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

Bug 277234

Summary: x11-libs/pango-1.24.4 dies in src_install when removing non-existant files
Product: Gentoo Linux Reporter: Andreas Wiese <aw-gentoo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: diff fixing ebuild for x11-libs/pango-1.24.4::gentoo

Description Andreas Wiese 2009-07-09 18:59:06 UTC
x11-libs/pango-1.24.4 dies when trying to remove "${D}/etc/pango/pango.modules", which does not exist.  Could be simply fixed by testing for file-existance before rm.

Reproducible: Always

Steps to Reproduce:
1. (emerge|paludis -i) =x11-libs/pango-1.24.4
2. Pow.
3.

Actual Results:  
die-condition triggers in line 60

Expected Results:  
Remove file or skip this step if non-existance
Comment 1 Andreas Wiese 2009-07-09 19:01:11 UTC
Created attachment 197384 [details, diff]
diff fixing ebuild for x11-libs/pango-1.24.4::gentoo

fix for above problem
Comment 2 Harald van Dijk (RETIRED) gentoo-dev 2009-07-09 19:31:23 UTC
The file never exists anymore, so the proper fix is to not bother trying to remove it. :)

http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-libs/pango/pango-1.24.4.ebuild?r1=1.1&r2=1.2

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