Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550220 - =net-irc/weechat-1.2: compilation failed on js v8
Summary: =net-irc/weechat-1.2: compilation failed on js v8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Packages in net-irc
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-23 11:29 UTC by Ludovic Bellier
Modified: 2015-05-26 14:26 UTC (History)
3 users (show)

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


Attachments
emerge info for weechat (net-irc_weechat-1.2_info.log,6.78 KB, text/x-log)
2015-05-23 11:29 UTC, Ludovic Bellier
Details
build.log (build.log,134.89 KB, text/plain)
2015-05-23 11:31 UTC, Ludovic Bellier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ludovic Bellier 2015-05-23 11:29:24 UTC
Created attachment 403808 [details]
emerge info for weechat

The compilation failed on javascript plugin.

As seen in build.log:
# dev-lang/v8 was dropped from Gentoo so we can't enable javascript support
so javascript shouldn't enable but on compilation it try:

Scanning dependencies of target javascript
make[2] : on quitte le répertoire « /var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2_build »

and failed (see attached build.log and info.log)

/usr/bin/x86_64-pc-linux-gnu-g++  -DENABLE_NLS -DHAVE_CONFIG_H -DHAVE_GCRYPT -DHAVE_GNUTLS -DHAVE_ICONV -DHAVE_ZLIB -DWEECHAT_LICENSE=\"GPL3\" -DWEECHAT_VERSION=\"1.2\" -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -D_LARGE_FILES -Djavascript_EXPORTS  -DNDEBUG -march=nocona -O2 -pipe  -fPIC -I/var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2_build    -fPIC -fPIC -o CMakeFiles/javascript.dir/weechat-js-v8.o -c /var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2/src/plugins/javascript/weechat-js-v8.cpp
/var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2/src/plugins/javascript/weechat-js-v8.cpp: In member function ‘bool WeechatJsV8::execScript()’:
/var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2/src/plugins/javascript/weechat-js-v8.cpp:97:52: attention : ‘static v8::Persistent<v8::Context> v8::Context::New(v8::ExtensionConfiguration*, v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)’ is deprecated (declared at /usr/include/v8.h:4849) [-Wdeprecated-declarations]
     this->context = Context::New(NULL, this->global);
                                                    ^
In file included from /var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2/src/plugins/javascript/weechat-js.h:24:0,
                 from /var/tmp/portage/net-irc/weechat-1.2/work/weechat-1.2/src/plugins/javascript/weechat-js-v8.cpp:32:
/usr/include/v8.h:752:3: erreur: ‘v8::Persistent<T>& v8::Persistent<T>::operator=(const v8::Persistent<T>&) [with T = v8::Context]’ is private
   V8_INLINE(Persistent& operator=(const Persistent& that)) {  // NOLINT
Comment 1 Ludovic Bellier 2015-05-23 11:31:03 UTC
Created attachment 403810 [details]
build.log
Comment 2 Ludovic Bellier 2015-05-23 11:31:46 UTC
The manual compilation works with:
./configure --disable-javascript
Comment 3 Tim Harder gentoo-dev 2015-05-26 14:26:02 UTC
Fixed in the tree.