Build of vlc-0.9.8a fails because a C header file (npupp.h) is not found. libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEF ILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DXP_UNIX -DOJI -DMOZ_X11 -DSYS_LINUX -fshort-wchar -I/usr/include/xulrunner-1.9/stable -I/usr/include/nspr -O0 -DDATA_PA TH=\"/usr/share/vlc\" -march=core2 -O2 -pipe -MT libvlcplugin_la-npolibvlc.lo -MD -MP -MF .deps/libvlcplugin_la-npolibvlc.Tpo -c control/npolibvlc.cpp -fPIC -DPI C -o .libs/libvlcplugin_la-npolibvlc.o In file included from /usr/include/xulrunner-1.9/stable/jritypes.h:45, from /usr/include/xulrunner-1.9/stable/jri.h:45, from /usr/include/xulrunner-1.9/stable/npapi.h:48, from support/npunix.c:45: /usr/include/xulrunner-1.9/stable/jri_md.h:138:30: warning: "Macintosh" is not defined /usr/include/xulrunner-1.9/stable/jri_md.h:138:43: warning: "THINK_C" is not defined In file included from /usr/include/xulrunner-1.9/stable/jni.h:46, from /usr/include/xulrunner-1.9/stable/jritypes.h:46, from /usr/include/xulrunner-1.9/stable/jri.h:45, from /usr/include/xulrunner-1.9/stable/npapi.h:48, from support/npunix.c:45: /usr/include/xulrunner-1.9/stable/jni_md.h:166:7: warning: "macintosh" is not defined /usr/include/xulrunner-1.9/stable/jni_md.h:166:20: warning: "Macintosh" is not defined /usr/include/xulrunner-1.9/stable/jni_md.h:166:33: warning: "THINK_C" is not defined support/npunix.c:46:19: error: npupp.h: No such file or directory support/npunix.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'gNetscapeFuncs' support/npunix.c: In function 'NPN_Version': support/npunix.c:87: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:87: error: (Each undeclared identifier is reported only once support/npunix.c:87: error: for each function it appears in.) support/npunix.c: In function 'NPN_GetValue': support/npunix.c:95: warning: implicit declaration of function 'CallNPN_GetValueProc' support/npunix.c:95: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_SetValue': support/npunix.c:102: warning: implicit declaration of function 'CallNPN_SetValueProc' support/npunix.c:102: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_GetURL': support/npunix.c:109: warning: implicit declaration of function 'CallNPN_GetURLProc' support/npunix.c:109: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_GetURLNotify': support/npunix.c:115: warning: implicit declaration of function 'CallNPN_GetURLNotifyProc' support/npunix.c:115: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_PostURL': support/npunix.c:122: warning: implicit declaration of function 'CallNPN_PostURLProc' support/npunix.c:122: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_PostURLNotify': support/npunix.c:130: warning: implicit declaration of function 'CallNPN_PostURLNotifyProc' support/npunix.c:130: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_RequestRead': support/npunix.c:137: warning: implicit declaration of function 'CallNPN_RequestReadProc' support/npunix.c:137: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_NewStream': support/npunix.c:145: warning: implicit declaration of function 'CallNPN_NewStreamProc' support/npunix.c:145: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_Write': support/npunix.c:152: warning: implicit declaration of function 'CallNPN_WriteProc' support/npunix.c:152: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_DestroyStream': support/npunix.c:159: warning: implicit declaration of function 'CallNPN_DestroyStreamProc' support/npunix.c:159: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_Status': support/npunix.c:166: warning: implicit declaration of function 'CallNPN_StatusProc' support/npunix.c:166: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_UserAgent': support/npunix.c:172: warning: implicit declaration of function 'CallNPN_UserAgentProc' support/npunix.c:172: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:172: warning: return makes pointer from integer without a cast support/npunix.c: In function 'NPN_MemAlloc': support/npunix.c:178: warning: implicit declaration of function 'CallNPN_MemAllocProc' support/npunix.c:178: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:178: warning: return makes pointer from integer without a cast support/npunix.c: In function 'NPN_MemFree': support/npunix.c:183: warning: implicit declaration of function 'CallNPN_MemFreeProc' support/npunix.c:183: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_MemFlush': support/npunix.c:188: warning: implicit declaration of function 'CallNPN_MemFlushProc' support/npunix.c:188: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_ReloadPlugins': support/npunix.c:193: warning: implicit declaration of function 'CallNPN_ReloadPluginsProc' support/npunix.c:193: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_GetJavaEnv': support/npunix.c:198: warning: implicit declaration of function 'CallNPN_GetJavaEnvProc' support/npunix.c:198: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:198: warning: return makes pointer from integer without a cast support/npunix.c: In function 'NPN_GetJavaPeer': support/npunix.c:203: warning: implicit declaration of function 'CallNPN_GetJavaPeerProc' support/npunix.c:203: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:204: warning: return makes pointer from integer without a cast support/npunix.c: In function 'NPN_InvalidateRect': support/npunix.c:210: warning: implicit declaration of function 'CallNPN_InvalidateRectProc' support/npunix.c:210: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_InvalidateRegion': support/npunix.c:217: warning: implicit declaration of function 'CallNPN_InvalidateRegionProc' support/npunix.c:217: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: In function 'NPN_ForceRedraw': support/npunix.c:224: warning: implicit declaration of function 'CallNPN_ForceRedrawProc' support/npunix.c:224: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c: At top level: support/npunix.c:227: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NPN_GetStringIdentifier' support/npunix.c:237: warning: type defaults to 'int' in declaration of 'NPUTF8' support/npunix.c:237: error: expected ';', ',' or ')' before '*' token support/npunix.c:246: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'NPN_GetIntIdentifier' support/npunix.c:256: error: expected ')' before 'identifier' support/npunix.c:266: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token support/npunix.c:276: error: expected ')' before 'identifier' support/npunix.c:286: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token support/npunix.c:296: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token support/npunix.c:306: error: expected ')' before '*' token support/npunix.c:315: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:315: error: expected declaration specifiers or '...' before 'NPIdentifier' support/npunix.c:315: warning: type defaults to 'int' in declaration of 'NPVariant' support/npunix.c:315: error: expected ';', ',' or ')' before '*' token support/npunix.c:325: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:325: warning: type defaults to 'int' in declaration of 'NPVariant' support/npunix.c:325: error: expected ';', ',' or ')' before '*' token support/npunix.c:335: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:335: error: expected declaration specifiers or '...' before 'NPString' support/npunix.c:335: error: expected declaration specifiers or '...' before 'NPVariant' support/npunix.c:335: warning: no previous prototype for 'NPN_Evaluate' support/npunix.c: In function 'NPN_Evaluate': support/npunix.c:337: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:340: warning: implicit declaration of function 'CallNPN_EvaluateProc' support/npunix.c:340: error: 'npobj' undeclared (first use in this function) support/npunix.c:340: error: 'script' undeclared (first use in this function) support/npunix.c:340: error: 'result' undeclared (first use in this function) support/npunix.c: At top level: support/npunix.c:345: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:345: error: expected declaration specifiers or '...' before 'NPIdentifier' support/npunix.c:345: error: expected declaration specifiers or '...' before 'NPVariant' support/npunix.c:345: warning: no previous prototype for 'NPN_GetProperty' support/npunix.c: In function 'NPN_GetProperty': support/npunix.c:347: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:350: warning: implicit declaration of function 'CallNPN_GetPropertyProc' support/npunix.c:350: error: 'npobj' undeclared (first use in this function) support/npunix.c:350: error: 'propertyName' undeclared (first use in this function) support/npunix.c:350: error: 'result' undeclared (first use in this function) support/npunix.c: At top level: support/npunix.c:355: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:355: error: expected declaration specifiers or '...' before 'NPIdentifier' support/npunix.c:355: warning: type defaults to 'int' in declaration of 'NPVariant' support/npunix.c:355: error: expected ';', ',' or ')' before '*' token support/npunix.c:365: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:365: error: expected declaration specifiers or '...' before 'NPIdentifier' support/npunix.c:365: warning: no previous prototype for 'NPN_RemoveProperty' support/npunix.c: In function 'NPN_RemoveProperty': support/npunix.c:367: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:370: warning: implicit declaration of function 'CallNPN_RemovePropertyProc' support/npunix.c:370: error: 'npobj' undeclared (first use in this function) support/npunix.c:370: error: 'propertyName' undeclared (first use in this function) support/npunix.c: At top level: support/npunix.c:375: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:375: error: expected declaration specifiers or '...' before 'NPIdentifier' support/npunix.c:375: warning: no previous prototype for 'NPN_HasProperty' support/npunix.c: In function 'NPN_HasProperty': support/npunix.c:377: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:380: warning: implicit declaration of function 'CallNPN_HasPropertyProc' support/npunix.c:380: error: 'npobj' undeclared (first use in this function) support/npunix.c:380: error: 'propertyName' undeclared (first use in this function) support/npunix.c: At top level: support/npunix.c:385: error: expected declaration specifiers or '...' before 'NPObject' support/npunix.c:385: error: expected declaration specifiers or '...' before 'NPIdentifier' support/npunix.c:385: warning: no previous prototype for 'NPN_HasMethod' support/npunix.c: In function 'NPN_HasMethod': support/npunix.c:387: error: 'gNetscapeFuncs' undeclared (first use in this function) support/npunix.c:390: warning: implicit declaration of function 'CallNPN_HasMethodProc' support/npunix.c:390: error: 'npobj' undeclared (first use in this function) support/npunix.c:390: error: 'methodName' undeclared (first use in this function) support/npunix.c: At top level: support/npunix.c:395: error: expected ')' before '*' token support/npunix.c:404: error: expected ')' before '*' token support/npunix.c:426: warning: no previous prototype for 'Private_New' support/npunix.c:436: warning: no previous prototype for 'Private_Destroy' support/npunix.c:443: warning: no previous prototype for 'Private_SetWindow' support/npunix.c:452: warning: no previous prototype for 'Private_NewStream' support/npunix.c:462: warning: no previous prototype for 'Private_WriteReady' support/npunix.c:471: warning: no previous prototype for 'Private_Write' support/npunix.c:481: warning: no previous prototype for 'Private_StreamAsFile' support/npunix.c:489: warning: no previous prototype for 'Private_DestroyStream' support/npunix.c:498: warning: no previous prototype for 'Private_URLNotify' support/npunix.c:509: warning: no previous prototype for 'Private_Print' support/npunix.c:516: warning: no previous prototype for 'Private_GetValue' support/npunix.c:523: warning: no previous prototype for 'Private_SetValue' support/npunix.c:530: warning: no previous prototype for 'Private_GetJavaClass' support/npunix.c:553: warning: no previous prototype for 'NP_GetMIMEDescription' support/npunix.c:565: warning: no previous prototype for 'NP_GetValue' support/npunix.c:588: error: expected ')' before '*' token support/npunix.c:727: warning: no previous prototype for 'NP_Shutdown' make[2]: *** [libvlcplugin_la-npunix.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... Reproducible: Always Steps to Reproduce: 1. layman -a mozilla 2. layman -s mozilla 3. emerge www-client/mozilla-firefox-3.1_beta2-r1 (should emerge net-libs/xulrunner-1.9.1_beta2) 4. emerge media-video/vlc-0.9.8a 5. Kaboom! Actual Results: Build fails Seems to be very similar to bug #234938
Portage 2.1.6.7 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r1, 2.6.27-xen-r7 x86_64) ================================================================= System uname: Linux-2.6.27-xen-r7-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-glibc2.2.5 Timestamp of tree: Fri, 13 Feb 2009 10:45:02 +0000 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.4-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.6 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe" 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/kde/4.1/env /usr/kde/4.1/share/config /usr/kde/4.1/shutdown /usr/share/config /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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="-march=core2 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://localhost/gentoo" LDFLAGS="-Wl,-O1" LINGUAS="en fr" MAKEOPTS="-j9" 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/local/portage/layman/xen /usr/local/portage/layman/nx /usr/local/portage/layman/enlightenment /usr/local/portage/layman/science /usr/local/portage/layman/mozilla /usr/local/portage/layman/dotnet" SYNC="rsync://localhost/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr chardet cli cracklib crypt cups dbus dirac dri dts dvd dvdr dvdread dvi eds emboss encode esd evo fam ffmpeg firefox flac fortran ftp gdbm gif giff glib gnome gpm gstreamer gtk gtk2 hal hvm iconv isdnlog jack java jpeg jpeg2k kdeprefix kerberos kpathsea ldap libnotify mad midi mikmod mmx mp2 mp3 mpeg mudflap multilib nautilus ncurses nls nptl nptlonly nswrapper ntpl objc objc++ objc-gc odbc ogg openal opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl sse sse2 sse3 ssl ssse3 startup-notification svg sysfs tcl tcpd theora tiff tk truetype unicode usb vorbis x264 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en fr" USERLAND="GNU" VIDEO_CARDS="vesa fglrx" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 181923 [details] build.log
Created attachment 181924 [details] environment
(In reply to comment #0) > Steps to Reproduce: > 1. layman -a mozilla > 2. layman -s mozilla > 3. emerge www-client/mozilla-firefox-3.1_beta2-r1 (should emerge > net-libs/xulrunner-1.9.1_beta2) > 4. emerge media-video/vlc-0.9.8a so npupp.h isn't available anymore in xul 1.9.1 ?
> so npupp.h isn't available anymore in xul 1.9.1 ? Yes, but it is not in the directories where headers files are looked for by gcc. Here is what I get : find /usr -name npupp.h /usr/qt/3/include/npupp.h [1] /usr/lib64/xulrunner/include/npupp.h [2] /usr/lib64/xulrunner/include/plugin/npupp.h [3] [2] and [3] are exactly the same according to diff.
same here with vlc-0.9.9a (In reply to comment #0) > Build of vlc-0.9.8a fails because a C header file (npupp.h) is not found. > > libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. > -I../../include -I../../include -DSYS_LINUX -D_FILE_OFFSET_BITS=64 > -D__USE_UNIX98 -D_LARGEF > ILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DXP_UNIX -DOJI -DMOZ_X11 -DSYS_LINUX > -fshort-wchar -I/usr/include/xulrunner-1.9/stable -I/usr/include/nspr -O0 > -DDATA_PA > TH=\"/usr/share/vlc\" -march=core2 -O2 -pipe -MT libvlcplugin_la-npolibvlc.lo > -MD -MP -MF .deps/libvlcplugin_la-npolibvlc.Tpo -c control/npolibvlc.cpp -fPIC > -DPI > C -o .libs/libvlcplugin_la-npolibvlc.o > In file included from /usr/include/xulrunner-1.9/stable/jritypes.h:45, > from /usr/include/xulrunner-1.9/stable/jri.h:45, > from /usr/include/xulrunner-1.9/stable/npapi.h:48, > from support/npunix.c:45: > /usr/include/xulrunner-1.9/stable/jri_md.h:138:30: warning: "Macintosh" is not > defined > /usr/include/xulrunner-1.9/stable/jri_md.h:138:43: warning: "THINK_C" is not > defined > In file included from /usr/include/xulrunner-1.9/stable/jni.h:46, > from /usr/include/xulrunner-1.9/stable/jritypes.h:46, > from /usr/include/xulrunner-1.9/stable/jri.h:45, > from /usr/include/xulrunner-1.9/stable/npapi.h:48, > from support/npunix.c:45: > /usr/include/xulrunner-1.9/stable/jni_md.h:166:7: warning: "macintosh" is not > defined > /usr/include/xulrunner-1.9/stable/jni_md.h:166:20: warning: "Macintosh" is not > defined > /usr/include/xulrunner-1.9/stable/jni_md.h:166:33: warning: "THINK_C" is not > defined > support/npunix.c:46:19: error: npupp.h: No such file or directory > support/npunix.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'gNetscapeFuncs' > support/npunix.c: In function 'NPN_Version': > support/npunix.c:87: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:87: error: (Each undeclared identifier is reported only once > support/npunix.c:87: error: for each function it appears in.) > support/npunix.c: In function 'NPN_GetValue': > support/npunix.c:95: warning: implicit declaration of function > 'CallNPN_GetValueProc' > support/npunix.c:95: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_SetValue': > support/npunix.c:102: warning: implicit declaration of function > 'CallNPN_SetValueProc' > support/npunix.c:102: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_GetURL': > support/npunix.c:109: warning: implicit declaration of function > 'CallNPN_GetURLProc' > support/npunix.c:109: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_GetURLNotify': > support/npunix.c:115: warning: implicit declaration of function > 'CallNPN_GetURLNotifyProc' > support/npunix.c:115: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_PostURL': > support/npunix.c:122: warning: implicit declaration of function > 'CallNPN_PostURLProc' > support/npunix.c:122: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_PostURLNotify': > support/npunix.c:130: warning: implicit declaration of function > 'CallNPN_PostURLNotifyProc' > support/npunix.c:130: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_RequestRead': > support/npunix.c:137: warning: implicit declaration of function > 'CallNPN_RequestReadProc' > support/npunix.c:137: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_NewStream': > support/npunix.c:145: warning: implicit declaration of function > 'CallNPN_NewStreamProc' > support/npunix.c:145: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_Write': > support/npunix.c:152: warning: implicit declaration of function > 'CallNPN_WriteProc' > support/npunix.c:152: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_DestroyStream': > support/npunix.c:159: warning: implicit declaration of function > 'CallNPN_DestroyStreamProc' > support/npunix.c:159: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_Status': > support/npunix.c:166: warning: implicit declaration of function > 'CallNPN_StatusProc' > support/npunix.c:166: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_UserAgent': > support/npunix.c:172: warning: implicit declaration of function > 'CallNPN_UserAgentProc' > support/npunix.c:172: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:172: warning: return makes pointer from integer without a cast > support/npunix.c: In function 'NPN_MemAlloc': > support/npunix.c:178: warning: implicit declaration of function > 'CallNPN_MemAllocProc' > support/npunix.c:178: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:178: warning: return makes pointer from integer without a cast > support/npunix.c: In function 'NPN_MemFree': > support/npunix.c:183: warning: implicit declaration of function > 'CallNPN_MemFreeProc' > support/npunix.c:183: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_MemFlush': > support/npunix.c:188: warning: implicit declaration of function > 'CallNPN_MemFlushProc' > support/npunix.c:188: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_ReloadPlugins': > support/npunix.c:193: warning: implicit declaration of function > 'CallNPN_ReloadPluginsProc' > support/npunix.c:193: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_GetJavaEnv': > support/npunix.c:198: warning: implicit declaration of function > 'CallNPN_GetJavaEnvProc' > support/npunix.c:198: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:198: warning: return makes pointer from integer without a cast > support/npunix.c: In function 'NPN_GetJavaPeer': > support/npunix.c:203: warning: implicit declaration of function > 'CallNPN_GetJavaPeerProc' > support/npunix.c:203: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:204: warning: return makes pointer from integer without a cast > support/npunix.c: In function 'NPN_InvalidateRect': > support/npunix.c:210: warning: implicit declaration of function > 'CallNPN_InvalidateRectProc' > support/npunix.c:210: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_InvalidateRegion': > support/npunix.c:217: warning: implicit declaration of function > 'CallNPN_InvalidateRegionProc' > support/npunix.c:217: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: In function 'NPN_ForceRedraw': > support/npunix.c:224: warning: implicit declaration of function > 'CallNPN_ForceRedrawProc' > support/npunix.c:224: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c: At top level: > support/npunix.c:227: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'NPN_GetStringIdentifier' > support/npunix.c:237: warning: type defaults to 'int' in declaration of > 'NPUTF8' > support/npunix.c:237: error: expected ';', ',' or ')' before '*' token > support/npunix.c:246: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'NPN_GetIntIdentifier' > support/npunix.c:256: error: expected ')' before 'identifier' > support/npunix.c:266: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > support/npunix.c:276: error: expected ')' before 'identifier' > support/npunix.c:286: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > support/npunix.c:296: error: expected '=', ',', ';', 'asm' or '__attribute__' > before '*' token > support/npunix.c:306: error: expected ')' before '*' token > support/npunix.c:315: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:315: error: expected declaration specifiers or '...' before > 'NPIdentifier' > support/npunix.c:315: warning: type defaults to 'int' in declaration of > 'NPVariant' > support/npunix.c:315: error: expected ';', ',' or ')' before '*' token > support/npunix.c:325: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:325: warning: type defaults to 'int' in declaration of > 'NPVariant' > support/npunix.c:325: error: expected ';', ',' or ')' before '*' token > support/npunix.c:335: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:335: error: expected declaration specifiers or '...' before > 'NPString' > support/npunix.c:335: error: expected declaration specifiers or '...' before > 'NPVariant' > support/npunix.c:335: warning: no previous prototype for 'NPN_Evaluate' > support/npunix.c: In function 'NPN_Evaluate': > support/npunix.c:337: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:340: warning: implicit declaration of function > 'CallNPN_EvaluateProc' > support/npunix.c:340: error: 'npobj' undeclared (first use in this function) > support/npunix.c:340: error: 'script' undeclared (first use in this function) > support/npunix.c:340: error: 'result' undeclared (first use in this function) > support/npunix.c: At top level: > support/npunix.c:345: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:345: error: expected declaration specifiers or '...' before > 'NPIdentifier' > support/npunix.c:345: error: expected declaration specifiers or '...' before > 'NPVariant' > support/npunix.c:345: warning: no previous prototype for 'NPN_GetProperty' > support/npunix.c: In function 'NPN_GetProperty': > support/npunix.c:347: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:350: warning: implicit declaration of function > 'CallNPN_GetPropertyProc' > support/npunix.c:350: error: 'npobj' undeclared (first use in this function) > support/npunix.c:350: error: 'propertyName' undeclared (first use in this > function) > support/npunix.c:350: error: 'result' undeclared (first use in this function) > support/npunix.c: At top level: > support/npunix.c:355: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:355: error: expected declaration specifiers or '...' before > 'NPIdentifier' > support/npunix.c:355: warning: type defaults to 'int' in declaration of > 'NPVariant' > support/npunix.c:355: error: expected ';', ',' or ')' before '*' token > support/npunix.c:365: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:365: error: expected declaration specifiers or '...' before > 'NPIdentifier' > support/npunix.c:365: warning: no previous prototype for 'NPN_RemoveProperty' > support/npunix.c: In function 'NPN_RemoveProperty': > support/npunix.c:367: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:370: warning: implicit declaration of function > 'CallNPN_RemovePropertyProc' > support/npunix.c:370: error: 'npobj' undeclared (first use in this function) > support/npunix.c:370: error: 'propertyName' undeclared (first use in this > function) > support/npunix.c: At top level: > support/npunix.c:375: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:375: error: expected declaration specifiers or '...' before > 'NPIdentifier' > support/npunix.c:375: warning: no previous prototype for 'NPN_HasProperty' > support/npunix.c: In function 'NPN_HasProperty': > support/npunix.c:377: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:380: warning: implicit declaration of function > 'CallNPN_HasPropertyProc' > support/npunix.c:380: error: 'npobj' undeclared (first use in this function) > support/npunix.c:380: error: 'propertyName' undeclared (first use in this > function) > support/npunix.c: At top level: > support/npunix.c:385: error: expected declaration specifiers or '...' before > 'NPObject' > support/npunix.c:385: error: expected declaration specifiers or '...' before > 'NPIdentifier' > support/npunix.c:385: warning: no previous prototype for 'NPN_HasMethod' > support/npunix.c: In function 'NPN_HasMethod': > support/npunix.c:387: error: 'gNetscapeFuncs' undeclared (first use in this > function) > support/npunix.c:390: warning: implicit declaration of function > 'CallNPN_HasMethodProc' > support/npunix.c:390: error: 'npobj' undeclared (first use in this function) > support/npunix.c:390: error: 'methodName' undeclared (first use in this > function) > support/npunix.c: At top level: > support/npunix.c:395: error: expected ')' before '*' token > support/npunix.c:404: error: expected ')' before '*' token > support/npunix.c:426: warning: no previous prototype for 'Private_New' > support/npunix.c:436: warning: no previous prototype for 'Private_Destroy' > support/npunix.c:443: warning: no previous prototype for 'Private_SetWindow' > support/npunix.c:452: warning: no previous prototype for 'Private_NewStream' > support/npunix.c:462: warning: no previous prototype for 'Private_WriteReady' > support/npunix.c:471: warning: no previous prototype for 'Private_Write' > support/npunix.c:481: warning: no previous prototype for 'Private_StreamAsFile' > support/npunix.c:489: warning: no previous prototype for > 'Private_DestroyStream' > support/npunix.c:498: warning: no previous prototype for 'Private_URLNotify' > support/npunix.c:509: warning: no previous prototype for 'Private_Print' > support/npunix.c:516: warning: no previous prototype for 'Private_GetValue' > support/npunix.c:523: warning: no previous prototype for 'Private_SetValue' > support/npunix.c:530: warning: no previous prototype for 'Private_GetJavaClass' > support/npunix.c:553: warning: no previous prototype for > 'NP_GetMIMEDescription' > support/npunix.c:565: warning: no previous prototype for 'NP_GetValue' > support/npunix.c:588: error: expected ')' before '*' token > support/npunix.c:727: warning: no previous prototype for 'NP_Shutdown' > make[2]: *** [libvlcplugin_la-npunix.lo] Error 1 > make[2]: *** Waiting for unfinished jobs.... > > > > Reproducible: Always > > Steps to Reproduce: > 1. layman -a mozilla > 2. layman -s mozilla > 3. emerge www-client/mozilla-firefox-3.1_beta2-r1 (should emerge > net-libs/xulrunner-1.9.1_beta2) > 4. emerge media-video/vlc-0.9.8a > 5. Kaboom! > Actual Results: > Build fails > > > Seems to be very similar to bug #234938 >
Upstream apparently added support for xulrunner 1.9.1 already, 1.0.0_pre2 compiles fine.
(In reply to comment #7) > Upstream apparently added support for xulrunner 1.9.1 already, 1.0.0_pre2 > compiles fine. > On the other hand, some of the new compatibility code is wrong (at least according to our QA checks) * QA Notice: Package has poor programming practices which may compile * but will almost certainly crash on 64bit architectures. * * Function `CallNPN_UserAgentProc' implicitly converted to pointer at support/npunix.c:183 * Function `CallNPN_MemAllocProc' implicitly converted to pointer at support/npunix.c:189 * Function `CallNPN_GetJavaEnvProc' implicitly converted to pointer at support/npunix.c:210 * Function `CallNPN_GetIntIdentifierProc' implicitly converted to pointer at support/npunix.c:279 * Function `CallNPN_CreateObjectProc' implicitly converted to pointer at support/npunix.c:324 * Function `CallNPN_RetainObjectProc' implicitly converted to pointer at support/npunix.c:332 * Function `NewNPP_NewProc' implicitly converted to pointer at support/npunix.c:770 * Function `NewNPP_DestroyProc' implicitly converted to pointer at support/npunix.c:771 * Function `NewNPP_SetWindowProc' implicitly converted to pointer at support/npunix.c:772 * Function `NewNPP_NewStreamProc' implicitly converted to pointer at support/npunix.c:773 * Function `NewNPP_DestroyStreamProc' implicitly converted to pointer at support/npunix.c:774 * Function `NewNPP_StreamAsFileProc' implicitly converted to pointer at support/npunix.c:775 * Function `NewNPP_WriteReadyProc' implicitly converted to pointer at support/npunix.c:776 * Function `NewNPP_WriteProc' implicitly converted to pointer at support/npunix.c:777 * Function `NewNPP_PrintProc' implicitly converted to pointer at support/npunix.c:778 * Function `NewNPP_GetValueProc' implicitly converted to pointer at support/npunix.c:779 * Function `NewNPP_SetValueProc' implicitly converted to pointer at support/npunix.c:780 * Function `NewNPP_URLNotifyProc' implicitly converted to pointer at support/npunix.c:785
This trouble seems to be fixed in 1.0.0_pre2
*** Bug 268369 has been marked as a duplicate of this bug. ***
Everything is fine right now, vlc plugin builds and installs fine (xulrunner 1.9.1_beta4-r2). I close this issue.
*** Bug 275256 has been marked as a duplicate of this bug. ***
I have the problem again with xulrunner-1.9.1_rc2. 'emerge -v vlc' does not find npupp.h. It is installed by xulrunner-1.9.1_rc2 as /usr/lib64/xulrunner/include/npupp.h but not found by 'emerge -v vlc'
(In reply to comment #13) > I have the problem again with xulrunner-1.9.1_rc2. 'emerge -v vlc' does not > find npupp.h. It is installed by xulrunner-1.9.1_rc2 as > /usr/lib64/xulrunner/include/npupp.h but not found by 'emerge -v vlc' Did you try >=media-video/vlc-1.0.0_pre2 as written in this bug?
After unmasking vlc I could install vlc-1.0.0-rc4.
*** Bug 276089 has been marked as a duplicate of this bug. ***
*** Bug 276899 has been marked as a duplicate of this bug. ***