pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/44281: xf86-video-openchrome does not compile (pkgsrc2010Q3)



>Number:         44281
>Category:       pkg
>Synopsis:       xf86-video-openchrome does not compile (pkgsrc2010Q3)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Dec 26 22:00:00 +0000 2010
>Originator:     Ruben Gonzalez Arnau
>Release:        GNU/Linux sorry
>Organization:
none
>Environment:
2.6.35 i686 GNU/Linux
>Description:
xf86-video-openchrome does not compile on GNU/Linux.

ERROR:
pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/libdrm/drm_mode.h:311:2:
 error: expected specifier-qualifier-list before ?uint32_t?

...

Full output:

/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..   
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/xorg -I/usr/pkg/include/   
  pixman-1 -I/usr/pkg/include -I/usr/pkg/include/drm -I/usr/pkg/include/libdrm  
 -I/usr/pkg/include -I/usr/pkg/include/drm -I/usr/pkg/include/libdrm 
-I/usr/pkg/ include/X11/dri   -I/usr/pkg/include   -I../src -I../libxvmc 
-DTRUE=1 -DFALSE=0 -Wno-error -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/xorg -I/usr/   pkg/include/pixman-1 -I/usr/pkg/include 
-I/usr/pkg/include/drm -I/usr/pkg/include/libdrm -MT 
libchromeXvMC_la-viaLowLevel.lo -MD -MP -MF .deps/                
libchromeXvMC_la-viaLowLevel.Tpo -c -o libchromeXvMC_la-viaLowLevel.lo `test -f 
'viaLowLevel.c' || echo './'`viaLowLevel.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. 
-I/tmp/workdir/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include 
-I/tmp/workdir/pkgsrc/x11/xf86-video-  openchrome/work/.buildlink/include/xorg 
-I/tmp/workdir/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/pixman-1
 -I/tmp/workdir/pkgsrc/x11/xf86-video- openchrome/work/.buildlink/include/drm 
-I/tmp/workdir/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/libdrm 
-I/tmp/workdir/pkgsrc/x11/xf86-video-    
openchrome/work/.buildlink/include/X11/dri -I../src -I../libxvmc -DTRUE=1 
-DFALSE=0 -Wno-error -MT libchromeXvMC_la-viaLowLevel.lo -MD -MP -MF .deps/     
     libchromeXvMC_la-viaLowLevel.Tpo -c viaLowLevel.c  -fPIC -DPIC -o 
.libs/libchromeXvMC_la-viaLowLevel.o
In file included from 
/tmp/workdir/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/libdrm/drm.h:611:0,
                 from 
/tmp/workdir/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/libdrm/via_drm.h:27,
                 from ../src/via_xvmc.h:29,
                 from viaXvMCPriv.h:34,
                 from viaLowLevel.c:34:
/tmp/workdir/pkgsrc/x11/xf86-video-openchrome/work/.buildlink/include/libdrm/drm_mode.h:311:2:
 error: expected specifier-qualifier-list before ?uint32_t?
*** Error code 1

Stop
>How-To-Repeat:
pkgsrc/x11/f86-video-openchrome
bmake install


>Fix:
A simple patch fix this problem and compiled & works fine after.

vim x11/xf86-video-openchrome/work/xf86-video-openchrome-0.2.904/src/via_xvmc.h
+#include <stdint.h>
#include "via_drm.h"

bmake install



Home | Main Index | Thread Index | Old Index