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

Bug 519860

Summary: [qt overlay] dev-qt/qtgui-5.3.1-r1 USE=ibus - In file included from qibusinputcontextproxy.cpp:12:0: qibusinputcontextproxy.h:27:1: error: expected class-name before ‘{’ token
Product: Gentoo Linux Reporter: sgrunt <smelenchuk>
Component: [OLD] LibraryAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal CC: uwelk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 454132    
Attachments: Build log
emerge --info

Description sgrunt 2014-08-14 02:18:53 UTC
Attempting to build dev-qt/qtgui-5.3.1-r1 with USE=ibus fails.

Reproducible: Always

Steps to Reproduce:
1. Attempt to build dev-qt/qtgui with USE=ibus.
Actual Results:  
In file included from qibusinputcontextproxy.cpp:12:0:
qibusinputcontextproxy.h:27:1: error: expected class-name before ‘{’ token
 {

(and many other errors; see build log)

Expected Results:  
qtgui should build successfully.

USE=-ibus works properly.

Build log and emerge --info to be attached in a moment.
Comment 1 sgrunt 2014-08-14 02:19:14 UTC
Created attachment 382864 [details]
Build log
Comment 2 sgrunt 2014-08-14 02:19:33 UTC
Created attachment 382866 [details]
emerge --info
Comment 3 sgrunt 2014-08-26 02:17:47 UTC
USE="accessibility" causes this to build. I am guessing this is because "-dbus-linked" is only specified if USE has both accessibility and xcb. I'm not sure if there's an interdependence there, but this could probably be fixed if the conditional instead checks for ((accessibility && xcb) || ibus).
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2014-09-02 03:06:21 UTC
(In reply to smelenchuk from comment #3)
> USE="accessibility" causes this to build. I am guessing this is because
> "-dbus-linked" is only specified if USE has both accessibility and xcb. I'm
> not sure if there's an interdependence there, but this could probably be
> fixed if the conditional instead checks for ((accessibility && xcb) || ibus).

Correct.
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2014-09-02 03:22:37 UTC
Fixed in git without revbump. Thanks for reporting and finding the root cause.