Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86688 - boson-0.10 does not compile undefined reference
Summary: boson-0.10 does not compile undefined reference
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-25 10:46 UTC by Christof Schulze
Modified: 2005-04-26 12:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christof Schulze 2005-03-25 10:46:28 UTC
/usr/qt/3/bin/moc ./top.h -o top.moc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include/arts -I../bodebug -I.. -I../kgame -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -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 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new  -c -o top.o `test -f 'top.cpp' || echo './'`top.cpp
top.cpp: In member function `void TopWidget::slotPlayFieldChanged(const 
   QString&)':
top.cpp:474: warning: unused parameter `const QString&id'
top.cpp: In member function `void TopWidget::slotSaveGame(const QString&, const 
   QString&)':
top.cpp:555: warning: unused parameter `const QString&description'
top.cpp: In member function `void TopWidget::slotGameStarted()':
top.cpp:1093: warning: unused variable `int progress'
top.cpp: In member function `void TopWidget::slotLoadGame(KCmdLineArgs*)':
top.cpp:1133: warning: unused parameter `KCmdLineArgs*args'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/kde/3.4/include/arts -I../bodebug -I.. -I../kgame -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -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 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new  -c -o main.o `test -f 'main.cpp' || echo './'`main.cpp
/bin/sh ../libtool --silent --mode=link --tag=CXX i686-pc-linux-gnu-g++  -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 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new    -o boson -R /usr/kde/3.4/lib -R /usr/qt/3/lib -R /usr/lib -L/usr/lib -L/usr/qt/3/lib -L/usr/kde/3.4/lib  -Xlinker -export-dynamic top.o main.o ../boson/startupwidgets/libbosonstartupwidgets.la ../boson/libboson.la 
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x371d): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::plane() const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x372c): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::plane() const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3842): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::plane() const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x387a): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x38b5): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x38da): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3969): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x399c): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3a59): more undefined references to `QGLFormat::testOption(QGL::FormatOption) const' follow
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3a95): In function `BoContext::tryVisual(QGLFormat const&)':
: undefined reference to `QGLFormat::plane() const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3b7b): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::QGLFormat[in-charge]()'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3b8c): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::setDoubleBuffer(bool)'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3ba1): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3be6): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3bfa): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::setStereo(bool)'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3c1b): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3c2f): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::setAccum(bool)'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3c41): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::testOption(QGL::FormatOption) const'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3c5c): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::setStencil(bool)'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3c6e): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::setDoubleBuffer(bool)'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x3c8a): In function `BoContext::chooseVisual(bool)':
: undefined reference to `QGLFormat::setDoubleBuffer(bool)'
../boson/.libs/libboson.a(bosonglwidget.o)(.text+0x851c): In function `BosonGLWidget::convertToGLFormat(QImage const&)':
: undefined reference to `QGLWidget::convertToGLFormat(QImage const&)'
collect2: ld returned 1 exit status
make[3]: *** [boson] Error 1
make[3]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10/boson'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10/boson'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10'
make: *** [all] Error 2

!!! ERROR: games-strategy/boson-0.10 failed.


Reproducible: Always
Steps to Reproduce:
1. emerge boson
2.
3.

Actual Results:  
emerge stops

Expected Results:  
clean compile

 # emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20050125-r1, 2.6.
11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 27 2005, 20:18:35)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/
config /usr/kde/3.3/shutdown /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/share/config /usr/share/texmf/
dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /
usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://mir.zyrianes.net/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/deltup /usr/local/overlays/eigene /usr/local/
overlays/bmg-gnome-current.alternative /usr/local/overlays/gentoo-de /usr/local/
overlays/bmg-main.alternative"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 4kstacks X acpi acpi4linux alsa avi bash-completion bitmap-fonts bzlib cdr 
crypt dga dillo divx4linux dvd dvdr encode fbcon font-server ftp gtk gtk2 imagemagick 
imlib java jpeg mbox mime mmx mng mp3 mpeg mpeg4 mplayer nls nptl nptlonly oggvorbis 
opengl pam perl png python quicktime readline samba spell sse ssl tidy truetype 
truetype-fonts unicode xface xmms xv xvid linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-03-25 15:56:31 UTC
Can I see the output from emerge -evp boson please?  Attach it as text plain.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-03-26 11:38:23 UTC
reopen after providing that info.  thanks.
Comment 3 Christof Schulze 2005-03-27 07:42:57 UTC
Here it is - sorry I could not answer earlier...

17:41:32 eri ~ # emerge -evp boson

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] sys-devel/patch-2.5.9-r1  -build -debug -static 197 kB 
[ebuild  N    ] sys-libs/ncurses-5.4-r6  -bootstrap -build -debug -doc -gpm -minimal -nocxx +unicode 0 kB 
[ebuild  N    ] sys-devel/gettext-0.14.2  -emacs +nls 0 kB 
[ebuild  N    ] sys-apps/texinfo-4.8  -build -debug +nls -static 1,486 kB 
[ebuild  N    ] sys-apps/groff-1.19.1-r2  +X* -debug 2,567 kB 
[ebuild  N    ] sys-devel/libperl-5.8.6  -berkdb -debug -gdbm -ithreads -nocxx (-uclibc) 0 kB 
[ebuild  N    ] sys-process/cronbase-0.3.2  0 kB 
[ebuild  N    ] sys-apps/man-1.5p  -debug +nls 228 kB 
[ebuild  N    ] sys-apps/sed-4.1.4  -bootstrap -build -debug +nls -static 0 kB 
[ebuild  N    ] sys-libs/zlib-1.2.2  -build -debug 363 kB 
[ebuild  N    ] dev-python/python-fchksum-1.7.1  26 kB 
[ebuild  N    ] sys-apps/debianutils-2.13.1-r1  -build -debug -static 0 kB 
[ebuild  N    ] sys-devel/gnuconfig-20050223  0 kB 
[ebuild  N    ] app-shells/bash-3.0-r8  -build -debug +nls (-uclibc) 42 kB 
[ebuild  N    ] sys-libs/readline-5.0-r2  1,777 kB 
[ebuild  N    ] sys-devel/flex-2.5.4a-r6  -build -debug -static 385 kB 
[ebuild  N    ] sys-devel/bc-1.06-r6  -debug +readline* -static 272 kB 
[ebuild  N    ] sys-apps/diffutils-2.8.7-r1  -debug +nls -static 1,037 kB 
[ebuild  N    ] dev-libs/openssl-0.9.7e-r1  -debug -emacs (-uclibc) 5,105 kB 
[ebuild  N    ] dev-libs/expat-1.95.8  -test 310 kB 
[ebuild  N    ] dev-lang/python-2.3.5  +X -berkdb -bootstrap -build -debug -doc -gdbm -ipv6 -ncurses +readline +ssl -tcltk -ucs2 0 kB 
[ebuild  N    ] sys-apps/portage-2.0.51.19  -build -debug (-selinux) 0 kB 
*** Please update portage to the above version before proceeding.
    Failure to do so may result in failed or improper merges.
    A simple 'emerge -u portage' is sufficient.

[ebuild  N    ] sys-devel/gcc-config-1.3.10-r1  0 kB 
[ebuild  N    ] sys-kernel/linux26-headers-2.6.8.1-r2  -build 34,870 kB 
[ebuild  N    ] sys-apps/sysvinit-2.86  -bootstrap -build (-selinux) 96 kB 
[ebuild  N    ] sys-apps/baselayout-1.11.10-r4  -bootstrap -build -debug -livecd -static (-uclibc) 0 kB 
[ebuild  N    ] sys-libs/glibc-2.3.4.20050125-r1  -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl +nptlonly -pic -userlocales 0 kB 
[ebuild  N    ] sys-devel/binutils-config-1.8-r1  0 kB 
[ebuild  N    ] sys-devel/binutils-2.15.92.0.2-r7  -debug -multislot -multitarget +nls -test 0 kB 
[ebuild  N    ] sys-devel/m4-1.4.2-r1  +nls 337 kB 
[ebuild  N    ] sys-devel/bison-2.0  -debug +nls -static 1,136 kB 
[ebuild  N    ] sys-devel/gcc-3.4.3.20050110-r1  (-altivec) -bootstrap -boundschecking -build -debug -fortran -gcj +gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 0 kB 
[ebuild  N    ] dev-lang/perl-5.8.6-r4  -berkdb -debug -doc -gdbm -ithreads -perlsuid (-uclibc) 0 kB 
[ebuild  N    ] sys-libs/libstdc++-v3-3.3.4  -debug +nls 22,784 kB 
[ebuild  N    ] sys-devel/autoconf-2.13  433 kB 
[ebuild  N    ] sys-devel/autoconf-wrapper-2-r1  0 kB 
[ebuild  N    ] sys-devel/autoconf-2.59-r6  903 kB 
[ebuild  N    ] sys-devel/automake-1.5  514 kB 
[ebuild  N    ] sys-devel/automake-1.8.5-r3  647 kB 
[ebuild  N    ] sys-devel/automake-1.6.3  465 kB 
[ebuild  N    ] sys-devel/automake-1.7.9-r1  564 kB 
[ebuild  N    ] sys-devel/automake-1.4_p6  366 kB 
[ebuild  N    ] sys-devel/automake-wrapper-1-r1  0 kB 
[ebuild  N    ] sys-devel/automake-1.9.5  0 kB 
[ebuild  N    ] app-text/aspell-0.60.2  -debug -gpm 1,540 kB 
[ebuild  N    ] media-fonts/gnu-gs-fonts-std-8.11  3,664 kB 
[ebuild  N    ] dev-util/pkgconfig-0.15.0  596 kB 
[ebuild  N    ] sys-libs/cracklib-2.8.2  0 kB 
[ebuild  N    ] sys-libs/pam-0.78-r2  -berkdb -debug -nis -pam_chroot -pam_console -pam_timestamp -pwdb (-selinux) 0 kB 
[ebuild  N    ] sys-apps/shadow-4.0.7-r1  -debug +nls +pam (-selinux) -skey 0 kB 
[ebuild  N    ] sys-apps/pam-login-3.17  -livecd +nls (-selinux) 0 kB 
[ebuild  N    ] sys-fs/e2fsprogs-1.37  -debug -diet +nls -static (-uclibc) 0 kB 
[ebuild  N    ] sys-apps/grep-2.5.1-r7  -build -debug +nls -pcre -static (-uclibc) 667 kB 
[ebuild  N    ] sys-apps/gawk-3.1.4-r4  -build +nls -xml 0 kB 
[ebuild  N    ] app-crypt/hashalot-0.3  78 kB 
[ebuild  N    ] sys-apps/util-linux-2.12q  +crypt -debug +nls -old-crypt +pam +perl* (-selinux) -static 0 kB 
[ebuild  N    ] media-libs/libpng-1.2.8  -debug 375 kB 
[ebuild  N    ] media-libs/freetype-2.1.9-r1  -bindist -debug -doc -zlib 969 kB 
[ebuild  N    ] sys-devel/libtool-1.5.14  0 kB 
[ebuild  N    ] x11-misc/ttmkfdir-3.0.9-r2  -debug 19 kB 
[ebuild  N    ] app-arch/bzip2-1.0.2-r5  -build -debug -static 0 kB 
[ebuild  N    ] x11-base/opengl-update-2.1.1-r1  0 kB 
[ebuild  N    ] media-libs/fontconfig-2.2.3  732 kB 
[ebuild  N    ] x11-base/xorg-x11-6.8.2-r1  -3dfx -3dnow +bitmap-fonts -cjk -debug -dlloader -dmx -doc +font-server -hardened -insecure-drivers -ipv6 -minimal +mmx +nls +opengl +pam -sdk +sse -static +truetype-fonts -type1-fonts (-uclibc) -xprint +xv 0 kB 
[ebuild  N    ] sys-apps/file-4.12  -build -debug +python* 404 kB 
[ebuild  N    ] sys-apps/which-2.16  122 kB 
[ebuild  N    ] app-arch/cpio-2.6-r2  +nls 0 kB 
[ebuild  N    ] app-arch/rpm2targz-9.0-r2  2 kB 
[ebuild  N    ] sys-apps/utempter-0.5.5.5-r1  -debug 20 kB 
[ebuild  N    ] x11-terms/xterm-200  -Xaw3d -debug -toolbar +truetype +unicode 0 kB 
[ebuild  N    ] dev-libs/glib-2.6.3  -debug -doc 0 kB 
[ebuild  N    ] dev-libs/atk-1.8.0-r1  -debug -doc -static 0 kB 
[ebuild  N    ] media-libs/jpeg-6b-r4  -debug 598 kB 
[ebuild  N    ] x11-libs/pango-1.8.1  -debug -doc -static 0 kB 
[ebuild  N    ] dev-perl/XML-Parser-2.34  224 kB 
[ebuild  N    ] dev-util/intltool-0.32.1  121 kB 
[ebuild  N    ] dev-libs/libxml2-2.6.18  -debug -ipv6 +python +readline 0 kB 
[ebuild  N    ] x11-misc/shared-mime-info-0.14-r2  347 kB 
[ebuild  N    ] x11-libs/gtk+-2.6.4  -debug -doc +jpeg -static -tiff 0 kB 
[ebuild  N    ] app-text/ghostscript-7.07.1-r8  +X -cjk -cups -debug -emacs +gtk 5,273 kB 
[ebuild  N    ] sys-devel/make-3.80-r1  -build -debug +nls -static (-uclibc) 899 kB 
[ebuild  N    ] sys-kernel/gentoo-dev-sources-2.6.11-r4  -build -doc -symlink (-ultra1) 0 kB 
[ebuild  N    ] media-sound/alsa-headers-1.0.8  1,881 kB 
[ebuild  N    ] media-libs/alsa-lib-1.0.8  -doc -jack 666 kB 
[ebuild  N    ] dev-java/java-config-1.2.11  15 kB 
[ebuild  N    ] dev-java/blackdown-jre-1.4.2.01-r1  -mozilla 0 kB 
[ebuild  N    ] dev-java/blackdown-jdk-1.4.2.01-r2  -doc -mozilla 0 kB 
[ebuild  N    ] net-dns/libidn-0.5.13  -doc +java* +nls 1,919 kB 
[ebuild  N    ] net-nds/portmap-5b-r9  -debug (-selinux) -tcpd 18 kB 
[ebuild  N    ] app-admin/fam-2.7.0-r2  294 kB 
[ebuild  N    ] dev-libs/libpcre-5.0  -debug 454 kB 
[ebuild  N    ] dev-libs/libgpg-error-1.0-r1  +nls 316 kB 
[ebuild  N    ] dev-libs/libgcrypt-1.2.1  +nls 938 kB 
[ebuild  N    ] dev-libs/libxslt-1.1.13-r1  +crypt +python 0 kB 
[ebuild  N    ] kde-base/kde-env-3-r3  0 kB 
[ebuild  N    ] media-libs/libart_lgpl-2.3.17  -debug 0 kB 
[ebuild  N    ] media-libs/lcms-1.13  +jpeg +python* -tiff -zlib 572 kB 
[ebuild  N    ] media-libs/libmng-1.0.8  497 kB 
[ebuild  N    ] x11-libs/qt-3.3.4-r3  -cups -debug -doc -examples -firebird -gif -immqt -immqt-bc -ipv6 -mysql -nas -odbc +opengl -postgres -sqlite -xinerama -zlib 0 kB 
[ebuild  N    ] kde-base/kdelibs-3.4.0  +alsa -arts -cups -debug -doc -jpeg2k -kdeenablefinal -kerberos -openexr +spell +ssl -tiff -xinerama -zeroconf 0 kB 
[ebuild  N    ] media-libs/glut-3.7.1  2,479 kB 
[ebuild  N    ] media-libs/lib3ds-1.2.0  0 kB 
[ebuild  N    ] media-libs/libogg-1.1.2  410 kB 
[ebuild  N    ] media-libs/libvorbis-1.1.0  -aotuv -debug 1,281 kB 
[ebuild  N    ] media-libs/audiofile-0.2.6-r1  365 kB 
[ebuild  N    ] dev-lang/nasm-0.98.39  -build -doc 531 kB 
[ebuild  N    ] media-libs/libsdl-1.2.8-r1  +X -aalib +alsa -arts -debug +dga -directfb -esd +fbcon -ggi -libcaca -nas -noaudio -nojoystick -novideo +opengl -oss -svga -xinerama +xv 2,541 kB 
[ebuild  N    ] dev-libs/glib-1.2.10-r5  -debug 411 kB 
[ebuild  N    ] x11-libs/gtk+-1.2.10-r11  -debug +nls 2,880 kB 
[ebuild  N    ] media-libs/smpeg-0.4.4-r4  +X* -debug +gtk +opengl* 307 kB 
[ebuild  N    ] media-libs/openal-20040817  +alsa -arts -debug -esd +mpeg +oggvorbis -sdl 0 kB 
[ebuild  N    ] kde-base/arts-3.4.0  +alsa -arts -artswrappersuid -debug -esd -hardened -jack -kdeenablefinal -mad +oggvorbis -xinerama 0 kB 
[ebuild  N    ] games-strategy/boson-0.10  -arts -debug -kdeenablefinal +opengl -xinerama 0 kB 

Total size of downloads: 112,365 kB
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-03-27 09:27:48 UTC
remerge smpeg and qt and see if that helps.
Comment 5 Christof Schulze 2005-03-31 07:56:32 UTC
echo '#include "bosonnewgamewidgetbase.moc"' >> bosonnewgamewidgetbase.cpp
/bin/sh ../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../bodebug -I../../boson -I../../boson/bosonwidgets -I../.. -I../../kgame -I/usr/kde/3.4/include -I/usr/qt/3/include -I.   -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 -DNDEBUG -DNO_DEBUG -O2 -O2 -march=pentium4 -pipe -fomit-frame-pointer -fno-exceptions -fno-check-new  -c -o bosonnewgamewidgetbase.lo `test -f 'bosonnewgamewidgetbase.cpp' || echo './'`bosonnewgamewidgetbase.cpp
bosonnewgamewidgetbase.cpp: In constructor `
   BosonNewGameWidgetBase::BosonNewGameWidgetBase(QWidget*, const char*, 
   unsigned int)':
bosonnewgamewidgetbase.cpp:61: error: invalid use of undefined type `struct 
   KTextBrowser'
bosonnewgamewidgetbase.h:23: error: forward declaration of `struct KTextBrowser
   '
bosonnewgamewidgetbase.cpp:62: error: `setEnabled' undeclared (first use this 
   function)
bosonnewgamewidgetbase.cpp:62: error: (Each undeclared identifier is reported 
   only once for each function it appears in.)
bosonnewgamewidgetbase.cpp:63: error: incomplete type `KTextBrowser' does not 
   have member `WidgetWidth'
bosonnewgamewidgetbase.cpp:63: error: `setWordWrap' undeclared (first use this 
   function)
bosonnewgamewidgetbase.cpp:64: error: no matching function for call to `
   QVBoxLayout::addWidget(KTextBrowser*&)'
/usr/qt/3/include/qlayout.h:386: error: candidates are: void 
   QBoxLayout::addWidget(QWidget*, int, int)
bosonnewgamewidgetbase.cpp:138: error: invalid use of undefined type `struct 
   KListBox'
bosonnewgamewidgetbase.h:29: error: forward declaration of `struct KListBox'
bosonnewgamewidgetbase.cpp:139: error: `sizePolicy' undeclared (first use this 
   function)
bosonnewgamewidgetbase.cpp:139: error: `setSizePolicy' undeclared (first use 
   this function)
bosonnewgamewidgetbase.cpp:140: error: no matching function for call to `
   QVBoxLayout::addWidget(KListBox*&)'
/usr/qt/3/include/qlayout.h:386: error: candidates are: void 
   QBoxLayout::addWidget(QWidget*, int, int)
bosonnewgamewidgetbase.cpp:182: error: no matching function for call to `
   BosonNewGameWidgetBase::connect(KListBox*&, const char[33], 
   BosonNewGameWidgetBase* const, const char[35])'
/usr/qt/3/include/qobject.h:116: error: candidates are: static bool 
   QObject::connect(const QObject*, const char*, const QObject*, const char*)
/usr/qt/3/include/qobject.h:227: error:                 bool 
   QObject::connect(const QObject*, const char*, const char*) const
bosonnewgamewidgetbase.cpp: In member function `virtual void 
   BosonNewGameWidgetBase::languageChange()':
bosonnewgamewidgetbase.cpp:212: error: `setText' undeclared (first use this 
   function)
make[3]: *** [bosonnewgamewidgetbase.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10/boson/startupwidgets'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10/boson'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/boson-0.10/work/boson-all-0.10'
make: *** [all] Error 2

^
is what I get after remergin qt and smpeg
Comment 6 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-26 09:52:34 UTC
Qt and (at least) kdelibs need to be rebuild with opengl use flag enabled.
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-04-26 09:59:01 UTC
good call.  Now that I look more closely at the output from emerge -evp I see that several use flags have been changed since packages were first merged.  I suggest you look into the --newuse to emerge.

Since this looks like user error to me, I'm closing INVALID.
Comment 8 Christof Schulze 2005-04-26 10:11:09 UTC
Well recompiling qt with opengl solved it, but shouldn't portage catch this? in that case this is a portage bug...
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-04-26 10:22:08 UTC
Nope, it's user responsiblilty to rebuild packages when you change use flags.  emerge --newuse after change use flags would have prevented this error from showing up.
Comment 10 Christof Schulze 2005-04-26 10:30:11 UTC
hmm ok thinking about it again this makes sense, yet it would be a good feature that if use flags changed that portage tells the user that a package that is about to be emerged depends on something which was not compiled with the current useflags...
But wrong place here, I might add this as feature request.

Thanks for your help MrBones & Carsten
Comment 11 Carsten Lohrke (RETIRED) gentoo-dev 2005-04-26 11:44:26 UTC
>Nope, it's user responsiblilty to rebuild packages when you change use flags.

I don't agree. There's no rule that you need to set use flags globally. In fact we encourage to set specific use flags via package.use. That Portage doesn't provide the means yet, is an excuse. But we really need _to_try_ to reach determinism. I see a few minor issues with the ebuild. Shall I attach a revised one here or just commit (not today)?

Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2005-04-26 12:16:09 UTC
File an enhancement bug please.