<?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>219807</bug_id>
          
          <creation_ts>2008-04-30 05:04 0000</creation_ts>
          <short_desc>x11-misc/basket-1.0.2 fails w/ gcc-4.3.0</short_desc>
          <delta_ts>2008-04-30 17:14:39 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>GCC Porting</component>
          <version>2007.0</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>198121</blocked>
          
          <everconfirmed>1</everconfirmed>
          <reporter>loki_val@gentoo.org</reporter>
          <assigned_to>kde@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-04-30 05:04:48 0000</bug_when>
            <thetext>[Somebody please fix the metadata.xml on this package. Herd: kde-misc.]
/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include -I/usr/include/gpgme -DQT_THREAD_SUPPORT  -D_REENTRANT -D_FILE_OFFSET_BITS=64  -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=i686 -mtune=athlon-xp -msse -mmmx -pipe -ggdb3 -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common  -c -o bnpview.lo `test -f &apos;bnpview.cpp&apos; || echo &apos;./&apos;`bnpview.cpp
In file included from /usr/qt/3/include/qwindowdefs.h:45,
                 from /usr/qt/3/include/qwidget.h:43,
                 from /usr/qt/3/include/qframe.h:43,
                 from /usr/qt/3/include/qwidgetstack.h:43,
                 from bnpview.cpp:24:
/usr/qt/3/include/qstring.h: In member function &apos;char QChar::latin1() const&apos;:
/usr/qt/3/include/qstring.h:194: warning: conversion to &apos;char&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In member function &apos;void QChar::setCell(uchar)&apos;:
/usr/qt/3/include/qstring.h:219: warning: conversion to &apos;ushort&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In member function &apos;void QChar::setRow(uchar)&apos;:
/usr/qt/3/include/qstring.h:220: warning: conversion to &apos;ushort&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In constructor &apos;QChar::QChar(uchar, uchar)&apos;:
/usr/qt/3/include/qstring.h:264: warning: conversion to &apos;ushort&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In constructor &apos;QStringData::QStringData(QChar*, uint, uint)&apos;:
/usr/qt/3/include/qstring.h:362: warning: conversion to &apos;unsigned int:30&apos; from &apos;uint&apos; may alter its value
/usr/qt/3/include/qstring.h:362: warning: conversion to &apos;unsigned int:30&apos; from &apos;uint&apos; may alter its value
In file included from /usr/qt/3/include/qobject.h:46,
                 from /usr/qt/3/include/qwidget.h:44,
                 from /usr/qt/3/include/qframe.h:43,
                 from /usr/qt/3/include/qwidgetstack.h:43,
                 from bnpview.cpp:24:
/usr/qt/3/include/qevent.h: In member function &apos;void QDropEvent::setAction(QDropEvent::Action)&apos;:
/usr/qt/3/include/qevent.h:520: warning: conversion to &apos;unsigned char&apos; from &apos;uint&apos; may alter its value
In file included from /usr/qt/3/include/qwidget.h:50,
                 from /usr/qt/3/include/qframe.h:43,
                 from /usr/qt/3/include/qwidgetstack.h:43,
                 from bnpview.cpp:24:
/usr/qt/3/include/qsizepolicy.h: In member function &apos;void QSizePolicy::transpose()&apos;:
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to &apos;uchar&apos; from &apos;uint&apos; may alter its value
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to &apos;uchar&apos; from &apos;uint&apos; may alter its value
In file included from bnpview.cpp:28:
/usr/qt/3/include/qimage.h: In member function &apos;bool QImageTextKeyLang::operator&lt;(const QImageTextKeyLang&amp;) const&apos;:
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around &amp;&amp; within ||
bnpview.cpp: In member function &apos;void BNPView::lateInit()&apos;:
bnpview.cpp:141: warning: suggest explicit braces to avoid ambiguous &apos;else&apos;
bnpview.cpp:139: warning: suggest explicit braces to avoid ambiguous &apos;else&apos;
bnpview.cpp: In member function &apos;void BNPView::newFilter()&apos;:
bnpview.cpp:1031: warning: suggest explicit braces to avoid ambiguous &apos;else&apos;
bnpview.cpp: In member function &apos;QPopupMenu* BNPView::popupMenu(const QString&amp;)&apos;:
bnpview.cpp:1551: error: &apos;exit&apos; was not declared in this scope
make[2]: *** [bnpview.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from archive.cpp:22:
/usr/qt/3/include/qstring.h: In member function &apos;char QChar::latin1() const&apos;:
/usr/qt/3/include/qstring.h:194: warning: conversion to &apos;char&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In member function &apos;void QChar::setCell(uchar)&apos;:
/usr/qt/3/include/qstring.h:219: warning: conversion to &apos;ushort&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In member function &apos;void QChar::setRow(uchar)&apos;:
/usr/qt/3/include/qstring.h:220: warning: conversion to &apos;ushort&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In constructor &apos;QChar::QChar(uchar, uchar)&apos;:
/usr/qt/3/include/qstring.h:264: warning: conversion to &apos;ushort&apos; from &apos;int&apos; may alter its value
/usr/qt/3/include/qstring.h: In constructor &apos;QStringData::QStringData(QChar*, uint, uint)&apos;:
/usr/qt/3/include/qstring.h:362: warning: conversion to &apos;unsigned int:30&apos; from &apos;uint&apos; may alter its value
/usr/qt/3/include/qstring.h:362: warning: conversion to &apos;unsigned int:30&apos; from &apos;uint&apos; may alter its value
In file included from /usr/qt/3/include/qobject.h:46,
                 from /usr/qt/3/include/qwidget.h:44,
                 from /usr/qt/3/include/qdialog.h:43,
                 from /usr/qt/3/include/qmessagebox.h:43,
                 from /usr/kde/3.5/include/kmessagebox.h:24,
                 from archive.cpp:29:
/usr/qt/3/include/qevent.h: In member function &apos;void QDropEvent::setAction(QDropEvent::Action)&apos;:
/usr/qt/3/include/qevent.h:520: warning: conversion to &apos;unsigned char&apos; from &apos;uint&apos; may alter its value
In file included from /usr/qt/3/include/qwidget.h:50,
                 from /usr/qt/3/include/qdialog.h:43,
                 from /usr/qt/3/include/qmessagebox.h:43,
                 from /usr/kde/3.5/include/kmessagebox.h:24,
                 from archive.cpp:29:
/usr/qt/3/include/qsizepolicy.h: In member function &apos;void QSizePolicy::transpose()&apos;:
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to &apos;uchar&apos; from &apos;uint&apos; may alter its value
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to &apos;uchar&apos; from &apos;uint&apos; may alter its value
In file included from /usr/kde/3.5/include/kaboutdata.h:25,
                 from aboutdata.h:24,
                 from global.h:26,
                 from archive.cpp:39:
/usr/qt/3/include/qimage.h: In member function &apos;bool QImageTextKeyLang::operator&lt;(const QImageTextKeyLang&amp;) const&apos;:
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around &amp;&amp; within ||
make[2]: Leaving directory `/var/tmp/portage/x11-misc/basket-1.0.2/work/basket-1.0.2/src&apos;
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/basket-1.0.2/work/basket-1.0.2&apos;
make: *** [all] Error 2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-04-30 05:05:40 0000</bug_when>
            <thetext>Created an attachment (id=151396)
basket-1.0.2-gcc43.patch

Fixes the problem. Snatched from Debian.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattepiu@gentoo.org</who>
            <bug_when>2008-04-30 15:45:14 0000</bug_when>
            <thetext>That was fast! However this link will explain that issue a bit better: http://www.bioinformatics.org/pipermail/ghemical-devel/2007-June/000685.html

Fixed metadata Tested working on gcc-4.2.3 , added in CVS, as I followed some
new QA requests about PATCHES , please test .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mattepiu@gentoo.org</who>
            <bug_when>2008-04-30 17:14:19 0000</bug_when>
            <thetext>ops, closed</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>loki_val@gentoo.org</who>
            <bug_when>2008-04-30 17:14:39 0000</bug_when>
            <thetext>(In reply to comment #2)
&gt; That was fast! However this link will explain that issue a bit better:
&gt; http://www.bioinformatics.org/pipermail/ghemical-devel/2007-June/000685.html
&gt; 
&gt; Fixed metadata Tested working on gcc-4.2.3 , added in CVS, as I followed some
&gt; new QA requests about PATCHES , please test .
&gt; 

Using your ebuild, basket starts and stops and you can click around. Builds fine, patch is applied.</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>151396</attachid>
            <date>2008-04-30 05:05 0000</date>
            <desc>basket-1.0.2-gcc43.patch</desc>
            <filename>basket-1.0.2-gcc43.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTnJ1YSBiYXNrZXQtMS4wLjIub3JpZy9zcmMvYmFja3VwLmNwcCBiYXNrZXQtMS4wLjIv
c3JjL2JhY2t1cC5jcHAKLS0tIGJhc2tldC0xLjAuMi5vcmlnL3NyYy9iYWNrdXAuY3BwCTIwMDct
MDQtMTIgMTM6Mzk6MTguMDAwMDAwMDAwICswMjAwCisrKyBiYXN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