Bug 146058 - [GCC 4.1] stabilize media-video/ksubtile-1.2
Bug#: 146058 Product:  Gentoo Linux Version: 2006.1 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: media-video@gentoo.org Reported By: 8an@praha12.net
Component: Ebuilds
URL: 
Summary: [GCC 4.1] stabilize media-video/ksubtile-1.2
Keywords:  
Status Whiteboard: 
Opened: 2006-09-02 17:06 0000
Description:   Opened: 2006-09-02 17:06 0000
I found it during emerge -e world after upgrade to GCC-4.1, but I don't know if
it's caused by GCC4, as I had it installed since December. ksubtile-1.2 emerged
without problems.

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG
-O2 -O3 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common  -c -o csubtitles.o `test -f 'csubtitles.cpp' || echo
'./'`csubtitles.cpp
csubtitles.h:63: error: 

------- Comment #1 From Lukas Turek 2006-09-02 17:06:32 0000 -------
I found it during emerge -e world after upgrade to GCC-4.1, but I don't know if
it's caused by GCC4, as I had it installed since December. ksubtile-1.2 emerged
without problems.

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../src
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include 
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wall -pedantic -W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG
-O2 -O3 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math
-Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new
-fno-common  -c -o csubtitles.o `test -f 'csubtitles.cpp' || echo
'./'`csubtitles.cpp
csubtitles.h:63: error: ‘QTextStream’ has not been declared
make[2]: *** [csubtitle.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/ksubtile-1.1/work/ksubtile-1.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ksubtile-1.1/work/ksubtile-1.1'
make: *** [all] Error 2


Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-suspend2-r3 i686)
=================================================================
System uname: 2.6.17-suspend2-r3 i686 Intel(R) Pentium(R) M processor 1.73GHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.linux.cz/pub/linux/gentoo
ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://fi.muni.cz/pub/linux/gentoo"
LINGUAS="en cs"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.inode.at/gentoo-portage"
USE="x86 X aac alsa audiofile bzip2 cdr crypt cups curl dri dvd dvdread encode
exif ffmpeg flac gif gpm idn imagemagick imlib jpeg jpeg2k kde kdeenablefinal
kdehiddenvisibility lcms mad mmx mng mp3 mpeg ncurses nls nodrm nptl nsplugin
ogg opengl pam pic png qt3 quicktime readline real samba sdl slang speex sse
sse2 ssl symlink tcpd tiff truetype udev unicode vorbis wmf xml xv xvid zlib
elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics
kernel_linux linguas_en linguas_cs userland_GNU video_cards_radeon
video_cards_r300"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #2 From Jakub Moc (RETIRED) 2006-09-02 17:12:21 0000 -------
Can you try w/ 1.2, please?

------- Comment #3 From Lukas Turek 2006-09-02 17:32:41 0000 -------
(In reply to comment #1)
> Can you try w/ 1.2, please?
> 

Yes, ksubtile-1.2 emerged fine.

------- Comment #4 From Lukas Turek 2006-09-02 17:44:38 0000 -------
I also looked again at 1.1, the fix is trivial:

--- ksubtile-1.1-orig/src/csubtitles.h  2004-12-29 13:47:03.000000000 +0100
+++ ksubtile-1.1/src/csubtitles.h       2006-09-03 02:38:41.000000000 +0200
@@ -22,6 +22,7 @@
 #include <qdatetime.h>
 #include <qptrlist.h>
 #include <qtextcodec.h>
+#include <qtextstream.h>

 /**Contains a number of subtitles
   *@author Tom Deblauwe

------- Comment #5 From Jakub Moc (RETIRED) 2006-09-02 18:02:16 0000 -------
(In reply to comment #2)
> Yes, ksubtile-1.2 emerged fine.

Thanks. 

------- Comment #6 From Christian Faulhammer 2006-09-04 01:21:12 0000 -------
1) emerges fine
2) passes collision test
3) works

Portage 2.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3,
2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
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"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash
/etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer
parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa arts artworkextra asf audiofile avi
bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo
cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus
dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds emacs emboss
encode esd evo exif expat fam fat fbcon ffmpeg firefox fortran ftp gb gcj gdbm
gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap ipv6
isdnlog java javascript jikes jpeg jpeg2k ldap leim libg++ lm_sensors mad
maildir matroska mbox mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mule
nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc ogg
opengl pam pcre pdf pdflib perl plotutils pmu png ppds pppd preview-latex print
python qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang
spell spl sse ssl svg svga t1lib tcltk tcpd tetex theora thunderbird tiff
truetype truetype-fonts type1-fonts udev usb vcd videos vorbis win32codecs wmf
wxwindows xine xml xorg xosd xv xvid zlib elibc_glibc input_devices_mouse
input_devices_keyboard kernel_linux linguas_de userland_GNU video_cards_radeon
video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #7 From Andrej Kacian (RETIRED) 2006-09-09 15:41:05 0000 -------
x86 stable, closing bug, as we're the only arch