Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 292562 - x11-proto/xproto >7.0.14 breaks compilation of libX11-1.1.5
Summary: x11-proto/xproto >7.0.14 breaks compilation of libX11-1.1.5
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-09 19:09 UTC by Jacopo
Modified: 2009-11-14 09:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jacopo 2009-11-09 19:09:23 UTC
trying to emerge libX11-1.1.5 fails if xproto>7.0.14 is installed:
ake[2]: Entering directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/modules'                        
make[2]: Nothing to be done for `all-am'.                                                                                 
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/modules'                         
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/modules'                         
Making all in src                                                                                                         
make[1]: Entering directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/src'                            
cd util && make                                                                                                           
make[2]: Entering directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/src/util'                       
make[2]: Nothing to be done for `all'.                                                                                    
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/src/util'                        
../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h                                                         
/bin/sh: line 1: 19640 Floating point exception../src/util/makekeys < /usr/include/X11/keysymdef.h > ks_tables_h          
make[1]: *** [ks_tables.h] Error 136                                                                                      
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libX11-1.1.5/work/libX11_build_x86/src'                             
make: *** [all-recursive] Error 1

Please note that the fact that I was compiling on multilib doesn't affect the presence of the issue (e.g. http://blog.olebox.com/2009/05/25/libx11-ks_tables-error-136/#respond, which pointed me to the problem)

Reproducible: Always

Steps to Reproduce:
1.emerge xproto-7.0.15
2.emerge libX11-1.1.5
3.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2009-11-09 19:20:04 UTC
Restricting the version to something below 1.1.5 in libX11 should help here.
Comment 2 Rémi Cardona (RETIRED) gentoo-dev 2009-11-14 09:21:32 UTC
Those versions are indeed incompatible

libX11 1.1 should go with xproto <=7.0.14, libX11 1.2 should go with xproto 7.0.15.

We did try putting blockers and restrictions in X packages, but with the recent churn in headers, this just proved impossible to express sanely without ranged deps. And since this particular feature has always been rejected, we just gave up.

So yeah, just upgrade everything to the latest stable _or_ ~arch (don't try to mix if you're not sure) and it'll work correctly.

Thanks