Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331149 - x11-libs/libva-0.31.1 fails to build - debian patches are incompatible
Summary: x11-libs/libva-0.31.1 fails to build - debian patches are incompatible
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 03:52 UTC by Reuben Martin
Modified: 2011-09-09 14:14 UTC (History)
1 user (show)

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


Attachments
Emerge Info (emerge.info,5.22 KB, text/plain)
2010-08-10 21:49 UTC, Reuben Martin
Details
Build Log (build.log,15.01 KB, text/plain)
2010-08-10 21:50 UTC, Reuben Martin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Martin 2010-08-04 03:52:24 UTC
There is a whole bunch of debian patches that get applied whole-sale during the building process and seem to be the cause of some problems. I tried changing some of the patches, and was able to get it further along, but still couldn't get it to work.

USE="opengl nvidia"

Output from current ebuild:

bin/sh ../../libtool --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../..    -DLINUX -I../../va -I/usr/include/libdrm   -O2 -march=amdfam10 -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -pipe -MT dri1_util.lo -MD -MP -MF .deps/dri1_util.Tpo -c -o dri1_util.lo dri1_util.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -DLINUX -I../../va -I/usr/include/libdrm -O2 -march=amdfam10 -mfpmath=sse -ftree-vectorize -fomit-frame-pointer -pipe -MT dri1_util.lo -MD -MP -MF .deps/dri1_util.Tpo -c dri1_util.c  -fPIC -DPIC -o .libs/dri1_util.o
dri1_util.c:38: error: static declaration of 'drmOpenOnce' follows non-static declaration
/usr/include/xf86drm.h:689: note: previous declaration of 'drmOpenOnce' was here
make[3]: *** [dri1_util.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/x11-libs/libva-0.31.1_p4/work/libva-0.31.1/va/x11'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libva-0.31.1_p4/work/libva-0.31.1/va'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libva-0.31.1_p4/work/libva-0.31.1'
make: *** [all] Error 2
 * ERROR: x11-libs/libva-0.31.1_p4 failed:

Reproducible: Always
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-04 21:15:08 UTC
Please attach full build.log and emerge --info
Comment 2 Reuben Martin 2010-08-10 21:49:51 UTC
Created attachment 242329 [details]
Emerge Info
Comment 3 Reuben Martin 2010-08-10 21:50:10 UTC
Created attachment 242331 [details]
Build Log
Comment 4 Alexis Ballier gentoo-dev 2011-09-09 14:14:49 UTC
should be fixed by 1.0.14, right ?