Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 935734 - www-client/chromium-127.0.6533.26 - error: Found argument '--allowlist-item' which wasn't expected, or isn't valid in this context
Summary: www-client/chromium-127.0.6533.26 - error: Found argument '--allowlist-item' ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-08 06:27 UTC by Martin Mokrejš
Modified: 2024-08-08 07:38 UTC (History)
2 users (show)

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


Attachments
build.log.txt.xz (build.chromium.log.txt.xz,658.41 KB, application/octet-stream)
2024-07-08 06:30 UTC, Martin Mokrejš
Details
occurrencies of allowlist-item (allowlist-item.txt,22.11 KB, text/plain)
2024-07-27 05:46 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2024-07-08 06:27:51 UTC
[28809/60891] python3.11 ../../build/rust/run_bindgen.py --exe ../../../../../../../../../usr/bin/bindgen --header ../../third_party/crabbyavif/src/sys/libyuv-sys/wrapper.h --depfile obj/third_party/crabbyavif/crabbyavif_libyuv_bindings.d --output gen/third_party/crabbyavif/crabbyavif_libyuv_bindings.rs --libclang-path ../../../../../../../../../usr/lib/llvm/18/lib64 --ld-library-path ../../../../../../../../../usr/lib/llvm/18/lib64 --bindgen-flags no-doc-comments generate=functions,types,vars,methods,constructors,destructors allowlist-item=ARGBAttenuate allowlist-item=ARGBUnattenuate allowlist-item=Convert16To8Plane allowlist-item=FilterMode allowlist-item=FilterMode_kFilterBilinear allowlist-item=FilterMode_kFilterBox allowlist-item=FilterMode_kFilterNone allowlist-item=HalfFloatPlane allowlist-item=I010AlphaToARGBMatrix allowlist-item=I010AlphaToARGBMatrixFilter allowlist-item=I010ToARGBMatrix allowlist-item=I010ToARGBMatrixFilter allowlist-item=I012ToARGBMatrix allowlist-item=I210AlphaToARGBMatrix allowlist-item=I210AlphaToARGBMatrixFilter allowlist-item=I210ToARGBMatrix allowlist-item=I210ToARGBMatrixFilter allowlist-item=I400ToARGBMatrix allowlist-item=I410AlphaToARGBMatrix allowlist-item=I410ToARGBMatrix allowlist-item=I420AlphaToARGBMatrix allowlist-item=I420AlphaToARGBMatrixFilter allowlist-item=I420ToARGBMatrix allowlist-item=I420ToARGBMatrixFilter allowlist-item=I420ToRGB24Matrix allowlist-item=I420ToRGB24MatrixFilter allowlist-item=I420ToRGB565Matrix allowlist-item=I420ToRGBAMatrix allowlist-item=I422AlphaToARGBMatrix allowlist-item=I422AlphaToARGBMatrixFilter allowlist-item=I422ToARGBMatrix allowlist-item=I422ToARGBMatrixFilter allowlist-item=I422ToRGB24MatrixFilter allowlist-item=I422ToRGB565Matrix allowlist-item=I422ToRGBAMatrix allowlist-item=I444AlphaToARGBMatrix allowlist-item=I444ToARGBMatrix allowlist-item=I444ToRGB24Matrix allowlist-item=ScalePlane allowlist-item=ScalePlane_12 allowlist-item=YuvConstants allowlist-item=kYuv2020Constants allowlist-item=kYuvF709Constants allowlist-item=kYuvH709Constants allowlist-item=kYuvI601Constants allowlist-item=kYuvJPEGConstants allowlist-item=kYuvV2020Constants allowlist-item=kYvu2020Constants allowlist-item=kYvuF709Constants allowlist-item=kYvuH709Constants allowlist-item=kYvuI601Constants allowlist-item=kYvuJPEGConstants allowlist-item=kYvuV2020Constants -- -DLIBYUV_DISABLE_NEON -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -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_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44 -DTEMP_REBUILD_HACK_ASSERTION_HANDLER -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/libyuv/include -I../.. -Igen -I../../buildtools/third_party/libc++ -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-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -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 -fwhole-program-vtables -fcomplete-member-pointers -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -resource-dir ../../../../../../../../../usr/lib/clang/18/include -I ../../../../../../../../../usr/lib/clang/18/include/ -fparse-all-comments -fvisibility=default

FAILED: gen/third_party/crabbyavif/crabbyavif_libyuv_bindings.rs 
python3.11 ../../build/rust/run_bindgen.py --exe ../../../../../../../../../usr/bin/bindgen --header ../../third_party/crabbyavif/src/sys/libyuv-sys/wrapper.h --depfile obj/third_party/crabbyavif/crabbyavif_libyuv_bindings.d --output gen/third_party/crabbyavif/crabbyavif_libyuv_bindings.rs --libclang-path ../../../../../../../../../usr/lib/llvm/18/lib64 --ld-library-path ../../../../../../../../../usr/lib/llvm/18/lib64 --bindgen-flags no-doc-comments generate=functions,types,vars,methods,constructors,destructors allowlist-item=ARGBAttenuate allowlist-item=ARGBUnattenuate allowlist-item=Convert16To8Plane allowlist-item=FilterMode allowlist-item=FilterMode_kFilterBilinear allowlist-item=FilterMode_kFilterBox allowlist-item=FilterMode_kFilterNone allowlist-item=HalfFloatPlane allowlist-item=I010AlphaToARGBMatrix allowlist-item=I010AlphaToARGBMatrixFilter allowlist-item=I010ToARGBMatrix allowlist-item=I010ToARGBMatrixFilter allowlist-item=I012ToARGBMatrix allowlist-item=I210AlphaToARGBMatrix allowlist-item=I210AlphaToARGBMatrixFilter allowlist-item=I210ToARGBMatrix allowlist-item=I210ToARGBMatrixFilter allowlist-item=I400ToARGBMatrix allowlist-item=I410AlphaToARGBMatrix allowlist-item=I410ToARGBMatrix allowlist-item=I420AlphaToARGBMatrix allowlist-item=I420AlphaToARGBMatrixFilter allowlist-item=I420ToARGBMatrix allowlist-item=I420ToARGBMatrixFilter allowlist-item=I420ToRGB24Matrix allowlist-item=I420ToRGB24MatrixFilter allowlist-item=I420ToRGB565Matrix allowlist-item=I420ToRGBAMatrix allowlist-item=I422AlphaToARGBMatrix allowlist-item=I422AlphaToARGBMatrixFilter allowlist-item=I422ToARGBMatrix allowlist-item=I422ToARGBMatrixFilter allowlist-item=I422ToRGB24MatrixFilter allowlist-item=I422ToRGB565Matrix allowlist-item=I422ToRGBAMatrix allowlist-item=I444AlphaToARGBMatrix allowlist-item=I444ToARGBMatrix allowlist-item=I444ToRGB24Matrix allowlist-item=ScalePlane allowlist-item=ScalePlane_12 allowlist-item=YuvConstants allowlist-item=kYuv2020Constants allowlist-item=kYuvF709Constants allowlist-item=kYuvH709Constants allowlist-item=kYuvI601Constants allowlist-item=kYuvJPEGConstants allowlist-item=kYuvV2020Constants allowlist-item=kYvu2020Constants allowlist-item=kYvuF709Constants allowlist-item=kYvuH709Constants allowlist-item=kYvuI601Constants allowlist-item=kYvuJPEGConstants allowlist-item=kYvuV2020Constants -- -DLIBYUV_DISABLE_NEON -DLIBYUV_DISABLE_LSX -DLIBYUV_DISABLE_LASX -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_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44 -DTEMP_REBUILD_HACK_ASSERTION_HANDLER -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/libyuv/include -I../.. -Igen -I../../buildtools/third_party/libc++ -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-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -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 -fwhole-program-vtables -fcomplete-member-pointers -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -resource-dir ../../../../../../../../../usr/lib/clang/18/include -I ../../../../../../../../../usr/lib/clang/18/include/ -fparse-all-comments -fvisibility=default
error: Found argument '--allowlist-item' which wasn't expected, or isn't valid in this context

	Did you mean '--allowlist-file'?

	If you tried to supply `--allowlist-item` as a value rather than a flag, use `-- --allowlist-item`

USAGE:
    bindgen [FLAGS] [OPTIONS] <header> -- <clang-args>...

For more information try --help
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/chromium-127.0.6533.26/work/chromium-127.0.6533.26/out/Release/../../build/rust/run_bindgen.py", line 118, in <module>
    main()
  File "/var/tmp/portage/www-client/chromium-127.0.6533.26/work/chromium-127.0.6533.26/out/Release/../../build/rust/run_bindgen.py", line 106, in main
    subprocess.check_call([args.exe, *genargs], env=env)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../../../../../../../../../usr/bin/bindgen', '--no-layout-tests', '--no-doc-comments', '--generate=functions,types,vars,methods,constructors,destructors', '--allowlist-item=ARGBAttenuate', '--allowlist-item=ARGBUnattenuate', '--allowlist-item=Convert16To8Plane', '--allowlist-item=FilterMode', '--allowlist-item=FilterMode_kFilterBilinear', '--allowlist-item=FilterMode_kFilterBox', '--allowlist-item=FilterMode_kFilterNone', '--allowlist-item=HalfFloatPlane', '--allowlist-item=I010AlphaToARGBMatrix', '--allowlist-item=I010AlphaToARGBMatrixFilter', '--allowlist-item=I010ToARGBMatrix', '--allowlist-item=I010ToARGBMatrixFilter', '--allowlist-item=I012ToARGBMatrix', '--allowlist-item=I210AlphaToARGBMatrix', '--allowlist-item=I210AlphaToARGBMatrixFilter', '--allowlist-item=I210ToARGBMatrix', '--allowlist-item=I210ToARGBMatrixFilter', '--allowlist-item=I400ToARGBMatrix', '--allowlist-item=I410AlphaToARGBMatrix', '--allowlist-item=I410ToARGBMatrix', '--allowlist-item=I420AlphaToARGBMatrix', '--allowlist-item=I420AlphaToARGBMatrixFilter', '--allowlist-item=I420ToARGBMatrix', '--allowlist-item=I420ToARGBMatrixFilter', '--allowlist-item=I420ToRGB24Matrix', '--allowlist-item=I420ToRGB24MatrixFilter', '--allowlist-item=I420ToRGB565Matrix', '--allowlist-item=I420ToRGBAMatrix', '--allowlist-item=I422AlphaToARGBMatrix', '--allowlist-item=I422AlphaToARGBMatrixFilter', '--allowlist-item=I422ToARGBMatrix', '--allowlist-item=I422ToARGBMatrixFilter', '--allowlist-item=I422ToRGB24MatrixFilter', '--allowlist-item=I422ToRGB565Matrix', '--allowlist-item=I422ToRGBAMatrix', '--allowlist-item=I444AlphaToARGBMatrix', '--allowlist-item=I444ToARGBMatrix', '--allowlist-item=I444ToRGB24Matrix', '--allowlist-item=ScalePlane', '--allowlist-item=ScalePlane_12', '--allowlist-item=YuvConstants', '--allowlist-item=kYuv2020Constants', '--allowlist-item=kYuvF709Constants', '--allowlist-item=kYuvH709Constants', '--allowlist-item=kYuvI601Constants', '--allowlist-item=kYuvJPEGConstants', '--allowlist-item=kYuvV2020Constants', '--allowlist-item=kYvu2020Constants', '--allowlist-item=kYvuF709Constants', '--allowlist-item=kYvuH709Constants', '--allowlist-item=kYvuI601Constants', '--allowlist-item=kYvuJPEGConstants', '--allowlist-item=kYvuV2020Constants', '--no-rustfmt-bindings', '--rust-target', 'nightly', '--depfile', '/var/tmp/portage/www-client/chromium-127.0.6533.26/work/chromium-127.0.6533.26/out/Release/obj/third_party/crabbyavif/tmpevx16xb4crabbyavif_libyuv_bindings.d', '--output', 'gen/third_party/crabbyavif/crabbyavif_libyuv_bindings.rs', '--no-include-path-detection', '../../third_party/crabbyavif/src/sys/libyuv-sys/wrapper.h', '--', '-DLIBYUV_DISABLE_NEON', '-DLIBYUV_DISABLE_LSX', '-DLIBYUV_DISABLE_LASX', '-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_EXTENSIVE', '-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS', '-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS', '-DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44', '-DTEMP_REBUILD_HACK_ASSERTION_HANDLER', '-DNDEBUG', '-DNVALGRIND', '-DDYNAMIC_ANNOTATIONS_ENABLED=0', '-I../../third_party/libyuv/include', '-I../..', '-Igen', '-I../../buildtools/third_party/libc++', '-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-ignored-pragma-optimize', '-Wno-deprecated-builtins', '-Wno-bitfield-constant-conversion', '-Wno-deprecated-this-capture', '-Wno-invalid-offsetof', '-Wno-vla-extension', '-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', '-fwhole-program-vtables', '-fcomplete-member-pointers', '-no-canonical-prefixes', '-ftrivial-auto-var-init=pattern', '-fno-omit-frame-pointer', '-fvisibility=hidden', '-Wheader-hygiene', '-Wstring-conversion', '-Wtautological-overlap-compare', '-std=c11', '-resource-dir', '../../../../../../../../../usr/lib/clang/18/include', '-I', '../../../../../../../../../usr/lib/clang/18/include/', '-fparse-all-comments', '-fvisibility=default']' returned non-zero exit status 2.
Comment 1 Martin Mokrejš 2024-07-08 06:27:56 UTC
# emerge --info '=www-client/chromium-127.0.6533.26::gentoo'
Portage 3.0.65 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/no-multilib, gcc-14, glibc-2.39-r9, 6.9.7 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.9.7-x86_64-Intel-R-_Core-TM-_i7-7820HQ_CPU_@_2.90GHz-with-glibc2.39
KiB Mem:    32732512 total,   2274856 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 07 Jul 2024 18:30:00 +0000
Head commit of repository gentoo: 83f68280a27045f369217d4619ac65ee06d0d5a3
Head commit of repository jgenco: e3da66f5916e60071c4a8fbad9ce4c6d15ff7832

Head commit of repository without-systemd: 8f313c1fe9d96ea742f80bb2c5f7899725c7a3d6

sh bash 5.2_p26-r5
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r5::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.69-r5::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.40.0::gentoo
dev-lang/python:           2.7.18_p16-r2::gentoo, 3.10.14_p1-r1::gentoo, 3.11.9-r1::gentoo, 3.12.3::gentoo, 3.13.0_beta2_p9::gentoo
dev-lang/rust:             1.79.0::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.39-r4::gentoo, 2.40-r6::gentoo, 2.41-r5::gentoo, 2.42-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             10.3.0::gentoo, 11.3.0::gentoo, 12.2.1_p20230304::gentoo, 13.2.1_p20240210::gentoo, 14.1.1_p20240622::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             14.0.6-r1::gentoo, 15.0.7::gentoo, 16.0.6::gentoo, 18.1.8::gentoo
sys-devel/llvm:            14.0.6-r4::gentoo, 15.0.7-r3::gentoo, 16.0.6::gentoo, 17.0.6::gentoo, 18.1.8::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: True
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts: 

jgenco
    location: /var/db/repos/jgenco
    sync-type: git
    sync-uri: https://github.com/jgenco/jgenco-overlay
    masters: gentoo
    volatile: False

without-systemd
    location: /var/db/repos/without-systemd
    sync-type: git
    sync-uri: https://github.com/KenjiBrown/without-systemd
    masters: gentoo
    volatile: False

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0
    volatile: True

layman
    location: /var/lib/layman
    masters: gentoo
    priority: 1
    volatile: True

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE dlj-1.1 sun-bcla-java-vm Oracle-BCLA-JavaSE IBM-J1.6 NPSL Nero-EULA-US AdobeFlash-10.3 AdobeFlash-11.x OPERA-2014 RAR Intel-SDP intel-ucode Skype-TOS vmware linux-firmware fasta vienna-rna unafold GRL MSttfEULA hplip-plugin meme mRNAmarkup ApE ICS ipw3945 finchtv modeller gmap master-pdf-editor abyss swiss-prot Aladdin AVASYS truecrypt-3.0 pyvcf Non-profit-OSL-3.0 estscan bcca_2010 oncotator Adobe blat staden CeCILL-1.1 phrap STRIDE cctbx-2.0 bh-luxi ARIADNE unRAR all-rights-reserved trf annovar_personal_only stampy-academic BSD-BroadInstitute UPennState freedist free-noncomm blasr sun-jlfgr FLI-Jena PSTT netperf sun-jsr67 xv vim.org OSGi-Specification-2.0 colt mod_fastcgi googleearth google-chrome ACE AFL churchill genscan no-source-code linux-fw-redistributable ISSL JSON MPEG-4 Apache-2.0 BSD MIT BSD-2 FSFAP unicode Subversion OPERA-2018 ms-teams-pre TeamViewer PSF-2.4 merlin android julius CROSSOVER-3 lha PUEL-11 supermicro microsoft-edge android OFL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ftree-vectorize -fpermissive"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/maven-bin-3.6/conf /usr/share/maven-bin-3.8/conf /usr/share/maven-bin-3.9/conf /var/lib/hsqldb /var/spool/torque"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/apache2-php8.1/ext-active/ /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.1/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.1/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/vmware-installer"
CXXFLAGS="-O2 -pipe -march=native -ftree-vectorize -fpermissive"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=native -ftree-vectorize -fpermissive"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native -ftree-vectorize -fpermissive"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.mirror.web4u.cz/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
LINGUAS="en_US en_GB en cs"
MAKEOPTS="-j5"
PKGDIR="/var/cache/binpkgs"
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="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi alsa amd64 amr amrenc aom apache apache2 archive armadillo asm audit av1 avx avx2 berkdb blas bluetooth bluray bmp boost bz2 bzip2 cairo caps ccid cdda cdio cdr cdrom cet cgi chromium cli codec2 coin cpudetection cracklib crypt cryptlib cryptsetup cups curl cxx d3d11 d3d9 dav1d dbus device-mapper dhcp directfb directx dri dri3 drm dvbpsi dvd dvda dxf dxva2 egl elogind emboss encode eselect-ldso exif faad fax fbcon fdk ffmpeg fftw flac fontconfig foomatic fortran frei0r fuse gbm gcrypt gd gdal gdbm geoip geolocation georeferencer geos gimp gles gles1 gles2 glpk gml gmp gnutls gpm gps grass gstreamer gtk gtk3 h.264 h.265 h264 h265 hal haptic hdf5 heif hevc hpijs hwdb iconv icu id3tag imaging innodb inotify iproute2 ipv6 java javafx javascript jce jpeg jpeg2k jpg js jscript kdrive keymap kms ladspa lapack laptop las lcms libaom libdrm libkms libnotify librtmp libsoxr libtesseract libtirpc libv4l libxml2 live lm-sensors lm_sensors lz4 lzma lzo mad mariadb matroska mjpeg mmal mmx modemmanager mp3 mpeg mtp mysql ncurses netcdf networkmanager nfs nftables nls nptl nptlonly nscd nss ntfsprogs nvenc objc ocr odbc ogdi ogg openal opencl opengl openh264 openmp opensc openssl opus pam parport pbs pcre pcre16 pcsc pcsc-lite pdal pdf perl php png polar policykit polkit postgres ppds pppd python qemu qml qt3support qt4 qt5 rav1e rdp readline rendering resolvconf romio rubberband scanner seccomp server session sha slideshow smartcard sndfile sndio spice split-usr sqlite srt sse sse2 sse3 sse4_1 sse4_2 ssh ssl sslv3 ssse3 startup-notification suexec svg svt-av1 syslog tcl tcpd test-rust threads tiff tk tkip tools truetype twolame unicode unwind upnp usb v4l v4l2 vaapi vidstab vim-syntax virtualbox vmaf vnc vorbis vp8 vp9 vpx vulkan wavpack wayland webkit webp wifi x11 x264 x265 xa xattr xcb xephyr xft xls xml xmp xorg xrandr xv xvfb xvid xvmc zeroconf zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hdspm usb-usx2y" APACHE2_MODULES="alias authn_core authz_core socache_shmcb authz_host auth_basic auth_digest cgi cgid deflate dir env filter include info mem_cache mime mime_magic negotiation remoteip setenvif status userdir vhost_alias rewrite usertrack cache file_cache disk_cache charset_lite log_config log_forensic unixd" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="gpsclock navcom ntrip rtcm104v2 rtcm104v3 ublox nmea0183 nmea2000 aivdm passthrough" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en-US en-GB en cs" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LLVM_SLOT="18" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" OPENMPI_RM="pbs" PHP_TARGETS="php5-4 php5-5" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python2_7 python3_9 python3_10 python3_11" RUBY_TARGETS="ruby31 ruby32 ruby33" VIDEO_CARDS="vesa virtualbox vboxvideo vmware vmvga vmwgfx fbdev intel iris i915 i965 d3d12 virgl zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 2 Martin Mokrejš 2024-07-08 06:30:27 UTC
Created attachment 897316 [details]
build.log.txt.xz
Comment 3 Matt Jolly gentoo-dev 2024-07-26 04:39:40 UTC
I haven't seen this myself and made some big changes to llvm in the ebuild for in the stable 127 slot, could you please try with that and let me know how you go?
Comment 4 Martin Mokrejš 2024-07-27 05:35:38 UTC
Sotty, it still happens with 

[28808/60907] python3.11 ../../build/rust/run_bindgen.py --exe ../../../../../../../../../usr/bin/bindgen --header ../../third_party/crabbyavif/src/sys/dav1d-sys/wrapper.h --depfile obj/third_party/crabbyavif/crabbyavif_dav1d_bindings.d --output gen/third_party/crabbyavif/crabbyavif_dav1d_bindings.rs --libclang-path ../../../../../../../../../usr/lib/llvm/18/lib64 --ld-library-path ../../../../../../../../../usr/lib/llvm/18/lib64 --bindgen-flags no-doc-comments generate=functions,types,vars,methods,constructors,destructors allowlist-item=dav1d_close allowlist-item=dav1d_data_unref allowlist-item=dav1d_data_wrap allowlist-item=dav1d_default_settings allowlist-item=dav1d_error allowlist-item=dav1d_get_picture allowlist-item=dav1d_open allowlist-item=dav1d_picture_unref allowlist-item=dav1d_send_data -- -DCONFIG_LOG=0 -DHAVE_PTHREAD_GETAFFINITY_NP=1 -DHAVE_PTHREAD_SETAFFINITY_NP=1 -DDAV1D_API= -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_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44 -DTEMP_REBUILD_HACK_ASSERTION_HANDLER -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/linux/x64 -I../../third_party/dav1d/version -I../.. -Igen -I../../buildtools/third_party/libc++ -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-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -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 -fwhole-program-vtables -fcomplete-member-pointers -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -resource-dir ../../../../../../../../../usr/lib/clang/18/include -I ../../../../../../../../../usr/lib/clang/18/include/ -fparse-all-comments -fvisibility=default

FAILED: gen/third_party/crabbyavif/crabbyavif_dav1d_bindings.rs 
python3.11 ../../build/rust/run_bindgen.py --exe ../../../../../../../../../usr/bin/bindgen --header ../../third_party/crabbyavif/src/sys/dav1d-sys/wrapper.h --depfile obj/third_party/crabbyavif/crabbyavif_dav1d_bindings.d --output gen/third_party/crabbyavif/crabbyavif_dav1d_bindings.rs --libclang-path ../../../../../../../../../usr/lib/llvm/18/lib64 --ld-library-path ../../../../../../../../../usr/lib/llvm/18/lib64 --bindgen-flags no-doc-comments generate=functions,types,vars,methods,constructors,destructors allowlist-item=dav1d_close allowlist-item=dav1d_data_unref allowlist-item=dav1d_data_wrap allowlist-item=dav1d_default_settings allowlist-item=dav1d_error allowlist-item=dav1d_get_picture allowlist-item=dav1d_open allowlist-item=dav1d_picture_unref allowlist-item=dav1d_send_data -- -DCONFIG_LOG=0 -DHAVE_PTHREAD_GETAFFINITY_NP=1 -DHAVE_PTHREAD_SETAFFINITY_NP=1 -DDAV1D_API= -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_EXTENSIVE -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44 -DTEMP_REBUILD_HACK_ASSERTION_HANDLER -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../../third_party/dav1d/libdav1d -I../../third_party/dav1d/libdav1d/include -I../../third_party/dav1d/libdav1d/include/dav1d -I../../third_party/dav1d/config/linux/x64 -I../../third_party/dav1d/version -I../.. -Igen -I../../buildtools/third_party/libc++ -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-ignored-pragma-optimize -Wno-deprecated-builtins -Wno-bitfield-constant-conversion -Wno-deprecated-this-capture -Wno-invalid-offsetof -Wno-vla-extension -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 -fwhole-program-vtables -fcomplete-member-pointers -no-canonical-prefixes -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -fvisibility=hidden -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -std=c11 -resource-dir ../../../../../../../../../usr/lib/clang/18/include -I ../../../../../../../../../usr/lib/clang/18/include/ -fparse-all-comments -fvisibility=default
error: Found argument '--allowlist-item' which wasn't expected, or isn't valid in this context

	Did you mean '--allowlist-file'?

	If you tried to supply `--allowlist-item` as a value rather than a flag, use `-- --allowlist-item`

USAGE:
    bindgen [FLAGS] [OPTIONS] <header> -- <clang-args>...

For more information try --help
Traceback (most recent call last):
  File "/var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72/out/Release/../../build/rust/run_bindgen.py", line 118, in <module>
    main()
  File "/var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72/out/Release/../../build/rust/run_bindgen.py", line 106, in main
    subprocess.check_call([args.exe, *genargs], env=env)
  File "/usr/lib/python3.11/subprocess.py", line 413, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['../../../../../../../../../usr/bin/bindgen', '--no-layout-tests', '--no-doc-comments', '--generate=functions,types,vars,methods,constructors,destructors', '--allowlist-item=dav1d_close', '--allowlist-item=dav1d_data_unref', '--allowlist-item=dav1d_data_wrap', '--allowlist-item=dav1d_default_settings', '--allowlist-item=dav1d_error', '--allowlist-item=dav1d_get_picture', '--allowlist-item=dav1d_open', '--allowlist-item=dav1d_picture_unref', '--allowlist-item=dav1d_send_data', '--no-rustfmt-bindings', '--rust-target', 'nightly', '--depfile', '/var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72/out/Release/obj/third_party/crabbyavif/tmpi4evitk5crabbyavif_dav1d_bindings.d', '--output', 'gen/third_party/crabbyavif/crabbyavif_dav1d_bindings.rs', '--no-include-path-detection', '../../third_party/crabbyavif/src/sys/dav1d-sys/wrapper.h', '--', '-DCONFIG_LOG=0', '-DHAVE_PTHREAD_GETAFFINITY_NP=1', '-DHAVE_PTHREAD_SETAFFINITY_NP=1', '-DDAV1D_API=', '-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_EXTENSIVE', '-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS', '-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS', '-DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44', '-DTEMP_REBUILD_HACK_ASSERTION_HANDLER', '-DNDEBUG', '-DNVALGRIND', '-DDYNAMIC_ANNOTATIONS_ENABLED=0', '-I../../third_party/dav1d/libdav1d', '-I../../third_party/dav1d/libdav1d/include', '-I../../third_party/dav1d/libdav1d/include/dav1d', '-I../../third_party/dav1d/config/linux/x64', '-I../../third_party/dav1d/version', '-I../..', '-Igen', '-I../../buildtools/third_party/libc++', '-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-ignored-pragma-optimize', '-Wno-deprecated-builtins', '-Wno-bitfield-constant-conversion', '-Wno-deprecated-this-capture', '-Wno-invalid-offsetof', '-Wno-vla-extension', '-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', '-fwhole-program-vtables', '-fcomplete-member-pointers', '-no-canonical-prefixes', '-ftrivial-auto-var-init=pattern', '-fno-omit-frame-pointer', '-fvisibility=hidden', '-Wheader-hygiene', '-Wstring-conversion', '-Wtautological-overlap-compare', '-std=c11', '-resource-dir', '../../../../../../../../../usr/lib/clang/18/include', '-I', '../../../../../../../../../usr/lib/clang/18/include/', '-fparse-all-comments', '-fvisibility=default']' returned non-zero exit status 2.
...
ninja: build stopped: subcommand failed.
 * ERROR: www-client/chromium-127.0.6533.72::gentoo failed (compile phase):
 *   ninja -v -j5 -l0 -C out/Release chrome chromedriver chrome_sandbox failed
 * 
 * Call stack:
 *     ebuild.sh, line  136:  Called src_compile
 *   environment, line 4757:  Called chromium_compile
 *   environment, line 1774:  Called eninja '-C' 'out/Release' 'chrome' 'chromedriver' 'chrome_sandbox'
 *   environment, line 2361:  Called die
 * The specific snippet of code:
 *       "$@" || die -n "${*} failed"
 * 
 * If you need support, post the output of `emerge --info '=www-client/chromium-127.0.6533.72::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/chromium-127.0.6533.72::gentoo'`.
 * 
 * MemTotal:       32732500 kB
 * SwapTotal:             0 kB
 * 
 * The complete build log is located at '/var/tmp/portage/www-client/chromium-127.0.6533.72/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/www-client/chromium-127.0.6533.72/temp/environment'.
 * Working directory: '/var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72'
 * S: '/var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72'

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

>>>  '/var/tmp/portage/www-client/chromium-127.0.6533.72/temp/build.log'
Comment 5 Martin Mokrejš 2024-07-27 05:40:22 UTC
# grep -r '\--allowlist-item' /var/tmp/portage/www-client/chromium-127.0.6533.72
/var/tmp/portage/www-client/chromium-127.0.6533.72/temp/build.log:error: Found argument '--allowlist-item' which wasn't expected, or isn't valid in this context
/var/tmp/portage/www-client/chromium-127.0.6533.72/temp/build.log:	If you tried to supply `--allowlist-item` as a value rather than a flag, use `-- --allowlist-item`
/var/tmp/portage/www-client/chromium-127.0.6533.72/temp/build.log:subprocess.CalledProcessError: Command '['../../../../../../../../../usr/bin/bindgen', '--no-layout-tests', '--no-doc-comments', '--generate=functions,types,vars,methods,constructors,destructors', '--allowlist-item=dav1d_close', '--allowlist-item=dav1d_data_unref', '--allowlist-item=dav1d_data_wrap', '--allowlist-item=dav1d_default_settings', '--allowlist-item=dav1d_error', '--allowlist-item=dav1d_get_picture', '--allowlist-item=dav1d_open', '--allowlist-item=dav1d_picture_unref', '--allowlist-item=dav1d_send_data', '--no-rustfmt-bindings', '--rust-target', 'nightly', '--depfile', '/var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72/out/Release/obj/third_party/crabbyavif/tmpi4evitk5crabbyavif_dav1d_bindings.d', '--output', 'gen/third_party/crabbyavif/crabbyavif_dav1d_bindings.rs', '--no-include-path-detection', '../../third_party/crabbyavif/src/sys/dav1d-sys/wrapper.h', '--', '-DCONFIG_LOG=0', '-DHAVE_PTHREAD_GETAFFINITY_NP=1', '-DHAVE_PTHREAD_SETAFFINITY_NP=1', '-DDAV1D_API=', '-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_EXTENSIVE', '-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS', '-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS', '-DCR_LIBCXX_REVISION=852bc6746f45add53fec19f3a29280e69e358d44', '-DTEMP_REBUILD_HACK_ASSERTION_HANDLER', '-DNDEBUG', '-DNVALGRIND', '-DDYNAMIC_ANNOTATIONS_ENABLED=0', '-I../../third_party/dav1d/libdav1d', '-I../../third_party/dav1d/libdav1d/include', '-I../../third_party/dav1d/libdav1d/include/dav1d', '-I../../third_party/dav1d/config/linux/x64', '-I../../third_party/dav1d/version', '-I../..', '-Igen', '-I../../buildtools/third_party/libc++', '-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-ignored-pragma-optimize', '-Wno-deprecated-builtins', '-Wno-bitfield-constant-conversion', '-Wno-deprecated-this-capture', '-Wno-invalid-offsetof', '-Wno-vla-extension', '-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', '-fwhole-program-vtables', '-fcomplete-member-pointers', '-no-canonical-prefixes', '-ftrivial-auto-var-init=pattern', '-fno-omit-frame-pointer', '-fvisibility=hidden', '-Wheader-hygiene', '-Wstring-conversion', '-Wtautological-overlap-compare', '-std=c11', '-resource-dir', '../../../../../../../../../usr/lib/clang/18/include', '-I', '../../../../../../../../../usr/lib/clang/18/include/', '-fparse-all-comments', '-fvisibility=default']' returned non-zero exit status 2.
grep: /var/tmp/portage/www-client/chromium-127.0.6533.72/work/chromium-127.0.6533.72/third_party/rust-toolchain/bin/bindgen: binary file matches
#
Comment 6 Martin Mokrejš 2024-07-27 05:46:00 UTC
Created attachment 898388 [details]
occurrencies of allowlist-item
Comment 7 Matt Jolly gentoo-dev 2024-08-07 15:10:48 UTC
I don't see this and haven't had a chance to look into it.

My suspicion however is that your version of bindgen is too old.

It looks like `--allowlist-item` was added in 0.68.0 - which version do you have installed?

https://github.com/rust-lang/rust-bindgen/commit/820ca42982fe77d5504f7a0534a3de6db6a1d703
Comment 8 Martin Mokrejš 2024-08-07 16:10:39 UTC
[ebuild     U  ] dev-util/bindgen-0.69.4::gentoo [0.62.0::gentoo] USE="-debug" 31,535 KiB
Comment 9 Matt Jolly gentoo-dev 2024-08-08 02:08:40 UTC
Please update your bindgen. I will make the dependency more explicit in the ebuild so that older versions no longer satisfy the bindgen dependency.
Comment 10 Larry the Git Cow gentoo-dev 2024-08-08 02:14:37 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=325181635783517a7591305878d958a5d2480523

commit 325181635783517a7591305878d958a5d2480523
Author:     Matt Jolly <kangie@gentoo.org>
AuthorDate: 2024-08-08 02:05:12 +0000
Commit:     Matt Jolly <kangie@gentoo.org>
CommitDate: 2024-08-08 02:08:02 +0000

    www-client/chromium: add min version to bindgen dep
    
    Generating Chromium's bindings uses `allowlist-item`,
    a feature that was added in 0.68.0.
    
    While the current versions in-tree all meet this requirement
    we'll set a minimum bound so that any users with old bindgen
    don't accidentally end up fulfulling this dependency with
    an incompatible version.
    
    Closes: https://bugs.gentoo.org/935734
    Signed-off-by: Matt Jolly <kangie@gentoo.org>

 www-client/chromium/chromium-127.0.6533.99.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 11 Martin Mokrejš 2024-08-08 07:38:25 UTC
I did the upgrade and started the package compilation, it took about 14 hrs. It did help as I emerged www-client/chromium-127.0.6533.99 now. Thank you for the tip.