Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490810 - www-client/chromium>31: error: ‘XITouchClassInfo’ was not declared in this scope
Summary: www-client/chromium>31: error: ‘XITouchClassInfo’ was not declared in this scope
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard: ht-wanted
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-09 07:54 UTC by Zeno Davatz
Modified: 2013-11-12 16:51 UTC (History)
0 users

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


Attachments
emerge -info chromium after version 31.0 (emerge_info.log,5.03 KB, text/x-log)
2013-11-09 07:54 UTC, Zeno Davatz
Details
build.log ninja error chromium 31.0 (build.log.zip,206.53 KB, application/zip)
2013-11-10 16:18 UTC, Zeno Davatz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zeno Davatz 2013-11-09 07:54:58 UTC
Created attachment 362844 [details]
emerge -info chromium after version 31.0

I am filing this report as per this request:
https://bugs.gentoo.org/show_bug.cgi?id=490664#c36

emerge of chromium fails with the following ninja error:
ameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -fno-ident -fdata-sections -ffunction-sections -mtune=generic -O2 -pipe -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -Wsign-compare  -c ../../ui/events/x/touch_factory_x11.cc -o obj/ui/events/x/events.touch_factory_x11.o
../../ui/events/x/touch_factory_x11.cc: In member function ‘void ui::TouchFactory::UpdateDeviceList(Display*)’:
../../ui/events/x/touch_factory_x11.cc:126:11: error: ‘XITouchClassInfo’ was not declared in this scope
../../ui/events/x/touch_factory_x11.cc:126:29: error: ‘tci’ was not declared in this scope
../../ui/events/x/touch_factory_x11.cc:127:32: error: expected type-specifier before ‘XITouchClassInfo’
../../ui/events/x/touch_factory_x11.cc:127:32: error: expected ‘>’ before ‘XITouchClassInfo’
../../ui/events/x/touch_factory_x11.cc:127:32: error: expected ‘(’ before ‘XITouchClassInfo’
../../ui/events/x/touch_factory_x11.cc:127:50: error: expected primary-expression before ‘>’ token
../../ui/events/x/touch_factory_x11.cc:127:64: error: expected ‘)’ before ‘;’ token
ninja: build stopped: subcommand failed.

"emerge -info chromium" is attached.
Comment 1 Julien Sanchez archtester 2013-11-09 10:04:38 UTC
(In reply to Zeno Davatz from comment #0)
> "emerge -info chromium" is attached.

When submitting a bug with compilation failure, please attach your full emerge log too.
Comment 2 Mike Gilbert gentoo-dev 2013-11-09 16:39:59 UTC
> Could you file a new bug and attach a full build log please?

Where is the build log?
Comment 3 Zeno Davatz 2013-11-10 06:23:04 UTC
It is to big to upload (8MB). I sent it to you by Email.

;)

Lets fix this error!

Best
Zeno
Comment 4 Mike Gilbert gentoo-dev 2013-11-10 15:32:45 UTC
Please compress the log (using gzip or xz) and attach it.
Comment 5 Zeno Davatz 2013-11-10 16:18:51 UTC
Created attachment 362984 [details]
build.log ninja error chromium 31.0

build.log ninja error chromium 31.0
Comment 6 Paweł Hajdan, Jr. (RETIRED) gentoo-dev 2013-11-12 04:13:45 UTC
The struct that appears in the error message should be defined in /usr/include/X11/extensions/XInput2.h .

That file is provided by libXi. I've tried with libXi-1.6.1 and libXi-1.7.2 and cannot repro. Do you have an older version? What version of libXi do you have?

If the one you have is one of the above, please attach the /usr/include/X11/extensions/XInput2.h file from your system.

Note that it's possible you have something in /usr/local or elsewhere on the system not installed by portage that might be causing problems.
Comment 7 Zeno Davatz 2013-11-12 14:14:43 UTC
I am on version libXi 1.5.0. Will upgrade now and try again.
Comment 8 Zeno Davatz 2013-11-12 16:14:15 UTC
good stuff! This is solved witht he Upgrade of libXi 1.5.0 to 1.7.0

Thank you for your help!

Best
Zeno
Comment 9 Mike Gilbert gentoo-dev 2013-11-12 16:51:15 UTC
+  12 Nov 2013; Mike Gilbert <floppym@gentoo.org> chromium-30.0.1599.101.ebuild,
+  chromium-31.0.1650.48.ebuild, chromium-32.0.1700.6.ebuild:
+  Add dependency on >=x11-libs/libXi-1.6.0, bug 490810 by Zeno Davatz.