<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>146058</bug_id>
          
          <creation_ts>2006-09-02 17:06 0000</creation_ts>
          <short_desc>[GCC 4.1] stabilize media-video/ksubtile-1.2</short_desc>
          <delta_ts>2006-09-09 15:41:05 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>2006.1</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>140707</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>8an@praha12.net</reporter>
          <assigned_to>media-video@gentoo.org</assigned_to>
          <cc>x86@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>8an@praha12.net</who>
            <bug_when>2006-09-02 17:06:32 0000</bug_when>
            <thetext>I found it during emerge -e world after upgrade to GCC-4.1, but I don&apos;t know if it&apos;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 &apos;csubtitles.cpp&apos; || echo &apos;./&apos;`csubtitles.cpp
csubtitles.h:63: error: </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>8an@praha12.net</who>
            <bug_when>2006-09-02 17:06:32 0000</bug_when>
            <thetext>I found it during emerge -e world after upgrade to GCC-4.1, but I don&apos;t know if it&apos;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 &apos;csubtitles.cpp&apos; || echo &apos;./&apos;`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&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ksubtile-1.1/work/ksubtile-1.1&apos;
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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O3 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo&quot;
CXXFLAGS=&quot;-O3 -march=pentium-m -pipe -fomit-frame-pointer -ffast-math&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig distlocks metadata-transfer sandbox sfperms strict&quot;
GENTOO_MIRRORS=&quot;ftp://ftp.linux.cz/pub/linux/gentoo ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo ftp://fi.muni.cz/pub/linux/gentoo&quot;
LINGUAS=&quot;en cs&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://gentoo.inode.at/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-09-02 17:12:21 0000</bug_when>
            <thetext>Can you try w/ 1.2, please?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>8an@praha12.net</who>
            <bug_when>2006-09-02 17:32:41 0000</bug_when>
            <thetext>(In reply to comment #1)
&gt; Can you try w/ 1.2, please?
&gt; 

Yes, ksubtile-1.2 emerged fine.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>8an@praha12.net</who>
            <bug_when>2006-09-02 17:44:38 0000</bug_when>
            <thetext>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 &lt;qdatetime.h&gt;
 #include &lt;qptrlist.h&gt;
 #include &lt;qtextcodec.h&gt;
+#include &lt;qtextstream.h&gt;

 /**Contains a number of subtitles
   *@author Tom Deblauwe
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>jakub@gentoo.org</who>
            <bug_when>2006-09-02 18:02:16 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; Yes, ksubtile-1.2 emerged fine.

Thanks. 

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>fauli@gentoo.org</who>
            <bug_when>2006-09-04 01:21:12 0000</bug_when>
            <thetext>
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=&quot;x86&quot;
AUTOCLEAN=&quot;yes&quot;
CBUILD=&quot;i686-pc-linux-gnu&quot;
CFLAGS=&quot;-O2&quot;
CHOST=&quot;i686-pc-linux-gnu&quot;
CONFIG_PROTECT=&quot;/etc /usr/share/X11/xkb&quot;
CONFIG_PROTECT_MASK=&quot;/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo&quot;
CXXFLAGS=&quot;-O2&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test&quot;
GENTOO_MIRRORS=&quot;ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/&quot;
LANG=&quot;de_DE@euro&quot;
LC_ALL=&quot;de_DE@euro&quot;
LINGUAS=&quot;de&quot;
MAKEOPTS=&quot;-j2&quot;
PKGDIR=&quot;/usr/portage/packages&quot;
PORTAGE_RSYNC_OPTS=&quot;--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=&apos;/distfiles&apos; --exclude=&apos;/local&apos; --exclude=&apos;/packages&apos;&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.informatik.rwth-aachen.de/gentoo-portage&quot;
USE=&quot;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&quot;
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ticho@gentoo.org</who>
            <bug_when>2006-09-09 15:41:05 0000</bug_when>
            <thetext>x86 stable, closing bug, as we&apos;re the only arch</thetext>
          </long_desc>
      
    </bug>

</bugzilla>