View previous topic :: View next topic |
Author |
Message |
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Sun Dec 10, 2017 9:28 pm Post subject: webkit-gtk fails to build |
|
|
I had to update icu from 58.2-r1 to 60.1, which caused rebuilds for a number of packages. One that now doesn't build anymore is webkit-gtk-2.4.11-r200. Any ideas what's wrong here? This is under the new 17.0 desktop profile.
Code: |
mv -f Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSContextRef.Tpo Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSContextRef.Plo
/bin/sh ./libtool --tag=CXX --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspector -I./Source/JavaScriptCore/inspector/agents -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-omit-frame-pointer -fno-tree-dce -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -O2 -march=native -pipe -fomit-frame-pointer -pthread -std=c++11 -Wno-c++11-compat -MT Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo -MD -MP -MF Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSStringRef.Tpo -c -o Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo `test -f 'Source/JavaScriptCore/API/JSStringRef.cpp' || echo './'`Source/JavaScriptCore/API/JSStringRef.cpp
libtool: compile: x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -Wall -W -Wcast-align -Wchar-subscripts -Wreturn-type -Wformat -Wformat-security -Wno-format-y2k -Wundef -Wmissing-format-attribute -Wpointer-arith -Wwrite-strings -Wno-unused-parameter -Wno-parentheses -fno-exceptions -DBUILDING_CAIRO__ -DBUILDING_GTK__ -I./Source -I./Source/JavaScriptCore -I./Source/JavaScriptCore/API -I./Source/JavaScriptCore/ForwardingHeaders -I./Source/JavaScriptCore/assembler -I./Source/JavaScriptCore/bindings -I./Source/JavaScriptCore/bytecode -I./Source/JavaScriptCore/bytecompiler -I./Source/JavaScriptCore/debugger -I./Source/JavaScriptCore/dfg -I./Source/JavaScriptCore/disassembler -I./Source/JavaScriptCore/ftl -I./Source/JavaScriptCore/heap -I./Source/JavaScriptCore/inspector -I./Source/JavaScriptCore/inspector/agents -I./Source/JavaScriptCore/interpreter -I./Source/JavaScriptCore/jit -I./Source/JavaScriptCore/llint -I./Source/JavaScriptCore/parser -I./Source/JavaScriptCore/profiler -I./Source/JavaScriptCore/runtime -I./Source/JavaScriptCore/tools -I./Source/JavaScriptCore/yarr -I./DerivedSources/JavaScriptCore -I./Source/WTF -fno-omit-frame-pointer -fno-tree-dce -fno-rtti -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include -O2 -march=native -pipe -fomit-frame-pointer -pthread -std=c++11 -Wno-c++11-compat -MT Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo -MD -MP -MF Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSStringRef.Tpo -c Source/JavaScriptCore/API/JSStringRef.cpp -fPIC -DPIC -o Source/JavaScriptCore/API/.libs/libjavascriptcoregtk_1_0_la-JSStringRef.o
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharacters(const JSChar*, size_t)’:
Source/JavaScriptCore/API/JSStringRef.cpp:40:50: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
return OpaqueJSString::create(chars, numChars).leakRef();
^
In file included from Source/JavaScriptCore/API/JSStringRef.cpp:31:0:
Source/JavaScriptCore/API/OpaqueJSString.h:49:39: note: initializing argument 1 of ‘static WTF::PassRefPtr<OpaqueJSString> OpaqueJSString::create(const UChar*, unsigned int)’
static PassRefPtr<OpaqueJSString> create(const UChar* characters, unsigned length)
^~~~~~
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘OpaqueJSString* JSStringCreateWithCharactersNoCopy(const JSChar*, size_t)’:
Source/JavaScriptCore/API/JSStringRef.cpp:65:83: error: invalid conversion from ‘const JSChar* {aka const short unsigned int*}’ to ‘const UChar* {aka const char16_t*}’ [-fpermissive]
return OpaqueJSString::create(StringImpl::createWithoutCopying(chars, numChars)).leakRef();
^
In file included from ./Source/WTF/wtf/text/WTFString.h:29:0,
from Source/JavaScriptCore/API/OpaqueJSString.h:31,
from Source/JavaScriptCore/API/JSStringRef.cpp:31:
./Source/WTF/wtf/text/StringImpl.h:393:54: note: initializing argument 1 of ‘static WTF::PassRef<WTF::StringImpl> WTF::StringImpl::createWithoutCopying(const UChar*, unsigned int)’
WTF_EXPORT_STRING_API static PassRef<StringImpl> createWithoutCopying(const UChar* characters, unsigned length);
^~~~~~~~~~~~~~~~~~~~
Source/JavaScriptCore/API/JSStringRef.cpp: In function ‘const JSChar* JSStringGetCharactersPtr(JSStringRef)’:
Source/JavaScriptCore/API/JSStringRef.cpp:86:30: error: invalid conversion from ‘const UChar* {aka const char16_t*}’ to ‘const JSChar* {aka const short unsigned int*}’ [-fpermissive]
return string->characters();
~~~~~~~~~~~~~~~~~~^~
make[1]: *** [GNUmakefile:70161: Source/JavaScriptCore/API/libjavascriptcoregtk_1_0_la-JSStringRef.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
mv -f Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSScriptRef.Tpo Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSScriptRef.Plo
mv -f Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSObjectRef.Tpo Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSObjectRef.Plo
libtool: link: x86_64-pc-linux-gnu-ar cruT [long list of objects]
libtool: link: x86_64-pc-linux-gnu-ranlib .libs/libWebCore.a
libtool: link: ( cd ".libs" && rm -f "libWebCore.la" && ln -s "../libWebCore.la" "libWebCore.la" )
make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.4.11-r200/work/webkitgtk-2.4.11'
make: *** [GNUmakefile:25837: all] Error 2
|
I would love to get rid of webkit-gtk, but unfortunately can't.
As a workaround, I can extract the required libs from the icu-58.2-r1 binpkg I built, but I would prefer to not have non-ebuild libraries in the system. |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
|
Back to top |
|
|
tnt Veteran
Joined: 27 Feb 2004 Posts: 1222
|
Posted: Mon Dec 11, 2017 2:19 pm Post subject: |
|
|
Wait, so this issue was officially tracked from June and still not fixed before Profile 13.0 to 17.0 change, no matter solutions were offered? _________________ gentoo user |
|
Back to top |
|
|
nerdboy n00b
Joined: 07 Oct 2012 Posts: 3 Location: California
|
Posted: Thu Jan 18, 2018 7:14 am Post subject: (insecure) webkit-gtk requires ICU-58 |
|
|
Maybe a better question is why this version is still available at all, or at least why isn't it limited to something less risky like eclipse java-doc rendering. Anything using it directly on the intarweb is hanging your a** out for public viewing (or worse). I can't answer your original question without asking the maintainer (and my bandwidth is negative-zero right now). If you want you can check the package metadata for webkit and query the maintainer about dependency handling and security issues. Not trying to be wonky, but I will say it's absolutely useless to argue with my wife... Oh wait, that only affects me... |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Thu Jan 18, 2018 7:32 am Post subject: Re: (insecure) webkit-gtk requires ICU-58 |
|
|
nerdboy wrote: | Maybe a better question is why this version is still available at all, or at least why isn't it limited to something less risky like eclipse java-doc rendering. |
Some packages requires yet this version
https://bugs.gentoo.org/629114
https://bugs.gentoo.org/627554 _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
jesnow l33t
Joined: 26 Apr 2006 Posts: 856
|
Posted: Tue Feb 20, 2018 3:05 am Post subject: |
|
|
I beat me head against this for days, and even did a world rebuild. Finally what worked was this:
Code: | # emerge -c webkit-gtk |
Done. |
|
Back to top |
|
|
dalu Guru
Joined: 20 Jan 2003 Posts: 530
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30915 Location: here
|
Posted: Mon Apr 30, 2018 1:37 pm Post subject: |
|
|
I think no, other version of webkit-gtk have been removed
Code: | commit c99899dde7c6c94f8ad09a1b4972f4da0d9dfdc2
Author: Mart Raudsepp <leio@gentoo.org>
Date: Sun Mar 25 22:04:12 2018 +0300
net-libs/webkit-gtk: Remove security vulnerable SLOT=2 and SLOT=3
These slots are years old, unmaintained and vulnerable to hundreds of
bugs with a CVE assigned. Additionally there are some known unfixed
issues building against newer ICU. No interest in continued maintenance
of known hugely security vulnerable versions, thus with no consumers
remaining in main tree, this is going away now. Sorry.
If you need this, please think seriously ten times before you make it
available to yourself via an overlay, or use any software that requires
this security riddled version still.
Closes: https://bugs.gentoo.org/577068 |
_________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
dalu Guru
Joined: 20 Jan 2003 Posts: 530
|
Posted: Mon Apr 30, 2018 6:43 pm Post subject: |
|
|
Ok I guess it is the same, only that latest stable is 2.20.1 and this is at 2.18.6 now.
And <2.20 have security advisories, so this should be bumped.
https://webkitgtk.org/security/WSA-2018-0003.html |
|
Back to top |
|
|
|