Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 340355 - kde-base/smoke-4.5.2 fails to buid with qt-4.7
Summary: kde-base/smoke-4.5.2 fails to buid with qt-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qt-4.7
  Show dependency tree
 
Reported: 2010-10-10 14:42 UTC by Andrei Slavoiu
Modified: 2010-10-29 11:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,165.31 KB, text/plain)
2010-10-10 14:44 UTC, Andrei Slavoiu
Details
qt-opengl-4.7.0.ebuild.patch (qt-opengl-4.7.0.ebuild.patch,366 bytes, patch)
2010-10-16 18:42 UTC, Andrei Slavoiu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrei Slavoiu 2010-10-10 14:42:06 UTC
Linking CXX shared library ../../lib/libsmokeqtopengl.so
CMakeFiles/smokeqtopengl.dir/x_1.o: In function `__smokeqtopengl::x_QGLContext::x_48(Smoke::StackItem*)':
/var/tmp/portage/kde-base/smoke-4.5.2/work/smoke-4.5.2_build/smoke/qtopengl/x_1.cpp:407: undefined reference to `QGLContext::tryVisual(QGLFormat const&, int)'
CMakeFiles/smokeqtopengl.dir/x_1.o: In function `__smokeqtopengl::x_QGLContext::x_30(Smoke::StackItem*)':
/var/tmp/portage/kde-base/smoke-4.5.2/work/smoke-4.5.2_build/smoke/qtopengl/x_1.cpp:313: undefined reference to `QGLContext::chooseVisual()'
CMakeFiles/smokeqtopengl.dir/x_1.o: In function `__smokeqtopengl::x_QGLContext::x_29(Smoke::StackItem*)':
/var/tmp/portage/kde-base/smoke-4.5.2/work/smoke-4.5.2_build/smoke/qtopengl/x_1.cpp:303: undefined reference to `QGLContext::tryVisual(QGLFormat const&, int)'
CMakeFiles/smokeqtopengl.dir/x_1.o: In function `__smokeqtopengl::x_QGLContext::chooseVisual()':
/var/tmp/portage/kde-base/smoke-4.5.2/work/smoke-4.5.2_build/smoke/qtopengl/x_1.cpp:482: undefined reference to `QGLContext::chooseVisual()'
CMakeFiles/smokeqtopengl.dir/x_1.o: In function `__smokeqtopengl::x_QGLContext::tryVisual(QGLFormat const&, int)':
/var/tmp/portage/kde-base/smoke-4.5.2/work/smoke-4.5.2_build/smoke/qtopengl/x_1.cpp:477: undefined reference to `QGLContext::tryVisual(QGLFormat const&, int)'
collect2: ld returned 1 exit status
make[2]: *** [lib/libsmokeqtopengl.so.3.0.0] Error 1
make[1]: *** [smoke/qtopengl/CMakeFiles/smokeqtopengl.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....

Reproducible: Always

Steps to Reproduce:
Comment 1 Andrei Slavoiu 2010-10-10 14:44:15 UTC
Created attachment 250121 [details]
build.log
Comment 2 Andrei Slavoiu 2010-10-10 14:45:37 UTC
Portage 2.2_rc89 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.1, glibc-2.12.1-r1, 2.6.36-rc6 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-2.6.36-rc6-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-gentoo-2.0.1
Timestamp of tree: Sun, 10 Oct 2010 13:45:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.68
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.5.1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://mirrors.evolva.ro/gentoo/gentoo-distfiles/ http://ftp.romnet.org/gentoo/ http://mirrors.xservers.ro/gentoo http://distfiles.gentoo.org"
LANG="ro_RO.UTF-8"
LC_ALL="ro_RO.UTF-8"
LDFLAGS="-Wl,-O1,--enable-new-dtags,-z,combreloc,--as-needed"
LINGUAS="ro en eo"
MAKEOPTS="-j5 -l8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/sunrise"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3ds 7zip X a52 aac aalib accessibility acl acpi aesicm agg aiglx akonadi alsa amd64 amr amrnb amrwb apache2 asf aspell audiofile autotrace bash-completion berkdb bittorrent bonjour branding bzip2 calendar caps captury ccache cddb cdinstall cdparanoia cdr chdir cisco clamav cli consolekit crypt css cups curl cxx dba dbus desktopglobe dga djvu dmi doc dpms dri dts dv dvd dvdr ebook egl emboss encode erandom examples exif expat faac faad fam fbcon fbcondecor festival ffmpeg fftw firefox flac flash fontconfig fortran ftp gcj gcrypt gd gdbm geoip gif git gles glib glut gmp gnokii gnutls gpm graphviz gsm hal hbci hddtemp hou htmlhandbook iconv icu id3tag idn imagemagick imlib inotify iodbc ipv6 jadetex java javascript jingle jpeg jpeg2k justify kde kdehiddenvisibility kdevplatform kerberos kig-scripting kipi kvm lame lcms ldap libcaca libclamav libffi libgcrypt libnl libnotify libsamplerate libssh2 libwww live llvm llvm-gcc lm_sensors lto lua lzma lzo mad maildir matroska mbrola melt metric mikmod mjpeg mmap mmx mmxext mng modules mp3 mp4 mplayer mppe-mppc mpx mudflap multilib musepack musicbrainz mysql mythtv ncurses network nls nodrm nowin nptl nptlonly odbc offensive ofx ogg openal opencore-amr openexr opengl openmp pam pango passwdqc pch pcntl pcre pdf perl phonon php physfs plasma plugins png policykit portage posix povray ppds pppd pth python python3 qalculate qt3support qt4 qthelp quicktime rdesktop readline reflection reiserfs rss rtc rtmp ruby samba sasl schroedinger sdk sdl semantic-desktop session slang sms sockets sou sound sox speex spell sql sqlite sqlite3 srtp sse sse2 sse3 ssl startup-notification subversion svg symlink sysfs syslog sysvipc taglib tcpd theora threads thumbnail tidy tiff timidity truetype tunepimp unicode usb vaapi vhook video videos visibility visualization vnc voice vorbis vpx webkit wifi wmf x264 xattr xcb xcomposite xine xml xml2 xmlrpc xmp xorg xpm xsl xulrunner xv xvid xvmc yahoo zeroconf zip zlib zvbi" ALSA_CARDS="bt87x via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul 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 cgi cgid 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="garmin" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en eo" LIRC_DEVICES="kworld" PHP_TARGETS="php-5.2" QEMU_SOFTMMU_TARGETS="arm i386 x86_64" QEMU_USER_TARGETS="arm armeb i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon r600 vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

kde-base/smoke-4.5.1 was built with the following:
USE="akonadi (multilib) phonon semantic-desktop webkit (-aqua) -attica -debug (-kdeenablefinal) (-kdeprefix) -multimedia -okular -qimageblitz -qscintilla -qwt"                                                                                                                               
Comment 3 Andrei Slavoiu 2010-10-16 18:42:03 UTC
Created attachment 250927 [details, diff]
qt-opengl-4.7.0.ebuild.patch

The problem was with the new egl use flag added to qt-opengl in version 4.7. This patch fixes the ebuild so that QT_EGL is defined in /usr/include/qt4/Gentoo/gentoo-qt-opengl-qconfig.h when the egl use flag is on.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2010-10-29 11:16:46 UTC
Fixed

Thanks for the patch