Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
dev-qt/qtwebengine-5.7.1-r2 compile fail
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Sat Nov 18, 2017 3:31 pm    Post subject: dev-qt/qtwebengine-5.7.1-r2 compile fail Reply with quote

Compile of qtwebengine fails.

Tried to recompile qtcore, tried to emerge it with USE="pax-kernel", tried patches suggested in this thread: https://forums.gentoo.org/viewtopic-p-8103740.html?sid=4fd5822228217e22e533de4d5143acf5
, all in vain, compile still fails, only in different places

Here's lines of output just before emerge fails:

Code:
[4340/11511] /usr/bin/x86_64-pc-linux-gnu-g++ -MMD -MF obj/src/3rdparty/chromium/google_apis/gaia/google_apis.oauth2_token_service.o.d -DV8_DEPRECATION_WARNINGS -DCLD_VERSION=2 -DTOOLKIT_QT -D_FILE_OFFSET_BITS=64 -DNO_TCMALLOC -DCHROMIUM_BUILD -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_DEFAULT_RENDER_THEME=1 -DUSE_LIBJPEG_TURBO=1 -DUSE_X11=1 -DENABLE_ONE_CLICK_SIGNIN -DENABLE_WEBRTC=1 -DENABLE_MEDIA_ROUTER=1 -DUSE_PROPRIETARY_CODECS -DENABLE_PEPPER_CDMS -DENABLE_CONFIGURATION_POLICY -DENABLE_NOTIFICATIONS -DENABLE_HIDPI=1 -DENABLE_TOPCHROME_MD=1 -DUSE_UDEV -DDONT_EMBED_BUILD_METADATA -DFIELDTRIAL_TESTING_ENABLED -DENABLE_TASK_MANAGER=1 -DENABLE_PDF=1 -DENABLE_PLUGINS=1 -DENABLE_SESSION_SERVICE=1 -DENABLE_THEMES=1 -DENABLE_AUTOFILL_DIALOG=1 -DENABLE_BACKGROUND=1 -DENABLE_PRINTING=1 -DENABLE_BASIC_PRINTING=1 -DENABLE_CAPTIVE_PORTAL_DETECTION=1 -DENABLE_APP_LIST=1 -DENABLE_SETTINGS_APP=1 -DENABLE_SUPERVISED_USERS=1 -DENABLE_MDNS=1 -DENABLE_SERVICE_DISCOVERY=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DUSE_SYSTEM_LIBXML -DUSE_LIBPCI=1 -DUSE_OPENSSL=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 '-DQTWEBENGINEPROCESS_NAME="QtWebEngineProcess"' -Igen/shim_headers/zlib/target -Igen/shim_headers/icuuc/target -Igen/shim_headers/icui18n/target -Igen/shim_headers/libevent/target -Igen -I/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium -fstack-protector --param=ssp-buffer-size=4  -pthread -fno-strict-aliasing -Wall -Wno-extra -Wno-unused-parameter -Wno-missing-field-initializers -fvisibility=hidden -pipe -fPIC -Wno-unused-local-typedefs -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libxml2 -m64 -march=x86-64 -O2 -fno-ident -fdata-sections -ffunction-sections -funwind-tables -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -march=corei7-avx -O2 -pipe -fno-exceptions -fno-rtti -fno-threadsafe-statics -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing  -c /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/google_apis/gaia/oauth2_token_service.cc -o obj/src/3rdparty/chromium/google_apis/gaia/google_apis.oauth2_token_service.o
ninja: build stopped: subcommand failed.
make[3]: *** [Makefile.gyp_run:474: invoke_ninja] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core'
make[2]: *** [Makefile:116: sub-gyp_run-pro-make_first] Error 2
make[2]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core'
make[1]: *** [Makefile:50: sub-core-make_first] Error 2
make[1]: Leaving directory '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src'
make: *** [Makefile:45: sub-src-make_first] Error 2
 * ERROR: dev-qt/qtwebengine-5.7.1-r2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.7.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.7.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1'

>>> Failed to emerge dev-qt/qtwebengine-5.7.1-r2, Log file:

>>>  '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/temp/build.log'

 * Messages for package dev-qt/qtwebengine-5.7.1-r2:

 * ERROR: dev-qt/qtwebengine-5.7.1-r2::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebengine-5.7.1-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebengine-5.7.1-r2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1'
 * S: '/var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1'





here's output of emerge --info '=dev-qt/qtwebengine-5.7.1-r2::gentoo':


Code:
Portage 2.3.13 (python 3.4.6-final-0, hardened/linux/amd64, gcc-5.4.0, glibc-2.25-r9, 4.8.17-hardened-r2 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.8.17-hardened-r2-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.4.1
KiB Mem:    16383316 total,   8585380 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Sat, 18 Nov 2017 14:30:01 +0000
Head commit of repository gentoo: 18e445dada057fe50a902fe6c9d4e7075fd4a595
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.8.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.8::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15-r2::gentoo
sys-devel/binutils:       2.28.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

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

nixphoeni
    location: /var/lib/layman/nixphoeni
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -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"
CXXFLAGS="-march=corei7-avx -O2 -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="rsync://gentoo.prz.rzeszow.pl/gentoo http://gentoo.prz.rzeszow.pl"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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="X acl alsa amd64 berkdb bzip2 cli consolekit corefonts cracklib crypt cxx dbus dri gdbm hardened iconv icu ipv6 justify lm_sensors modules multilib ncurses nls nptl offensive openmp pam pcre pie policykit pulseaudio readline seccomp session ssl ssp symlink syslog tcpd truetype udev udisks unicode urandom xattr xinerama xtpax zlib" ABI_X86="64" 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 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" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nouveau" 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
=================================================================

dev-qt/qtwebengine-5.7.1-r2::gentoo was built with the following:
USE="alsa pax_kernel pulseaudio system-ffmpeg system-icu widgets -bindist -debug -geolocation -test" ABI_X86="(64)"


[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30887
Location: here

PostPosted: Sat Nov 18, 2017 3:53 pm    Post subject: Reply with quote

You should post full build.log with wgetpate
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Sat Nov 18, 2017 4:57 pm    Post subject: Reply with quote

here it is

https://paste.pound-python.org/show/zCCrp6GOfgcDJx6IwyER/
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30887
Location: here

PostPosted: Sat Nov 18, 2017 5:14 pm    Post subject: Reply with quote

I don't see any interesting error in build.log.
dmeg return something interesting?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Sat Nov 18, 2017 5:41 pm    Post subject: Reply with quote

Well, why, yes, I haven't thought of it, here's some perhaps pertinent dmesg output:

grsec: denied resource overstep by requesting 4096 for RLIMIT_CORE against limit 0 for /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/mksnapshot[mksnapshot:5083] uid/euid:250/250 gid/egid:250/250, parent /bin/bash[sh:5081] uid/euid:250/250 gid/egid:250/250
Back to top
View user's profile Send private message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Sun Nov 19, 2017 11:53 am    Post subject: Reply with quote

Then again as I understand it's a secondary problem, emerge crashes and tries to dump it's core and grsec doesn't let it, right?

Any thoughts on what may be the issue?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21595

PostPosted: Sun Nov 19, 2017 4:54 pm    Post subject: Reply with quote

erg_samowzbudnik wrote:
Then again as I understand it's a secondary problem, emerge crashes and tries to dump it's core and grsec doesn't let it, right?
Technically, it's not emerge that crashes, but mksnapshot, a program built by qtwebengine in the course of the emerge. You are correct that this is just a notification that a core dump was attempted (and blocked), rather than an explanation of why the error happened.
Back to top
View user's profile Send private message
AndrewAmmerlaan
Developer
Developer


Joined: 25 Jun 2014
Posts: 262
Location: Nijmegen

PostPosted: Mon Dec 04, 2017 6:24 pm    Post subject: Reply with quote

I think you have the same problem that I ran into, I posted about it here: https://forums.gentoo.org/viewtopic-p-8150798.html#8150798
If it is indeed the same problem, (which at first glance it seems to be) you can solve it by adding -system-icu to the use flags, or by emerging the correct dev-libs/icu version.
Which I think is 58.2, maybe 59.1 would work as well, idk because I haven't tried yet.
_________________
OS: Gentoo 6.7.3-gentoo-dist, ~amd64, 17.1/desktop/plasma/systemd/merged-usr
MB: MSI Z370-A PRO
CPU: Intel Core i9-9900KS
GPU: Intel Arc A770 16GB & Intel UHD Graphics 630
SSD: Samsung 970 EVO Plus 2 TB
RAM: Crucial Ballistix 32GB DDR4-2400
Back to top
View user's profile Send private message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Tue Mar 06, 2018 12:28 pm    Post subject: Reply with quote

Hi,
long time away, just tried update and issue is still here. Not using system-icu in the first place:

equery uses qtwebengine

Code:
 U I
 + + alsa          : Add support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - bindist       : Flag to enable or disable options for prebuilt (GRP) packages (eg. due to licensing issues)
 - - debug         : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see
                     https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
 - - geolocation   : Enable physical position determination via dev-qt/qtpositioning
 - - pax_kernel    : Enable building under a PaX enabled kernel
 + + pulseaudio    : Add support for PulseAudio sound server
 + - system-ffmpeg : Use the system-wide media-video/ffmpeg instead of bundled.
 - - system-icu    : Use the system-wide dev-libs/icu instead of bundled.
 - - test          : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
 + - widgets       : Enable QtWidgets support


so I don't think system-icu is a problem. Tried to compile with system-icu enabled, doesn't make a difference, I still get seemingly random (at different stages of compile phase) compile failures.

[Moderator edit: added [code] tags to preserve output layout. -Hu]
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 4438
Location: Frankfurt, Germany

PostPosted: Tue Mar 06, 2018 1:03 pm    Post subject: Reply with quote

Do you need/use qtwebengine at all? If not: change your USE flags so that it's not getting pulled in.
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2571
Location: Here and Away Again

PostPosted: Wed Mar 07, 2018 11:23 am    Post subject: Reply with quote

fedeliallalinea wrote:
I don't see any interesting error in build.log.

There is this:

Code:
FAILED: obj/src/3rdparty/chromium/v8/tools/gyp/v8_snapshot.gen/snapshot.cc
cd /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/3rdparty/chromium/v8/tools/gyp; /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/mksnapshot --log-snapshot-positions --logfile /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/obj/src/3rdparty/chromium/v8/tools/gyp/v8_snapshot.gen/snapshot.log --random-seed 314159265 --startup_src /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/obj/src/3rdparty/chromium/v8/tools/gyp/v8_snapshot.gen/snapshot.cc ""
/bin/sh: line 1:  3142 Segmentation fault      /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/mksnapshot --log-snapshot-positions --logfile /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/obj/src/3rdparty/chromium/v8/tools/gyp/v8_snapshot.gen/snapshot.log --random-seed 314159265 --startup_src /var/tmp/portage/dev-qt/qtwebengine-5.7.1-r2/work/qtwebengine-opensource-src-5.7.1/src/core/Release/obj/src/3rdparty/chromium/v8/tools/gyp/v8_snapshot.gen/snapshot.cc ""

Segmentation faults, especially seemingly random ones, are oft tell of hardware issues, such as bad RAM.

I'm not familiar with 'grsec' myself, but looking at for example dev-qt/qtwebengine: grsec: denied RWX mmap of <anonymous mapping> by /usr/lib64/qt5/libexec/QtWebEngineProcess and dev-qt/qtwebengine: grsec: denied RWX mmap of <anonymous mapping> by [...]src/core/Release/mksnapshot, I imagine it might have something to do with this.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
erg_samowzbudnik
Apprentice
Apprentice


Joined: 09 Sep 2011
Posts: 211
Location: European sticks

PostPosted: Thu Mar 15, 2018 12:52 pm    Post subject: Reply with quote

Thanks all for help, at the end, having changed use flags I've managed to get rid of qtwebengine altogether - thank's for that suggestion mike155
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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