Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118175 - media-libs/libmustux-0.20.2-r1 doesn't compile with gcc-3.4.5
Summary: media-libs/libmustux-0.20.2-r1 doesn't compile with gcc-3.4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 129249 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-01-07 05:42 UTC by Jouni Rinne
Modified: 2006-10-01 22:08 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jouni Rinne 2006-01-07 05:42:57 UTC
After updating gcc to version 3.4.5 I was running an 'emerge -e world', when it halted on libmustux-0.20.2-r1 with the following error:

<snip>
make[1]: Entering directory `/var/tmp/portage/libmustux-0.20.2-r1/work/libmustux-0.20.2'
if /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/qt/3/include -DQT_THREAD_SUPPORT  -I/usr/include -D_REENTRANT -D_ALSA -O2 -march=athlon-xp -pipe -MT MustuxApplication.lo -MD -MP -MF ".deps/MustuxApplication.Tpo" \
  -c -o MustuxApplication.lo `test -f 'MustuxApplication.cc' || echo './'`MustuxApplication.cc; \
then mv -f ".deps/MustuxApplication.Tpo" ".deps/MustuxApplication.Plo"; \
else rm -f ".deps/MustuxApplication.Tpo"; exit 1; \
fi
if /bin/sh ./libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.    -I/usr/qt/3/include -DQT_THREAD_SUPPORT  -I/usr/include -D_REENTRANT -D_ALSA -O2 -march=athlon-xp -pipe -MT MustuxAudioDeviceMapper.lo -MD -MP -MF ".deps/MustuxAudioDeviceMapper.Tpo" \
  -c -o MustuxAudioDeviceMapper.lo `test -f 'MustuxAudioDeviceMapper.cc' || echo './'`MustuxAudioDeviceMapper.cc; \
then mv -f ".deps/MustuxAudioDeviceMapper.Tpo" ".deps/MustuxAudioDeviceMapper.Plo"; \
else rm -f ".deps/MustuxAudioDeviceMapper.Tpo"; exit 1; \
fi
mkdir .libs
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -I/usr/include -D_REENTRANT -D_ALSA -O2 -march=athlon-xp -pipe -MT MustuxAudioDeviceMapper.lo -MD -MP -MF .deps/MustuxAudioDeviceMapper.Tpo -c MustuxAudioDeviceMapper.cc  -fPIC -DPIC -o .libs/MustuxAudioDeviceMapper.o
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -I/usr/include -D_REENTRANT -D_ALSA -O2 -march=athlon-xp -pipe -MT MustuxApplication.lo -MD -MP -MF .deps/MustuxApplication.Tpo -c MustuxApplication.cc  -fPIC -DPIC -o .libs/MustuxApplication.o
In file included from MustuxAudioDeviceMapper.cc:17:
MustuxAudioDeviceMapper.hh:163: error: explicit qualification in declaration of `snd_pcm_format_t MustuxAudioDeviceMapper::get_format(int)'
make[1]: *** [MustuxAudioDeviceMapper.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -I/usr/include -D_REENTRANT -D_ALSA -O2 -march=athlon-xp -pipe -MT MustuxApplication.lo -MD -MP -MF .deps/MustuxApplication.Tpo -c MustuxApplication.cc -o MustuxApplication.o >/dev/null 2>&1
make[1]: Leaving directory `/var/tmp/portage/libmustux-0.20.2-r1/work/libmustux-0.20.2'
make: *** [all] Error 2

!!! ERROR: media-libs/libmustux-0.20.2-r1 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! Error: emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Libmustux compiled earlier without errors with gcc-3.4.4, when I originally installed it.
Comment 1 Jouni Rinne 2006-01-07 05:45:32 UTC
Gentoo Base System version 1.12.0_pre13
Portage 2.1_pre3-r1 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-gentoo i686)
=================================================================
System uname: 2.6.15-gentoo i686 AMD Athlon(tm) XP 3000+
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="fi_FI.ISO-8859-1"
LINGUAS="fi"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac acpi alsa apm audiofile avi berkdb bitmap-fonts bmp bzip2 cdb cdr crypt cscope cups curl dga divx4linux dv dvd dvdread emboss encode esd ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint glut gmp gnome gnustep gpm gstreamer gtk gtk2 guile idn ieee1394 imagemagick imap imlib jack java jpeg kde ladcca lcms libg++ libwww lua mad matroska mikmod ming mjpeg mmap mmx mng motif mp3 mpeg mysql ncurses nls nodrm nptl nsplugin nvidia ogg oggvorbis openal opengl pcre pdflib perl png python qt quicktime readline real recode samba scanner sdl slang sndfile speex sqlite ssl svg tcltk tcpd tetex theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis win32codecs wmf xine xinerama xml xml2 xv xvmc zlib elibc_glibc kernel_linux linguas_fi userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS

Comment 2 Markus Pott 2006-01-08 07:08:38 UTC
The same issue on all of my boxes x86 and x86_64 too.
Also to re emerge the last version fails "media-libs/libmustux-0.20.2"
Comment 3 Patrizio Bassi 2006-03-05 10:59:46 UTC
same error with gcc 4
Comment 4 Patrizio Bassi 2006-03-27 23:46:26 UTC
protux has a new version 0.5.0, can you bump it?
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-04-08 08:20:51 UTC
*** Bug 129249 has been marked as a duplicate of this bug. ***
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-18 10:57:27 UTC
Patch added to last version.
Comment 7 Patrizio Bassi 2006-04-19 00:10:51 UTC
diego patch has wrong name:

!!! ERROR: media-libs/libmustux-0.20.2-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_unpack
  ebuild.sh, line 697:   Called src_unpack
  libmustux-0.20.2-r1.ebuild, line 28:   Called epatch '/usr/portage/media-libs/libmustux/files/libmustux-0.20.2-qualifications.patches'
  eutils.eclass, line 196:   Called die


the file is called libmustux-0.20.2-qualifications.patch
Comment 8 Patrizio Bassi 2006-04-19 00:27:34 UTC
i changed the patch name but it still fails:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. -I/usr/qt/3/include -DQT_THREAD_SUPPORT -I/usr/include -D_REENTRANT -D_ALSA -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -MT moc_MustuxJogMouseBoard.lo -MD -MP -MF .deps/moc_MustuxJogMouseBoard.Tpo -c moc_MustuxJogMouseBoard.cc  -fPIC -DPIC -o .libs/moc_MustuxJogMouseBoard.o
moc_MustuxJogMouseBoard.cc:12:2: error: #error "The header file 'MustuxJogMouseBoard.hh' doesn't include <QObject>."
moc_MustuxJogMouseBoard.cc:45: error: 'const QMetaObject MustuxJogMouseBoard::staticMetaObject' is not a static member of 'class MustuxJogMouseBoard'
moc_MustuxJogMouseBoard.cc:45: error: variable 'const QMetaObject MustuxJogMouseBoard::staticMetaObject' has initializer but incomplete type
moc_MustuxJogMouseBoard.cc:50: error: prototype for 'const QMetaObject* MustuxJogMouseBoard::metaObject() const' does not match any in class 'MustuxJogMouseBoard'
MustuxJogMouseBoard.hh:41: error: candidate is: virtual QMetaObject* MustuxJogMouseBoard::metaObject() const
moc_MustuxJogMouseBoard.cc:50: error: 'const QMetaObject* MustuxJogMouseBoard::metaObject() const' cannot be overloaded
MustuxJogMouseBoard.hh:41: error: with 'virtual QMetaObject* MustuxJogMouseBoard::metaObject() const'
moc_MustuxJogMouseBoard.cc: In member function 'const QMetaObject* MustuxJogMouseBoard::metaObject() const':
moc_MustuxJogMouseBoard.cc:52: error: cannot convert 'QMetaObject* (*)()' to 'const QMetaObject*' in return
moc_MustuxJogMouseBoard.cc: At global scope:
moc_MustuxJogMouseBoard.cc:55: error: no 'void* MustuxJogMouseBoard::qt_metacast(const char*)' member function declared in class 'MustuxJogMouseBoard'
moc_MustuxJogMouseBoard.cc: In member function 'void* MustuxJogMouseBoard::qt_metacast(const char*)':
moc_MustuxJogMouseBoard.cc:60: error: 'qt_metacast' is not a member of 'MustuxEngine'
moc_MustuxJogMouseBoard.cc: At global scope:
moc_MustuxJogMouseBoard.cc:63: error: 'int MustuxJogMouseBoard::qt_metacall' is not a static member of 'class MustuxJogMouseBoard'
moc_MustuxJogMouseBoard.cc:63: error: incomplete type 'QMetaObject' used in nested name specifier
moc_MustuxJogMouseBoard.cc:63: error: expected primary-expression before 'int'
moc_MustuxJogMouseBoard.cc:63: error: expected primary-expression before 'void'
moc_MustuxJogMouseBoard.cc:63: error: initializer expression list treated as compound expression
moc_MustuxJogMouseBoard.cc:64: error: expected ',' or ';' before '{' token
make[1]: *** [moc_MustuxJogMouseBoard.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/libmustux-0.20.2-r1/work/libmustux-0.20.2'
make: *** [all] Error 2

!!! ERROR: media-libs/libmustux-0.20.2-r1 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  libmustux-0.20.2-r1.ebuild, line 38:   Called die

!!! Error: emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

i have gcc 4.1.0
Comment 9 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-20 09:11:51 UTC
Reopening bug...

Sorry Patrizio, I actually overseen this, I do receive bugmails for this but hasn't been able to cope with the mails lately.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-20 09:26:11 UTC
Okay I fixed the patch name, but I still can build it fine with GCC 4.1

Do you have Qt4 installed perhaps?
Comment 11 Patrizio Bassi 2006-04-20 10:00:17 UTC
yes, i have, probably that's why...but i see the qt3 inclusion path there too..
Comment 12 Patrizio Bassi 2006-09-10 12:26:43 UTC
i tried today and it works, you can mark as fixed
Comment 13 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-01 22:08:24 UTC
Fixed then.