Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 29300 - qtcups won't compile with gcc-3.3
Summary: qtcups won't compile with gcc-3.3
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-09-21 18:27 UTC by Brandy Westcott (RETIRED)
Modified: 2003-09-25 13:00 UTC (History)
0 users

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


Attachments
proposed qtcups-2.0-gcc-3.3 patch (qtcups-2.0-gcc-3.3.patch,448 bytes, patch)
2003-09-21 18:28 UTC, Brandy Westcott (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brandy Westcott (RETIRED) gentoo-dev 2003-09-21 18:27:12 UTC
Emerging qtcups with gcc-3.3 produces the following error: 
 
 
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/qt/2/include -I/usr/X11R6/include -O2 
-fno-exceptions -fno-check-new -Wall -pedantic -W -Wpointer-arith 
-Wmissing-prototypes -Wwrite-strings -Wno-long-long -fno-builtin 
-march=pentium4 -O2 -pipe -fomit-frame-pointer -c marginpreview.cpp  -fPIC 
-DPIC -o .libs/marginpreview.o 
marginpreview.cpp:21:41: pasting "::" and "white" does not give a valid 
preprocessing token 
marginpreview.cpp:23:37: pasting "::" and "black" does not give a valid 
preprocessing token 
marginpreview.cpp:27:40: pasting "::" and "darkGray" does not give a valid 
preprocessing token 
marginpreview.cpp:30:36: pasting "::" and "gray" does not give a valid 
preprocessing token 
make[2]: *** [marginpreview.lo] Error 1 
make[2]: Leaving directory 
`/var/tmp/portage/qtcups-2.0-r1/work/qtcups-2.0/qtcups' 
make[1]: *** [all-recursive] Error 1 
make[1]: Leaving directory `/var/tmp/portage/qtcups-2.0-r1/work/qtcups-2.0' 
make: *** [all-recursive-am] Error 2 
 
!!! ERROR: net-print/qtcups-2.0-r1 failed. 
!!! Function src_compile, Line 21, Exitcode 2 
!!! (no error message) 
 
 
Admitedly, qtcups is a very old package and is now no longer maintained 
upstream since it seems to have been superceeded by KDEPrint 
(http://printing.kde.org). However, since qt-2 is still in the portage 
tree, it is worthwhile keeping qtcups too. :) 
 
 
Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 
2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz 
ccache version 2.2 [enabled] 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config 
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ 
/usr/share/config" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox autoaddcvs ccache" 
GENTOO_MIRRORS="http://gentoo.oregonstate.edu 
http://www.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm avi crypt cups encode foomaticdb gif gpm jpeg gnome libg++ 
mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms 
xv zlib gtkhtml gdbm berkdb slang readline arts bonobo svga java X sdl tcpd 
pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl 3dfx 
cdr doc dvd sse tcltk tetex -3dnow"
Comment 1 Brandy Westcott (RETIRED) gentoo-dev 2003-09-21 18:28:35 UTC
Created attachment 18108 [details, diff]
proposed qtcups-2.0-gcc-3.3 patch
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2003-09-25 13:00:45 UTC
I took qtcups out of portage a few days ago amidst some other bug reports.

qt-2 will be leaving portage in the not too distant future as well.

(it's package.masked now as is).