Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 207940 - kde-base/{kalgebra,kdeedu}-4.0.0 doesn't compile w/ USE="opengl"
Summary: kde-base/{kalgebra,kdeedu}-4.0.0 doesn't compile w/ USE="opengl"
Status: RESOLVED FIXED
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:
: 207934 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-01-28 17:47 UTC by Liu DongMiao
Modified: 2008-01-29 01:41 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 Liu DongMiao 2008-01-28 17:47:17 UTC
its also bug #207934, i think.

$ cat build.log
>>> Unpacking source...
 * Unpacking parts of kdeedu-4.0.0.tar.bz2 to /var/tmp/portage/kde-base/kalgebra-4.0.0/work
 * Applying kdeedu-4.0.0-opengl.patch ...                                                              [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/kde-base/kalgebra-4.0.0/work/kalgebra-4.0.0 ...
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works
-- Check size of void*
-- Check size of void* - done
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++
-- Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works
-- Looking for Q_WS_X11
-- Looking for Q_WS_X11 - found
-- Looking for Q_WS_WIN
-- Looking for Q_WS_WIN - not found.
-- Looking for Q_WS_QWS
-- Looking for Q_WS_QWS - not found.
-- Looking for Q_WS_MAC
-- Looking for Q_WS_MAC - not found.
-- Found Qt-Version 4.3.3 (using /usr/bin/qmake)
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib/libX11.so
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS
-- Performing Test __KDE_HAVE_NO_THREADSAFE_STATICS - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Found KDE 4.0 include dir: /usr/kde/4.0/include
-- Found KDE 4 library dir: /usr/kde/4.0/lib
-- Found KDE4 kconfig_compiler preprocessor: /usr/kde/4.0/bin/kconfig_compiler
-- Found KDE4 automoc: /usr/kde/4.0/bin/kde4automoc
-- Found Readline: /lib/libncurses.so
--
-------------------------------------------------------------------------------
-- The following OPTIONAL packages were located on your system.              --
-- This software installation will have features provided by these packages. --
-------------------------------------------------------------------------------
+ GNU Readline
+ OpenGL

-- Configuring done
-- Generating done
-- Build files have been written to: /var/tmp/portage/kde-base/kalgebra-4.0.0/work/kalgebra_build
[  3%] Generating analitza_automoc.cpp
Scanning dependencies of target analitza
[  7%] [ 11%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza_automoc.o
Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/expression.o
[ 14%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/analitza.o
[ 18%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/container.o
/var/tmp/portage/kde-base/kalgebra-4.0.0/work/kalgebra-4.0.0/kalgebra/src/analitza/analitza.cpp: In member function 'Object* Analitza::simp(Object*)':
/var/tmp/portage/kde-base/kalgebra-4.0.0/work/kalgebra-4.0.0/kalgebra/src/analitza/analitza.cpp:1014: warning: 'lastdel' may be used uninitialized in this function
[ 22%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/operator.o
[ 25%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/exp.o
[ 29%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/variables.o
[ 33%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/object.o
[ 37%] Building CXX object kalgebra/src/CMakeFiles/analitza.dir/analitza/value.o
Linking CXX static library ../../lib/libanalitza.a
[ 37%] Built target analitza
[ 40%] [ 44%] Generating calgebra_automoc.cpp
Generating kalgebra_automoc.cpp
Scanning dependencies of target calgebra
Generating functionedit.moc
Generating algebra.moc
Generating graph2d.moc
Generating dictionary.moc
Generating expressionedit.moc
Generating varedit.moc
Generating consolehtml.moc
[ 48%] Building CXX object kalgebra/src/calgebra/CMakeFiles/calgebra.dir/calgebra_automoc.o
[ 51%] Building CXX object kalgebra/src/calgebra/CMakeFiles/calgebra.dir/main.o
Scanning dependencies of target kalgebra
/var/tmp/portage/kde-base/kalgebra-4.0.0/work/kalgebra-4.0.0/kalgebra/src/calgebra/main.cpp:71: warning: unused parameter 'argc'
/var/tmp/portage/kde-base/kalgebra-4.0.0/work/kalgebra-4.0.0/kalgebra/src/calgebra/main.cpp:71: warning: unused parameter 'argv'
Linking CXX executable calgebra
[ 55%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/kalgebra_automoc.o
[ 59%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/algebra.o
[ 59%] Built target calgebra
[ 62%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/consolehtml.o
[ 66%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/function.o
[ 70%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/functionedit.o
[ 74%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/varedit.o
[ 77%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/main.o
[ 81%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/algebrahighlighter.o
[ 85%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/expressionedit.o
[ 88%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/graph2d.o
[ 92%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/operatorsmodel.o
[ 96%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/dictionary.o
[100%] Building CXX object kalgebra/src/CMakeFiles/kalgebra.dir/functionimpl.o
Linking CXX executable kalgebra
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::set_solid()':
algebra.cpp:(.text+0xc8): undefined reference to `Graph3D::setMethod(Graph3D::Type)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::set_lines()':
algebra.cpp:(.text+0xe8): undefined reference to `Graph3D::setMethod(Graph3D::Type)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::set_dots()':
algebra.cpp:(.text+0x108): undefined reference to `Graph3D::setMethod(Graph3D::Type)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::new_func3d()':
algebra.cpp:(.text+0x29b): undefined reference to `Graph3D::setFunc(Expression const&)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::save3DGraph()':
algebra.cpp:(.text+0xff7): undefined reference to `Graph3D::toPixmap()'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::KAlgebra(QWidget*)':
algebra.cpp:(.text+0x2bf8): undefined reference to `Graph3D::Graph3D(QWidget*)'
CMakeFiles/kalgebra.dir/algebra.o: In function `KAlgebra::KAlgebra(QWidget*)':
algebra.cpp:(.text+0x4878): undefined reference to `Graph3D::Graph3D(QWidget*)'
collect2: ld returned 1 exit status
make[2]: *** [kalgebra/src/kalgebra] Error 1
make[1]: *** [kalgebra/src/CMakeFiles/kalgebra.dir/all] Error 2
make: *** [all] Error 2
 *
 * ERROR: kde-base/kalgebra-4.0.0 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_compile
 *             environment, line 2695:  Called kde4-meta_src_compile
 *             environment, line 2090:  Called kde4-meta_src_make
 *             environment, line 2125:  Called kde4-base_src_make
 *             environment, line 1885:  Called cmake-utils_src_make
 *             environment, line  688:  Called die
 * The specific snippet of code:
 *           emake "$@" || diefunc "$FUNCNAME" "$LINENO" "$?" "Make failed!";
 *  The die message:
 *   Make failed!
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/kde-base/kalgebra-4.0.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/kalgebra-4.0.0/temp/environment'.
 *

$ emerge --info
emerge --info
Portage 2.1.4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.24-gentoo i686)
=================================================================
System uname: 2.6.24-gentoo i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Timestamp of tree: Mon, 28 Jan 2008 12:00:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://dongmiao.name/ ftp://ftp3.tsinghua.edu.cn/mirror/gentoo/ http://gentoo.osuosl.org/ "
LINGUAS="en zh_CN"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/thom"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa bash-completion berkdb bitmap-fonts bzip2 cairo cjk cli cracklib crypt dbus dri dvd dvdread encode fam firefox fortran gdbm gif gpm gtk iconv imlib isdnlog jack jpeg kerberos ldap libwww mad midi mikmod mmx mng mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xcomposite xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Liu DongMiao 2008-01-28 17:49:58 UTC
*** Bug 207934 has been marked as a duplicate of this bug. ***
Comment 2 Liu DongMiao 2008-01-28 18:07:35 UTC
and i use USE="-opengl", it compile successfully. 
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2008-01-28 18:11:18 UTC
Eh, please don't resolve bugs that haven't been fixed in the tree.
Comment 4 Liu DongMiao 2008-01-28 18:15:02 UTC
(In reply to comment #3)
> Eh, please don't resolve bugs that haven't been fixed in the tree.
> 

sry, i think USE="-opengl" is a fixed way. and i will mail zlin@gentoo.org, he patch kalgebra, but it doesnt works..
Comment 5 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-01-28 19:19:07 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > Eh, please don't resolve bugs that haven't been fixed in the tree.
> 
> sry, i think USE="-opengl" is a fixed way. and i will mail zlin@gentoo.org,
> he patch kalgebra, but it doesnt works..

Heh, it's not like I don't read my bugmails.. I am on the kde alias.. We'll look into it..
Comment 6 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-01-29 01:41:14 UTC
Should be fixed in CVS now. In the future one bug report will do for both monolithic and split packages... Thanks.