Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chromium-58.0.3029.81 fails to emerge
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
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Wed Apr 26, 2017 4:37 pm    Post subject: Chromium-58.0.3029.81 fails to emerge Reply with quote

www-client/chromium-58.0.3029.81 is failing to emerge on my system. I have tried changing MAKEOPTS from -j5 to -j2 with no results and don't know what to try next.

The particular failure is claimed to be an "undefined reference to `re2::RE2::RE2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'". I don't know how to cure this problem.


The failing section of the compilation (after several hours of compilation) follows:

Code:

[22755/25570] x86_64-pc-linux-gnu-g++ -MMD -MF obj/ui/views/views/accessible_pane_view.o.d -DVIEWS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib64\" -DTOOLKIT_VIEWS=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQundefined reference to `re2::RE2::RE2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit statusUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/ffmpeg_shim -Igen -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -Igen/ui/views/resources -I../../third_party/ced/src -Igen/ui/resources -Igen/ui/resources -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedef -Wno-unused-function -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -fno-delete-null-pointer-checks -c ../../ui/views/accessible_pane_view.cc -o obj/ui/views/views/accessible_pane_view.o
[22756/25570] x86_64-pc-linux-gnu-g++ -MMD -MF obj/ui/views/views/background.o.d -DVIEWS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib64\" -DTOOLKIT_VIEWS=1 -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_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/ffmpeg_shim -Igen -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -Igen/ui/views/resources -I../../third_party/ced/src -Igen/ui/resources -Igen/ui/resources -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedef -Wno-unused-function -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -fno-delete-null-pointer-checks -c ../../ui/views/background.cc -o obj/ui/views/views/background.o
[22757/25570] x86_64-pc-linux-gnu-g++ -MMD -MF obj/ui/views/views/scroll_view.o.d -DVIEWS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib64\" -DTOOLKIT_VIEWS=1 -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_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/ffmpeg_shim -Igen -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -Igen/ui/views/resources -I../../third_party/ced/src -Igen/ui/resources -Igen/ui/resources -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedef -Wno-unused-function -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -fno-delete-null-pointer-checks -c ../../ui/views/controls/scroll_view.cc -o obj/ui/views/views/scroll_view.o
[22758/25570] x86_64-pc-linux-gnu-g++ -MMD -MF obj/ui/views/views/scroll_animator.o.d -DVIEWS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib64\" -DTOOLKIT_VIEWS=1 -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_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/ffmpeg_shim -Igen -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -Igen/ui/views/resources -I../../third_party/ced/src -Igen/ui/resources -Igen/ui/resources -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedef -Wno-unused-function -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -fno-delete-null-pointer-checks -c ../../ui/views/animation/scroll_animator.cc -o obj/ui/views/views/scroll_animator.o
[22759/25570] x86_64-pc-linux-gnu-g++ -MMD -MF obj/ui/views/views/base_scroll_bar.o.d -DVIEWS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib64\" -DTOOLKIT_VIEWS=1 -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_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/ffmpeg_shim -Igen -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -Igen/ui/views/resources -I../../third_party/ced/src -Igen/ui/resources -Igen/ui/resources -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedef -Wno-unused-function -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -fno-delete-null-pointer-checks -c ../../ui/views/controls/scrollbar/base_scroll_bar.cc -o obj/ui/views/views/base_scroll_bar.o
[22760/25570] x86_64-pc-linux-gnu-g++ -MMD -MF obj/ui/views/views/base_scroll_bar_button.o.d -DVIEWS_IMPLEMENTATION -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DATK_LIB_DIR=\"/usr/lib64\" -DTOOLKIT_VIEWS=1 -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_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -I../.. -Igen -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/ffmpeg_shim -Igen -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -Igen/ui/views/resources -I../../third_party/ced/src -Igen/ui/resources -Igen/ui/resources -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -Wno-unused-local-typedef -Wno-unused-function -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -fno-delete-null-pointer-checks -c ../../ui/views/controls/scrollbar/base_scroll_bar_button.cc -o obj/ui/views/views/base_scroll_bar_button.o
FAILED: x86_64-pc-linux-gnu-g++ -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs -Wl,--no-as-needed -lpthread -Wl,--as-needed -m64 -pthread -Wl,-O1 -Wl,--gc-sections -Wl,-rpath-link=. -Wl,--disable-new-dtags -Wl,--export-dynamic -Wl,-O1 -Wl,--as-needed -o "./ui.service" -Wl,--start-group @"./ui.service.rsp"  -Wl,--end-group  -ldl -lrt -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lX11 -lX11-xcb -lxcb -lXcomposite -lXcursor -lXdamage -lXext -lXfixes -lXi -lXrender -lXtst -licui18n -licuuc -licudata -latomic -lsmime3 -lnss3 -lnssutil3 -lplds4 -lplc4 -lnspr4 -lre2 -lpangocairo-1.0 -lpango-1.0 -lcairo -lpng16 -lharfbuzz-icu -lharfbuzz -lfontconfig -lfreetype -lexpat -lgio-2.0 -lz -ljpeg -lXrandr -lXss -lresolv -lavcodec -lavformat -lavutil -lasound
obj/gpu/config/config_sources/gpu_control_list.o: In function `gpu::(anonymous namespace)::StringMismatch(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) [clone .part.25]':
gpu_control_list.cc:(.text._ZN3gpu12_GLOBAL__N_114StringMismatchERKNS
t7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_.part.25+0x28): undefined reference to `re2::RE2::RE2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
obj/gpu/config/config_sources/gpu_control_list.o: In function `gpu::GpuControlList::GpuControlListEntry::Contains(gpu::GpuControlList::OsType, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, gpu::GPUInfo const&) const [clone .part.190]':
gpu_control_list.cc:(.text._ZNK3gpu14GpuControlList19GpuControlListE
ntry8ContainsENS0_6OsTypeERKNSt7__cxx1112basic_stringIcSt11char_trai
tsIcESaIcEEERKNS_7GPUInfoE.part.190+0x482): undefined reference to
 `re2::RE2::RE2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-58.0.3029.81::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 5231:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-58.0.3029.81::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-58.0.3029.81::gentoo'`.
 *
 * MemTotal:       16428904 kB
 * SwapTotal:       1021948 kB
 *
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-58.0.3029.81/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-58.0.3029.81/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-58.0.3029.81/work/chromium-58.0.3029.81'
 * S: '/var/tmp/portage/www-client/chromium-58.0.3029.81/work/chromium-58.0.3029.81'

>>> Failed to emerge www-client/chromium-58.0.3029.81, Log file:

>>>  '/var/tmp/portage/www-client/chromium-58.0.3029.81/temp/build.log'
bopper jc #

Changed 'list' tags into 'code' tags, and broke lines to make the forum layout behave (and to perhaps make the terminal output more readable-like).Chiitoo
Back to top
View user's profile Send private message
algui91
n00b
n00b


Joined: 04 Aug 2016
Posts: 22

PostPosted: Wed Apr 26, 2017 4:47 pm    Post subject: Reply with quote

I am having the same issue, tried to emerge 3 or 4 times by now, following also the steps in here: https://forums.gentoo.org/viewtopic-t-1052112.html with no luck.

Here are the details:

Code:

[b]collect2: error: ld returned 1 exit status[/b]
....
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-58.0.3029.81::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 5192:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-58.0.3029.81::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-58.0.3029.81::gentoo'`.
 *
 * MemTotal:       12177028 kB
 * SwapTotal:       4194300 kB
 *
 * The complete build log is located at '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/temp/build.log'.
 * The ebuild environment file is located at '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/temp/environment'.
 * Working directory: '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/work/chromium-58.0.3029.81'
 * S: '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/work/chromium-58.0.3029.81'

>>> Failed to emerge www-client/chromium-58.0.3029.81, Log file:

>>>  '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/temp/build.log'

 * Messages for package www-client/chromium-58.0.3029.81:

 * ERROR: www-client/chromium-58.0.3029.81::gentoo failed (compile phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line 115:  Called src_compile
 *   environment, line 5192:  Called die
 * The specific snippet of code:
 *       eninja -C out/Release ${ninja_targets} || die;
 *
 * If you need support, post the output of `emerge --info '=www-client/chromium-58.0.3029.81::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-58.0.3029.81::gentoo'`.
 * The complete build log is located at '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/temp/build.log'.
 * The ebuild environment file is located at '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/temp/environment'.
 * Working directory: '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/work/chromium-58.0.3029.81'
 * S: '/home/hkr/ssd2/portage/www-client/chromium-58.0.3029.81/work/chromium-58.0.3029.81'


Quote:
If you need support, post the output of `emerge --info '=www-client/chromium-58.0.3029.81::gentoo'`,


Code:

   ~ : emerge --info '=www-client/chromium-58.0.3029.81::gentoo'
Portage 2.3.3 (python 2.7.12-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.23-r3, 4.9.16-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.16-gentoo-x86_64-Intel-R-_Core-TM-_i3-3110M_CPU_@_2.40GHz-with-gentoo-2.3
KiB Mem:    12177028 total,   3986128 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 26 Apr 2017 00:45:01 +0000
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.26.1 p1.0) 2.26.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.1-r1::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.24.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.26.1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo
sys-devel/gcc-config:     1.7.3::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.23-r3::gentoo
Repositories:

gentoo
    location: /home/hkr/ssd2/usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

go-overlay
    location: /var/lib/layman/go-overlay
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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="http://mirrors.linuxant.fr/distfiles.gentoo.org/ http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://gentoo-euetib.upc.es/mirror/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="/home/hkr/ssd2/"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg lcms ldap libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support readline sdl seccomp session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xft xinerama 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev 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" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="intel i915" 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, USE_PYTHON


Quote:
the complete build log and the output of `emerge -pqv '=www-client/chromium-58.0.3029.81::gentoo'`.


Code:

   ~ : emerge -pqv '=www-client/chromium-58.0.3029.81::gentoo'
[ebuild     U ] www-client/chromium-58.0.3029.81 [57.0.2987.133] USE="(pic) proprietary-codecs suid system-ffmpeg tcmalloc -component-build -cups* -custom-cflags -gconf -gnome-keyring -gtk3 -hangouts* -kerberos (-neon) -pulseaudio (-selinux) (-system-libvpx*) {-test} -widevine" L10N="en-GB es es-419 fr -am* -ar* -bg* -bn* -ca* -cs* -da* -de* -el* -et* -fa* -fi* -fil* -gu* -he* -hi* -hr* -hu* -id* -it* -ja* -kn* -ko* -lt* -lv* -ml* -mr* -ms* -nb* -nl* -pl* -pt-BR* -pt-PT* -ro* -ru* -sk* -sl* -sr* -sv* -sw* -ta* -te* -th* -tr* -uk* -vi* -zh-CN* -zh-TW*"


Any suggestion?
Back to top
View user's profile Send private message
Perfect Gentleman
Veteran
Veteran


Joined: 18 May 2014
Posts: 1256

PostPosted: Wed Apr 26, 2017 5:06 pm    Post subject: Reply with quote

afaik, gtk3 must be turned on
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31385
Location: here

PostPosted: Wed Apr 26, 2017 5:42 pm    Post subject: Reply with quote

It's seems gcc upgrade problem (from 4 to 5).
Read this news
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
tomtom69
Apprentice
Apprentice


Joined: 09 Nov 2010
Posts: 255
Location: Bavaria

PostPosted: Wed Apr 26, 2017 5:44 pm    Post subject: Reply with quote

Did you change from gcc4 to gcc5?
Back to top
View user's profile Send private message
froosh
n00b
n00b


Joined: 10 Jul 2014
Posts: 29

PostPosted: Wed Apr 26, 2017 6:19 pm    Post subject: Reply with quote

I'm having the same problem.

I also switched MAKETOPS to -j1 and removed "-pipe" from CFLAGS.
Back to top
View user's profile Send private message
Featherfoot
Veteran
Veteran


Joined: 28 Dec 2002
Posts: 1108
Location: Stuart, Florida

PostPosted: Wed Apr 26, 2017 6:59 pm    Post subject: Reply with quote

tomtom69: I didn't change anything. Was I supposed to?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31385
Location: here

PostPosted: Wed Apr 26, 2017 7:06 pm    Post subject: Reply with quote

Featherfoot wrote:
tomtom69: I didn't change anything. Was I supposed to?

You have upgraded gcc from 4 to 5 (your emerge info confirm), but you have cannot run command
Code:
# revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

suggested by portage

[Moderator edit: changed [code] tag to [url] tag for link to Gentoo news item. -Hu]
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
algui91
n00b
n00b


Joined: 04 Aug 2016
Posts: 22

PostPosted: Wed Apr 26, 2017 8:15 pm    Post subject: Reply with quote

fedeliallalinea wrote:
It's seems gcc upgrade problem (from 4 to 5).
Read this news


I'm running
Code:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc
right now, but it was saying:

Code:

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by sci-mathematics/rstudio-1.0.136::gentoo
# required by @selected
# required by @world (argument)
=dev-libs/mathjax-2.7.0 ~amd64

The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by sci-mathematics/rstudio-1.0.136::gentoo[-dedicated]
# required by @selected
# required by @world (argument)
>=dev-qt/qtsingleapplication-2.6.1_p20150629 qt5
# required by sys-devel/clang-3.9.1-r100::gentoo
# required by sci-mathematics/rstudio-1.0.136::gentoo
# required by @selected
# required by @world (argument)
>=sys-devel/llvm-3.9.1-r1 clang
# required by dev-qt/qtsingleapplication-2.6.1_p20150629::gentoo
# required by sci-mathematics/rstudio-1.0.136::gentoo[-dedicated]
# required by @selected
# required by @world (argument)
>=dev-qt/qtlockedfile-2.4.1_p20150629 qt5
# required by sys-devel/llvm-3.9.1-r1::gentoo[xml,clang]
# required by sys-devel/clang-3.9.1-r100::gentoo
# required by sci-mathematics/rstudio-1.0.136::gentoo
# required by @selected
# required by @world (argument)
>=dev-libs/libxml2-2.9.4-r1 abi_x86_32
# required by dev-libs/libxml2-2.9.4-r1::gentoo[icu]
# required by sys-devel/gettext-0.19.8.1::gentoo
# required by net-libs/gnutls-3.3.26::gentoo[nls]
# required by mail-mta/nullmailer-1.13-r5::gentoo[ssl]
# required by mail-mta/nullmailer:0 (argument)
>=dev-libs/icu-58.1-r1 abi_x86_32

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

!!! All ebuilds that could satisfy ">=dev-libs/icu-51.2-r1:=[abi_x86_32(-)?,
abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,
abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,
abi_s390_64(-)?]" have been masked.
!!! One of the following masked packages is required to complete your request:
- dev-libs/icu-58.2::gentoo (masked by: ~amd64 keyword)
- dev-libs/icu-58.1-r1::gentoo (masked by: )

(dependency required by "dev-libs/libxml2-2.9.4-r1::gentoo" [ebuild])
(dependency required by "net-misc/networkmanager-openconnect-1.2.4::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


After that, I've added this to my configs (Package.use):

Code:

# required by sci-mathematics/rstudio-1.0.136::gentoo[-dedicated]
# required by @selected
# required by @world (argument)
dev-qt/qtsingleapplication qt5
# required by sys-devel/clang-3.9.1-r100::gentoo
# required by sci-mathematics/rstudio-1.0.136::gentoo
# required by @selected
# required by @world (argument)
sys-devel/llvm clang
# required by dev-qt/qtsingleapplication-2.6.1_p20150629::gentoo
# required by sci-mathematics/rstudio-1.0.136::gentoo[-dedicated]
# required by @selected
# required by @world (argument)
dev-qt/qtlockedfile qt5
# required by sys-devel/llvm-3.9.1-r1::gentoo[xml,clang]
# required by sys-devel/clang-3.9.1-r100::gentoo
# required by sci-mathematics/rstudio-1.0.136::gentoo
# required by @selected
# required by @world (argument)
dev-libs/libxml2 abi_x86_32
# required by dev-libs/libxml2-2.9.4-r1::gentoo[icu]
# required by sys-devel/gettext-0.19.8.1::gentoo
# required by net-libs/gnutls-3.3.26::gentoo[nls]
# required by mail-mta/nullmailer-1.13-r5::gentoo[ssl]
# required by mail-mta/nullmailer:0 (argument)
dev-libs/icu abi_x86_32


And keywords:

Code:

# required by sci-mathematics/rstudio-1.0.136::gentoo
# required by @selected
# required by @world (argument)
dev-libs/mathjax-2.7.0 ~amd64


After that, is chromium supposed to compile correctly? I do not want to waste >8h of compiling for nothing.

Best regards!

Broke a line to make the forum layout behave.Chiitoo
_________________
My personal blog
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22915

PostPosted: Thu Apr 27, 2017 1:31 am    Post subject: Reply with quote

algui91 wrote:
I am having the same issue, tried to emerge 3 or 4 times by now,
Code:

[b]collect2: error: ld returned 1 exit status[/b]
....
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-58.0.3029.81::gentoo failed (compile phase):

Any suggestion?
You showed only the summary that an error of some kind happened. You did not show the actual error message, so we cannot tell if you actually have the same problem as the original poster.

algui91 wrote:
After that, is chromium supposed to compile correctly? I do not want to waste >8h of compiling for nothing.
Maybe. If you actually have the same problem, rebuilding as described in the news item should resolve your problem. If you have some other problem, it might not help. Please pastebin your Chromium build log so that we can confirm whether you have the same problem as the OP.
Back to top
View user's profile Send private message
algui91
n00b
n00b


Joined: 04 Aug 2016
Posts: 22

PostPosted: Thu Apr 27, 2017 2:09 pm    Post subject: Reply with quote

Hu wrote:
algui91 wrote:
I am having the same issue, tried to emerge 3 or 4 times by now,
Code:

[b]collect2: error: ld returned 1 exit status[/b]
....
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-58.0.3029.81::gentoo failed (compile phase):

Any suggestion?
You showed only the summary that an error of some kind happened. You did not show the actual error message, so we cannot tell if you actually have the same problem as the original poster.

algui91 wrote:
After that, is chromium supposed to compile correctly? I do not want to waste >8h of compiling for nothing.
Maybe. If you actually have the same problem, rebuilding as described in the news item should resolve your problem. If you have some other problem, it might not help. Please pastebin your Chromium build log so that we can confirm whether you have the same problem as the OP.


Sorry, I thought the important part was "ld returend 1 exit status", anyway, executing

Code:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc


resolved the problem.

Thanks!
_________________
My personal blog
Back to top
View user's profile Send private message
hujuice
Guru
Guru


Joined: 16 Oct 2007
Posts: 339
Location: Rome, Italy

PostPosted: Tue May 23, 2017 8:57 pm    Post subject: Reply with quote

algui91 wrote:

Code:
revdep-rebuild --library 'libstdc++.so.6' -- --exclude gcc

Thanks!


I've the same problem and I'm aware about the gcc major version needs. But here in my desktop the given rebuild command gives 557 ebuilds to recompile. I did the task, but obviously something went wrong, more than once. I did the --resume, something went wrong again, then I finished.
Now, I suppose that something has been missed during the so heavy rebuild process.

I will be very happy to receive any help to detect the package to recompile, avoiding the whole 557 rebuilds.

The most relevant snippet is:
Code:
[15543/25568] x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/WebKit/Source/core/css/css_2/StyleValueFactory.o.d -DV8_DEPRECATION_
WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X
11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_F
ILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -
DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_CORE_IMPLEMENTATION=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIR
ED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DSK_IGNORE_DW_GRAY_FIX -DSK
_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DE
NABLE_OILPAN=1 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DUSING_SYST
EM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUSE_SYSTEM_ZLIB=1 -I../.. -Igen -I../../third_party/WebKit/Source -I../../thir
d_party/WebKit -Igen/blink -Igen/third_party/WebKit -I../../third_party/khronos -I../../gpu -I/usr/include/glib-2.0 -I/usr/lib64/gl
ib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libjpe
g_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/snappy_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -
Igen/shim_headers/ffmpeg_shim -I../../third_party/WebKit/Source -Igen/blink -I../../skia/config -I../../skia/ext -I../../third_part
y/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/eff
ects -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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../thir
d_party/angle/include -I../../third_party/angle/src/common/third_party/numerics -Igen/angle -I../../third_party/iccjpeg -I/usr/incl
ude/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -I../../third_party/ots/include -I../../v8/include -Igen/v8/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 -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -march=bdver2 -O2 -pipe -fno-stack-protector -fno-delete-null-pointer-checks -c ../../third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp -o obj/third_party/WebKit/Source/core/css/css_2/StyleValueFactory.o
FAILED: obj/third_party/WebKit/Source/core/css/css_2/StyleValueFactory.o
x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/WebKit/Source/core/css/css_2/StyleValueFactory.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_CORE_IMPLEMENTATION=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DSK_IGNORE_DW_GRAY_FIX -DSK_IGNORE_DIRECTWRITE_GASP_FIX -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_SUPPORT_GPU=1 -DENABLE_LAYOUT_UNIT_IN_INLINE_BOXES=0 -DENABLE_OILPAN=1 -DWTF_USE_CONCATENATED_IMPULSE_RESPONSES=1 -DWTF_USE_WEBAUDIO_FFMPEG=1 -DWTF_USE_DEFAULT_RENDER_THEME=1 -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUSE_SYSTEM_ZLIB=1 -I../.. -Igen -I../../third_party/WebKit/Source -I../../third_party/WebKit -Igen/blink -Igen/third_party/WebKit -I../../third_party/khronos -I../../gpu -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Igen/shim_headers/icuuc_shim -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/libjpeg_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/snappy_shim -Igen/shim_headers/harfbuzz_shim -Igen/shim_headers/re2_shim -Igen/shim_headers/ffmpeg_shim -I../../third_party/WebKit/Source -Igen/blink -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/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/include/gpu -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/angle/include -I../../third_party/angle/src/common/third_party/numerics -Igen/angle -I../../third_party/iccjpeg -I/usr/include/libpng16 -I/usr/include/libxml2 -I/usr/include/libxml2 -I../../third_party/ots/include -I../../v8/include -Igen/v8/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 -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -march=bdver2 -O2 -pipe -fno-stack-protector -fno-delete-null-pointer-checks -c ../../third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp -o obj/third_party/WebKit/Source/core/css/css_2/StyleValueFactory.o
In file included from ../../third_party/WebKit/Source/bindings/core/v8/ScriptWrappableVisitor.h:13:0,
                 from ../../third_party/WebKit/Source/bindings/core/v8/ScriptWrappable.h:34,
                 from ../../third_party/WebKit/Source/core/css/cssom/CSSStyleValue.h:8,
                 from ../../third_party/WebKit/Source/core/css/cssom/StyleValueFactory.h:9,
                 from ../../third_party/WebKit/Source/core/css/cssom/StyleValueFactory.cpp:5:
../../v8/include/v8.h: In function ‘v8::internal::Object* v8::internal::IntToSmi(int)’:
../../v8/include/v8.h:8428:59: error: ‘kSmiTag’ was not declared in this scope
       (static_cast<uintptr_t>(value) << smi_shift_bits) | kSmiTag;
                                                           ^


Hints?

Regards,
HUjuice
_________________
Who hasn't a spine, should have a method.
Chi non ha carattere, deve pur avere un metodo.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22915

PostPosted: Wed May 24, 2017 1:37 am    Post subject: Reply with quote

You should rebuild any packages that failed during the script-initiated rebuild.

The error you pasted here is not caused by the ABI change. I have no advice for that error, but someone else might.
Back to top
View user's profile Send private message
phobos13013
Apprentice
Apprentice


Joined: 22 Sep 2004
Posts: 277
Location: PNW

PostPosted: Mon May 29, 2017 4:10 pm    Post subject: Reply with quote

Not sure if this helps anyone, but I too had the same issue building chromium-58 after trying all the other solutions, so I went ahead and manually built the remaining parts of the world file which there were only one or two. When that completed, I tried

Code:
revdep-rebuild


Code:
@preserved-rebuild


and finally

Code:
emerge --depclean


The depclean failed saying that jsoncpp was not installed even though it should have been pulled in by chromium-57; so I went ahead and installed that manually, then reran the world update with only chromium-58 remaining. It is on its way to a build and will edit this response with success or fail. I suspect this is a highly specialized situation and this may not help most even if it succeeds, but thought I would pass it along.
_________________
...and it should be known by now
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Tue May 30, 2017 4:18 pm    Post subject: Reply with quote

I have a similar problem, but with version 58.0.3029.110

Code:

x86_64-pc-linux-gnu-g++ -MMD -MF obj/third_party/zlib/zip/zip_internal.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUI_COMPOSITOR_IMAGE_TRANSPORT -DUSE_AURA=1 -DUSE_PANGO=1 -DUSE_CAIRO=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DDISABLE_NACL -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -DENABLE_MEDIA_ROUTER=1 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -Igen/shim_headers/minizip_shim -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/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 -m64 -march=x86-64 -pthread -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -g0 -fvisibility=hidden -fvisibility-inlines-hidden -std=gnu++11 -Wno-narrowing -fno-rtti -fno-exceptions -O2 -pipe -march=native -fno-delete-null-pointer-checks -c ../../third_party/zlib/google/zip_internal.cc -o obj/third_party/zlib/zip/zip_internal.o
In file included from /usr/include/minizip/unzip.h:55:0,
                 from gen/shim_headers/minizip_shim/third_party/zlib/contrib/minizip/unzip.h:5,
                 from ../../third_party/zlib/google/zip_internal.h:20,
                 from ../../third_party/zlib/google/zip_internal.cc:5:
/usr/include/minizip/ioapi.h:135:51: error: expected initializer before ‘_Z_OF’
 typedef voidpf   (ZCALLBACK *open_file_func)      _Z_OF((voidpf opaque, const char* filename, int mode));
                                                   ^
/usr/include/minizip/ioapi.h:136:51: error: expected initializer before ‘_Z_OF’
 typedef uLong    (ZCALLBACK *read_file_func)      _Z_OF((voidpf opaque, voidpf stream, void* buf, uLong size));
                                                   ^
/usr/include/minizip/ioapi.h:137:51: error: expected initializer before ‘_Z_OF’
 typedef uLong    (ZCALLBACK *write_file_func)     _Z_OF((voidpf opaque, voidpf stream, const void* buf, uLong size));
                                                   ^
/usr/include/minizip/ioapi.h:138:51: error: expected initializer before ‘_Z_OF’
 typedef int      (ZCALLBACK *close_file_func)     _Z_OF((voidpf opaque, voidpf stream));
                                                   ^
/usr/include/minizip/ioapi.h:139:51: error: expected initializer before ‘_Z_OF’
 typedef int      (ZCALLBACK *testerror_file_func) _Z_OF((voidpf opaque, voidpf stream));


I tought this was due to the gcc upgrade, but an emerge -e world didn't help
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22915

PostPosted: Wed May 31, 2017 1:47 am    Post subject: Reply with quote

That does not appear to be a similar problem. Could you explain why you believe the two to be related?

Based on some quick searches and on the paths involved, this looks like misuse of zlib headers.
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Wed May 31, 2017 6:21 am    Post subject: Reply with quote

Hu wrote:
That does not appear to be a similar problem. Could you explain why you believe the two to be related?

Because I see the same thing happening with version 58.0.3029.81, just with a different error message but still, chromium fails to emerge. Also, because this started to happen after the update to gcc 5.4.0-r3 and I also got the "undefined reference to `re2::RE2::RE2 blablabla" message, which was related to this update
Back to top
View user's profile Send private message
piedar
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2010
Posts: 82

PostPosted: Thu Jun 01, 2017 1:16 am    Post subject: Reply with quote

For me, the only thing that fixed it was

Code:
emerge -ave1 chromium


after revdep-rebuild turned up nothing.
Back to top
View user's profile Send private message
devilheart
l33t
l33t


Joined: 17 Mar 2005
Posts: 848
Location: Villach, Austria

PostPosted: Thu Jun 01, 2017 6:03 pm    Post subject: Reply with quote

I also tried that. No help :(

UPDATE

In the end, my problem was truly unrelated and due to a stray zconf.h in /usr/local/include
I don't remember how it got there :?
Back to top
View user's profile Send private message
iromeister
n00b
n00b


Joined: 04 Feb 2017
Posts: 31
Location: Berlin

PostPosted: Mon Jun 19, 2017 10:40 am    Post subject: Reply with quote

After starting the revdep-rebuild command, I noticed the packages dev-libs/re2 (https://packages.gentoo.org/packages/dev-libs/re2) and dev-util/re2c (https://packages.gentoo.org/packages/dev-util/re2c), the first one by Google. It would probably have sufficed to rebuild these.
Back to top
View user's profile Send private message
Troggie
n00b
n00b


Joined: 09 Oct 2016
Posts: 2

PostPosted: Fri Feb 09, 2018 12:00 pm    Post subject: Reply with quote

iromeister wrote:
After starting the revdep-rebuild command, I noticed the packages dev-libs/re2 (https://packages.gentoo.org/packages/dev-libs/re2) and dev-util/re2c (https://packages.gentoo.org/packages/dev-util/re2c), the first one by Google. It would probably have sufficed to rebuild these.


It has sufficed. Rebuilding just these allowed me to compile chromium successfully.
Back to top
View user's profile Send private message
stalkerg
n00b
n00b


Joined: 12 Sep 2005
Posts: 18

PostPosted: Sun Mar 25, 2018 2:15 pm    Post subject: Reply with quote

Hey! It's not working at all because of a problem in clang. Looks like current clang 6.0 is not full support gcc 7.3 ABI.
I fixed this problem rebuild re2 library with the clang.
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