Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

www-client/ungoogled-chromium-131.0.6778.85_p1: error: no template named 'optional' in namespace 'std' #395

Open
fordfrog opened this issue Nov 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@fordfrog
Copy link

got several of those:

[2547/45303] python3.13 ../../mojo/public/tools/bindings/generate_type_mappings.py --output gen/ui/webui/resources/cr_components/history_embeddings/mojo_bindings_blink__type_mappings --dependency gen/mojo/public/mojom/base/base_blink__type_mappings --dependency gen/url/mojom/url_mojom_gurl_blink__type_mappings --cpp-typemap-config gen/ui/webui/resources/cr_comp
onents/history_embeddings/mojo_bindings_blink.typemap_config --ts-typemap-config gen/ui/webui/resources/cr_components/history_embeddings/mojo_bindings_blink.ts_typemap_config
[2548/45303] clang++ -MD -MF obj/third_party/webrtc/rtc_base/ssl_adapter/openssl_session_cache.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NO
NE -D_GLIBCXX_ASSERTIONS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_STRICT_FIELD_TRIALS=0 -DRTC_ENABLE_VP9 -DRTC_ENABLE_H265 -DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY -DWEBRTC_HAVE_SCTP -DENABLE_EXTERNAL_AUTH -DWEBRTC_USE_H264 -DWEBRTC_ENABLE_LIBEVENT -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DRTC_USE_PERFETTO -D
WEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_pa
rty/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/jsoncpp_shim -Igen/shim_headers/double_conversion_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../third_part
y/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wshadow -fno-delete-null-point
er-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fno-sized-deallocation -flto=thin -fno-split-lto-unit -mllvm -inlinehint-threshold=360 -no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections -ffunction-sections -fno-unique-
section-names -fno-math-errno -fno-omit-frame-pointer -g0 -fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-6778-1731431875-75e60acd68a20cf9cc2c5d6dfbb65ee7b4e60752-a75a9b0cd4f8d4a3bb5d3446daa63b14105e852e.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -
Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wno-shadow -Wctad-maybe-unsupported -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -Wno-missing-template-arg-list-aft
er-template-kw -Wno-dangling-assignment-gsl -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -fvisibility-inlines-hidden  -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -march=alderlake -pipe -frecord-gcc-switches -U_GLIBCXX_ASSERTIONS -Wno-unknown-warning-option -Wno-builtin-macro-redefined -c ../../third_party/webrtc/rtc_base/openssl_sess
ion_cache.cc -o obj/third_party/webrtc/rtc_base/ssl_adapter/openssl_session_cache.o
FAILED: obj/third_party/webrtc/rtc_base/ssl_adapter/openssl_session_cache.o 
clang++ -MD -MF obj/third_party/webrtc/rtc_base/ssl_adapter/openssl_session_cache.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_NONE -D_GLIBCXX_ASSERTIONS=1 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DWEBRTC_ENABLE_PROTOBUF=1 -DWEBRTC_STRICT_FIELD_TRIALS=0 -DRTC_ENABLE_VP9 -DRTC_ENABLE_H265 -DRTC_DAV1D_IN_INTERNAL_DECODER_FACTORY -DWEBRTC_HAVE_SCTP -DENABLE_EXTERNAL_AUTH -DWEBRTC_USE_H264 -DWEBRTC_ENABLE_LIBEVENT -DHAVE_WEBRTC_VIDEO -DLOGGING_INSIDE_WEBRTC -DRTC_USE_PERFETTO -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_AVX2 -DWEBRTC_CHROMIUM_BUILD -DWEBRTC_POSIX -DWEBRTC_LINUX -DABSL_ALLOCATOR_NOTHROW=1 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -I../.. -Igen -I../../third_party/webrtc_overrides -I../../third_party/webrtc -Igen/third_party/webrtc -I../../third_party/abseil-cpp -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/jsoncpp_shim -Igen/shim_headers/double_conversion_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../base/allocator/partition_allocator/src -Igen/base/allocator/partition_allocator/src -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -Wimplicit-fallthrough -Wextra-semi -Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -Wloop-analysis -Wno-unneeded-internal-declaration -Wno-cast-function-type -Wno-thread-safety-reference-return -Wshadow -fno-delete-null-pointer-checks -fno-ident -fno-strict-aliasing -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread -fcolor-diagnostics -fmerge-all-constants -fno-sized-deallocation -flto=thin -fno-split-lto-unit -mllvm -inlinehint-threshold=360 -no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections -ffunction-sections -fno-unique-section-names -fno-math-errno -fno-omit-frame-pointer -g0 -fprofile-use=../../chrome/build/pgo_profiles/chrome-linux-6778-1731431875-75e60acd68a20cf9cc2c5d6dfbb65ee7b4e60752-a75a9b0cd4f8d4a3bb5d3446daa63b14105e852e.profdata -Wno-profile-instr-unprofiled -Wno-profile-instr-out-of-date -Wno-backend-plugin -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wexit-time-destructors -Wglobal-constructors -Wno-shadow -Wctad-maybe-unsupported -isystem/usr/lib64/libffi/include -isystem/usr/include/glib-2.0 -isystem/usr/lib64/glib-2.0/include -DPROTOBUF_ALLOW_DEPRECATED=1 -Wno-invalid-offsetof -Wenum-compare-conditional -Wno-c++11-narrowing-const-reference -Wno-missing-template-arg-list-after-template-kw -Wno-dangling-assignment-gsl -std=c++20 -Wno-trigraphs -gsimple-template-names -fno-exceptions -fno-rtti -fvisibility-inlines-hidden  -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -march=alderlake -pipe -frecord-gcc-switches -U_GLIBCXX_ASSERTIONS -Wno-unknown-warning-option -Wno-builtin-macro-redefined -c ../../third_party/webrtc/rtc_base/openssl_session_cache.cc -o obj/third_party/webrtc/rtc_base/ssl_adapter/openssl_session_cache.o
In file included from <built-in>:524:
<command line>:16:9: warning: '_LIBCPP_HARDENING_MODE' macro redefined [-Wmacro-redefined]
   16 | #define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_NONE
      |         ^
<command line>:3:9: note: previous definition is here
    3 | #define _LIBCPP_HARDENING_MODE _LIBCPP_HARDENING_MODE_EXTENSIVE
      |         ^
In file included from ../../third_party/webrtc/rtc_base/openssl_session_cache.cc:11:
In file included from ../../third_party/webrtc/rtc_base/openssl_session_cache.h:20:
../../third_party/webrtc/rtc_base/ssl_stream_adapter.h:190:16: error: no template named 'optional' in namespace 'std'
  190 |   virtual std::optional<absl::string_view> GetTlsCipherSuiteName() const = 0;
      |           ~~~~~^
1 warning and 1 error generated.
# emerge -vp ungoogled-chromium

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 6.47 s (backtrack: 0/20).

[ebuild     U #] www-client/ungoogled-chromium-131.0.6778.85_p1::pf4public [130.0.6723.116_p1::pf4public] USE="X bluetooth clang convert-dict cups hevc nvidia official optimize-thinlto optimize-webui pgo proprietary-codecs pulseaudio qt5 qt6 system-brotli system-crc32c system-double-conversion system-ffmpeg system-harfbuzz system-icu system-jsoncpp* system-libevent system-libusb system-openh264 system-openjpeg system-png system-re2 system-snappy* system-woff2* system-zstd thinlto vaapi wayland widevine -cfi -cromite -custom-cflags -debug -enable-driver -gtk4 -hangouts -headless -kerberos -libcxx -override-data-dir -pax-kernel -screencast (-selinux) -system-abseil-cpp -system-av1 -system-libvpx" L10N="cs -af -am -ar -as -az -be -bg -bn -bs -ca -cy -da -de -el -en-GB -es -es-419 -et -eu -fa -fi -fil -fr -fr-CA -gl -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kk -km -kn -ko -ky -lo -lt -lv -mk -ml -mn -mr -ms -my -nb -ne -nl -or -pa -pl -pt-BR -pt-PT -ro -ru -si -sk -sl -sq -sr -sr-Latn -sv -sw -ta -te -th -tr -uk -ur -uz -vi -zh-CN -zh-HK -zh-TW -zu" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB
@fordfrog fordfrog added the bug Something isn't working label Nov 22, 2024
@PF4Public
Copy link
Owner

I know, I know ;)

@fordfrog fordfrog changed the title /www-client/ungoogled-chromium-131.0.6778.85_p1: error: no template named 'optional' in namespace 'std' www-client/ungoogled-chromium-131.0.6778.85_p1: error: no template named 'optional' in namespace 'std' Nov 23, 2024
@PF4Public
Copy link
Owner

I hope I've fixed all the rough edges in 3381bfd

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants