Re: [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)

2018-03-15 Thread J. Roeleveld
On March 15, 2018 3:40:13 PM UTC, Walter Dnes  wrote:
>On Wed, Mar 14, 2018 at 10:29:49PM -0600, the...@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.



Re: [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)

2018-03-15 Thread Neil Bothwick
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


pgpiHyRZ7lio3.pgp
Description: OpenPGP digital signature


Re: [gentoo-user] webkit-gtk-2.18.6 failed (compile phase)

2018-03-15 Thread Walter Dnes
On Wed, Mar 14, 2018 at 10:29:49PM -0600, the...@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 
I don't run "desktop environments"; I run useful applications



[gentoo-user] webkit-gtk-2.18.6 failed (compile phase)

2018-03-14 Thread thelma
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 +
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: 

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"