Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 243258 - net-www/gnash-0.8.4 fails to emerge with USE="kde"
Summary: net-www/gnash-0.8.4 fails to emerge with USE="kde"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Alfredsen (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-22 18:20 UTC by Martin Walch
Modified: 2008-10-22 20:35 UTC (History)
0 users

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


Attachments
/var/tmp/portage/net-www/gnash-0.8.4/temp/build.log (build.log,414.38 KB, text/plain)
2008-10-22 18:22 UTC, Martin Walch
Details
/var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/config.log (config.log,218.38 KB, text/plain)
2008-10-22 18:27 UTC, Martin Walch
Details
/var/tmp/portage/net-www/gnash-0.8.4/temp/environment (environment,149.38 KB, text/plain)
2008-10-22 18:28 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2008-10-22 18:20:22 UTC
Gnash does not find qxembed.h which resides in /usr/kde/3.5/include and belongs to kde-base/kdelibs-3.5.9-r4:

kde.cpp:29:21: error: qxembed.h: No such file or directory

the use flags of emerge --info are not accurate, as I have modified them for gnash resulting in

USE="agg cairo dbus fbcon ffmpeg gstreamer gtk kde opengl qt3 sdl -nsplugin" VIDEO_CARDS="i810"

Reproducible: Always

Steps to Reproduce:




emerge --info                    
WARNING: repository at /usr/local/portage is missing a repo_name entry
Portage 2.2_rc12 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.7-r2, 2.6.25-gentoo-r7 x86_64)
=================================================================                                      
System uname: Linux-2.6.25-gentoo-r7-x86_64-Intel-R-_Core-TM-2_CPU_4300_@_1.80GHz-with-glibc2.2.5      
Timestamp of tree: Wed, 22 Oct 2008 07:15:01 +0000                                                     
ccache version 2.4 [enabled]                                                                           
app-shells/bash:     3.2_p33                                                                           
dev-java/java-config: 1.3.7, 2.1.6                                                                     
dev-lang/python:     2.5.2-r7                                                                          
dev-util/ccache:     2.4-r7                                                                            
dev-util/cmake:      2.6.1                                                                             
sys-apps/baselayout: 2.0.0                                                                             
sys-apps/openrc:     0.3.0-r1                                                                          
sys-apps/sandbox:    1.2.18.1-r2                                                                       
sys-devel/autoconf:  2.13, 2.61-r2                                                                     
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1                                      
sys-devel/binutils:  2.18-r3                                                                           
sys-devel/gcc-config: 1.4.0-r4                                                                         
sys-devel/libtool:   1.5.26                                                                            
virtual/os-headers:  2.6.23-r3                                                                         
ACCEPT_KEYWORDS="amd64"                                                                                
CBUILD="x86_64-pc-linux-gnu"                                                                           
CFLAGS="-O2 -fomit-frame-pointer -pipe -march=native -fgcse-after-reload"                              
CHOST="x86_64-pc-linux-gnu"                                                                            
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /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/terminfo /etc/texmf/web2c /etc/udev/rules.d"                                                                                    
CXXFLAGS="-O2 -fomit-frame-pointer -pipe -march=native -fgcse-after-reload"                                                                                                        
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.switch.ch/ftp/mirror/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j4"
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"
PORTDIR_OVERLAY="/usr/portage/local/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib accessibility acl acpi agg akode alsa amarok amd64 apache2 bash-completion berkdb blender-game bluetooth branding bzip2 cairo captury cdaudio cdr cdromcjk cli clucene cracklib crypt cups curl custom-cflags custom-cpuopts custom-optimization cviewer daap dbus designer-plugin dga dirac djvu dri dvd dvdnav dvdr dvdread dxr3 eds emacs embedded emboss encode evo fam fbcon ffmpeg fftw firefox fits flac fortran gcj gdbm ggi gif glibc-omitfp glitz gopher gpg gpm gstreamer hal hdri htmlhandbook iceweasel iconv imagemagick insecure-savers ipv6 isdnlog jabber jack java java5 java6 javascript jingle jpeg kde kdebuild kdecards kdeenablefinal kdehiddenvisibility kdepim kdm kerberos kontact ktts latex lcms ldap libcaca libnotify libwww lm_sensors logitech-mouse lua mad matroska mdnsresponder-compat midi mikmod mmx mng mp3 mpeg mpeg2 mudflap mule multilib musepack mysqlncurses nepomuk nls noamazon nova nptl nptlonly nsplugin offensive ogg ogg123 openal openexr opengl openmp oss pam pcre pdf perl plasma png posix povray ppds pppd python qt3 qt3support qt4 quicktime readline reflection reiser4 reiserfs schroedinger sdl sdl-image semantic-desktop sensord session sndfile solver songs sound speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd tetex theora threads tidy tiff timidity truetype type1 unicode usb visualization vorbis wav wavpack xcomposite xemacs xine xml xorg xosd xprint xscreensaver xulrunner xv zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="i810 nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Martin Walch 2008-10-22 18:22:30 UTC
Created attachment 169458 [details]
/var/tmp/portage/net-www/gnash-0.8.4/temp/build.log
Comment 2 Martin Walch 2008-10-22 18:27:36 UTC
Created attachment 169462 [details]
/var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/config.log
Comment 3 Martin Walch 2008-10-22 18:28:23 UTC
Created attachment 169464 [details]
/var/tmp/portage/net-www/gnash-0.8.4/temp/environment
Comment 4 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-22 18:47:01 UTC
try this and see if it works for you:
EXTRA_ECONF='--with-kde-incl=/usr/kde/3.5/include' emerge gnash
Comment 5 Martin Walch 2008-10-22 19:06:27 UTC
This helps finding the include file and more of the source is being compiled. Anyway, now the linker complains:

/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqt-mt

the context is:

x86_64-pc-linux-gnu-g++ -O2 -fomit-frame-pointer -pipe -march=native -fgcse-after-reload -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wl,-O1 -Wl,--as-needed -o .libs/kde-gnash kde_gnash-gnash.o kde_gnash-gui.o kde_gnash-Player.o kde_gnash-NullGui.o kde_gnash-gui_kde.o kde_gnash-kde_glue_agg.o kde_gnash-kde.o -I../libltdl -Wl,--export-dynamic  -L/usr/lib64 ../libamf/.libs/libgnashamf.so -L/lib ../libnet/.libs/libgnashnet.so ../libmedia/.libs/libgnashmedia.so -L/usr/lib ../libcore/.libs/libgnashcore.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libnet/.libs/libgnashnet.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libamf/.libs/libgnashamf.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libmedia/.libs/libgnashmedia.so /usr/lib64/libgstbase-0.10.so /usr/lib64/libSDL.so /usr/lib64/libggi.so /usr/lib64/libgii.so /usr/lib64/libXxf86dga.so /usr/lib64/libgg.so /usr/lib64/libaa.so -lncurses /usr/lib64/libcaca.so -lncursesw /usr/lib64/libglut.so /usr/lib/libGLU.so /usr/lib64/libGL.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXxf86vm.so /usr/lib64/libcucul.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libbase/.libs/libgnashbase.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so ../libbase/.libs/libgnashbase.so /usr/lib64/libjpeg.so /usr/lib64/libpng12.so /usr/lib64/libgif.so /usr/lib64/libSM.so /usr/lib64/libICE.so ../libbase/.libs/libltdlc.a /usr/lib64/libcurl.so /usr/lib64/libldap.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lboost_thread-mt -lboost_date_time-mt /usr/lib64/libgstpbutils-0.10.so /usr/lib64/libgstreamer-0.10.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lpthread /usr/lib64/libxml2.so -lz -lm /usr/lib64/libglib-2.0.so ../backend/.libs/libgnashagg.a -lkdeui -lkdecore -lqt-mt /usr/lib64/libagg.so /usr/lib64/libagggpc.so -lc -lrt /usr/lib64/libXi.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/liblber.so  -Wl,--rpath -Wl,/usr/lib64/gnash
x86_64-pc-linux-gnu-g++ -O2 -fomit-frame-pointer -pipe -march=native -fgcse-after-reload -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -Wl,-O1 -Wl,--as-needed -o .libs/sdl-gnash sdl_gnash-gnash.o sdl_gnash-gui.o sdl_gnash-Player.o sdl_gnash-NullGui.o sdl_gnash-gui_sdl.o sdl_gnash-sdl.o sdl_gnash-sdl_agg_glue.o -I../libltdl -Wl,--export-dynamic  -L/usr/lib64 ../libamf/.libs/libgnashamf.so -L/lib ../libnet/.libs/libgnashnet.so ../libmedia/.libs/libgnashmedia.so -L/usr/lib ../libcore/.libs/libgnashcore.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libnet/.libs/libgnashnet.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libamf/.libs/libgnashamf.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libmedia/.libs/libgnashmedia.so /usr/lib64/libgstbase-0.10.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libbase/.libs/libgnashbase.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libexpat.so ../libbase/.libs/libgnashbase.so /usr/lib64/libjpeg.so /usr/lib64/libpng12.so /usr/lib64/libgif.so ../libbase/.libs/libltdlc.a /usr/lib64/libcurl.so /usr/lib64/libldap.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lboost_thread-mt -lboost_date_time-mt /usr/lib64/libgstpbutils-0.10.so /usr/lib64/libgstreamer-0.10.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so /usr/lib64/libxml2.so -lz /usr/lib64/libglib-2.0.so /usr/lib64/libSDL.so /usr/lib64/libggi.so /usr/lib64/libgii.so /usr/lib64/libXxf86dga.so /usr/lib64/libgg.so /usr/lib64/libaa.so -lncurses -lm /usr/lib64/libcaca.so -lncursesw /usr/lib64/libglut.so /usr/lib/libGLU.so /usr/lib64/libGL.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXxf86vm.so /usr/lib64/libcucul.so -lpthread ../backend/.libs/libgnashagg.a /usr/lib64/libagg.so /usr/lib64/libagggpc.so -lc -lrt /usr/lib64/libXi.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/liblber.so  -Wl,--rpath -Wl,/usr/lib64/gnash                          
x86_64-pc-linux-gnu-g++ -O2 -fomit-frame-pointer -pipe -march=native -fgcse-after-reload -pthread -pthread -W -Wall -Wcast-align -Wcast-qual -Wpointer-arith -Wreturn-type -Wnon-virtual-dtor -Wunused -I../libltdl -Wl,-O1 -Wl,--as-needed -o .libs/gtk-gnash gtk_gnash-gnash.o gtk_gnash-gui.o gtk_gnash-Player.o gtk_gnash-NullGui.o gtk_gnash-gui_gtk.o gtk_gnash-gtk_glue_agg.o gtk_gnash-gtk.o -Wl,--export-dynamic  -L/usr/lib64 ../libbase/.libs/libltdlc.a ../backend/.libs/libgnashagg.a ../libamf/.libs/libgnashamf.so -L/lib ../libnet/.libs/libgnashnet.so ../libmedia/.libs/libgnashmedia.so -L/usr/lib ../libcore/.libs/libgnashcore.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libnet/.libs/libgnashnet.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libamf/.libs/libgnashamf.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libmedia/.libs/libgnashmedia.so /usr/lib64/libgstbase-0.10.so /usr/lib64/libSDL.so /usr/lib64/libggi.so /usr/lib64/libgii.so /usr/lib64/libXxf86dga.so /usr/lib64/libgg.so /usr/lib64/libaa.so -lncurses /usr/lib64/libcaca.so -lncursesw /usr/lib64/libglut.so /usr/lib/libGLU.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXxf86vm.so /usr/lib64/libcucul.so /var/tmp/portage/net-www/gnash-0.8.4/work/gnash-0.8.4/libbase/.libs/libgnashbase.so /usr/lib64/libgstpbutils-0.10.so /usr/lib64/libgstreamer-0.10.so /usr/lib64/libgthread-2.0.so ../libbase/.libs/libgnashbase.so /usr/lib64/libjpeg.so /usr/lib64/libgif.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libcurl.so /usr/lib64/libldap.so -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -lssl -lcrypto -lboost_thread-mt -lboost_date_time-mt /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libpangox-1.0.so /usr/lib64/libpango-1.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libexpat.so /usr/lib64/libagg.so /usr/lib64/libagggpc.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libxml2.so /usr/lib64/libglitz-glx.so /usr/lib64/libglitz.so /usr/lib64/libGL.so -lpthread /usr/lib64/libpng12.so -lz /usr/lib64/libXrender.so /usr/lib64/libpixman-1.so -lm -lc -lrt /usr/lib64/libXi.so /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -ldl /usr/lib64/liblber.so  -Wl,--rpath -Wl,/usr/lib64/gnash                            
/usr/lib/gcc/x86_64-pc-linux-gnu/4.3.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lqt-mt
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-22 19:56:06 UTC
If kdelibs-3.5.9-r4 is anything like kdelibs-3.5.10*, /usr/kde/3.5/bin/kde-config should exist. Does it? From your build.log it seems it doesn't.

If it does, it may be that your environment is simply out of date. Try doing this:
env-update&&source /etc/profile
then
echo "$PATH"|grep -i kde
should output something.

Comment 7 Martin Walch 2008-10-22 20:24:33 UTC
(In reply to comment #6)
> If kdelibs-3.5.9-r4 is anything like kdelibs-3.5.10*,
> /usr/kde/3.5/bin/kde-config should exist. Does it? From your build.log it seems
> it doesn't.
> 
> If it does, it may be that your environment is simply out of date. Try doing
> this:
> env-update&&source /etc/profile
> then
> echo "$PATH"|grep -i kde
> should output something.

You are right. My configuration was out of date. env-update solved it. Sorry for the noise.
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2008-10-22 20:35:42 UTC
I thought there was something funny about the error. It was nice to get that solved. Please don't hesitate to report any actual bugs you find :-).