Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426918 - sys-boot/unetbootin-578 - install: cannot stat 'unetbootin_en.qm': No such file or directory
Summary: sys-boot/unetbootin-578 - install: cannot stat 'unetbootin_en.qm': No such fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jeroen Roovers (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-16 22:36 UTC by Harris Landgarten
Modified: 2012-07-18 04:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (1342477761-install-sys-boot_unetbootin-578:0::gentoo.out,6.15 KB, text/plain)
2012-07-16 22:36 UTC, Harris Landgarten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harris Landgarten 2012-07-16 22:36:15 UTC
Created attachment 318384 [details]
build log

cannot stat 'unetbootin_en.qm': No such file or directory

seems to be the issue. I am attaching the build log
Comment 1 Harris Landgarten 2012-07-17 03:13:28 UTC
package installs with portage but not with paludis
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-17 16:54:42 UTC
I guess this would fix the issue:

diff -u -B -r1.1 unetbootin-578.ebuild
--- unetbootin-578.ebuild       16 Jul 2012 19:08:22 -0000      1.1
+++ unetbootin-578.ebuild       17 Jul 2012 16:54:18 -0000
@@ -77,8 +77,10 @@
        done
 
        local lingua
-       for lingua in ${LINGUAS}; do
-               insinto /usr/share/${PN}
-               doins ${PN}_${lingua}.qm
+       for lingua in ${UNBI_LINGUAS}; do
+               if use linguas_${lingua}; then
+                       insinto /usr/share/${PN}
+                       doins ${PN}_${lingua}.qm
+               fi
        done
 }


Please test and report back.
Comment 3 Harris Landgarten 2012-07-17 17:14:06 UTC
The patch to make the lingua actions conditional does fix the problem and allow the program to install with cave resolve unetbootin
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2012-07-18 04:37:01 UTC
Thanks for testing. The change has been committed now.