Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[x11 overlay] x11-drm fails (broken?)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 7112
Location: Austria

PostPosted: Sun Jan 18, 2009 2:56 am    Post subject: [x11 overlay] x11-drm fails (broken?) Reply with quote

For quite some time now, x11-drm-99999999 keeps failing to build on my notebook (R250). Is anyone else having trouble lately?

emerge --info snippet:
Code:
Portage 2.2_rc22 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.28-gentoo i686)
=================================================================                                         
System uname: Linux-2.6.28-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1600MHz-with-glibc2.0             
Timestamp of tree: Sat, 17 Jan 2009 11:15:02 +0000                                                       
distcc 3.0 i686-pc-linux-gnu [disabled]                                                                   
app-shells/bash:     3.2_p39                                                                             
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                 
dev-lang/python:     2.5.2-r7                                                                             
dev-util/cmake:      2.6.2-r1                                                                             
sys-apps/baselayout: 2.0.0                                                                               
sys-apps/openrc:     0.4.2                                                                               
sys-apps/sandbox:    1.2.18.1-r2                                                                         
sys-devel/autoconf:  2.13, 2.63                                                                           
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2                                                     
sys-devel/binutils:  2.18-r3                                                                             
sys-devel/gcc-config: 1.4.0-r4                                                                           
sys-devel/libtool:   1.5.26                                                                               
virtual/os-headers:  2.6.28-r1                                                                           
ACCEPT_KEYWORDS="x86"                                                                                     
CBUILD="i686-pc-linux-gnu"                                                                               
CFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"                                                 
CHOST="i686-pc-linux-gnu"                                                                                 
CONFIG_PROTECT="/etc /usr/share/config"                                                                   
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=pentium-m -O2 -pipe -fomit-frame-pointer"                                                               
DISTDIR="/usr/portage/distfiles"                                                                                         
FEATURES="distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                                                   
LANG="en_GB.UTF-8"                                                                                                       
LDFLAGS="-Wl,-O1"                                                                                                       
LINGUAS="en_GB en de"
MAKEOPTS="-j2"


A brief summary of relevant packages:
Code:
[ebuild   R   ] x11-libs/libdrm-9999  0 kB [1]
[ebuild   R   ] x11-proto/dri2proto-9999  0 kB [1]
[ebuild   R   ] x11-proto/randrproto-1.2.99.3  0 kB [1]
[ebuild   R   ] media-libs/mesa-9999  USE="nptl xcb" VIDEO_CARDS="radeon" 0 kB [1]
[ebuild   R   ] x11-drivers/xf86-video-ati-9999  USE="dri" 0 kB [1]
[ebuild   R   ] x11-base/x11-drm-99999999  VIDEO_CARDS="radeon" 0 kB [1]


And here's the error:

Code:
In file included from ../libdrm/xf86drm.h:40,                                                                           
                 from dristat.c:33:                                                                                     
./drm.h:240: warning: comma at end of enumerator list                                                                   
./drm.h:494: warning: comma at end of enumerator list                                                                   
./drm.h:501: warning: ISO C90 does not support ‘long long’                                                               
./drm.h:906: warning: comma at end of enumerator list                                                                   
In file included from ../libdrm/xf86drm.h:40,                                                                           
                 from dristat.c:33:                                                                                     
./drm.h:1170: warning: ISO C forbids forward references to ‘enum’ types                                                 
In file included from dristat.c:36:                                                                                     
../libdrm/xf86drm.c: In function ‘drmUpdateDrawableInfo’:                                                               
../libdrm/xf86drm.c:1499: warning: ISO C90 does not support ‘long long’                                                 
../libdrm/xf86drm.c: In function ‘drmWaitVBlank’:                                                                       
../libdrm/xf86drm.c:1903: error: ‘CLOCK_MONOTONIC’ undeclared (first use in this function)                               
../libdrm/xf86drm.c:1903: error: (Each undeclared identifier is reported only once                                       
../libdrm/xf86drm.c:1903: error: for each function it appears in.)                                                       
make: *** [dristat] Error 1

_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
smerf
l33t
l33t


Joined: 06 Nov 2004
Posts: 778
Location: Polska

PostPosted: Sun Jan 18, 2009 7:10 pm    Post subject: Reply with quote

CLOCK_MONOTONIC should be inside /usr/include/bits/time.h

Maybe configure went wrong... Try adding direct #include inside
../libdrm/xf86drm.c (after error, inside /var/tmp/portage) and then
to proceed with `ebuild [path_to_ebuild] compile` followed by
install and qmerge (see man ebuild). Report to maintainer if it worked.
_________________
Microsoft is not the answer, Microsoft is the question, the answer is no.
Back to top
View user's profile Send private message
mikkoc
Apprentice
Apprentice


Joined: 24 May 2007
Posts: 231

PostPosted: Sun Jan 18, 2009 7:25 pm    Post subject: Reply with quote

Same error here.
Last successful build: Dec 26th.
Back to top
View user's profile Send private message
Rion
Guru
Guru


Joined: 12 Oct 2006
Posts: 377
Location: Ekaterinburg, Russia

PostPosted: Sun Jan 18, 2009 8:42 pm    Post subject: Reply with quote

https://bugs.gentoo.org/show_bug.cgi?id=254649
_________________
~amd64
rion-overlay
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum