Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
webkit-gtk-2.4.11-r200 compile fails - SOLVED
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
joelparthemore
n00b
n00b


Joined: 15 Nov 2014
Posts: 8

PostPosted: Sat Dec 09, 2017 5:00 pm    Post subject: webkit-gtk-2.4.11-r200 compile fails - SOLVED Reply with quote

Having to recompile because of a change from the 13 to the 17 profile. Everything else recompiled fine, but without this, I can't run Gnucash, which I need, and I can't update Firefox. Help me out, folks!

(1)
Code:
emerge --info =net-libs/webkit-gtk-2.4.11-r200::gentoo

(python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.2.0, glibc-2.26-r3, 4.14.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:    16371580 total,   3095648 free
KiB Swap:     976892 total,    976892 free
Timestamp of repository gentoo: Thu, 07 Dec 2017 02:00:01 +0000
Head commit of repository gentoo: 101d27e6e1b1959353d6ce41eb154aeac450c0df
sh bash 4.4_p12
ld GNU ld (Gentoo 2.28 p1.2) 2.28
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo
dev-util/cmake:           3.10.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.26.1::gentoo, 2.27::gentoo, 2.28-r2::gentoo, 2.28.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            6.3.0::gentoo, 6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.0-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

steam-overlay
    location: /var/lib/layman/steam-overlay
    sync-type: laymansync
    sync-uri: git://github.com/anyc/steam-overlay.git
    masters: gentoo
    priority: 50

vmware
    location: /var/lib/layman/vmware
    sync-type: laymansync
    sync-uri: https://anongit.gentoo.org/git/proj/vmware.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /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"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/ ftp://mirror.mdfnet.se/gentoo http://mirror.mdfnet.se/gentoo ftp://ftp.klid.dk/gentoo/ http://ftp.klid.dk/ftp/gentoo/"
LANG="sv_SE"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi activities alsa amd64 avi berkdb bluetooth bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative divx dri dri2 dts dv dvd dvdr dvdread emboss encode exif fam fame firefox flac fortran gdbm gif glamor gnutls gpm gtk icons iconv ipv6 java jpeg kde kipi kwallet lcms ldap libnotify mad minizip mjpeg mmx mmxext mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl nsplugin nvidia ogg opengl openmp pam pango pcre pcsc-lite pdf phonon plasma png policykit ppds pulseaudio qml qt3support qt5 quicktime readline rsxs rtmp sdl seccomp semantic-desktop session silc snmp spell sse sse2 ssl startup-notification subtitles svg symlink tcpd tiff truetype udev udisks unicode usb uvm uxa v4l vorbis widgets wxwidgets x264 xattr xcb xcomposite xinerama xml xv xvid xvmc zlib" ABI_X86="64 32" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="sv-SE sv en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="sv_SE sv en_GB en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-libs/webkit-gtk-2.4.11-r200::gentoo was built with the following:
USE="X egl geoloc gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -gles2 -gnome-keyring -test" ABI_X86="(64)"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--no-keep-memory -Wl,--reduce-memory-overheads"

(2)
Code:
emerge -pqv '=net-libs/webkit-gtk-2.4.11-r200::gentoo'
[ebuild   R   ] net-libs/webkit-gtk-2.4.11-r200  USE="X egl geoloc gstreamer introspection jit opengl spell webgl (-aqua) -coverage -debug -gles2 -gnome-keyring {-test}"


(3)
Here's what I think is the relevant bit from the build log: i.e., the point at which everything starts going wrong. (The entire log is 90mB.)

Code:
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 -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]
 queJSString::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-JSContextRef.Tpo Source/JavaScriptCore/API/.deps/libjavascriptcoregtk_1_0_la-JSContextRef.Plo
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


[Moderator edit: added [code] tags to preserve output layout; trimmed build log due to exceeding forum limit. Please use a pastebin for large logs. -Hu]


Last edited by joelparthemore on Sat Dec 09, 2017 9:27 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16917
Location: here

PostPosted: Sat Dec 09, 2017 5:14 pm    Post subject: Reply with quote

You should use wgetpaste for post build.log
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
joelparthemore
n00b
n00b


Joined: 15 Nov 2014
Posts: 8

PostPosted: Sat Dec 09, 2017 5:30 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You should use wgetpaste for post build.log


OK, yes, I was thinking to put the build log up on one of the online services but... which part of it? The entire build log is, as said, 90mB. I suppose I could just take (say) the last 2mB of it. But I also was pretty sure that the problem starts from the point I posted. (Please feel free to correct me!)
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16917
Location: here

PostPosted: Sat Dec 09, 2017 5:35 pm    Post subject: Reply with quote

joelparthemore wrote:
OK, yes, I was thinking to put the build log up on one of the online services but... which part of it? The entire build log is, as said, 90mB. I suppose I could just take (say) the last 2mB of it. But I also was pretty sure that the problem starts from the point I posted. (Please feel free to correct me!)

Search in build.log keyword "error:" and post some lines after and before this
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
joelparthemore
n00b
n00b


Joined: 15 Nov 2014
Posts: 8

PostPosted: Sat Dec 09, 2017 5:38 pm    Post subject: Reply with quote

fedeliallalinea wrote:
joelparthemore wrote:
OK, yes, I was thinking to put the build log up on one of the online services but... which part of it? The entire build log is, as said, 90mB. I suppose I could just take (say) the last 2mB of it. But I also was pretty sure that the problem starts from the point I posted. (Please feel free to correct me!)

Search in build.log keyword "error:" and post some lines after and before this


But that's what I did. Well, okay, I posted all the lines from that point forward.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 16917
Location: here

PostPosted: Sat Dec 09, 2017 5:40 pm    Post subject: Reply with quote

joelparthemore wrote:
But that's what I did. Well, okay, I posted all the lines from that point forward.

Oh sorry my fault :oops:
Anyway see this bug
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
joelparthemore
n00b
n00b


Joined: 15 Nov 2014
Posts: 8

PostPosted: Sat Dec 09, 2017 9:27 pm    Post subject: Reply with quote

fedeliallalinea wrote:
joelparthemore wrote:
But that's what I did. Well, okay, I posted all the lines from that point forward.

Oh sorry my fault :oops:
Anyway see this bug


Yup, that was exactly the problem, and the solution. Much thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum