[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ungoogled-chromium in core-updates
From: |
Andreas Enge |
Subject: |
Re: Ungoogled-chromium in core-updates |
Date: |
Mon, 20 Feb 2023 21:41:23 +0100 |
The attached patch makes some progress; actually it simply moves to a later
Debian patchset.
third_party/pdfium now compiles with it, but the build fails later on with
the attached error message. So I have not yet pushed the patch, since it
does not solve the problem; or would it be okay to push partial progress?
The problem looks precisely like the bug here:
https://bugs.gentoo.org/786597
which is supposed to be fixed upstream a long time ago.
But their patch
https://786597.bugs.gentoo.org/attachment.cgi?id=732880
still applies...
It is also in the Debian patches as fixes/clang-and-gcc11.patch.
Something to try another day!
Andreas
[18303/52515] CXX obj/sql/sql/cursor.o
FAILED: obj/sql/sql/cursor.o
clang++ -MMD -MF obj/sql/sql/cursor.o.d -DIS_SQL_IMPL -DUSE_UDEV -DUSE_AURA=1
-DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DSQLITE_OMIT_ANALYZE
-DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTOMATIC_INDEX -DSQLITE_OMIT_AUTORESET
-DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN
-DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_INTROSPECTION_PRAGMAS
-DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE
-DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE
-DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3
-DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED
-DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1
-DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456
-DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_LOCKING_MODE=1
-DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096
-DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS
-DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK
-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE
-DSQLITE_OMIT_JSON -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN
-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3
-DSQLITE_ENABLE_LOCKING_STYLE=0 -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/libevent_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 -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi
-Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wno-deprecated-builtins
-Wno-bitfield-constant-conversion -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants
-fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm
-instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit
-fwhole-program-vtables -m64 -msse3 -ffile-compilation-dir=.
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -gdwarf-4
-g2 -gdwarf-aranges -ggnu-pubnames -Xclang -fuse-ctor-homing
-fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt
-fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare
-I/gnu/store/jppi8qal1yrw6q6fn4kv04swwb70s50c-glib-2.72.3/include/glib-2.0
-I/gnu/store/jppi8qal1yrw6q6fn4kv04swwb70s50c-glib-2.72.3/lib/glib-2.0/include
-DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20 -Wno-trigraphs -gsimple-template-names
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c
../../sql/recover_module/cursor.cc -o obj/sql/sql/cursor.o
In file included from ../../sql/recover_module/cursor.cc:5:
../../sql/recover_module/cursor.h:66:5: error: static assertion failed due to
requirement 'std::is_standard_layout<sql::recover::VirtualCursor>::value':
needed for the reinterpret_cast below
static_assert(std::is_standard_layout<VirtualCursor>::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[18304/52515] CXX obj/sql/sql/module.o
FAILED: obj/sql/sql/module.o
clang++ -MMD -MF obj/sql/sql/module.o.d -DIS_SQL_IMPL -DUSE_UDEV -DUSE_AURA=1
-DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D__STDC_CONSTANT_MACROS
-D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64
-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -D_GNU_SOURCE
-DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0
-DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_40
-DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -DSQLITE_OMIT_ANALYZE
-DSQLITE_OMIT_AUTOINIT -DSQLITE_OMIT_AUTOMATIC_INDEX -DSQLITE_OMIT_AUTORESET
-DSQLITE_OMIT_COMPILEOPTION_DIAGS -DSQLITE_OMIT_COMPLETE -DSQLITE_OMIT_EXPLAIN
-DSQLITE_OMIT_GET_TABLE -DSQLITE_OMIT_INTROSPECTION_PRAGMAS
-DSQLITE_DEFAULT_LOOKASIDE=0,0 -DSQLITE_OMIT_LOOKASIDE
-DSQLITE_OMIT_TCL_VARIABLE -DSQLITE_OMIT_REINDEX -DSQLITE_OMIT_TRACE
-DSQLITE_OMIT_UPSERT -DSQLITE_OMIT_WINDOWFUNC -DSQLITE_ENABLE_FTS3
-DSQLITE_DISABLE_FTS3_UNICODE -DSQLITE_DISABLE_FTS4_DEFERRED
-DSQLITE_ENABLE_ICU -DSQLITE_SECURE_DELETE -DSQLITE_THREADSAFE=1
-DSQLITE_MAX_WORKER_THREADS=0 -DSQLITE_MAX_MMAP_SIZE=268435456
-DSQLITE_DEFAULT_FILE_PERMISSIONS=0600 -DSQLITE_DEFAULT_LOCKING_MODE=1
-DSQLITE_DEFAULT_MEMSTATUS=1 -DSQLITE_DEFAULT_PAGE_SIZE=4096
-DSQLITE_DEFAULT_PCACHE_INITSZ=0 -DSQLITE_LIKE_DOESNT_MATCH_BLOBS
-DSQLITE_OMIT_DEPRECATED -DSQLITE_OMIT_PROGRESS_CALLBACK
-DSQLITE_OMIT_SHARED_CACHE -DSQLITE_USE_ALLOCA -DSQLITE_OMIT_DECLTYPE
-DSQLITE_OMIT_JSON -DSQLITE_OMIT_LOAD_EXTENSION -DSQLITE_HAVE_ISNAN
-DSQLITE_ENABLE_BATCH_ATOMIC_WRITE -DSQLITE_TEMP_STORE=3
-DSQLITE_ENABLE_LOCKING_STYLE=0 -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/libevent_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 -Wall -Wextra -Wimplicit-fallthrough -Wextra-semi
-Wunreachable-code-aggressive -Wthread-safety -Wno-missing-field-initializers
-Wno-unused-parameter -Wno-psabi -Wloop-analysis
-Wno-unneeded-internal-declaration -Wenum-compare-conditional
-Wno-ignored-pragma-optimize -Wno-deprecated-builtins
-Wno-bitfield-constant-conversion -Wshadow -fno-delete-null-pointer-checks
-fno-ident -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector
-fno-unwind-tables -fno-asynchronous-unwind-tables -fPIC -pthread
-fcolor-diagnostics -fmerge-all-constants
-fcrash-diagnostics-dir=../../tools/clang/crashreports -mllvm
-instcombine-lower-dbg-declare=0 -ffp-contract=off -flto=thin -fsplit-lto-unit
-fwhole-program-vtables -m64 -msse3 -ffile-compilation-dir=.
-no-canonical-prefixes -ftrivial-auto-var-init=pattern -O2 -fdata-sections
-ffunction-sections -fno-unique-section-names -fno-omit-frame-pointer -gdwarf-4
-g2 -gdwarf-aranges -ggnu-pubnames -Xclang -fuse-ctor-homing
-fsanitize=cfi-vcall -fsanitize-ignorelist=../../tools/cfi/ignores.txt
-fsanitize=cfi-icall -fvisibility=hidden -Wheader-hygiene -Wstring-conversion
-Wtautological-overlap-compare
-I/gnu/store/jppi8qal1yrw6q6fn4kv04swwb70s50c-glib-2.72.3/include/glib-2.0
-I/gnu/store/jppi8qal1yrw6q6fn4kv04swwb70s50c-glib-2.72.3/lib/glib-2.0/include
-DPROTOBUF_ALLOW_DEPRECATED=1 -std=c++20 -Wno-trigraphs -gsimple-template-names
-fno-exceptions -fno-rtti -fvisibility-inlines-hidden -c
../../sql/recover_module/module.cc -o obj/sql/sql/module.o
In file included from ../../sql/recover_module/module.cc:18:
../../sql/recover_module/cursor.h:66:5: error: static assertion failed due to
requirement 'std::is_standard_layout<sql::recover::VirtualCursor>::value':
needed for the reinterpret_cast below
static_assert(std::is_standard_layout<VirtualCursor>::value,
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[18305/52515] CXX obj/sql/sql/pager.o
[18306/52515] CXX obj/sql/sql/parsing.o
ninja: build stopped: subcommand failed.
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "ninja" arguments: ("-C" "out/Release" "-j"
"4" "chrome" "chromedriver") exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 6785.3 seconds
command "ninja" "-C" "out/Release" "-j" "4" "chrome" "chromedriver" failed with
status 1
builder for
`/gnu/store/mainrdainjqmcym7vy771bdl2vqc7gml-ungoogled-chromium-109.0.5414.119-1.drv'
failed with exit code 1
build of
/gnu/store/mainrdainjqmcym7vy771bdl2vqc7gml-ungoogled-chromium-109.0.5414.119-1.drv
failed
View build log at
'/var/log/guix/drvs/ma/inrdainjqmcym7vy771bdl2vqc7gml-ungoogled-chromium-109.0.5414.119-1.drv.gz'.
0001-gnu-ungoogled-chromium-Fix-openjpeg-include-path.patch
Description: Text document