Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692002 - www-client/chromium-77.0.3865.10 fails with ../../third_party/blink/renderer/platform/exported/web_time_range.cc:93:25: error: no member named 'numeric_limits' in namespace 'std'
Summary: www-client/chromium-77.0.3865.10 fails with ../../third_party/blink/renderer/...
Status: RESOLVED DUPLICATE of bug 691834
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-12 16:27 UTC by Mike Lothian
Modified: 2019-08-12 16:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Lothian 2019-08-12 16:27:01 UTC
FAILED: obj/third_party/blink/renderer/platform/platform/web_time_range.o
clang++ -MMD -MF obj/third_party/blink/renderer/platform/platform/web_time_range.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DBLINK_IMPLEMENTATION=1 -DINSIDE_BLINK -DBLINK_PLATFORM_IMPLEMENTATION=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DENABLE_IPC_FUZZER -DVK_NO_PROTOTYPES -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSUPPORT_WEBGL2_COMPUTE_CONTEXT=1 -DWTF_USE_WEBAUDIO_PFFFT=1 -DSK_GL -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\" -DSK_HAS_JPEG_LIBRARY -DSK_VULKAN_HEADER=\"../../skia/config/SkVulkanConfig.h\" -DSK_VULKAN=1 -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DVK_NO_PROTOTYPES -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DV8_DEPRECATION_WARNINGS -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DUCHAR_TYPE=uint16_t -DU_IMPORT=U_EXPORT -DWEBRTC_NON_STATIC_TRACE_EVENT_HANDLERS=0 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DNO_MAIN_THREAD_WRAPPING -DLEVELDB_PLATFORM_CHROMIUM=1 -DLEVELDB_PLATFORM_CHROMIUM=1 -DUSE_SYSTEM_LIBJPEG -DV8_DEPRECATION_WARNINGS -I../../third_party/pffft/src -I../.. -Igen -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -Igen/shim_headers/libpng_shim -Igen/shim_headers/libwebp_shim -Igen/shim_headers/zlib_shim -I../../third_party/khronos -I../../gpu -Igen/shim_headers/libdrm_shim -I../../third_party/vulkan/include -Igen/shim_headers/re2_shim -I../../third_party/libyuv/include -Igen/shim_headers/snappy_shim -Igen/third_party/dawn -I../../third_party/dawn/src/include -I../../third_party/boringssl/src/include -I../../third_party/skia -I../../third_party/vulkan/include -I../../third_party/skia/third_party/vulkanmemoryallocator -I../../third_party/vulkan/include -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../v8/include -Igen/v8/include -I../../third_party/ced/src -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/libwebm/source -I../../third_party/leveldatabase -I../../third_party/leveldatabase/src -I../../third_party/leveldatabase/src/include -I../../third_party/iccjpeg -I../../third_party/ots/include -I../../v8/include -Igen/v8/include -I../../third_party/emoji-segmenter/src -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -funwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -no-canonical-prefixes -Wimplicit-fallthrough -Wthread-safety -Wextra-semi -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-ignored-pragma-optimize -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wconversion -Wno-float-conversion -Wno-sign-conversion -Wno-implicit-float-conversion -Wno-implicit-int-conversion -Wno-shorten-64-to-32 -Wglobal-constructors -I/usr/lib64/libffi-3.3_rc0/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wno-shorten-64-to-32 -Wno-header-guard -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -std=c++14 -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O3 -march=native -pipe -flto=thin -fpermissive -c ../../third_party/blink/renderer/platform/exported/web_time_range.cc -o obj/third_party/blink/renderer/platform/platform/web_time_range.o
../../third_party/blink/renderer/platform/exported/web_time_range.cc:93:25: error: no member named 'numeric_limits' in namespace 'std'
  double pos_inf = std::numeric_limits<double>::infinity();
                   ~~~~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:93:46: error: expected '(' for function-style cast or type construction
  double pos_inf = std::numeric_limits<double>::infinity();
                                       ~~~~~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:93:49: error: no member named 'infinity' in the global namespace
  double pos_inf = std::numeric_limits<double>::infinity();
                                              ~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:94:26: error: no member named 'numeric_limits' in namespace 'std'
  double neg_inf = -std::numeric_limits<double>::infinity();
                    ~~~~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:94:47: error: expected '(' for function-style cast or type construction
  double neg_inf = -std::numeric_limits<double>::infinity();
                                        ~~~~~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:94:50: error: no member named 'infinity' in the global namespace
  double neg_inf = -std::numeric_limits<double>::infinity();
                                               ~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:132:28: error: no member named 'numeric_limits' in namespace 'std'
  double best_delta = std::numeric_limits<double>::infinity();
                      ~~~~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:132:49: error: expected '(' for function-style cast or type construction
  double best_delta = std::numeric_limits<double>::infinity();
                                          ~~~~~~^
../../third_party/blink/renderer/platform/exported/web_time_range.cc:132:52: error: no member named 'infinity' in the global namespace
  double best_delta = std::numeric_limits<double>::infinity();
                                                 ~~^
9 errors generated.


Basically third_party/blink/renderer/platform/exported/web_time_range.cc needs <limits> adding

I'm still finishing up the compile here, will report back if any others require it and I'll create a patch and attach once done
Comment 1 Mike Gilbert gentoo-dev 2019-08-12 16:29:41 UTC

*** This bug has been marked as a duplicate of bug 691834 ***