Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 210477 - kde-base/ksudoku-4.0.1 - Fails to build - unset enviroment variable QT_QTOPENGL_LIBRARY (ADVANCED)
Summary: kde-base/ksudoku-4.0.1 - Fails to build - unset enviroment variable QT_QTOPEN...
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:
Depends on:
Blocks:
 
Reported: 2008-02-17 15:08 UTC by Richard Morris
Modified: 2008-02-19 10:58 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 Richard Morris 2008-02-17 15:08:44 UTC
>>> Emerging (2 of 3) kde-base/ksudoku-4.0.1 to /
 * kdegames-4.0.1.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...              [ ok ]
 * checking ebuild checksums ;-) ...                                   [ ok ]
 * checking auxfile checksums ;-) ...                                  [ ok ]
 * checking miscfile checksums ;-) ...                                 [ ok ]
 * checking kdegames-4.0.1.tar.bz2 ;-) ...                             [ ok ]
>>> Unpacking source...
 * Unpacking parts of kdegames-4.0.1.tar.bz2 to /var/tmp/portage/kde-base/ksudoku-4.0.1/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/kde-base/ksudoku-4.0.1/work/ksudoku-4.0.1 ...
-- 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
-- GGZ: Success: ggz-config was found.
-- GGZ: Warning: Out-of-prefix installation, no registration unless GGZ_FORCEREGISTRY is given.
-- GGZ: Warning: KDE games will not be found by GGZ clients.
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ ggz-client-libs
+ OpenGL
Congratulations! All external packages have been found.
-----------------------------------------------------------------------------

CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
QT_QTOPENGL_LIBRARY (ADVANCED)

-- Configuring done
 *
 * ERROR: kde-base/ksudoku-4.0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2734:  Called kde4-meta_src_compile
 *             environment, line 2129:  Called kde4-meta_src_configure
 *             environment, line 2135:  Called kde4-base_src_configure
 *             environment, line 1909:  Called cmake-utils_src_configureout
 *             environment, line  700:  Called die
 * The specific snippet of code:
 *       cmake ${cmakeargs} "${S}" || die "Cmake failed";
 *  The die message:
 *   Cmake 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/ksudoku-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/ksudoku-4.0.1/temp/environment'.
 *

 * Messages for package kde-base/ksudoku-4.0.1:

 *
 * ERROR: kde-base/ksudoku-4.0.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2734:  Called kde4-meta_src_compile
 *             environment, line 2129:  Called kde4-meta_src_configure
 *             environment, line 2135:  Called kde4-base_src_configure
 *             environment, line 1909:  Called cmake-utils_src_configureout
 *             environment, line  700:  Called die
 * The specific snippet of code:
 *       cmake ${cmakeargs} "${S}" || die "Cmake failed";
 *  The die message:
 *   Cmake 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/ksudoku-4.0.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/kde-base/ksudoku-4.0.1/temp/environment'.
 *

Reproducible: Always

Steps to Reproduce:
I've unmasked KDE4 following the guide at http://www.gentoo.org/proj/en/desktop/kde/kde4.xml



emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.2.3, glibc-2.7-r1, 2.6.23-gentoo-r6 i686)
=================================================================
System uname: 2.6.23-gentoo-r6 i686 Intel(R) Core(TM)2 CPU T5500 @ 1.66GHz
Timestamp of tree: Sun, 17 Feb 2008 12:00:03 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.3-r4, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
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.8.5-r3, 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.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LINGUAS="en_GB"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl addbookmarks administrator alias asf autoreplace berkdb bitmap-fonts bluetooth cli contactnotes cracklib crypt cups dbus deprecated dri dv dvbfoomaticdb fortran gdbm gimp gimpprint glitz gnutls gpm groupwise gsm gtk highlight iconv ipv6 irc isdnlog java libwww mdnsresponder-compat midi mmx mmxext mono msn mudflap mysql ncurses nls nptl nptlonly nsplugin openmp pam pcre perl pppd prediction python query-browser readline real reflection regex samba session sms spl sqlite sse sse2 ssl tcpd truetype-fonts type1-fonts unicodev4l v4l2 workbench x86 xcomposite xorg xscreensaver xvid yahoo zlib" ALSA_CARDS="hda-intel usb-audio" 
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 autoindexcache 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_magicnegotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 
CAMERAS="kodak fuji" 
ELIBC="glibc" 
INPUT_DEVICES="keyboard mouse evdev" 
KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 
LINGUAS="en_GB" 
USERLAND="GNU" 
VIDEO_CARDS="nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-02-18 20:49:19 UTC
emerge -pv x11-libs/qt:4 ?
Comment 2 Richard Morris 2008-02-19 00:13:54 UTC
[ebuild   R   ] x11-libs/qt-4.3.3  USE="accessibility cups dbus gif jpeg mysql png qt3support sqlite ssl zlib -debug -doc -examples -firebird -glib -mng -nas -nis -odbc -opengl -pch -postgres -sqlite3 -tiff -xinerama" INPUT_DEVICES="-wacom" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Bo Ørsted Andresen (RETIRED) gentoo-dev 2008-02-19 07:27:07 UTC
OK, so ksudoku seems to require x11-libs/qt:4 to be built with USE=opengl.
Comment 4 Ingmar Vanhassel (RETIRED) gentoo-dev 2008-02-19 10:58:54 UTC
Fixed in CVS, thanks for the report.