Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755401 - media-tv/kodi-19.0_beta1: only wayland platform gets enabled despite USE="x wayland"
Summary: media-tv/kodi-19.0_beta1: only wayland platform gets enabled despite USE="x w...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-18 18:10 UTC by Ilya Trukhanov
Modified: 2020-11-20 17:05 UTC (History)
1 user (show)

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


Attachments
build.log of successful build (build.log.xz,74.25 KB, application/x-xz)
2020-11-18 18:13 UTC, Ilya Trukhanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Trukhanov 2020-11-18 18:10:10 UTC
When trying to build kodi with support for both x11 and wayland, only support for wayland is enabled and I can't run kodi under x11.

Reproducible: Always




This is reflected in the build.log. CORE_PLATFORM_NAME is set to "wayland x11":
-DCORE_PLATFORM_NAME=wayland x11

But cmake configuration shows only wayland platform enabled:
-- Platforms: wayland

When it should be:
-- Platforms: x11 wayland

Output of emerge --info kodi follows:
Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop, gcc-10.2.0, glibc-2.32-r3, 5.9.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.9.1-gentoo-x86_64-AMD_Ryzen_7_1700_Eight-Core_Processor-with-gentoo-2.7
KiB Mem:    32874344 total,   9254840 free
KiB Swap:    8358208 total,   8344052 free
Timestamp of repository gentoo: Wed, 18 Nov 2020 14:45:01 +0000
Head commit of repository gentoo: 661c853aff726069aa0a7192124d79b02e89d5e0
Timestamp of repository dotnet: Tue, 10 Nov 2020 21:35:21 +0000
Head commit of repository dotnet: c50b1fb62873a5cdcfb1a5cce56f107430614142

Timestamp of repository jorgicio: Fri, 13 Nov 2020 19:05:22 +0000
Head commit of repository jorgicio: 2dd895f0cc395bbaf3220e7b93b6b04a2151d511

Timestamp of repository steam-overlay: Fri, 06 Nov 2020 22:05:28 +0000
Head commit of repository steam-overlay: 3dd4279a04e2ef34a3ab498e174535ac637c45ff

Timestamp of repository telans: Mon, 16 Nov 2020 22:05:28 +0000
Head commit of repository telans: b399746afa36be133857dfbf9cce0dd0ef472af8

Timestamp of repository vapoursynth: Mon, 16 Nov 2020 22:05:27 +0000
Head commit of repository vapoursynth: 7928690ddb35f028e6912c8e66ea5e3072d1579f

Timestamp of repository vortex: Sun, 25 Oct 2020 15:35:16 +0000
Head commit of repository vortex: 493ad334a83ab7db2e8c11eae99b2e6d33cf0ae5

Timestamp of repository wine: Tue, 17 Nov 2020 01:05:29 +0000
Head commit of repository wine: 13220a1d951032093e2a416e090d39f643669093

sh dash 0.5.11.2
ld GNU ld (Gentoo 2.35.1 p1) 2.35.1
ccache version 4.0 [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.7.9::gentoo, 3.9.0::gentoo
dev-util/ccache:          4.0::gentoo
dev-util/cmake:           3.18.4::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2::gentoo
sys-devel/binutils:       2.35.1::gentoo
sys-devel/gcc:            10.2.0-r3::gentoo
sys-devel/gcc-config:     2.3.2::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.9::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

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

dotnet
    location: /var/db/repos/dotnet
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/dotnet.git
    masters: gentoo

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

telans
    location: /var/db/repos/telans
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/telans.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

wine
    location: /var/db/repos/wine
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/wine.git
    masters: gentoo

crossdev
    location: /usr/local/portage-crossdev
    masters: gentoo
    priority: 10

Installed sets: @kodi, @sc-controller, @work, @yuzu
ACCEPT_KEYWORDS="amd64 ~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/lib64/libreoffice/program/sofficerc /usr/share/config /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="/usr/portage/distfiles"
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 -march=native"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs 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 sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ http://mirror.dkm.cz/gentoo/ https://mirror.dkm.cz/gentoo/ ftp://mirror.dkm.cz/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j16"
PKGDIR="/usr/portage/packages"
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"
USE="X a52 aac acl acpi alsa amd64 berkdb bluray branding bzip2 cairo caps cdda cdr cli crypt dbus discord-presence dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gles gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline realtime sdl seccomp spell split-usr ssl staging startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis vulkan wayland wxwidgets x264 xattr xcb xinerama xml xv xvid zlib zsh-completion" 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" 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 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput wacom joystick" KERNEL="linux" L10N="en-US" 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-2 php7-3 php7-4" POSTGRES_TARGETS="postgres12" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="arm x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-tv/kodi-19.0_beta1::gentoo was built with the following:
USE="X alsa bluray caps css dbus dvd gles lcms mariadb opengl pulseaudio (system-ffmpeg) udev udf udisks upower vaapi vdpau wayland webserver xslt -airplay -bluetooth -cec -gbm -libressl -libusb -lirc -mysql -nfs (-raspberry-pi) -samba -systemd -test -upnp -zeroconf" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8 -python3_9"
FEATURES="strict multilib-strict binpkg-dostrip userfetch userpriv network-sandbox binpkg-logs sign ccache sandbox parallel-fetch ebuild-locks news ipc-sandbox pid-sandbox unmerge-orphans config-protect-if-modified qa-unresolved-soname-deps binpkg-docompress sfperms merge-sync preserve-libs assume-digests unmerge-logs usersandbox distlocks fixlafiles unknown-features-warn usersync protect-owned xattr"
Comment 1 Ilya Trukhanov 2020-11-18 18:13:09 UTC
Created attachment 672664 [details]
build.log of successful build
Comment 2 Ilya Trukhanov 2020-11-18 18:14:51 UTC
I'm an idiot. The title should be 
"kodi-19.0_beta1: only wayland platform gets enabled despite USE="X wayland"

Sorry!
Comment 3 Larry the Git Cow gentoo-dev 2020-11-20 17:05:16 UTC
The bug has been closed via the following commit(s):

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

commit f94a3066cc63bf8a8fd229d64d7efbb648b42656
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2020-11-20 17:03:10 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2020-11-20 17:05:10 +0000

    media-tv/kodi: Fix setting CORE_PLATFORM_NAME
    
    Closes: https://bugs.gentoo.org/755401
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 media-tv/kodi/kodi-19.0_beta1-r1.ebuild | 303 ++++++++++++++++++++++++++++++++
 media-tv/kodi/kodi-19.9999.ebuild       |   3 +-
 media-tv/kodi/kodi-9999.ebuild          |   3 +-
 3 files changed, 307 insertions(+), 2 deletions(-)