Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 885833 - www-client/chromium-108.0.5359.98 build fails with: fatal error: third_party/SVT-AV1/convolve_avx2.h: No such file or directory
Summary: www-client/chromium-108.0.5359.98 build fails with: fatal error: third_party/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-14 06:46 UTC by Garry Filakhtov
Modified: 2022-12-15 12:11 UTC (History)
0 users

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


Attachments
build.log (build.log,30.47 KB, text/plain)
2022-12-14 06:55 UTC, Garry Filakhtov
Details
Compressed full build.log (build.log.xz,119.46 KB, application/x-xz)
2022-12-14 07:04 UTC, Garry Filakhtov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Garry Filakhtov 2022-12-14 06:46:42 UTC
Trying to build latest stable version (108.0.5359.98) of Chromium and getting:

[ebuild     U  ] www-client/chromium-108.0.5359.98:0/stable::gentoo [107.0.5304.121:0/stable::gentoo] USE="X (-component-build) -cups -custom-cflags -debug gtk4 hangouts (-headless) -js-type-check -kerberos -libcxx -lto official (-pgo) (pic) proprietary-codecs pulseaudio -qt5 -screencast (-selinux) -suid -system-av1 (-system-ffmpeg) -system-harfbuzz -system-icu -system-png vaapi -wayland widevine" L10N="-af -am -ar -bg -bn -ca -cs -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

...

FAILED: obj/third_party/libaom/libaom_intrinsics_avx2/convolve_2d_avx2.o 
x86_64-pc-linux-gnu-gcc -MMD -MF obj/third_party/libaom/libaom_intrinsics_avx2/convolve_2d_avx2.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../third_party/libaom/source/config -I../../third_party/libaom/source/config/linux/x64 -I../../third_party/libaom/source/libaom -mavx2 -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 -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 -std=gnu11 -O2 -pipe -march=native -c ../../third_party/libaom/source/libaom/av1/common/x86/convolve_2d_avx2.c -o obj/third_party/libaom/libaom_intrinsics_avx2/convolve_2d_avx2.o
../../third_party/libaom/source/libaom/av1/common/x86/convolve_2d_avx2.c:16:10: fatal error: third_party/SVT-AV1/convolve_2d_avx2.h: No such file or directory
   16 | #include "third_party/SVT-AV1/convolve_2d_avx2.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

...

FAILED: obj/third_party/libaom/libaom_intrinsics_avx2/convolve_avx2.o 
x86_64-pc-linux-gnu-gcc -MMD -MF obj/third_party/libaom/libaom_intrinsics_avx2/convolve_avx2.o.d -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_OZONE=1 -DOFFICIAL_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DNO_UNWIND_TABLES -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -I../.. -Igen -I../../third_party/libaom/source/config -I../../third_party/libaom/source/config/linux/x64 -I../../third_party/libaom/source/libaom -mavx2 -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 -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 -std=gnu11 -O2 -pipe -march=native -c ../../third_party/libaom/source/libaom/av1/common/x86/convolve_avx2.c -o obj/third_party/libaom/libaom_intrinsics_avx2/convolve_avx2.o
../../third_party/libaom/source/libaom/av1/common/x86/convolve_avx2.c:16:10: fatal error: third_party/SVT-AV1/convolve_avx2.h: No such file or directory
   16 | #include "third_party/SVT-AV1/convolve_avx2.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.



Reproducible: Always

Steps to Reproduce:
1. emerge -av chromium
2. watch build fail

Actual Results:  
Chromium build fails

Expected Results:  
Chromium build completes successfully
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 06:55:09 UTC
Please attach the full build.log (compressed if necessary) & emerge --info.

Know it's a bit tricky at the moment as Bugzilla is up/down.
Comment 2 Garry Filakhtov 2022-12-14 06:55:21 UTC
Created attachment 842521 [details]
build.log

Build log with irrelevant log entries removed (to reduce the size for upload)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-14 07:01:24 UTC
(In reply to Garry Filakhtov from comment #2)
> Created attachment 842521 [details]
> build.log
> 
> Build log with irrelevant log entries removed (to reduce the size for upload)

Please don't truncate logs. Just compress it?
Comment 4 Garry Filakhtov 2022-12-14 07:04:50 UTC
Created attachment 842523 [details]
Compressed full build.log

Complete build log (as is) compressed due to size limits.
Comment 5 Garry Filakhtov 2022-12-14 14:13:09 UTC
# emerge --info
Portage 3.0.41 (python 3.10.9-final-0, default/linux/amd64/17.1/no-multilib/systemd/merged-usr, gcc-11.3.0, glibc-2.36-r5, 5.15.80-gentoo-heliodor x86_64)
=================================================================
System uname: Linux-5.15.80-gentoo-heliodor-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.36
KiB Mem:    32810408 total,  12868892 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Tue, 13 Dec 2022 22:45:01 +0000
Head commit of repository gentoo: 2caf39cbf900aa0fb00d6317d6606b425d27f904
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.38 p4) 2.38
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-lang/perl:             5.34.1-r4::gentoo
dev-lang/python:           3.10.9::gentoo
dev-lang/rust:             1.65.0::gentoo
dev-util/cmake:            3.24.3::gentoo
dev-util/meson:            0.63.3::gentoo
sys-apps/baselayout:       2.9::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-apps/systemd:          251.8::gentoo
sys-devel/autoconf:        2.13-r7::gentoo, 2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.38-r2::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc:             11.3.0::gentoo
sys-devel/gcc-config:      2.8::gentoo
sys-devel/libtool:         2.4.7::gentoo
sys-devel/llvm:            14.0.6-r2::gentoo
sys-devel/make:            4.3::gentoo
sys-kernel/linux-headers:  5.15-r3::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r5::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-umask: 022
    sync-uri: rsync://rsync.au.gentoo.org/gentoo-portage/
    sync-user: portage
    priority: 50
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="-j4 -l28 --alphabetical"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j20 -l28"
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="acl amd64 bzip2 cli crypt dri fortran gdbm iconv libglvnd libtirpc ncurses nptl openmp pam pcre readline seccomp ssl systemd test-rust udev unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 6 Larry the Git Cow gentoo-dev 2022-12-15 12:11:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1865d023ac8e013311c1c3d5140d7b20bb4738c8

commit 1865d023ac8e013311c1c3d5140d7b20bb4738c8
Author:     Stephan Hartmann <sultan@gentoo.org>
AuthorDate: 2022-12-15 12:11:07 +0000
Commit:     Stephan Hartmann <sultan@gentoo.org>
CommitDate: 2022-12-15 12:11:07 +0000

    www-client/chromium: fix building with avx2
    
    Closes: https://bugs.gentoo.org/885833
    Signed-off-by: Stephan Hartmann <sultan@gentoo.org>

 www-client/chromium/chromium-108.0.5359.124.ebuild | 1 +
 1 file changed, 1 insertion(+)