dev-lang/yasm is not in the build dependencies, but it is used when building. The problem occurs when the package's build dependencies was installed from binary packages. Reproducible: Always Steps to Reproduce: 1. emerge --with-bdeps=y -o -K media-libs/tg_owt 2. FEATURES="-getbinpkg" emerge media-libs/tg_owt 3. Actual Results: Build failed Expected Results: Build success [60/1297] cd /var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-0_pre20210626_build && yasm -DPIC -felf64 -m amd64 -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/thi rd_party/openh264/src -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de5 04d9c34/src/third_party/openh264/src/codec/api/svc -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d8 36dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/common/inc -I/var/calculate/tmp/portage/media-libs/tg_owt-0 _pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/common/src -I/var/calculate /tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/c odec/encoder/core/inc -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de5 04d9c34/src/third_party/openh264/src/codec/encoder/core/src -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg _owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/encoder/plus/inc -I/var/calculate/tmp/portage/medi a-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/encoder/plus /src -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third _party/openh264/src/codec/processing/interface -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc 84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/adaptivequantization -I/var/calculate/tmp/portag e/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/proces sing/src/backgrounddetection -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c 04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/common -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre2021062 6-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/complexityanalysis -I/v ar/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/op enh264/src/codec/processing/src/denoise -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a1658 4c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/downsample -I/var/calculate/tmp/portage/media-libs/tg_o wt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/imagerot ate -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_ party/openh264/src/codec/processing/src/scenechangedetection -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/scrolldetection -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/processing/src/vaacalc -I/var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/common/x86 -I. -DUNIX64 -DWELS_PRIVATE_EXTERN=:hidden /var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-91d836dc84a16584c6ac52b36c04c0de504d9c34/src/third_party/openh264/src/codec/common/x86/cpuid.asm -o /var/calculate/tmp/portage/media-libs/tg_owt-0_pre20210626-r1/work/tg_owt-0_pre20210626_build/gen/codec/common/x86/cpuid.asm.o FAILED: gen/codec/common/x86/cpuid.asm.o
In general, please always include the full build.log and emerge --info, just to save a bit of time when debugging.
Openh264 shouldn't be being built. Is it installed on your system? Also echoing sam's request for a full log. Please never assume a certain snippet will be enough. CMake should output whether it found openh264 on your system or not.
I was unable to attach the log. Build log: http://pastebin.calculate-linux.ru/ru/raw/215179 Portage 3.0.18 (python 3.9.5-final-0, default/amd64/20/desktop, gcc-10.3.0, glibc-2.33_rc73, 5.10.42-calculate x86_64) ================================================================= System uname: Linux-5.10.42-calculate-x86_64-AMD_Ryzen_9_3900X_12-Core_Processor-with-glibc2.33 KiB Mem: 32890252 total, 7211800 free KiB Swap: 74169104 total, 74103568 free Timestamp of repository gentoo: Fri, 20 Aug 2021 19:00:01 +0000 sh bash 5.1_p8 ld GNU ld (Gentoo 2.35.2 p1) 2.35.2 app-shells/bash: 5.1_p8::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.32.1::gentoo dev-lang/python: 2.7.18_p10::gentoo, 3.6.13_p5::gentoo, 3.8.10_p2::gentoo, 3.9.5_p2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1-r1::gentoo sys-apps/sandbox: 2.24_rc73::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.3-r1::gentoo sys-devel/binutils: 2.35.2::gentoo sys-devel/gcc: 10.3.0::gentoo sys-devel/gcc-config: 2.4::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers) sys-libs/glibc: 2.33::gentoo Repositories: custom location: /var/calculate/custom-overlay masters: calculate gentoo calculate location: /var/db/repos/calculate sync-type: calculate sync-uri: git://git.calculate-linux.org/calculate/calculate-overlay masters: gentoo priority: 50 distros location: /var/db/repos/distros sync-type: calculate sync-uri: git://git.calculate-linux.org/calculate/distros-overlay masters: calculate gentoo priority: 50 gentoo location: /usr/portage sync-type: calculate sync-uri: git://git.calculate-linux.org/calculate/gentoo-overlay priority: 50 Installed sets: @autodeps, @calculate ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=x86-64 -pipe" 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 -march=x86-64 -pipe" DISTDIR="/var/calculate/distfiles" EMERGE_DEFAULT_OPTS=" --autounmask --binpkg-changed-deps=n --binpkg-respect-use=y --jobs=4 --quiet-build=n " 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="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org" INSTALL_MASK="/etc/systemd /lib*/systemd /usr/lib*/systemd /etc/shorewall*/* -/etc/shorewall*/shorewall*.conf" LANG="ru_RU.utf8" LDFLAGS="-Wl,--as-needed" MAKEOPTS="-j25" PKGDIR="/var/calculate/packages/x86_64" PORTAGE_BINHOST="ftp://ftp.calculate-linux.org/testing/grp/x86_64" 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/calculate/tmp" USE="3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx bittorrent bluetooth box bzip2 cairo caps cdda cddb cdparanoia cgroups chm cli cpudetection cracklib crypt css cue cups dav1d dbus dftk djvu dri dv dvd dvdr dvdread ebook elogind encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gphoto2 gpm gstreamer gtk heif hunspell iconv id3tag idn ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k lame libglvnd libnotify libtirpc libwww lm-sensors logrotate lz4 lzo mad matroska mikmod mimap mmx mmxext mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pam pcre pdf pgo png policykit popcnt postscript ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner sdl seccomp semantic-desktop smp smtp speex spell split-usr srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vnc vorbis vpx vulkan wavpack wayland webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xinerama xmp xop xv xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx sse sse2 * mmxext" 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" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="libinput evdev mutouch synaptics" KERNEL="linux" L10N="en be bg bs cs da de de-1901 el es es-AR es-CL es-ES es-MX et fi fr fr-CA hr hu it kk lt lv nl pl pt pt-BR pt-PT ro ru sk sl sr sq sv uk" 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-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python2_7" RUBY_TARGETS="ruby26" THEMES="CLDX" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev i915 i965 intel nouveau nv nvidia r100 r200 r300 r600 radeon qxl radeonsi vesa virtualbox via" 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: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
Thanks for the bug report! Apparently CMake is funkier than I expected. It should be solved now in the pull request. Please allow proxy-maint some time to review and merge it.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76778b76c741054a2aa791c349deb20e8f417045 commit 76778b76c741054a2aa791c349deb20e8f417045 Author: Esteve Varela Colominas <esteve.varela@gmail.com> AuthorDate: 2021-08-24 16:14:52 +0000 Commit: Georgy Yakovlev <gyakovlev@gentoo.org> CommitDate: 2021-08-24 18:32:55 +0000 media-libs/tg_owt: Fix building without YASM I just don't get CMake Closes: https://bugs.gentoo.org/809002 Thanks-to: Mike Hiretsky <mh@calculate.ru> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/22093 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+)