Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906887 - www-client/chromium-113.0.5672.126 build fails with USE=debug
Summary: www-client/chromium-113.0.5672.126 build fails with USE=debug
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-21 09:44 UTC by Zdenek Sojka
Modified: 2024-08-08 02:23 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info.log,8.71 KB, text/x-log)
2023-05-21 09:44 UTC, Zdenek Sojka
Details
build.log (build.log.xz,228.23 KB, application/x-xz)
2023-05-21 09:56 UTC, Zdenek Sojka
Details
build.log with FEATURES=-ccache (build.log.xz,302.68 KB, application/x-xz)
2023-05-21 10:40 UTC, Zdenek Sojka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zdenek Sojka 2023-05-21 09:44:16 UTC
Created attachment 862075 [details]
emerge --info

# USE=debug FEATURES=nostrip MAKEOPTS=-j16 nice -n 10 emerge -1v www-client/chromium

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

Calculating dependencies... done!
Dependency resolution took 4.43 s.

[ebuild   R    ] www-client/chromium-113.0.5672.126:0/stable::gentoo  USE="X cups debug* hangouts official proprietary-codecs qt5 suid system-harfbuzz system-icu system-png vaapi wayland widevine (-component-build) -custom-cflags -gtk4 (-headless) -kerberos (-libcxx) (-lto) -pax-kernel (-pgo) -pic -pulseaudio -screencast (-selinux) (-system-av1) (-system-ffmpeg)" L10N="cs -af -am -ar -bg -bn -ca -da -de -el -en-GB -es -es-419 -et -fa -fi -fil -fr -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 -ur -vi -zh-CN -zh-TW" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

...

FAILED: obj/base/base/work_id_provider.o 
x86_64-pc-linux-gnu-g++ -MMD -MF obj/base/base/work_id_provider.o.d -DBASE_IMPLEMENTATION -DIS_RAW_PTR_IMPL -DUSE_SYMBOLIZE -DDCHECK_ALWAYS_ON=1 -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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_56 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_56 -DGLOG_EXPORT= -DUSING_SYSTEM_ICU=1 -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC -DU_IMPORT=U_EXPORT -I../.. -Igen -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -Igen/shim_headers/zlib_shim -Igen/shim_headers/icui18n_shim -Igen/shim_headers/icuuc_shim -I../../third_party/abseil-cpp -I../../third_party/boringssl/src/include -I../../third_party/protobuf/src -Igen/protoc_out -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-comments -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-unused-parameter -Wno-psabi -fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pipe -pthread -fno-omit-frame-pointer -fvisibility=hidden -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -Wno-narrowing -Wno-class-memaccess -std=gnu++2a -fno-exceptions -fno-rtti -fvisibility-inlines-hidden -O3 -pipe -march=native -fno-stack-protector -fno-tree-vectorize -c ../../base/message_loop/work_id_provider.cc -o obj/base/base/work_id_provider.o
In file included from ../../base/threading/thread_local.h:16,
                 from ../../base/message_loop/work_id_provider.cc:11:
../../base/threading/thread_local_internal.h:33:37: error: expected unqualified-id before ‘const’
   33 |   CheckedThreadLocalOwnedPointer<T>(const CheckedThreadLocalOwnedPointer<T>&) =
      |                                     ^~~~~
../../base/threading/thread_local_internal.h:33:37: error: expected ‘)’ before ‘const’
   33 |   CheckedThreadLocalOwnedPointer<T>(const CheckedThreadLocalOwnedPointer<T>&) =
      |                                    ~^~~~~
      |                                     )
Comment 1 Zdenek Sojka 2023-05-21 09:56:52 UTC
Created attachment 862076 [details]
build.log
Comment 2 Zdenek Sojka 2023-05-21 10:40:08 UTC
Created attachment 862077 [details]
build.log with FEATURES=-ccache
Comment 3 Matt Jolly gentoo-dev 2024-08-08 02:23:43 UTC
Is this still an issue? Chromium has seen a solid 14 major version updates since, and this issue may have been resolved.

We don't often build with debug codepaths enabled as it's not performant and disables some security features. The USE is provided for convenience, however if you're not comfortable patching the source I'd recommend sticking with the well-tested configuration.