Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273613 - x11-themes/gtk-engines-qt-0.8-r4 LINGUAS support breaks installation
Summary: x11-themes/gtk-engines-qt-0.8-r4 LINGUAS support breaks installation
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
: 271429 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-10 19:56 UTC by Patrick De Pinguin
Modified: 2009-06-18 05:53 UTC (History)
2 users (show)

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


Attachments
Fixes a coding issue in the ebuild (gtk-engines-qt-fix-linguas-support.patch,484 bytes, patch)
2009-06-10 19:57 UTC, Patrick De Pinguin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick De Pinguin 2009-06-10 19:56:36 UTC
When you have more than one LINGUA set (e.g. LINGUAS="en nl fr sv", the installation of gtk-engines-qt fails with the following message:

Install the project...
-- Install configuration: "Gentoo"
-- Installing: /var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r4/image/usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so
-- Removed runtime path from "/var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r4/image//usr/lib/gtk-2.0/2.10.0/engines/libqtengine.so"
-- Installing: /var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r4/image/usr/share/themes/Qt/gtk-2.0/gtkrc
...
-- Installing: /var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r4/image/usr/kde/3.5/share/locale/tr/LC_MESSAGES/gtkqtengine.mo
mv: cannot stat `/var/tmp/portage/x11-themes/gtk-engines-qt-0.8-r4/image///usr/kde/3.5/share/temp/fr sv': No such file or directory
 *
 * ERROR: x11-themes/gtk-engines-qt-0.8-r4 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 4515:  Called die
 * The specific snippet of code:
 *           mv "${D}/${KDEDIR}"/share/temp/"${lang}" "${D}/${KDEDIR}"/share/locale || die;
 *  The die message:
 *   (no error message)

The cause of this problem is in the ebuild, and has an easy solution (see attached patch).

Reproducible: Always

Steps to Reproduce:
1. emerge gtk-engines-qt
2.
3.
Comment 1 Patrick De Pinguin 2009-06-10 19:57:48 UTC
Created attachment 194192 [details, diff]
Fixes a coding issue in the ebuild
Comment 2 Navid Zamani 2009-06-12 22:01:07 UTC
Thank you. But will it get into portage too? ^^
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2009-06-13 23:05:17 UTC
Ack, fixed.
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-06-17 22:35:19 UTC
*** Bug 271429 has been marked as a duplicate of this bug. ***
Comment 5 Erik 2009-06-18 05:53:48 UTC
You got the duplicate marking wrong. Actually this report is a duplicate of #271429.