Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 219807 - x11-misc/basket-1.0.2 fails w/ gcc-4.3.0
Summary: x11-misc/basket-1.0.2 fails w/ gcc-4.3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-04-30 05:04 UTC by Peter Alfredsen (RETIRED)
Modified: 2008-04-30 17:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
basket-1.0.2-gcc43.patch (basket-1.0.2-gcc43.patch,757 bytes, patch)
2008-04-30 05:05 UTC, Peter Alfredsen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Alfredsen (RETIRED) gentoo-dev 2008-04-30 05:04:48 UTC
[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 'bnpview.cpp' || echo './'`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 'char QChar::latin1() const':
/usr/qt/3/include/qstring.h:194: warning: conversion to 'char' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/qt/3/include/qstring.h:219: warning: conversion to 'ushort' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/qt/3/include/qstring.h:220: warning: conversion to 'ushort' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/qt/3/include/qstring.h:264: warning: conversion to 'ushort' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' 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 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/qt/3/include/qevent.h:520: warning: conversion to 'unsigned char' from 'uint' 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 'void QSizePolicy::transpose()':
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' may alter its value
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' may alter its value
In file included from bnpview.cpp:28:
/usr/qt/3/include/qimage.h: In member function 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
bnpview.cpp: In member function 'void BNPView::lateInit()':
bnpview.cpp:141: warning: suggest explicit braces to avoid ambiguous 'else'
bnpview.cpp:139: warning: suggest explicit braces to avoid ambiguous 'else'
bnpview.cpp: In member function 'void BNPView::newFilter()':
bnpview.cpp:1031: warning: suggest explicit braces to avoid ambiguous 'else'
bnpview.cpp: In member function 'QPopupMenu* BNPView::popupMenu(const QString&)':
bnpview.cpp:1551: error: 'exit' 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 'char QChar::latin1() const':
/usr/qt/3/include/qstring.h:194: warning: conversion to 'char' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In member function 'void QChar::setCell(uchar)':
/usr/qt/3/include/qstring.h:219: warning: conversion to 'ushort' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In member function 'void QChar::setRow(uchar)':
/usr/qt/3/include/qstring.h:220: warning: conversion to 'ushort' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In constructor 'QChar::QChar(uchar, uchar)':
/usr/qt/3/include/qstring.h:264: warning: conversion to 'ushort' from 'int' may alter its value
/usr/qt/3/include/qstring.h: In constructor 'QStringData::QStringData(QChar*, uint, uint)':
/usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' may alter its value
/usr/qt/3/include/qstring.h:362: warning: conversion to 'unsigned int:30' from 'uint' 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 'void QDropEvent::setAction(QDropEvent::Action)':
/usr/qt/3/include/qevent.h:520: warning: conversion to 'unsigned char' from 'uint' 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 'void QSizePolicy::transpose()':
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' may alter its value
/usr/qt/3/include/qsizepolicy.h:122: warning: conversion to 'uchar' from 'uint' 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 'bool QImageTextKeyLang::operator<(const QImageTextKeyLang&) const':
/usr/qt/3/include/qimage.h:58: warning: suggest parentheses around && within ||
make[2]: Leaving directory `/var/tmp/portage/x11-misc/basket-1.0.2/work/basket-1.0.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/x11-misc/basket-1.0.2/work/basket-1.0.2'
make: *** [all] Error 2
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-30 05:05:40 UTC
Created attachment 151396 [details, diff]
basket-1.0.2-gcc43.patch

Fixes the problem. Snatched from Debian.
Comment 2 Matteo Azzali (RETIRED) gentoo-dev 2008-04-30 15:45:14 UTC
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 .
Comment 3 Matteo Azzali (RETIRED) gentoo-dev 2008-04-30 17:14:19 UTC
ops, closed
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-04-30 17:14:39 UTC
(In reply to comment #2)
> 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 .
> 

Using your ebuild, basket starts and stops and you can click around. Builds fine, patch is applied.