Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium will not build[SOLVED]
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
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Sat Feb 17, 2018 1:41 am    Post subject: Chromium will not build[SOLVED] Reply with quote

Hi All:

www-client/chromium-64.0.3282.140 refuses to build and it throws this error:

Code:
 * ERROR: www-client/chromium-64.0.3282.140::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 -C out/Release v8_context_snapshot_generator failed


It takes some time to get to that point.
Have reemerged ninja and done some googling which lead me to update to this:
dev-util/re2c-1.0.3

That solved this problem for someone else some time back...
but no luck.


Any ideas on this?

The previous version of chromium built with no issues.

Cheers,
john

[Moderator edit: added [code] tags to preserve output layout. -Hu]


Last edited by jserink on Tue Feb 20, 2018 6:49 am; edited 1 time in total
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Sat Feb 17, 2018 3:23 am    Post subject: Reply with quote

The snippet looks like post error message, where is the error?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sat Feb 17, 2018 11:13 am    Post subject: Reply with quote

Post also your emerge --info in addition to full build.log
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Sat Feb 17, 2018 3:20 pm    Post subject: Reply with quote

Jaglover wrote:
The snippet looks like post error message, where is the error?


You're right:
Code:

[7147/8782] x86_64-pc-linux-gnu-g++ -MMD -MF obj/gpu/ipc/common/ipc_common_sources/gpu_message_generator.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DCOMPONENT_BUILD -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGPU_IMPLEMENTATION -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSKIA_DLL -DGR_GL_IGNORE_ES3_MSAA=0 -DSK_SUPPORT_GPU=1 -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DPROTOBUF_USE_DLLS -I../.. -Igen -I../../third_party/khronos -I../../gpu -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/libpng_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/libdrm_shim -Igen/shim_headers/re2_shim -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu -I../../third_party/skia/include/images -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/third_party/vulkan -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -I../../third_party/protobuf/src -I../../third_party/mesa/src/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=native -mtune=native -fno-delete-null-pointer-checks -c ../../gpu/ipc/common/gpu_message_generator.cc -o obj/gpu/ipc/common/ipc_common_sources/gpu_message_generator.o
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-64.0.3282.167::gentoo failed (compile phase):
 *   ninja -v -j4 -l0 -C out/Release v8_context_snapshot_generator failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_compile
 *   environment, line 5041:  Called eninja '-C' 'out/Release' 'v8_context_snapshot_generator'
 *   environment, line 1719:  Called die
 * The specific snippet of code:
 *       "$@" || die "${nonfatal_args[@]}" "${*} failed"
 *

Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sat Feb 17, 2018 3:24 pm    Post subject: Reply with quote

jserink wrote:
Jaglover wrote:
The snippet looks like post error message, where is the error?


You're right:

Also this snippet not contain the real error, post full build.log or search 'error:' keyword in it and post some lines after and before
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Sat Feb 17, 2018 3:43 pm    Post subject: Reply with quote

fedeliallalinea wrote:
Post also your emerge --info in addition to full build.log


Emerge info is here:
https://paste.pound-python.org/show/I626aZ1Toy9R6k26cPId/

Build log is here:
http://bpaste.net/show/275f80043ac8

Cheers,
john
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10587
Location: Somewhere over Atlanta, Georgia

PostPosted: Sat Feb 17, 2018 3:51 pm    Post subject: Reply with quote

Moved from Unsupported Software to Portage & Programming. Chromium is supported so it fits better here.

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30894
Location: here

PostPosted: Sat Feb 17, 2018 3:58 pm    Post subject: Reply with quote

You use gcc-5? if yes apply patch proposed in this bug or, better, switch to gcc-6
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Sat Feb 17, 2018 5:01 pm    Post subject: Reply with quote

fedeliallalinea wrote:
You use gcc-5?
According to his emerge --info output, yes:
emerge --info:
2   Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop, gcc-5.4.0, glibc-2.25-r10, 4.9.34-gentoo x86_64)
25   sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0-r1::gentoo
He has gcc-6 installed, but still uses gcc-5 to build. Also, his kernel is severely outdated.
Back to top
View user's profile Send private message
jserink
Veteran
Veteran


Joined: 30 Jan 2004
Posts: 1008

PostPosted: Tue Feb 20, 2018 6:53 am    Post subject: Reply with quote

Thanx to Hu and fedeliallalinea:

Updated to a new kernel this morning, albeit still dated.
Code:
jserinki7 /home/jserink # uname -a
Linux jserinki7 4.9.76-gentoo-r1 #1 SMP PREEMPT Tue Feb 20 08:38:06 +08 2018 x86_64 Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz GenuineIntel GNU/Linux



Some weeks(months ???) back I compiled a 4.12.12 kernel but it ran my CPU at 100% all cores all the time so I just went back to my working system and left it. I was waiting until I had time to trouble shoot which of course never happened. I moved to a 4.9.76-r1 from the 4.9.34 as its easy, makeoldconfig is a breeze and i know it will work and it did.

All good there.

Also updated gcc:
Code:
jserinki7 /home/jserink # gcc-config -l
 [1] x86_64-pc-linux-gnu-5.4.0
 [2] x86_64-pc-linux-gnu-6.4.0 *



Rebuilt libtool, clang and llvm. After which I emerged chromium and it built fine.

All good.

Thank you for the assistance.

Cheers,
john

[Moderator edit: added [code] tags to preserve output layout. -Hu]
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