Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 576844 - =x11-libs/libXfixes-5.0.1 failing to build due to _XEatDataWords on Raspberry Pi 2 - ARMv7 board
Summary: =x11-libs/libXfixes-5.0.1 failing to build due to _XEatDataWords on Raspberry...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Matt Turner
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 579266
  Show dependency tree
 
Reported: 2016-03-09 11:53 UTC by Oleh
Modified: 2016-05-26 03:12 UTC (History)
1 user (show)

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


Attachments
build log (build.log,23.21 KB, text/x-log)
2016-03-09 11:53 UTC, Oleh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh 2016-03-09 11:53:09 UTC
_XEatDataWords is removed upstream from xext:
https://lists.x.org/archives/xorg-devel/2013-November/038801.html
libXfixes still calls this and failing. Upstream fixed this:
https://cgit.freedesktop.org/xorg/lib/libXfixes/commit/?id=1702cdfe45c9bdd7dacfc8f27a49f89fcd1d02c3
upstream fix above allows libXfixes to compile.

Reproducible: Always

Steps to Reproduce:
1. emerge libXfixes
2. notice a build failure
3. apply upstream patch
4. emerge libXfixes succeed.
Actual Results:  
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/SaveSet.c:27:0:
/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:67:20: error: static declaration of '_XEatDataWords' follows non-static declaration
 static inline void _XEatDataWords(Display *dpy, unsigned long n)
                    ^
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Region.c:26:0:
/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:67:20: error: static declaration of '_XEatDataWords' follows non-static declaration
 static inline void _XEatDataWords(Display *dpy, unsigned long n)
                    ^
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:29:0,
                 from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/SaveSet.c:27:
/usr/include/X11/Xlibint.h:840:13: note: previous declaration of '_XEatDataWords' was here
 extern void _XEatDataWords(
             ^
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:29:0,
                 from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Region.c:26:
/usr/include/X11/Xlibint.h:840:13: note: previous declaration of '_XEatDataWords' was here
 extern void _XEatDataWords(
             ^
Makefile:452: recipe for target 'SaveSet.lo' failed
make[2]: *** [SaveSet.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Cursor.c:49:0:
/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:67:20: error: static declaration of '_XEatDataWords' follows non-static declaration
 static inline void _XEatDataWords(Display *dpy, unsigned long n)
                    ^
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:29:0,
                 from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Cursor.c:49:
/usr/include/X11/Xlibint.h:840:13: note: previous declaration of '_XEatDataWords' was here
 extern void _XEatDataWords(
             ^
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Selection.c:27:0:
/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:67:20: error: static declaration of '_XEatDataWords' follows non-static declaration
 static inline void _XEatDataWords(Display *dpy, unsigned long n)
                    ^
In file included from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Xfixesint.h:29:0,
                 from /var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1/src/Selection.c:27:
/usr/include/X11/Xlibint.h:840:13: note: previous declaration of '_XEatDataWords' was here
 extern void _XEatDataWords(
             ^
Makefile:452: recipe for target 'Selection.lo' failed
make[2]: *** [Selection.lo] Error 1
Makefile:452: recipe for target 'Region.lo' failed
make[2]: *** [Region.lo] Error 1
Makefile:452: recipe for target 'Cursor.lo' failed
make[2]: *** [Cursor.lo] Error 1
make[2]: Leaving directory '/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1-.arm/src'
Makefile:480: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1-.arm'
Makefile:388: recipe for target 'all' failed
make: *** [all] Error 2
 [31;01m*[0m ERROR: x11-libs/libXfixes-5.0.1 failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=x11-libs/libXfixes-5.0.1'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=x11-libs/libXfixes-5.0.1'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/x11-libs/libXfixes-5.0.1/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/x11-libs/libXfixes-5.0.1/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1-.arm'
 [31;01m*[0m S: '/var/tmp/portage/x11-libs/libXfixes-5.0.1/work/libXfixes-5.0.1'
Comment 1 Oleh 2016-03-09 11:53:33 UTC
Created attachment 427802 [details]
build log
Comment 2 Oleh 2016-04-03 08:17:03 UTC
any progress on this? a matter of applying upstream patch...
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2016-04-04 22:29:53 UTC
It is on the TODO list, but so are many other things... if there is any urgency in fixing this we can expedite the process.
Comment 4 Oleh 2016-05-25 03:08:18 UTC
well. i cant wait extended period (it's already 2 monthes since report) to get this simple fix (upstream, jut in case) applied.
Comment 5 Matt Turner gentoo-dev 2016-05-26 02:06:24 UTC
(In reply to Oleg from comment #4)
> well. i cant wait extended period (it's already 2 monthes since report) to
> get this simple fix (upstream, jut in case) applied.

I have made a 5.0.2 release upstream that contains the fix and added it to the tree.

I can understand how you feel about the latency, but you should understand that we are volunteers with full-time responsibilities outside of Gentoo (perhaps even working on other free software you use but don't appreciate!)

If you want to get fixes into the tree faster, you might consider becoming a Gentoo developer. I see that you're already a Funtoo developer so it might be very beneficial.

I have to comment specifically on "i cant want extended period". You certainly can and you might not have any other choice. You may even get better results if you leave out such comments -- I know I personally find them very demotivating. I would not be surprised to find that making comments like that actually is counter-productive to your goal.

In the absence of doing the work yourself (by first becoming a Gentoo developer), your options are to ask nicely and wait patiently or to pay someone to handle bugs for you.
Comment 6 Oleh 2016-05-26 03:12:13 UTC
thx for update.