View previous topic :: View next topic |
Author |
Message |
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Sat Feb 17, 2018 1:41 am Post subject: Chromium will not build[SOLVED] |
|
|
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 |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sat Feb 17, 2018 11:13 am Post subject: |
|
|
Post also your emerge --info in addition to full build.log _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Sat Feb 17, 2018 3:20 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sat Feb 17, 2018 3:24 pm Post subject: |
|
|
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 |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
|
Back to top |
|
|
John R. Graham Administrator
Joined: 08 Mar 2005 Posts: 10587 Location: Somewhere over Atlanta, Georgia
|
Posted: Sat Feb 17, 2018 3:51 pm Post subject: |
|
|
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 |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 30894 Location: here
|
Posted: Sat Feb 17, 2018 3:58 pm Post subject: |
|
|
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 |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Sat Feb 17, 2018 5:01 pm Post subject: |
|
|
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 |
|
|
jserink Veteran
Joined: 30 Jan 2004 Posts: 1008
|
Posted: Tue Feb 20, 2018 6:53 am Post subject: |
|
|
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 |
|
|
|