* [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)
@ 2018-03-15 4:29 thelma
2018-03-15 15:40 ` Walter Dnes
0 siblings, 1 reply; 7+ messages in thread
From: thelma @ 2018-03-15 4:29 UTC (permalink / raw
To: Gentoo mailing list
I've installed webkit-gtk-2.18.6 on two other boxes and it went just fine but the third box is giving me an error.
I can not attach complete emerge.log as the file is ~115MB
ninja: build stopped: subcommand failed.
* ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile phase):
* ninja -v -j5 -l8 failed
*
* Call stack:
* ebuild.sh, line 124: Called src_compile
* environment, line 4841: Called cmake-utils_src_compile
* environment, line 1296: Called cmake-utils_src_make
* environment, line 1474: Called _cmake_ninja_src_make
* environment, line 519: Called eninja
* environment, line 1827: Called die
* The specific snippet of code:
* "$@" || die "${nonfatal_args[@]}" "${*} failed"
*
* If you need support, post the output of `emerge --info '=net-libs/webkit-gtk-2.18.6::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-libs/webkit-gtk-2.18.6::gentoo'`.
* The complete build log is located at '/var/log/portage/net-libs:webkit-gtk-2.18.6:20180314-223248.log'.
* For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/webkit-gtk-2.18.6/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-libs/webkit-gtk-2.18.6/temp/environment'.
* Working directory: '/var/tmp/portage/net-libs/webkit-gtk-2.18.6/work/webkit-gtk-2.18.6_build'
* S: '/var/tmp/portage/net-libs/webkit-gtk-2.18.6/work/webkitgtk-2.18.6'
*
* The following package has failed to build, install, or execute postinst:
*
* (net-libs/webkit-gtk-2.18.6:4/37::gentoo, ebuild scheduled for merge), Log file:
* '/var/log/portage/net-libs:webkit-gtk-2.18.6:20180314-223248.log'
emerge --info '=net-libs/webkit-gtk-2.18.6::gentoo'
Portage 2.3.24 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-6.4.0, glibc-2.25-r10, 4.9.72-gentoo x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-4.9.72-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.4.1
KiB Mem: 4046816 total, 3693384 free
KiB Swap: 524284 total, 195216 free
Timestamp of repository gentoo: Wed, 14 Mar 2018 18:00:01 +0000
Head commit of repository gentoo: 04417076a13a10d172b6e00d22f04ffa128eae38
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash: 4.4_p12::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.5.4-r1::gentoo
dev-util/cmake: 3.9.6::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-r3::gentoo, 1.15.1-r2::gentoo
sys-devel/binutils: 2.29.1-r1::gentoo
sys-devel/gcc: 5.4.0-r4::gentoo, 6.4.0-r1::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.13::gentoo (virtual/os-headers)
sys-libs/glibc: 2.25-r10::gentoo
Repositories:
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://10.0.0.103/gentoo-portage
priority: -1000
sync-rsync-verify-metamanifest: no
sync-rsync-extra-opts:
brother-overlay
location: /var/lib/layman/brother-overlay
masters: gentoo
priority: 50
Local
location: /usr/local/portage
masters: gentoo
priority: 99999999
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA googleearth PUEL dlj-1.1 Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/lib64/libreoffice/program/sofficerc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/ext-active/ /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="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write=y --keep-going --with-bdeps=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect 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="ftp://ftp.gtlib.gatech.edu/pub/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
LANG="en_US.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5 -l8"
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 a52 aac acpi alsa amd64 apache2 bluetooth branding bzip2 cairo cdda cdr cgi cli consolekit crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam flac foomaticdb fortran gdbm gif gimp gimpprint glamor gnome gpm gtk iconv ipv6 java jpeg kpathsea lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib mysql ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt5 qtk readline scanner sdl seccomp spell ssl startup-notification svg tcpd tetex tiff truetype type1 udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid 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="mmx mmxext sse sse2" 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" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" SANE_BACKENDS="epson epson2 fujitsu" USERLAND="GNU" VIDEO_CARDS="nvidia" XFCE_PLUGINS="brightness clock trash" 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, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
--
Thelma
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)
2018-03-15 4:29 [gentoo-user] webkit-gtk-2.18.6 failed (compile phase) thelma
@ 2018-03-15 15:40 ` Walter Dnes
2018-03-15 18:29 ` Neil Bothwick
2018-03-15 21:05 ` [gentoo-user] " J. Roeleveld
0 siblings, 2 replies; 7+ messages in thread
From: Walter Dnes @ 2018-03-15 15:40 UTC (permalink / raw
To: gentoo-user
On Wed, Mar 14, 2018 at 10:29:49PM -0600, thelma@sys-concept.com wrote
> I've installed webkit-gtk-2.18.6 on two other boxes and it went just
> fine but the third box is giving me an error.
> ninja: build stopped: subcommand failed.
> * ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile phase):
> * ninja -v -j5 -l8 failed
One option that sometimes cures mysterious failures is to do the build
with...
MAKEOPTS="-j1"
Yes, the build takes longer, but it may actually build. Remember to
set the option back to normal value after experimenting.
A couple of unrelated items...
1)
> =================================================================
> System Settings
> =================================================================
> System uname: Linux-4.9.72-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.4.1
> CFLAGS="-march=nocona -O2 -pipe"
> CXXFLAGS="-march=nocona -O2 -pipe"
Your kernel indicates "Core2", but your C(XX)FLAGS show "nocona".
https://gcc.gnu.org/onlinedocs/gcc-6.4.0/gcc/x86-Options.html#x86-Options
indicates that Core2 has the SSSE3 instruction set (not to be confused
with SSE3) that Nocona doesn't have. "-march=native" is recommended
unless you're using the machine to do binary builds for other Nocona
machines.
2)
> MAKEOPTS="-j5 -l8"
...on a 4-core cpu. There is some question about MAKEOPTS="-j($cores+1)"
https://blogs.gentoo.org/ago/2013/01/14/makeopts-jcore-1-is-not-the-best-optimization/
As the old saying goes, "your mileage may vary".
--
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)
2018-03-15 15:40 ` Walter Dnes
@ 2018-03-15 18:29 ` Neil Bothwick
2018-03-15 20:57 ` [gentoo-user] [SOLVED] " thelma
2018-03-15 21:05 ` [gentoo-user] " J. Roeleveld
1 sibling, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2018-03-15 18:29 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 966 bytes --]
On Thu, 15 Mar 2018 11:40:13 -0400, Walter Dnes wrote:
> > ninja: build stopped: subcommand failed.
> > * ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile phase):
> > * ninja -v -j5 -l8 failed
>
> One option that sometimes cures mysterious failures is to do the build
> with...
> MAKEOPTS="-j1"
> Yes, the build takes longer, but it may actually build. Remember to
> set the option back to normal value after experimenting.
You can set it on the command line for that build only
MAKEOPTS="-j1" emerge whatever
I too find that it can help builds that otherwise fail, even when it
doesn't, the make output gives a better idea of the failure point when
parallel builds are not cluttering it up.
If the build log is that big, either compress it or just post the last
100 lines. The error message you posted doesn't really say much more than
"it broke".
--
Neil Bothwick
Top Oxymorons Number 1: Microsoft Works
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] webkit-gtk-2.18.6 failed (compile phase)
2018-03-15 18:29 ` Neil Bothwick
@ 2018-03-15 20:57 ` thelma
2018-03-15 21:08 ` J. Roeleveld
2018-05-06 22:02 ` Mart Raudsepp
0 siblings, 2 replies; 7+ messages in thread
From: thelma @ 2018-03-15 20:57 UTC (permalink / raw
To: gentoo-user
On 03/15/2018 12:29 PM, Neil Bothwick wrote:
> On Thu, 15 Mar 2018 11:40:13 -0400, Walter Dnes wrote:
>
>>> ninja: build stopped: subcommand failed.
>>> * ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile phase):
>>> * ninja -v -j5 -l8 failed
>>
>> One option that sometimes cures mysterious failures is to do the build
>> with...
>> MAKEOPTS="-j1"
>> Yes, the build takes longer, but it may actually build. Remember to
>> set the option back to normal value after experimenting.
>
> You can set it on the command line for that build only
>
> MAKEOPTS="-j1" emerge whatever
>
> I too find that it can help builds that otherwise fail, even when it
> doesn't, the make output gives a better idea of the failure point when
> parallel builds are not cluttering it up.
>
> If the build log is that big, either compress it or just post the last
> 100 lines. The error message you posted doesn't really say much more than
> "it broke".
Thanks Walter and Neil, Yes, that was the case not enough RAM,
MAKEOPTS="-j1" fixed the problem.
Though, it was sloooow. On Intel Quad core CPU and 4MB of RAM it took
over 7-hours to compile it.
I guess I need more RAM.
--
Thelma
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)
2018-03-15 15:40 ` Walter Dnes
2018-03-15 18:29 ` Neil Bothwick
@ 2018-03-15 21:05 ` J. Roeleveld
1 sibling, 0 replies; 7+ messages in thread
From: J. Roeleveld @ 2018-03-15 21:05 UTC (permalink / raw
To: gentoo-user
On March 15, 2018 3:40:13 PM UTC, Walter Dnes <waltdnes@waltdnes.org> wrote:
>On Wed, Mar 14, 2018 at 10:29:49PM -0600, thelma@sys-concept.com wrote
>> I've installed webkit-gtk-2.18.6 on two other boxes and it went just
>> fine but the third box is giving me an error.
>
>> ninja: build stopped: subcommand failed.
>> * ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile phase):
>> * ninja -v -j5 -l8 failed
>
> One option that sometimes cures mysterious failures is to do the build
>with...
>MAKEOPTS="-j1"
> Yes, the build takes longer, but it may actually build. Remember to
>set the option back to normal value after experimenting.
>
> A couple of unrelated items...
>
>1)
>> =================================================================
>> System Settings
>> =================================================================
>> System uname:
>Linux-4.9.72-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.4.1
>
>> CFLAGS="-march=nocona -O2 -pipe"
>> CXXFLAGS="-march=nocona -O2 -pipe"
>
> Your kernel indicates "Core2", but your C(XX)FLAGS show "nocona".
>https://gcc.gnu.org/onlinedocs/gcc-6.4.0/gcc/x86-Options.html#x86-Options
>indicates that Core2 has the SSSE3 instruction set (not to be confused
>with SSE3) that Nocona doesn't have. "-march=native" is recommended
>unless you're using the machine to do binary builds for other Nocona
>machines.
>
>2)
>> MAKEOPTS="-j5 -l8"
>
>...on a 4-core cpu. There is some question about
>MAKEOPTS="-j($cores+1)"
>https://blogs.gentoo.org/ago/2013/01/14/makeopts-jcore-1-is-not-the-best-optimization/
>As the old saying goes, "your mileage may vary".
Hmmm... going to try this.
I wonder if the +1 bit might work with sufficient memory. I have it higher than that and it feels faster compared to just the thread-count. (With 32GB ram)
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] webkit-gtk-2.18.6 failed (compile phase)
2018-03-15 20:57 ` [gentoo-user] [SOLVED] " thelma
@ 2018-03-15 21:08 ` J. Roeleveld
2018-05-06 22:02 ` Mart Raudsepp
1 sibling, 0 replies; 7+ messages in thread
From: J. Roeleveld @ 2018-03-15 21:08 UTC (permalink / raw
To: gentoo-user
On March 15, 2018 8:57:53 PM UTC, thelma@sys-concept.com wrote:
>On 03/15/2018 12:29 PM, Neil Bothwick wrote:
>> On Thu, 15 Mar 2018 11:40:13 -0400, Walter Dnes wrote:
>>
>>>> ninja: build stopped: subcommand failed.
>>>> * ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile
>phase):
>>>> * ninja -v -j5 -l8 failed
>>>
>>> One option that sometimes cures mysterious failures is to do the
>build
>>> with...
>>> MAKEOPTS="-j1"
>>> Yes, the build takes longer, but it may actually build. Remember
>to
>>> set the option back to normal value after experimenting.
>>
>> You can set it on the command line for that build only
>>
>> MAKEOPTS="-j1" emerge whatever
>>
>> I too find that it can help builds that otherwise fail, even when it
>> doesn't, the make output gives a better idea of the failure point
>when
>> parallel builds are not cluttering it up.
>>
>> If the build log is that big, either compress it or just post the
>last
>> 100 lines. The error message you posted doesn't really say much more
>than
>> "it broke".
>
>Thanks Walter and Neil, Yes, that was the case not enough RAM,
>MAKEOPTS="-j1" fixed the problem.
>
>Though, it was sloooow. On Intel Quad core CPU and 4MB of RAM it took
>over 7-hours to compile it.
>I guess I need more RAM.
>
>--
>Thelma
I would recommend more RAM. (And no, that isn't a joke because you said you have 4MB. 4GB is also quite low these days. I only have 2 systems left with 16GB. One is my laptop. The other is the backup storage server. The rest all have more.
--
Joost
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] [SOLVED] webkit-gtk-2.18.6 failed (compile phase)
2018-03-15 20:57 ` [gentoo-user] [SOLVED] " thelma
2018-03-15 21:08 ` J. Roeleveld
@ 2018-05-06 22:02 ` Mart Raudsepp
1 sibling, 0 replies; 7+ messages in thread
From: Mart Raudsepp @ 2018-05-06 22:02 UTC (permalink / raw
To: gentoo-user
Sorry for some thread gravediggery, but thought to share my webkit-gtk
maintainer experience on this.
Ühel kenal päeval, N, 15.03.2018 kell 14:57, kirjutas thelma@sys-
concept.com:
> On 03/15/2018 12:29 PM, Neil Bothwick wrote:
> > On Thu, 15 Mar 2018 11:40:13 -0400, Walter Dnes wrote:
> >
> > > > ninja: build stopped: subcommand failed.
> > > > * ERROR: net-libs/webkit-gtk-2.18.6::gentoo failed (compile
> > > > phase):
> > > > * ninja -v -j5 -l8 failed
> > >
> > > One option that sometimes cures mysterious failures is to do
> > > the build
> > > with...
> > > MAKEOPTS="-j1"
> > > Yes, the build takes longer, but it may actually
> > > build. Remember to
> > > set the option back to normal value after experimenting.
> >
> > You can set it on the command line for that build only
> >
> > MAKEOPTS="-j1" emerge whatever
> >
> > I too find that it can help builds that otherwise fail, even when
> > it
> > doesn't, the make output gives a better idea of the failure point
> > when
> > parallel builds are not cluttering it up.
> >
> > If the build log is that big, either compress it or just post the
> > last
> > 100 lines. The error message you posted doesn't really say much
> > more than
> > "it broke".
>
> Thanks Walter and Neil, Yes, that was the case not enough RAM,
> MAKEOPTS="-j1" fixed the problem.
>
> Though, it was sloooow. On Intel Quad core CPU and 4MB of RAM it
> took
> over 7-hours to compile it.
> I guess I need more RAM.
-j1 is probably too low. I think -j3 or so (maybe even -j4 instead of
-j5) would have worked for you too.
I don't know what's up exactly, but it seems like some parts of the
memory used in the build process is marked as not swappable. If you
have a higher -j, then it doesn't fit it all (the individual file
compiles can be quite memory hungry with C++ and webkit) and the kernel
just OOM kills one of the parallel processes and the whole build will
fail.
The confusing part here is as I said - sometimes swap doesn't even help
at all. Of course if you have no swap or not enough swap, it's even
more likely to die with high -j MAKEOPTS.
webkit-gtk-2.20 will be using the rough equivalent of chromium jumbo-
build unconditionally. We shall see how that will effect it all; I
suspect even lower -j might be needed to fit it all in RAM in
constrained situations.
Mart
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-05-06 22:02 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-15 4:29 [gentoo-user] webkit-gtk-2.18.6 failed (compile phase) thelma
2018-03-15 15:40 ` Walter Dnes
2018-03-15 18:29 ` Neil Bothwick
2018-03-15 20:57 ` [gentoo-user] [SOLVED] " thelma
2018-03-15 21:08 ` J. Roeleveld
2018-05-06 22:02 ` Mart Raudsepp
2018-03-15 21:05 ` [gentoo-user] " J. Roeleveld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox