Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342657 - x11-drivers/xf86-video-nouveau-0.0.16_pre20101010: fails to compile on ~amd64
Summary: x11-drivers/xf86-video-nouveau-0.0.16_pre20101010: fails to compile on ~amd64
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-25 18:17 UTC by Alex Brandt (RETIRED)
Modified: 2010-12-12 14:28 UTC (History)
2 users (show)

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


Attachments
Build Log (build.log,9.78 KB, text/plain)
2010-10-25 18:18 UTC, Alex Brandt (RETIRED)
Details
emerge --info (emerge-info.txt,4.45 KB, text/plain)
2010-10-25 18:19 UTC, Alex Brandt (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Brandt (RETIRED) gentoo-dev 2010-10-25 18:17:54 UTC
Seems that there is a typo in the source that stops this application from compiling.  Not sure if this is a Gentoo bug or an upstream bug (if I get time I'll do a bit more investigation).



Reproducible: Always

Steps to Reproduce:
1. emerge -av1 =xf86-video-nouveau-0.0.16_pre20101010
2. wait for compiler error
3. 

Actual Results:  
Errors out with the message:


nv_dma.c: In function 'NVInitDma':
nv_dma.c:75: warning: passing argument 4 of 'nouveau_channel_alloc' makes integer from pointer without a cast
/usr/include/nouveau/nouveau_channel.h:51: note: expected 'int' but argument is of type 'struct nouveau_channel **'
nv_dma.c:75: error: too few arguments to function 'nouveau_channel_alloc'


Expected Results:  
The driver should compile and install cleanly without error.
Comment 1 Alex Brandt (RETIRED) gentoo-dev 2010-10-25 18:18:22 UTC
Created attachment 251947 [details]
Build Log
Comment 2 Alex Brandt (RETIRED) gentoo-dev 2010-10-25 18:19:29 UTC
Created attachment 251949 [details]
emerge --info
Comment 3 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-25 18:48:49 UTC
What is your version of libdrm?
Comment 4 Alex Brandt (RETIRED) gentoo-dev 2010-10-25 19:54:02 UTC
I am using libdrm-9999.  I've tried updating it but I will also try dropping to a more stable release and see if that changes anything.
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-10-25 20:02:35 UTC
There has been a libdrm interface break after the 2.4.22 release. Presently if you want to use one of mesa,libdrm,xf86-video-nouveau from git, you must install all from git.
Comment 6 Alex Brandt (RETIRED) gentoo-dev 2010-10-25 20:44:43 UTC
That was the problem. Thanks for the assistance.
Comment 7 Mario Bachmann 2010-12-11 09:50:34 UTC
I just installed x11-libs/libdrm-2.4.23 and  media-libs/mesa-7.9 and x11-drivers/xf86-video-nouveau-0.0.16_pre20101010 could not be compiled, 

Back to x11-libs/libdrm-2.4.22 and everything works fine again. 

what is the recommended solution? 
thanks.
Comment 8 Bernardo Costa 2010-12-12 14:13:31 UTC
(In reply to comment #7)
> I just installed x11-libs/libdrm-2.4.23 and  media-libs/mesa-7.9 and
> x11-drivers/xf86-video-nouveau-0.0.16_pre20101010 could not be compiled, 
> 
> Back to x11-libs/libdrm-2.4.22 and everything works fine again. 
Same here, ~x86.

> what is the recommended solution? 
> thanks.
> 

Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-12-12 14:28:50 UTC
Please report a new bug if you are seeing build errors with the latest stable or ~arch packages.

The latest ~arch packages are at the time of writing:
xf86-video-nouveau-0.0.16_pre20101130
libdrm-2.4.23
mesa-7.9-r1