Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100762 - Can't emerge kde-base/kdegraphics-3.4.2 due to errors in qsizepolicy.h
Summary: Can't emerge kde-base/kdegraphics-3.4.2 due to errors in qsizepolicy.h
Status: RESOLVED DUPLICATE of bug 87799
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 15:57 UTC by Roel Brook
Modified: 2005-07-30 06:11 UTC (History)
0 users

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


Attachments
Full build log (gzip'd) (7162-kdegraphics-3.4.2.log.gz,8.48 KB, application/x-gzip)
2005-07-29 16:03 UTC, Roel Brook
Details
Full build log (gzip'd) ) (7168-kdegraphics-3.4.2.log.gz,31.53 KB, application/x-gzip)
2005-07-29 16:06 UTC, Roel Brook
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roel Brook 2005-07-29 15:57:54 UTC
When emerging kde-base/kdegraphics-3.4.2, the emerge dies with the following error:

/bin/sh ../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++
-DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include -I/usr/qt/3/include -I.  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef
-ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion
-Wchar-subscripts -Wall -W -Wpointer-arith -Wno-non-virtual-dtor -DNDEBUG
-DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse
-m3dnow -mfpmath=sse,387 -ffast-math -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION  -c -o thumbnailservice.lo `test -f 'thumbnailservice.cpp'
|| echo './'`thumbnailservice.cpp
/usr/qt/3/include/qsizepolicy.h: In member function 'void
QSizePolicy::setVerData(QSizePolicy::SizeType)':
/usr/qt/3/include/qsizepolicy.h:91: error: 'QSizePolicy::<anonymous enum>'
is/uses anonymous type
/usr/qt/3/include/qsizepolicy.h:91: error:   trying to instantiate
'template<class OutStream> OutStream& operator<<(OutStream&, const DisplayOptions&)'


I tried all suggestions on the forums, like emerging with MAKEOPTS="-j1", but it
won't work. Seems very similair to bug 68920, which was solved without a real
reason.

I get the same error when emerging 3.4.1, which is already installed (so it used
to work?)

Line 91 of qsizepolicy.h: 

    ExpandData expanding() const
    {
        return (ExpandData)( (int)(verData() & ExpMask ? Vertically : 0) |
                             (int)(horData() & ExpMask ? Horizontally : 0) );
    }

    void setHorData( SizeType d ) { data = (Q_UINT32)(data & ~HMask) | d; }
-->    void setVerData( SizeType d ) { data = (Q_UINT32)(data & ~(HMask << HSize)) |
                                           (d << HSize); }

    void setHeightForWidth( bool b ) { data = b ? (Q_UINT32)( data | ( 1 <<
2*HSize ) )
                                              : (Q_UINT32)( data & ~( 1 <<
2*HSize ) );  }
    bool hasHeightForWidth() const { return data & ( 1 << 2*HSize ); }

Strange detail: emerge does not give me a "failed" status message

Reproducible: Always
Steps to Reproduce:





Medusa# emerge info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-4.0.1, glibc-2.3.5-r0,
2.6.12-nitro5 i686)
=================================================================
System uname: 2.6.12-nitro5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.13
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
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
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse,387 -ffast-math"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks parallel-fetch sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://gd.tuwien.ac.at/opsys/linux/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="nl_NL@euro"
LC_ALL="nl_NL@euro"
LDFLAGS="-Wl,-O9 -Wl,--enable-new-dtags -Wl,--sort-common -s -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex 3dnowext X aalib alsa apache2 apm arts audiofile avi
bash-completion bitmap-fonts bonobo browserplugin bzip2 bzlib calender
cdparanoia cdr chipcard chroot crypt cups curl dba divx4linux dlloader dvd dvdr
dvdread eds emboss encode esd fam festival ffmpeg filepro firefox flac flatfile
font-server foomaticdb fortran ftp gd gdbm gif gnome gphoto2 gpm gstreamer gtk
gtk2 guile hal imagemagick imap imlib insecure-drivers java jpeg jpeg2k junit
kde kdgraphics ldap libg++ libwww live mad mikmod mime mmx mmxext mono motif
mozdevelop mozilla moznomail moznoxft mp3 mpeg mplayer msn mysql ncurses network
nls nptl nvidia odbc offensive ogg oggvorbis ooo-kde opengl pam patches pdflib
perl php pic png postgres python qmail qt quicktime readline real rplay samba
scanner sdk sdl session sftplogging slang softmmu speex spell sqlite sse ssl
startup-notification stroke svga tcltk tcpd threads tiff truetype truetype-fonts
type1-fonts unicode usb userlocales v4l v4l2 vorbis win32codecs wmf xine
xinerama xml xml2 xmms xprint xscreensaver xv xvid zlib video_cards_nvidia
linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET
Comment 1 Roel Brook 2005-07-29 16:03:12 UTC
Created attachment 64680 [details]
Full build log (gzip'd)
Comment 2 Roel Brook 2005-07-29 16:06:32 UTC
Created attachment 64682 [details]
Full build log (gzip'd) )

Sorry, that was the wrong one. That logs shows emerge with my default MAKEOPTS.
This log shows emerge with FEATURES="-ccache" MAKEOPTS="-j1"
Comment 3 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-30 01:42:48 UTC

*** This bug has been marked as a duplicate of 87799 ***