Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 304335 - gnash 0.8.6 fails to build with xulrunner 1.9.2 (missing mozilla-sdk/include/npapi.h)
Summary: gnash 0.8.6 fails to build with xulrunner 1.9.2 (missing mozilla-sdk/include/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Romain Perier (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 15:46 UTC by Andrew John Hughes
Modified: 2010-03-15 21:01 UTC (History)
7 users (show)

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


Attachments
gnash-0.8.6-xulrunner-1.9.2.patch (gnash-0.8.6-xulrunner-1.9.2.patch,968 bytes, text/plain)
2010-02-15 23:58 UTC, Jory A. Pratt
Details
emerge --info for failed build with proposed patch (emerge_info,6.06 KB, text/plain)
2010-03-05 09:11 UTC, Andrew Savchenko
Details
build.log for failed build with proposed patch (build.log.bz2,38.08 KB, application/bzip2)
2010-03-05 09:14 UTC, Andrew Savchenko
Details
environment for failed build with proposed patch (environment,145.17 KB, text/plain)
2010-03-05 09:14 UTC, Andrew Savchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew John Hughes 2010-02-10 15:46:25 UTC
make[3]: Entering directory `/var/tmp/portage/www-plugins/gnash-0.8.6/work/gnash-0.8.6/plugin'
make[3]: *** No rule to make target `mozilla-sdk/include/npapi.h', needed by `all-am'.  Stop.


Reproducible: Always

Steps to Reproduce:
1. emerge gnash
2.
3.




Portage 2.2_rc62 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo-r6.rivendell x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6.rivendell-x86_64-Intel-R-_Xeon-R-_CPU_X5482_@_3.20GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 10 Feb 2010 02:15:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11.1
sys-devel/binutils:  2.20
sys-devel/gcc:       4.4.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FSF-APPROVED-EXT @X11-LICENSES @PRESUMED-FOSS @CREATIVE-COMMONS TeX MOTIF popt"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=core2 -ggdb -mno-tls-direct-seg-refs"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=core2 -ggdb -mno-tls-direct-seg-refs"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.bytemark.co.uk/gentoo/ ftp://mirror.bytemark.co.uk/gentoo/ http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://mirror.qubenet.net/mirror/gentoo/ ftp://mirror.qubenet.net/mirror/gentoo/ http://gentoo.virginmedia.com/ ftp://gentoo.virginmedia.com/sites/gentoo "
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_GB"
MAKEOPTS="-j9"
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/gentoo/xmmsroot2-overlay /usr/local/gentoo/java-overlay /usr/local/gentoo/fixes-overlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bindist bluetooth branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cups curl cvs cxx dbus dga dirac djvu dri dts dv dvb dvd dvdr eds emacs emboss encode evo exif fam ffmpeg fftw firefox flac fontconfig fortran ftp fuse gcj gdbm gif gimp gnome gnutls gpm graphviz gstreamer gtk gtkhtml hal iconv idn ieee1394 imagemagick imap ipv6 java java5 javascript jbig jpeg jpeg2k kde ladspa lame latex lcms libass libcaca libnotify libsamplerate lzma lzo mad mbox mikmod mmap mmx mng modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nis nls nntp nptl nptlonly nsplugin ntp ogg openexr opengl openmp pam pch pcre pdf perl png policykit postgres ppds pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection sasl schroedinger sdl semantic-desktop session sndfile sox speex spell spl sse sse2 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd tga theora threads thunar tiff truetype unicode usb vorbis wavpack wmf x264 xattr xcomposite xft xml xmmsroot2 xorg xosd xprint xscreensaver xulrunner xv xvid zeroconf 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 R Bar-On 2010-02-15 16:49:27 UTC
any chance of getting this fixed soon?  It's really annoying to have gnash fail every time I update the system...
Comment 2 Dennis Schridde 2010-02-15 22:28:29 UTC
dupe of bug #302793
Comment 3 Jory A. Pratt gentoo-dev 2010-02-15 23:58:39 UTC
Created attachment 219833 [details]
gnash-0.8.6-xulrunner-1.9.2.patch

We no longer version headers by stable/unstable add support for >=1.9.2 via if/else statement. This is untested please test and report results here.
Comment 4 R Bar-On 2010-02-16 00:14:51 UTC
patch makes compile work.
Comment 5 Andrew Savchenko gentoo-dev 2010-03-05 09:11:13 UTC
This patch doesn't help me. I try to build gnash-0.8.6 with xulrunner-1.9.2-r2. Without patch it dies as noted above, with this patch it dies later:

Making all in xpcom
make[3]: Entering directory `/var/tmp/portage/www-plugins/gnash-0.8.6/work/gnash-0.8.6/plugin/xpcom'
/usr/lib/xulrunner-devel-1.9.2/bin/xpidl -m typelib -v -I/usr/share/idl/xulrunner-1.9.2/unstable iGnashComponent.idl
/usr/lib/xulrunner-devel-1.9.2/bin/xpidl -m header  -v -I/usr/share/idl/xulrunner-1.9.2/unstable iGnashComponent.idl
./iGnashComponent.idl:19: can't open included file nsISupports.idl for reading

input callback returned failure
./iGnashComponent.idl:19: can't open included file nsISupports.idl for reading

input callback returned failure
make[3]: *** [iGnashComponent.h] Error 2
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [iGnashComponent.xpt] Error 2
make[3]: Leaving directory `/var/tmp/portage/www-plugins/gnash-0.8.6/work/gnash-0.8.6/plugin/xpcom'

Full info will follow
Comment 6 Andrew Savchenko gentoo-dev 2010-03-05 09:11:50 UTC
Created attachment 222145 [details]
emerge --info for failed build with proposed patch
Comment 7 Andrew Savchenko gentoo-dev 2010-03-05 09:14:15 UTC
Created attachment 222147 [details]
build.log for failed build with proposed patch

Raw log is too large => compressed.
Comment 8 Andrew Savchenko gentoo-dev 2010-03-05 09:14:41 UTC
Created attachment 222149 [details]
environment for failed build with proposed patch
Comment 9 Andrew Savchenko gentoo-dev 2010-03-05 14:39:30 UTC
gnash-0.8.5-xpcom-idldir.patch was guilty for the failure.

I removed "/unstable" from the following string:
XPCOM_IDL_CFLAGS="-I`$PKG_CONFIG --variable=idldir libxul`/unstable"
Comment 10 Chí-Thanh Christopher Nguyễn gentoo-dev 2010-03-15 21:01:51 UTC
Should be fixed in 0.8.7, reopen if the issue still exists.