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

Bug 126287

Summary: Compilatio of media-video/avidemux-2.0.42-r1/2.1_pre1 fails with gcc-4.1
Product: Gentoo Linux Reporter: Tobias Klausmann (RETIRED) <klausman>
Component: EclassesAssignee: Marc Hildebrand (RETIRED) <zypher>
Status: RESOLVED FIXED    
Severity: normal CC: kristiaan.lenaerts, langthang, media-video, patrizio.bassi, rockoo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 117482    
Attachments: extra qualification fix

Description Tobias Klausmann (RETIRED) gentoo-dev 2006-03-15 04:47:05 UTC
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/malloc  -
I.. -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o ADM_edRender.o ADM_edRender.cpp                                                        i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/malloc  -
I.. -IADM_library -I../ADM_library  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o ADM_edit.o ADM_edit.cpp                                                                ADM_edRender.cpp:471:3: warning: #warning FIXME should be FF_I_TYPE/B/P
ADM_edit.cpp:1139:2: warning: #warning FIXME, does not work if audio track is sh
orter                                                                           ../ADM_inpics/ADM_pics.h:41: error: extra qualification 'picHeader::' on member 
'read32'                                                                        ../ADM_inpics/ADM_pics.h:42: error: extra qualification 'picHeader::' on member 
'read16'                                                                        ../ADM_inpics/ADM_pics.h:43: error: extra qualification 'picHeader::' on member 
'read8'                                                                         make[3]: *** [ADM_edit.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/avidemux-2.0.42-r1/work/avidemux-2.
0.42/avidemux/ADM_editor'                                                       make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.0.42-r1/work/avidemux-2.
0.42/avidemux'                                                                  make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.0.42-r1/work/avidemux-2.
0.42'                                                                           make: *** [all] Error 2

!!! ERROR: media-video/avidemux-2.0.42-r1 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile


# emerge --info
Portage 2.1_pre6-r2 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r0, 2.6.16-r
c6 i686)                                                                        =================================================================
System uname: 2.6.16-rc6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]                                                                              dev-lang/python:     2.3.5-r2, 2.4.2-r1
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-r2
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="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share
/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"                                                    CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv
 usersandbox"                                                                   GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo
 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"                         MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bi
tmap-fonts browserplugin bzip2 bzlib crypt cups curlwrappers divx4linux dri dv dvd dvdread dxr3 emboss encode ethereal exif exiscan exiscan-acl fame fftw font-server foomaticdb fortran ftp gdbm gif gimpprint gnutls gpm gstreamer gtk gtk2 icq imap imlib jabber jpeg kdeenablefinal libg++ libwww mad maildir mailwrapper mikmod mmap mmx mng motif mp3 mpeg mpi ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline recode sdl sndfile spell sse ssl svg sysvipc tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wmf wxwindows xml2 xmms xpm xv xvid yv12 zlib elibc_glibc kernel_linux userland_GNU"                                        Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS

# gcc -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /var/tmp/portage/gcc-4.1.0/work/gcc-4.1.0/configure --prefix=/u
sr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.1.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.1.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.1.0/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libssp --disable-libgcj --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu                                                                 Thread model: posix
gcc version 4.1.0 (Gentoo 4.1.0)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 05:02:38 UTC
Reopen if you have the same issue 2.1_pre1
Comment 2 Tobias Klausmann (RETIRED) gentoo-dev 2006-03-15 05:20:39 UTC
Unmasked and compiled:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/js -DXP_UNIX    -I.. -IADM_library -I../ADM_library -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o ADM_edRender.o ADM_edRender.cpp
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I/usr/include/js -DXP_UNIX    -I.. -IADM_library -I../ADM_library -march=prescott -O2 -pipe -fomit-frame-pointer -O2 -falign-loops=16 -c -o ADM_edit.o ADM_edit.cpp
ADM_edRender.cpp:500:3: warning: #warning FIXME should be FF_I_TYPE/B/P
ADM_edit.cpp:1209:2: warning: #warning FIXME, does not work if audio track is shorter
../ADM_inpics/ADM_pics.h:47: error: extra qualification 'picHeader::' on member 'read32'
../ADM_inpics/ADM_pics.h:48: error: extra qualification 'picHeader::' on member 'read16'
../ADM_inpics/ADM_pics.h:49: error: extra qualification 'picHeader::' on member 'read8'
../ADM_mpegdemuxer/dmx_io.h:67: error: extra qualification 'fileParser::' on member 'read32i'
../ADM_mpegdemuxer/dmx_io.h:87: error: extra qualification 'fileParser::' on member 'read16i'
../ADM_mpegdemuxer/dmx_io.h:107: error: extra qualification 'fileParser::' on member 'read8i'
../ADM_mpegdemuxer/dmx_demuxerPS.h:98: error: extra qualification 'dmx_demuxerPS::' on member 'read16i'
../ADM_mpegdemuxer/dmx_demuxerPS.h:115: error: extra qualification 'dmx_demuxerPS::' on member 'read32i'
../ADM_mpegdemuxer/dmx_demuxerTS.h:111: error: extra qualification 'dmx_demuxerTS::' on member 'read16i'
../ADM_mpegdemuxer/dmx_demuxerTS.h:128: error: extra qualification 'dmx_demuxerTS::' on member 'read32i'
make[3]: *** [ADM_edit.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/avidemux-2.1_pre1/work/avidemux_2.1_step1/avidemux/ADM_editor'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/avidemux-2.1_pre1/work/avidemux_2.1_step1/avidemux'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/avidemux-2.1_pre1/work/avidemux_2.1_step1'
make: *** [all] Error 2

!!! ERROR: media-video/avidemux-2.1_pre1 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile
Comment 3 Hanno Zysik (geki) 2006-03-20 11:54:19 UTC
Created attachment 82697 [details, diff]
extra qualification fix
Comment 4 Tobias Klausmann (RETIRED) gentoo-dev 2006-03-21 02:46:28 UTC
Patch applies cleanly with 2.0.42 (r1) and seems to fix the problem.

It semy-cleanly applies to 2.1_pre1 but there seem to remain a few extra qualifications.
Comment 5 Patrizio Bassi 2006-04-08 08:35:55 UTC
2.0.24 patch works, please apply to portage.
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2006-04-13 22:28:07 UTC
I added the patch to FILESDIR for now.  Please make sure it makes it into your next patchset please :)
Comment 7 Mark Loeser (RETIRED) gentoo-dev 2006-04-19 17:33:04 UTC
*** Bug 116015 has been marked as a duplicate of this bug. ***