Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123007 - media-video/tuxzap-programs-0.5.4 fails (gcc-3.4.x compatibility?)
Summary: media-video/tuxzap-programs-0.5.4 fails (gcc-3.4.x compatibility?)
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-16 02:35 UTC by Greisberger Christophe
Modified: 2006-05-28 06:11 UTC (History)
2 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 Greisberger Christophe 2006-02-16 02:35:03 UTC
Emerge fails with the following error, that seems for me to be a compiler error. I have gcc-3.4.4

c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -DPTHREADS              -DHAVE_LIBA52           -DHAVE_LIBMAD           -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include                  -I..            -I/usr/local/include            -I/usr/lib/include              -I/usr/lib/include      -I/usr/include/libdvb    -Wall -c ntuxzap.cc
ntuxzap.cc: In function `int getList(CDKALPHALIST*, int)':
ntuxzap.cc:252: error: array bound forbidden after parenthesized type-id
ntuxzap.cc:252: note: try removing the parentheses around the type-id
ntuxzap.cc:263: error: array bound forbidden after parenthesized type-id
ntuxzap.cc:263: note: try removing the parentheses around the type-id
make[2]: *** [ntuxzap.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/tuxzap-programs-0.5.4/work/tuxzap_programs-0.5.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tuxzap-programs-0.5.4/work/tuxzap_programs-0.5.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-video/tuxzap-programs-0.5.4 failed.
!!! Function src_compile, Line 31, Exitcode 2
!!! compile failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 Christian Nilsson 2006-05-26 15:07:59 UTC
I have the same error here

# emerge -v tuxzap-programs
Calculating dependencies... done!
>>> Emerging (1 of 1) media-video/tuxzap-programs-0.5.4 to /
*** snip ***
c++  -Wall  -o cam_set  cam_set.o -L/usr/lib -ldvbci
c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -DPTHREADS             -DHAVE_LIBA52            -DHAVE_LIBMAD           -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include                  -I..            -I/usr/local/include            -I/usr/lib/include              -I/usr/lib/include      -I/usr/include/libdvb    -Wall -c rtuxzap.cc
rtuxzap.cc: In function `int main(int, char**)':
rtuxzap.cc:1427: warning: unused variable 'code'
rtuxzap.cc:1428: warning: unused variable 'c'
c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -DPTHREADS             -DHAVE_LIBA52            -DHAVE_LIBMAD           -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include                  -I..            -I/usr/local/include            -I/usr/lib/include              -I/usr/lib/include      -I/usr/include/libdvb    -Wall -c channel.cc
c++  -Wall  -o rtuxzap  rtuxzap.o channel.o dvb_formats.o               -L/usr/lib/ -ldvb               -la52 -lm       -lmad  -lncurses -lcdk  -lpthread       -L/usr/lib -ldvbmpegtools
c++ -DHAVE_CONFIG_H -I. -I. -I.. -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE   -DPTHREADS             -DHAVE_LIBA52            -DHAVE_LIBMAD           -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include                  -I..            -I/usr/local/include            -I/usr/lib/include              -I/usr/lib/include      -I/usr/include/libdvb    -Wall -c ntuxzap.cc
ntuxzap.cc: In function `int getList(CDKALPHALIST*, int)':
ntuxzap.cc:252: error: array bound forbidden after parenthesized type-id
ntuxzap.cc:252: note: try removing the parentheses around the type-id
ntuxzap.cc:263: error: array bound forbidden after parenthesized type-id
ntuxzap.cc:263: note: try removing the parentheses around the type-id
distcc[26242] ERROR: compile ntuxzap.cc on 192.168.0.253 failed
make[2]: *** [ntuxzap.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/tuxzap-programs-0.5.4/work/tuxzap_programs-0.5.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/tuxzap-programs-0.5.4/work/tuxzap_programs-0.5.4'
make: *** [all-recursive-am] Error 2

# emerge --info
Portage 2.1_rc2-r3 (default-linux/x86/2005.1, gcc-3.4.6, glibc-2.4-r2, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.20GHz
Gentoo Base System version 1.12.0
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer -momit-leaf-frame-pointer -fno-ident"
CHOST="i686-pc-linux-gnu"

# gcc -v
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/specs
Configured with: /var/tmp/portage/gcc-3.4.6-r1/work/gcc-3.4.6/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.6 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.6/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include/g++-v3 --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-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
gcc version 3.4.6 (Gentoo 3.4.6-r1, ssp-3.4.5-1.0, pie-8.7.9)
Comment 2 Matthias Schwarzott gentoo-dev 2006-05-28 06:11:43 UTC
Added a patch to the ebuild. Please report if it works.