[vapoursynth-overlay] media-plugins/vapoursynth-eedi3-4 build failure | error: narrowing conversion I'm unable to build this package from vapoursynth-overlay. I tried without lto and also with different GCC (GCC11/10/9), it still fails to build with the exact same error as shown in the build log attached. Reproducible: Always Portage 3.0.30 (python 3.9.12-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-11.2.1, glibc-2.34-r10, 5.15.32-gentoo-r1-hardened x86_64) ================================================================= System uname: Linux-5.15.32-gentoo-r1-hardened-x86_64-AMD_A10-6800K_APU_with_Radeon-tm-_HD_Graphics-with-glibc2.34 KiB Mem: 32421164 total, 22892164 free KiB Swap: 16777212 total, 16777212 free Timestamp of repository gentoo: Sat, 07 May 2022 06:00:01 +0000 Head commit of repository gentoo: 86c10f9667c5954680d93701030465d9171feb5f Timestamp of repository localrepo: Wed, 04 May 2022 05:47:37 +0000 Timestamp of repository menelkir: Mon, 02 May 2022 19:19:51 +0000 Head commit of repository menelkir: 578cbb0aad3a4656e1d6378ef129195a165dc49c Timestamp of repository mv: Mon, 02 May 2022 18:48:02 +0000 Head commit of repository mv: a11fb399b7f905843a136d8f4c1c5e1238c1e194 Timestamp of repository tatsh-overlay: Mon, 02 May 2022 19:19:55 +0000 Head commit of repository tatsh-overlay: 173e789352d58a66daf959dc0f6b527912830b32 Timestamp of repository vapoursynth: Mon, 02 May 2022 19:19:35 +0000 Head commit of repository vapoursynth: 07055f3abe59ae67838d1353f9b5444ef25ee3e5 Timestamp of repository vortex: Mon, 02 May 2022 17:33:04 +0000 Head commit of repository vortex: de1b32d4f9035822ea5068716eed392b35db1c11 Head commit of repository xfceclassic: d0fb6a84e27039e76420d6416d1d802a55b80911 sh bash 5.1_p16 ld GNU ld (Gentoo 2.37_p1 p2) 2.37 app-misc/pax-utils: 1.3.3::gentoo app-shells/bash: 5.1_p16::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.34.0-r9::gentoo dev-lang/python: 2.7.18_p15::gentoo, 3.9.12::gentoo, 3.10.4::gentoo dev-lang/rust: 1.59.0::gentoo dev-util/cmake: 3.22.2::gentoo dev-util/meson: 0.60.3::gentoo sys-apps/baselayout: 2.7-r3::gentoo sys-apps/openrc: 0.44.10::gentoo sys-apps/sandbox: 2.29::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.71-r1::gentoo sys-devel/automake: 1.16.5::gentoo sys-devel/binutils: 2.37_p1-r2::gentoo sys-devel/binutils-config: 5.4.1::gentoo sys-devel/clang: 13.0.1::gentoo sys-devel/gcc: 11.2.1_p20220115::gentoo sys-devel/gcc-config: 2.5-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/llvm: 13.0.1::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.15-r3::gentoo (virtual/os-headers) sys-libs/glibc: 2.34-r10::gentoo Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 localrepo location: /var/db/repos/localrepo masters: gentoo menelkir location: /var/db/repos/menelkir sync-type: git sync-uri: https://github.com/gentoo-mirror/menelkir.git masters: gentoo mv location: /var/db/repos/mv sync-type: git sync-uri: https://github.com/gentoo-mirror/mv.git masters: gentoo tatsh-overlay location: /var/db/repos/tatsh-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/tatsh-overlay.git masters: gentoo vapoursynth location: /var/db/repos/vapoursynth sync-type: git sync-uri: https://github.com/gentoo-mirror/vapoursynth.git masters: gentoo vortex location: /var/db/repos/vortex sync-type: git sync-uri: https://github.com/gentoo-mirror/vortex.git masters: gentoo xfceclassic location: /var/db/repos/xfceclassic sync-type: git sync-uri: https://github.com/Xfce-Classic/gentoo-overlay masters: gentoo crossdev location: /var/db/repos/crossdev masters: gentoo priority: 10 Installed sets: @dbuspkg, @fonts, @games, @librsvg, @localrepo, @phone, @subtitles, @themes, @vm, @wm, @xfce ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=bdver2 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/portage/savedconfig/sys-kernel/linux-firmware /usr/bin/startx /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/thumbnailers/ffmpegthumbnailer.thumbnailer /usr/share/thumbnailers/imagemagick-pdf.thumbnailer" 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="-march=bdver2 -O2 -pipe" DISTDIR="/var/cache/distfiles" EMERGE_DEFAULT_OPTS="--usepkg --binpkg-respect-use=y" 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" FCFLAGS="-march=bdver2 -O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg 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="-march=bdver2 -O2 -pipe" GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/" INSTALL_MASK="/etc/sysctl.d/ /etc/systemd/ /lib/systemd/ /usr/lib/sysctl.d/ /usr/lib/systemd/ /run/systemd/" LANG="fr_FR.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en fr" 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 aio alsa amd64 bzip2 cairo cdda cdr cli crypt cryptsetup cups dbus device-mapper dri dts dvd dvr elogind emboss encode exif fam fftw flac gif gnat_2021 gpm graphite gtk hardened hscolour iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc lto lvm lz4 lzma lzo mad mp3 mp4 mpeg ncurses nfs nls nptl ogg opengl openmp openssl opus otr pam pango pcre pdf pgo pie png policykit ppds readline sdl seccomp sftp split-usr ssh ssl ssp startup-notification svg system-av1 system-binutils system-cairo system-clang system-cmark system-compress system-digest system-ffmpeg system-harfbuzz system-heimdal system-icu system-images system-jpeg system-jsoncpp system-lcms system-leveldb system-libevent system-libmspack system-libs system-libvpx system-libyaml system-llvm system-lua system-lz4 system-nss system-openjpeg system-pixman system-png system-renpy system-snappy system-sqlite system-tbb system-uulib system-vpx system-zlib tiff tk truetype udev udisks unicode upower usb vaapi vdpau verify-sig vorbis webp wxwidgets x264 xattr xcb xml xtpax xv xvid zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2020" 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="aes avx f16c fma3 fma4 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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" L10N="fr" 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_9" PYTHON_TARGETS="python3_9" QEMU_SOFTMMU_TARGETS="aarch64 arm ppc ppc64 i386 x86_64" QEMU_USER_TARGETS="aarch64 arm armeb ppc ppc64 i386 x86_64" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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, LC_ALL, LD, LEX, LFLAGS, LIBTOOL, 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
Created attachment 777155 [details] media-plugins/vapoursynth-eedi3-4 (build log)
I forwarded this issue upstream, waiting for a fix.
(In reply to surukko from comment #2) > I forwarded this issue upstream, waiting for a fix. Thanks! For your information, 3 other packages are affected by the same issue : https://bugs.gentoo.org/845021 https://bugs.gentoo.org/845078 https://bugs.gentoo.org/845090 Those packages, including this one (eedi3) are compiling fine in arch linux using AUR. I wonder if that's a compiler issue or something else. I tried to build most of vapoursynth overlay plugins to make sure other are not affected and this is what I found so far.
(In reply to David Duchesne from comment #3) > (In reply to surukko from comment #2) > > I forwarded this issue upstream, waiting for a fix. > > Thanks! For your information, 3 other packages are affected by the same > issue : > https://bugs.gentoo.org/845021 > https://bugs.gentoo.org/845078 > https://bugs.gentoo.org/845090 > > Those packages, including this one (eedi3) are compiling fine in arch linux > using AUR. I wonder if that's a compiler issue or something else. I tried to > build most of vapoursynth overlay plugins to make sure other are not > affected and this is what I found so far. As a temporary workaround until upstream fix the issue, it is possible to compile varpoursynth-eedi3 & other packages affected with this issue using a env / package.env file with : COMMON_FLAGS="-march=x86-64-v2 -O2 -pipe" This way, the problematic instruction (avx avx2) are ignored and it compiles fine.