Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 782781

Summary: app-misc/tracker-3.1.1: No supported Python implementation installed
Product: Gentoo Linux Reporter: poncho <poncho>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: jstein, poncho, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description poncho 2021-04-14 06:22:39 UTC
* Package:    app-misc/tracker-3.1.1
 * Repository: gentoo
 * Maintainer: gnome@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux miners userland_GNU
 * FEATURES:   network-sandbox preserve-libs sandbox userpriv usersandbox
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     5.11.13-gentoo-dist
 * No Python implementation found for the build. This is usually
 * a bug in the ebuild. Please report it to bugs.gentoo.org
 * along with the build log.

 * ERROR: app-misc/tracker-3.1.1::gentoo failed (setup phase):
 *   No supported Python implementation installed.
 * 
 * Call stack:
 *              ebuild.sh, line 125:  Called pkg_setup
 *   tracker-3.1.1.ebuild, line  77:  Called python-any-r1_pkg_setup
 *   python-any-r1.eclass, line 391:  Called python_setup
 *   python-any-r1.eclass, line 379:  Called die
 * The specific snippet of code:
 *   	die "No supported Python implementation installed."
 * 
 * If you need support, post the output of `emerge --info '=app-misc/tracker-3.1.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/tracker-3.1.1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-misc/tracker-3.1.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/tracker-3.1.1/temp/die.env'.
 * Working directory: '/var/tmp/portage/app-misc/tracker-3.1.1/homedir'
 * S: '/var/tmp/portage/app-misc/tracker-3.1.1/work/tracker-3.1.1'
Comment 1 poncho 2021-04-14 06:23:04 UTC
Portage 3.0.17 (python 3.8.8-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-10.2.0, glibc-2.32-r7, 5.11.13-gentoo-dist x86_64)
=================================================================
System uname: Linux-5.11.13-gentoo-dist-x86_64-Intel-R-_Core-TM-_i7-9700K_CPU_@_3.60GHz-with-glibc2.2.5
KiB Mem:    32685252 total,  26400968 free
KiB Swap:   33554428 total,  33554428 free
Head commit of repository gnome-next: 4e6f2be92c12170f4b2985c8b99ff21292d619d5

Head commit of repository steam-overlay: 98251c8f5a441e47b304dd33f3ff31dbc8e1b87a

Timestamp of repository gentoo: Wed, 14 Apr 2021 04:50:18 +0000
Head commit of repository gentoo: 5a763a5088a3eb15d9edd6e0027ef6bcfe8e83c8

Head commit of repository poncho: eb1030b3bd4e0e92aa621b2433f35402b68e08ec

Head commit of repository torbrowser: b1b0835b9879a2e221a1b3fc8452984b1bf11480

sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18_p8::gentoo, 3.8.8_p1::gentoo, 3.9.2_p1::gentoo
dev-lang/rust:            1.47.0-r2::gentoo
dev-util/cmake:           3.18.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.13.4-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils:       2.35.2::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.11::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r7::gentoo
Repositories:

gnome-next
    location: /var/db/repos/gnome-next
    sync-type: git
    sync-uri: https://github.com/MeisterP/gnome-overlay.git
    sync-user: poncho
    masters: gentoo
    priority: 50

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

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    sync-user: poncho
    priority: 1000
    sync-git-verify-commit-signature: true

poncho
    location: /var/db/repos/poncho
    sync-type: git
    sync-uri: https://github.com/MeisterP/poncho-overlay.git
    sync-user: poncho
    masters: gentoo
    priority: 1050

torbrowser
    location: /var/db/repos/torbrowser
    sync-type: git
    sync-uri: https://github.com/MeisterP/torbrowser-overlay.git
    sync-user: poncho
    masters: gentoo
    priority: 1050

Installed sets: @fonts, @kernels, @python-modules, @virtualbox
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA FraunhoferFDK NVIDIA-CUDA PUEL"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/thumbnailers/ffmpegthumbnailer.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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --ask --jobs=8 --load-average=8 --verbose"
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=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync mount-sandbox multilib-strict network-sandbox news 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 userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS="https://mirror.init7.net/gentoo/ 	https://mirrors.evowise.com/gentoo/ 	http://distfiles.gentoo.org"
INSTALL_MASK=" /etc/init.d /etc/conf.d"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j16 -l8"
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"
RUSTFLAGS="-Ctarget-cpu=native"
USE="X a52 aac acl acpi aften alsa amd64 argyllcms bash-completion berkdb bluetooth bzip2 cairo cdda cdio cdr cli colord crypt cryptsetup css cuda cups dav1d dbus device-mapper dist-kernel dri drm dts dvd dvdr emboss encode evo exif fdk ffmpeg flac fontconfig fortran gif gnome gnome-keyring gnome-online-accounts gstreamer gtk gtk3 gui heif iconv icu id3tag introspection ipv6 jpeg kms lame lcms libass libglvnd libkms libnotify libproxy libsecret libtirpc lm-sensors mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl nss nvenc nvidia ogg opengl openmp opus pam pango pcre pdf png policykit postscript ppds pulseaudio raw readline rtmp sdl seccomp sndfile speex spell split-usr ssl startup-notification svg sysprof systemd tcpd theora threads tiff tracker truetype udev udisks unicode upower usb user-session v4l vaapi vdpau vorbis vpx wavpack webp x264 x265 xattr xcb xinerama xml xmp xps xv xvid zlib zsh-completion" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" 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 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" L10N="en 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-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" RUBY_TARGETS="ruby26" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 bingquick 2021-04-14 10:09:59 UTC
Looks like the python check is causing the issue

---
python_check_deps() {
    has_version -b "dev-python/tappy[${PYTHON_USEDEP}]"
}
---

Since dev-python/tappy is optional build depends on "test" use

---
BDEPEND="

    test? (
        $(python_gen_any_dep 'dev-python/tappy[${PYTHON_USEDEP}]')
    )
---

So if you install dev-python/tappy then the emerge error will go away. 

We might probably make the build dependency of dev-python/tappy not depend on test use
Comment 3 poncho 2021-04-14 10:15:00 UTC
https://bugs.gentoo.org/702046 is the same issue with net-libs/telepathy-qt where it was fixed by adding "use test || return 0"

 python_check_deps() {
+	use test || return 0
 	has_version "dev-python/dbus-python[${PYTHON_USEDEP}]"
 }
Comment 4 Larry the Git Cow gentoo-dev 2021-04-15 00:38:29 UTC
The bug has been closed via the following commit(s):

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

commit b76fc51c0ed7983bccbfbad1efd469415f3b79c4
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-15 00:36:41 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-15 00:36:50 +0000

    app-misc/tracker: Require tappy only for tests
    
    Closes: https://bugs.gentoo.org/782781
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-misc/tracker/tracker-3.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 5 Chris Mayo 2021-04-15 18:36:10 UTC
Fix isn't sufficient, appears to need:

@@ -74,7 +74,7 @@
 	linux-info_pkg_setup
 	inotify_enabled
 
-	python-any-r1_pkg_setup
+	use test && python-any-r1_pkg_setup
 }
 
 src_prepare() {

Maybe that would even work on its own.
Comment 6 Matt Turner gentoo-dev 2021-04-15 22:38:43 UTC
Thanks. I should have gone with the suggestion in comment #3.
Comment 7 Larry the Git Cow gentoo-dev 2021-04-15 22:42:29 UTC
The bug has been closed via the following commit(s):

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

commit cb529dd14838c1711afd6b8bbeb7f34d5c60d74a
Author:     Matt Turner <mattst88@gentoo.org>
AuthorDate: 2021-04-15 22:38:55 +0000
Commit:     Matt Turner <mattst88@gentoo.org>
CommitDate: 2021-04-15 22:39:41 +0000

    app-misc/tracker: Fix python_check_deps()
    
    Closes: https://bugs.gentoo.org/782781
    Signed-off-by: Matt Turner <mattst88@gentoo.org>

 app-misc/tracker/tracker-3.1.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)