x86_64-pc-linux-gnu-g++ -c -o plugin-support.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3 -frerun-loop-opt -ftracer -fprefetch-loop-arrays -fforce-addr -ftree-vectorize -Iinclude -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED Source/plugin-support.cpp In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/plugin.cpp:37: Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/nsScriptablePeer.cpp:48: Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/plugin.cpp:37: Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type Source/nsIScriptableMplayerPlugin.h:31: error: expected ‘;’ before ‘virtual’ Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type Source/nsIScriptableMplayerPlugin.h:126: error: expected ‘;’ before ‘virtual’ In file included from Source/plugin.h:54, from Source/plugin.cpp:37: Source/nsScriptablePeer.h: In member function ‘virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)’: Source/nsScriptablePeer.h:64: error: ‘nsIProgrammingLanguage’ has not been declared In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/plugin-support.cpp:1: Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/nsScriptablePeer.cpp:48: Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type Source/nsIScriptableMplayerPlugin.h:31: error: expected ‘;’ before ‘virtual’ Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type Source/nsIScriptableMplayerPlugin.h:126: error: expected ‘;’ before ‘virtual’ In file included from Source/plugin.h:54, from Source/nsScriptablePeer.cpp:48: Source/nsScriptablePeer.h: In member function ‘virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)’: Source/nsScriptablePeer.h:64: error: ‘nsIProgrammingLanguage’ has not been declared Source/plugin.cpp: In function ‘NPError NS_PluginInitialize()’: Source/plugin.cpp:101: warning: dereferencing type-punned pointer will break strict-aliasing rules Source/plugin.cpp: In member function ‘void nsPluginInstance::shutdown()’: Source/plugin.cpp:437: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:440: warning: deprecated conversion from string constant to ‘char*’ Source/nsScriptablePeer.cpp: In member function ‘virtual nsresult nsScriptablePeer::QueryInterface(const nsIID&, void**)’: Source/nsScriptablePeer.cpp:101: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:101: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:101: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:107: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:107: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:107: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:114: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:114: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:116: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:116: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:116: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:116: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:116: error: declaration of ‘<typeprefixerror>NS_STATIC_CAST’ Source/nsScriptablePeer.cpp:116: error: conflicts with previous declaration ‘<typeprefixerror>NS_STATIC_CAST’ Source/nsScriptablePeer.cpp: In member function ‘virtual nsresult nsControlsScriptablePeer::QueryInterface(const nsIID&, void**)’: Source/nsScriptablePeer.cpp:514: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:514: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:514: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:520: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:520: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:520: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:527: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:527: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:529: error: expected primary-expression before ‘*’ token Source/nsScriptablePeer.cpp:529: error: expected primary-expression before ‘,’ token Source/nsScriptablePeer.cpp:529: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:529: error: ‘NS_STATIC_CAST’ was not declared in this scope Source/nsScriptablePeer.cpp:529: error: declaration of ‘<typeprefixerror>NS_STATIC_CAST’ Source/nsScriptablePeer.cpp:529: error: conflicts with previous declaration ‘<typeprefixerror>NS_STATIC_CAST’ make: *** [nsScriptablePeer.o] Error 1 make: *** Waiting for unfinished jobs.... In file included from Source/nsScriptablePeer.h:48, from Source/plugin.h:54, from Source/plugin-support.cpp:1: Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type Source/nsIScriptableMplayerPlugin.h:31: error: expected ‘;’ before ‘virtual’ Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of ‘NS_DEFINE_STATIC_IID_ACCESSOR’ with no type Source/nsIScriptableMplayerPlugin.h:126: error: expected ‘;’ before ‘virtual’ In file included from Source/plugin.h:54, from Source/plugin-support.cpp:1: Source/nsScriptablePeer.h: In member function ‘virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)’: Source/nsScriptablePeer.h:64: error: ‘nsIProgrammingLanguage’ has not been declared Source/plugin.cpp: In member function ‘void nsPluginInstance::Play()’: Source/plugin.cpp:2241: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Pause()’: Source/plugin.cpp:2271: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Stop()’: Source/plugin.cpp:2291: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2293: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2303: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Quit()’: Source/plugin.cpp:2321: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2322: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::FastForward()’: Source/plugin.cpp:2348: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2349: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2351: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::FastReverse()’: Source/plugin.cpp:2375: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2376: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2378: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Seek(double)’: Source/plugin.cpp:2391: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2395: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::VolumeUp()’: Source/plugin.cpp:2409: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::VolumeDown()’: Source/plugin.cpp:2423: warning: deprecated conversion from string constant to ‘char*’ make: *** [plugin.o] Error 1 Source/plugin-support.cpp: In function ‘void unEscapeXML(char*)’: Source/plugin-support.cpp:26: warning: unused variable ‘p’ Source/plugin-support.cpp: In function ‘void killmplayer(nsPluginInstance*)’: Source/plugin-support.cpp:506: warning: deprecated conversion from string constant to ‘char*’ Source/plugin-support.cpp:507: warning: deprecated conversion from string constant to ‘char*’ make: *** [plugin-support.o] Error 1 * * ERROR: net-www/mplayerplug-in-3.50 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * mplayerplug-in-3.50.ebuild, line 92: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake 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/net-www/mplayerplug-in-3.50/temp/build.log'. * Reproducible: Always Steps to Reproduce: Thanks! W
emerge --info please...
# emerge --info Portage 2.1.3.19 (default-linux/amd64/2007.0/desktop, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r5 x86_64) ================================================================= System uname: 2.6.23-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Tue, 08 Jan 2008 20:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.1.3 dev-lang/python: 2.5.1-r5 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r5 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 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r3 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3 -frerun-loop-opt -ftracer -fprefetch-loop-arrays -fforce-addr -ftree-vectorize" 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" 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="-O2 -march=athlon64 -pipe -fomit-frame-pointer -msse3 -frerun-loop-opt -ftracer -fprefetch-loop-arrays -fforce-addr -ftree-vectorize" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="rsync://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://mirror.espri.arizona.edu/gentoo/ ftp://csociety-ftp.ecn.purdue.edu/pub/gentoo" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/mozilla" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac aalib acl acpi aim alsa amd64 asf avahi avi berkdb bitmap-fonts browserplugin bzip2 cairo canvas cddb cdparanoia cdr cli cracklib cups curl daap dbus dca divx4linux dri dv dvd dvdr dvdread eds emboss encode evo evolution faad fam ffmpeg firefox flac foomatic fortran freetype gcj gdbm gif gimpprint glib glitz glut glx gmail gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal howl-compat iconv ieee1394 imagemagick imlib ipod ipv6 isdnlog jack java jpeg kerberos lame lcms ldap libgda libnotify libsndfile libwww live lm_sensors mad matroska mdnsresponder-compat midi mikmod mjpeg mmx mmxext mng mono mozilla mozsvg mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin nvidia offensive ofx ogg oggvorbis openal opengl openmp oscar oss pam pch pcre pdf perl png pop ppds pppd python qt-static qt3 qt3support qt4 quicktime quotes readline reflection regex rtc rtsp sasl scanner sdl session spell spl sse sse2 ssl ssse3 svg symlink tagwriting tcpd theora threads tiff tokenizer truetype truetype-fonts type1 type1-fonts unicode usb v4l v4l2 vcd vorbis widescreen wxwindows xcomposite xine xinerama xml xml2 xorg xprint xv xvid yahoo zlib" ALSA_CARDS="intel8x0" 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 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" USERLAND="GNU" VIDEO_CARDS="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Well, if you can reproduce this w/ C[XX]FLAGS="-O2 -march=athlon64 -pipe -fomit-frame-pointer" then reopen this bug.
Changed make.conf. Same errors.
Update: This may be a compatibility problem with FF3 and xulrunner-- http://forums.gentoo.org/viewtopic-t-642383-highlight-mplayerplugin.html I'm going to close and only reopen if this is not the case... W
(In reply to comment #5) > Update: This may be a compatibility problem with FF3 and xulrunner-- > I'm going to close and only reopen if this is not the case... Well yeah, reporting bugs about ebuilds which don't exist in the official tree doesn't seem like a good idea, unless you have a patch ;)
Alright, rub it in why dontcha ;) W
Created attachment 146590 [details] patch allow use slotted xulrunner-1.8 With this patch and removed hard ff2 dependency mplayerplug-in compiled fine here. I have ff3/xulrunner-1.9-r1 from overlays and slotted xulrunner-1.8 from current portage tree, and ~amd64. Patch made for myself and just for information here :)
Thanks for this informative patch, works well enough here. Notice bug 213461 which is probably a duplicate of this one here.