Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#28015 - [vlc] 1.1.13-1 will not compile using abs with --enable-mozilla enabled in the PKGBUILD
Attached to Project:
Arch Linux
Opened by Bent Bagger (BentB) - Friday, 20 January 2012, 18:50 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 21 January 2012, 11:51 GMT
Opened by Bent Bagger (BentB) - Friday, 20 January 2012, 18:50 GMT
Last edited by Giovanni Scafora (giovanni) - Saturday, 21 January 2012, 11:51 GMT
|
DetailsDescription: When I try to build vls in 'abs' (I need the plugin for Firefox) the compilation stops with these lines:
make[2]: Entering directory `/usr/local/src/abs/vlc/src/vlc-1.1.13/projects/mozilla' CXX libvlcplugin_la-vlcshell.lo CXX libvlcplugin_la-vlcplugin.lo CXX libvlcplugin_la-npolibvlc.lo In file included from vlcshell.cpp:40:0: vlcshell.h:27:37: error: new declaration 'char* NPP_GetMIMEDescription()' /usr/include/xulrunner-9.0.1/npapi.h:794:13: error: ambiguates old declaration 'const char* NPP_GetMIMEDescription()' vlcshell.cpp: In function 'char* NPP_GetMIMEDescription()': vlcshell.cpp:74:37: error: new declaration 'char* NPP_GetMIMEDescription()' /usr/include/xulrunner-9.0.1/npapi.h:794:13: error: ambiguates old declaration 'const char* NPP_GetMIMEDescription()' make[2]: *** [libvlcplugin_la-vlcshell.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... vlcplugin.cpp: In member function 'void VlcPlugin::showToolbar()': vlcplugin.cpp:921:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:928:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:937:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:945:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:953:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:961:57: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:969:51: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] vlcplugin.cpp:976:53: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] control/npolibvlc.cpp: In member function 'virtual RuntimeNPObject::InvokeResult LibvlcVideoNPObject::getProperty(int, NPVariant&)': control/npolibvlc.cpp:1309:27: warning: 'int libvlc_video_get_height(libvlc_media_player_t*)' is deprecated (declared at ../../include/vlc/libvlc_media_player.h:652) [-Wdeprecated-declarations] control/npolibvlc.cpp:1309:55: warning: 'int libvlc_video_get_height(libvlc_media_player_t*)' is deprecated (declared at ../../include/vlc/libvlc_media_player.h:652) [-Wdeprecated-declarations] control/npolibvlc.cpp:1315:27: warning: 'int libvlc_video_get_width(libvlc_media_player_t*)' is deprecated (declared at ../../include/vlc/libvlc_media_player.h:662) [-Wdeprecated-declarations] control/npolibvlc.cpp:1315:54: warning: 'int libvlc_video_get_width(libvlc_media_player_t*)' is deprecated (declared at ../../include/vlc/libvlc_media_player.h:662) [-Wdeprecated-declarations] make[2]: Leaving directory `/usr/local/src/abs/vlc/src/vlc-1.1.13/projects/mozilla' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/abs/vlc/src/vlc-1.1.13' make: *** [all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... If I delete the line '--enable-mozilla' in the PKGBUILD file it compiles without a hitch. * Additional info: vlc itself apparently compiles OKin the above situation, because I can run it out of the build directory and have it play a video file. * package version(s) The source file: vlc-1.1.13.tar.bz2 * Steps to reproduce: Copy vlc from the 'abs' tree and modify PKGBUILD so it reads: ... ./configure --prefix=/usr \ --disable-rpath \ --enable-faad \ --enable-v4l \ --enable-snapshot \ --enable-dbus-control \ --enable-nls \ --enable-lirc \ --enable-pvr \ --enable-ncurses \ --with-live555-tree=/usr/lib/live \ --enable-upnp \ --enable-realrtsp \ --enable-mozilla make ... and the run a 'makepkg' |
This task depends upon
Closed by Giovanni Scafora (giovanni)
Saturday, 21 January 2012, 11:51 GMT
Reason for closing: Not a bug
Additional comments about closing: This is not a packaging related bug.
Saturday, 21 January 2012, 11:51 GMT
Reason for closing: Not a bug
Additional comments about closing: This is not a packaging related bug.
I removed xulrunner and installed npapi-sdk. This gave an error during ./configure:
checking for xulrunner-config... no
configure: error: Please install the Mozilla development tools (version 1.9.2 or higher) or use --disable-mozilla.
==> ERROR: A failure occurred in build().
Aborting...
So I reinstalled xulrunner, which resulted in the same error as I reported originally, even after a 'make distclean'.
Perhaps you could be a bit more specific with how to "compile against npapi-sdk", please.
http://git.videolan.org/?p=npapi-vlc.git;a=summary