FS#12766 - nvidia 180.22-1 breaks mplayer compilation
Attached to Project:
Arch Linux
Opened by Tomasz (irfan) - Monday, 12 January 2009, 19:51 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 18 February 2009, 10:33 GMT
Opened by Tomasz (irfan) - Monday, 12 January 2009, 19:51 GMT
Last edited by Jan de Groot (JGC) - Wednesday, 18 February 2009, 10:33 GMT
|
Details
Description:
I've installed new nvidia and nvidia-utils (180.22-1) from testing, and now I can't compile properly some apps (for example deluge, mplayer). Please look at this http://bbs.archlinux.org/viewtopic.php?id=59500. I get segfaults during ./configure with new driver ...with nvidia 177.82-2 everything is ok. It's very strange. Maybe it is upstream bug, but I don't know. I have also kernel 2.6.28-3 from testing installed. |
This task depends upon
Closed by Jan de Groot (JGC)
Wednesday, 18 February 2009, 10:33 GMT
Reason for closing: Duplicate
Additional comments about closing: See bug 12592 . This is an issue with nvidia's libGL when used with fakeroot.
Wednesday, 18 February 2009, 10:33 GMT
Reason for closing: Duplicate
Additional comments about closing: See
I did a little bit of debugging in the ./configure script of mplayer. I added a call to sh after running each test program so I can do whatever I want in the same environment as the script... and I found out that it was somehow related to libGL. For example, when running the PNG test compiled with -lGL, it crashed (segfault) ; the same test compiled it without -lGL worked fine. I have no idea of the reason for this, and I couldn't find any relevant information with gdb.
Only workaround I found for now: replace --enable-gl by --disable-gl in the PKGBUILD. This way it compiles fine, but without GL support.
/usr/lib/libGL.so is owned by nvidia-utils 180.22-1
Nothing in /usr/local/lib, no lib/tls. It is really related to nvidia-180.22 (which breaks other things like Suspend to RAM on my laptop).
Checking for PNG support ... ./configure: line 94: 18838 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no (mismatch of library and header versions)
Checking for MNG support ... no
Checking for JPEG support ... ./configure: line 94: 18853 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no
Checking for PNM support ... yes
Checking for GIF support ... ./configure: line 94: 18862 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
./configure: line 94: 18870 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no
Did anyone make a report on mplayer upstream?
I am attaching the PKGBUILD i use, it doesnt contain all the dependencies, just the ones reported by namcap, when building with the segfaults. Its pretty simple and minimal featured.
Do you have a nVidia card with the 180.22 driver?
As far as I know, this bug hasn't been reported upstream yet.
Many people are complaining about it anyway (on http://www.nvnews.net/vbulletin/forumdisplay.php?f=14 for example). This driver is really unstable and crappy; maybe the packages maintainers should consider downgrading both packages.
Checking for PNG support ... ./configure: line 94: 5262 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no (mismatch of library and header versions)
Checking for JPEG support ... ./configure: line 94: 5279 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no
Checking for freetype >= 2.0.9 ... ./configure: line 94: 5674 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no
Checking for libmp3lame ... ./configure: line 94: 29936 Segmentation fault "$TMPEXE" >> "$TMPLOG" 2>&1
no (in libavcodec: no)
with the latest mplayer export snapshot.
I dont see how nvidia would brake lame.
Building with --asroot works great.