Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 176513

Summary: media-sound/mumble-0.9.4 build error
Product: Gentoo Linux Reporter: Perttu Luukko <perttu.luukko>
Component: Current packagesAssignee: Timothy Redaelli (RETIRED) <drizzt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description Perttu Luukko 2007-04-29 21:42:37 UTC
media-sound/mumble-0.9.4 fails to compile with plenty of errors like these:
BanEditor.h:36: error: invalid use of undefined type ‘struct QDialog’
BanEditor.h:41: error: ISO C++ forbids declaration of ‘QListWidget’ with no type

It seems someone else is having the same problem at http://forums.gentoo.org/viewtopic-t-550894.html.

The server component, murmur, compiles fine. I've already tested to build mumble with LDFLAGS="", but it makes no difference. Besides LDFLAGS="-Wl,-O1", there shouldn't be anything funny with my setup. Please see the attached emerge --info and build.log for more details.

Reproducible: Always

Steps to Reproduce:
emerge mumble
Actual Results:  
!!! ERROR: media-sound/mumble-0.9.4 failed.
Comment 1 Perttu Luukko 2007-04-29 21:44:34 UTC
Created attachment 117678 [details]
emerge --info
Comment 2 Perttu Luukko 2007-04-29 21:44:59 UTC
Created attachment 117680 [details]
build.log
Comment 3 Timothy Redaelli (RETIRED) gentoo-dev 2007-04-29 22:08:39 UTC
Can i know the actual qt USE flags?
Can you try to enable qt3support for qt and recompile qt and mumble if it's not already enabled?
Comment 4 Perttu Luukko 2007-04-29 22:29:00 UTC
Thanks for the swift reply.

I have x11-libs/qt-4.2.3-r1 built with USE="cups dbus gif jpeg mng opengl png qt3support sqlite3 zlib -accessibility -debug -doc -examples -firebird -glib -mysql -nas -nis -odbc -pch -postgres -sqlite -xinerama" INPUT_DEVICES="-wacom"
Comment 5 Perttu Luukko 2007-05-01 17:19:44 UTC
I modified the 0.9.4 ebuild to fetch the sources from svn instead, and the svn version compiles fine. There's a few updates in mumble's svn titled "Update for QT 4.2.0" or "Updates for connectdialog in qt 4.2", so could this be an issue with qt-4.2?
Comment 6 Timothy Redaelli (RETIRED) gentoo-dev 2007-05-01 20:39:26 UTC
The ebuild posted on the forum is wrong.
I found the problem and I fixed it forcing >=gcc-3.4
Comment 7 Perttu Luukko 2007-05-01 21:05:39 UTC
Okay, good. I hope your fix works for me too :)
The svn version seems to work perfectly, though.
I didn't use the ebuild from the forums btw.