Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283905 - www-plugins/gnash-0.8.5 does not find kde4 headers
Summary: www-plugins/gnash-0.8.5 does not find kde4 headers
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Romain Perier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-07 00:40 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2009-09-08 21:24 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,177.23 KB, text/plain)
2009-09-07 00:42 UTC, Chí-Thanh Christopher Nguyễn
Details
build.log (build.log,18.03 KB, text/plain)
2009-09-08 11:06 UTC, Chí-Thanh Christopher Nguyễn
Details
gnash-0.8.5-klash.patch (gnash-0.8.5-klash.patch,4.12 KB, patch)
2009-09-08 11:59 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
gnash-0.8.5-moc-qt4.patch (gnash-0.8.5-moc-qt4.patch,622 bytes, patch)
2009-09-08 13:14 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff
gnash-0.8.5-r1.ebuild.patch (gnash-0.8.5-r1.ebuild.patch,1.47 KB, patch)
2009-09-08 13:27 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-07 00:40:31 UTC
Emerging www-plugins/gnash-0.8.5 with USE="kde" fails in configure because it does not find kde4 headers.

Reproducible: Always

Steps to Reproduce:
1. USE="kde" emerge gnash
Actual Results:  
(cached) configure: error: /usr/include directory doesn't contain any KDE 4.x headers

Expected Results:  
build successfully

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-x86_64-AMD_Phenom-tm-_II_X4_B50_Processor-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 07 Sep 2009 00:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=amdfam10"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=amdfam10"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en fa vi"
MAKEOPTS="-j4"
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/layman/java-overlay /usr/local/portage/layman/mozilla /usr/local/portage/layman/x11 /usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage/"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dts dvd dvdr emboss encode evo fam firefox flac fortran gcj gdbm gif gpm gtk hal iconv ipv6 isdnlog java jpeg kde ldap libnotify mad mikmod mmx mng mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid 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 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="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en fa vi" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-07 00:42:08 UTC
Created attachment 203330 [details]
config.log
Comment 2 Andrew John Hughes 2009-09-07 12:39:54 UTC
Same here: 

(cached) configure: error: /usr/include directory doesn't contain any KDE 4.x headers

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/www-plugins/gnash-0.8.5/work/gnash-0.8.5/config.log
 * 
 * ERROR: www-plugins/gnash-0.8.5 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_configure
 *             environment, line 3953:  Called econf '--disable-dependency-tracking' '--disable-kparts3' '--enable-nspr' '--enable-expat' '--enable-jpeg' '--enable-png' '--enable-gif' '--enable-ungif' '--disable-cygnal' '--disable-docbook' '--enable-ghelp' '--enable-xpcom' '--enable-npapi' '--enable-kparts4' '--enable-nls' '--disable-npapi' '--enable-speex' '--enable-speexdsp' '--disable-i810-lod-bias' '--enable-z' '--enable-gui=gtk,kde4,sdl' '--with-qt4-incl=/usr/include/qt4' '--with-qt4-lib=/usr/lib64/qt4' '--with-kde4-incl=/usr/include' '--with-kde4-configdir=/usr/share/config' '--with-kde4-prefix=/usr' '--with-kde4-lib=/usr/lib64/kde4' '--with-kde-appsdatadir=/usr/share/apps/klash' '--with-kde4-servicesdir=/usr/share/services' '--enable-renderer=ogl' '--enable-media=ffmpeg'
Comment 3 Romain Perier (RETIRED) gentoo-dev 2009-09-08 09:06:17 UTC
Could you attach the build.log too ?
Comment 4 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-08 11:06:25 UTC
Created attachment 203473 [details]
build.log
Comment 5 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-08 11:59:26 UTC
Created attachment 203481 [details, diff]
gnash-0.8.5-klash.patch

Patch adapted from Alt Linux to fix klash support

Note that this still does not allow gnash to build with USE="kde" as it does not find qt4 includes/libraries. I am looking into it.
Comment 6 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-08 13:14:52 UTC
Created attachment 203493 [details, diff]
gnash-0.8.5-moc-qt4.patch

Patch to make gnash find moc and uic properly, taken from http://savannah.gnu.org/bugs/?25758
Comment 7 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-08 13:27:48 UTC
Created attachment 203496 [details, diff]
gnash-0.8.5-r1.ebuild.patch

Patch to updated ebuild.

Changes:
* To build successfully on amd64, I needed to resurrect the patch from bug 230287
* Gnash configure script is broken and fails to set have_qt4 when --with-qt4-lib is set, but autodetects properly.
* KDE4 now lives in /usr/lib instead of /usr/lib/kde4
* src_install() now returns to the previous directory after installing klash
Comment 8 Romain Perier (RETIRED) gentoo-dev 2009-09-08 15:46:02 UTC
mhhhhh interesting fixes... :)
if you import the patch from bug 230287, then all is allright ?
thanks for feedback and help ;)
Comment 9 Chí-Thanh Christopher Nguyễn gentoo-dev 2009-09-08 20:45:32 UTC
(In reply to comment #8)
The patch is still in ${FILESDIR} so I just had to add it to the ebuild. And I was able to build gnash successfully now.
Btw, thank you for bringing Gnash on Gentoo back to life.
Comment 10 Romain Perier (RETIRED) gentoo-dev 2009-09-08 21:00:15 UTC
(In reply to comment #9)
> (In reply to comment #8)
> The patch is still in ${FILESDIR} so I just had to add it to the ebuild. And I
> was able to build gnash successfully now.
> 

ohhh god.. the patch is still in FILESDIR you're right !
so I'll fix it without a bump (usually a build fail doesn't need a revbump see our specs ;) )

thanks for your help :)

> Btw, thank you for bringing Gnash on Gentoo back to life.

hehe you're welcome ;)
Comment 11 Romain Perier (RETIRED) gentoo-dev 2009-09-08 21:24:06 UTC
+08 Sep 2009; Romain Perier <mrpouet@gentoo.org>
+  gnash-0.8.5.ebuild, +files/gnash-0.8.5-klash.patch,
+  +files/gnash-0.8.5-moc-qt4.patch:
+  Fix kde4 headers detection, moc and uic checks, Import patch from Linux
+  Alt to fix klash support, many thanks to Chi-Thanh Christopher Nguyen
+  <chithanh@cs.tu-berlin.de>. bug #283905.

I also re-applied the patch from bug 230287, thanks again ;)
Feel free to reopen this bug in case of problems