Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 349859 - app-i18n/uim-1.6.0-r1 - common-quimhelpertoolbar.cpp:56: error: request for member 'arg' in '(const char*)("Cannot launch \'%1\'.")', which is of non-class type 'const char*'
Summary: app-i18n/uim-1.6.0-r1 - common-quimhelpertoolbar.cpp:56: error: request for m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-27 14:42 UTC by Logarithmenlord
Modified: 2011-01-05 11:17 UTC (History)
0 users

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


Attachments
Build log with error at the end of failed compilation (build.log,478.39 KB, text/plain)
2010-12-27 14:47 UTC, Logarithmenlord
Details
emerge --info =app-i18n/uim-1.6.0-r1 (emergeinfo,4.92 KB, text/plain)
2010-12-27 19:37 UTC, Logarithmenlord
Details
build.log (build.log,472.42 KB, text/plain)
2010-12-27 19:38 UTC, Logarithmenlord
Details
backport patch (uim-1.6.0-gettext.patch,449 bytes, patch)
2011-01-01 15:00 UTC, Muneyuki Noguchi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Logarithmenlord 2010-12-27 14:42:01 UTC
Fails to emerge due to Qt4 compiling issues.

Reproducible: Always

Steps to Reproduce:
1. emerge uim

Actual Results:  
Compilation breaks with 'make[3]: *** [common-quimhelpertoolbar.o] Fehler 1'.

Expected Results:  
Compiled.
Comment 1 Logarithmenlord 2010-12-27 14:47:40 UTC
Created attachment 258173 [details]
Build log with error at the end of failed compilation
Comment 2 Rafał Mużyło 2010-12-27 15:24:37 UTC
The actual error:
common-quimhelpertoolbar.cpp: In function »void launchHelperApplication(const QString&)«:
common-quimhelpertoolbar.cpp:56: Fehler: Abfrage des Elementes »arg« in »(const char*)("Cannot launch \'%1\'.")«, das vom Nicht-Klassentyp »const char*« ist
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2010-12-27 18:04:47 UTC
Please paste your `emerge --info' output in a comment. Also, try to produce and attach a build log with LANG=C - not every Gentoo developer can read German.
Comment 4 Logarithmenlord 2010-12-27 19:37:02 UTC
Created attachment 258203 [details]
emerge --info =app-i18n/uim-1.6.0-r1

emerge --info =app-i18n/uim-1.6.0-r1 in English.
Comment 5 Logarithmenlord 2010-12-27 19:38:58 UTC
Created attachment 258205 [details]
build.log

English version.
Comment 6 Muneyuki Noguchi 2011-01-01 15:00:57 UTC
Created attachment 258573 [details, diff]
backport patch
Comment 7 Logarithmenlord 2011-01-04 08:37:36 UTC
(In reply to comment #6)
> Created an attachment (id=258573) [details]
> backport patch
The patch wasn't applicable; neither by putting it into 
/etc/portage/patches/app-i18n/uim-1.6.0-r1/uim-1.6.0-gettext.patch
nor by manually editing the ebuild and changing src_prepare(){...} in which case, it does crash with something like
/var/tmp/portage/app-i18n/uim-1.6.0-r1/temp/environment: line 3527: /usr/portage/app-i18n/uim/files/uim-1.6.0-gettext.patch: no rights / access rights?
though I was emerging as root.
Comment 8 Logarithmenlord 2011-01-04 19:34:32 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Created an attachment (id=258573) [details] [details]
> > backport patch
> The patch wasn't applicable; neither by putting it into 
> /etc/portage/patches/app-i18n/uim-1.6.0-r1/uim-1.6.0-gettext.patch
> nor by manually editing the ebuild and changing src_prepare(){...} in which
> case, it does crash with something like
> /var/tmp/portage/app-i18n/uim-1.6.0-r1/temp/environment: line 3527:
> /usr/portage/app-i18n/uim/files/uim-1.6.0-gettext.patch: no rights / access
> rights?
> though I was emerging as root.
> 
Found a workaround for the problem:
It looks like having -nls in the USE-flags section triggers this compile-error, however changing -nls to nls made uim-1.6.0-r1 compile.

This http://forums.gentoo.org/viewtopic-t-853944-highlight-uim.html?sid=d90385c5efcecc1f859921c760e306bf thread also might be related to the problem.
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2011-01-05 11:17:33 UTC
fixed in cvs. thanks.