File "setup.py", line 1, in <module> from setuptools import setup, Extension ModuleNotFoundError: No module named 'setuptools' make[2]: *** [Makefile:2702: recollpython] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-misc/recoll-1.27.12/work/recoll-1.27.12' make[1]: *** [Makefile:1995: all-recursive] Error 1 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-20201125-061653 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-8.3.1 [3] x86_64-pc-linux-gnu-10.2.0 * clang version 11.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/11/bin /usr/lib/llvm/11 11.0.0 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) [2] ruby26 (with Rubygems) [3] ruby27 (with Rubygems) * Available Rust versions: [1] rust-bin-1.48.0 * The following VMs are available for generation-2: *) AdoptOpenJDK 8.272_p10 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Dec 5 10:05:38 AM UTC 2020 emerge -qpvO app-misc/recoll [ebuild U ] app-misc/recoll-1.27.12 [1.25.19] USE="inotify spell -camelcase -chm -doc -qt5 -session -webengine" PYTHON_SINGLE_TARGET="python3_8%* -python3_6 -python3_7* -python3_9%"
this seems to be either still an issue or a similarity to the one reported in bug 722268
Created attachment 676798 [details] emerge-info.txt
Created attachment 676801 [details] app-misc:recoll-1.27.12:20201205-102141.log
Created attachment 676804 [details] emerge-history.txt
Created attachment 676807 [details] environment
Created attachment 676810 [details] etc.portage.tbz2
Created attachment 676813 [details] logs.tbz2
Created attachment 676816 [details] temp.tbz2
Created attachment 677131 [details] terminal output of emerge recoll This has built fine here (stable amd64). What is different about your python configuration? I can see that the default is still python 3.7. ~ » emerge --info recoll Portage 3.0.9 (python 3.7.9-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-9.3.0, glibc-2.32-r2, 5.9.12-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-5.9.12-gentoo-x86_64-Intel-R-_Core-TM-_i3-6100U_CPU_@_2.30GHz-with-gentoo-2.7 KiB Mem: 16277460 total, 9351368 free KiB Swap: 2047996 total, 2047996 free Timestamp of repository gentoo: Mon, 07 Dec 2020 05:35:42 +0000 Head commit of repository gentoo: cbe3d80a3408610eaf07784fdb20b78625703c5a sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 ccache version 3.7.12 [disabled] app-shells/bash: 5.0_p18::gentoo dev-java/java-config: 2.3.1::gentoo dev-lang/perl: 5.30.3::gentoo dev-lang/python: 2.7.18-r4::gentoo, 3.7.9::gentoo dev-util/ccache: 3.7.12::gentoo dev-util/cmake: 3.17.4-r1::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.13.4-r2::gentoo, 1.16.2-r1::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 9.3.0-r1::gentoo sys-devel/gcc-config: 2.3.2-r1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo-mirror/gentoo.git priority: -1000 myself location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/xsessions" 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="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=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="-O2 -pipe" 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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="rsync://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.daum.net/gentoo/ http://ftp.kaist.ac.kr/pub/gentoo/ http://ftp.lanet.kr/pub/gentoo/" LANG="en_US.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j2" 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="/tmp/var_tmp" USE="X a52 aac accessibility acl acpi activities alsa amd64 aspell avahi ayatana bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli crypt cryptsetup cups curl curlwrappers dbus declarative device-mapper djvu dri drm dts dvd dvdr elogind encode exif fbcon ffmpeg flac fontconfig ftp fuse g3dvl gallium gdbm gif git glamor gnutls gphoto2 gpm gstreamer gtk gtk3 gtkstyle gui iconv icu imagemagick inotify jpeg jpeg2k kde kipi kwallet lame latex lcms libglvnd libinput libsamplerate libtirpc lzma mad matroska mmap mng mp3 mp4 mpeg mpris multilib musepack ncurses networkmanager nls nptl ogg opencl opengl openmp opus oss pam pango pch pcmcia pcre pdf phonon plasma png policykit ppds pth pulseaudio qml qt5 readline replaygain savedconfig sdl seccomp smp speex spell split-usr sqlite srt ssl svg system-sqlite taglib tcpd theora threads tiff truetype udev unicode usb uxa v4l v4l2 vim-syntax vorbis widgets wifi wmf x264 x265 xattr xcb xcf xcomposite xft xinerama xml xmp xorg xosd xpm xv xvid yv12 zeroconf 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" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="avx avx2 fma fma3 mmx mmx2 sse sse2 sse3 ssse3 mmxext popcnt sse4_1 sse4_2" 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" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel vesa i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= app-misc/recoll-1.27.12::gentoo was built with the following: USE="inotify qt5 spell -camelcase -chm -doc -session -webengine" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8 -python3_9"
Sorry, just noticed that the python targeted is 3.8. I will have to install python-3.8 and check.
Created attachment 677146 [details] Ebuild for recoll-1.27.12-r1 It needs setuptools as DEPEND. I have tested against python 3.9 and updated the ebuild. Inherit optfeature as well. Diff follows: » diff -u recoll-1.27.12* --- recoll-1.27.12.ebuild 2020-12-07 21:39:01.176088992 +0800 +++ recoll-1.27.12-r1.ebuild 2020-12-07 21:27:08.326675094 +0800 @@ -3,9 +3,9 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7,8,9} ) +PYTHON_COMPAT=( python3_{6..9} ) -inherit eutils linux-info python-single-r1 qmake-utils +inherit eutils linux-info optfeature python-single-r1 qmake-utils DESCRIPTION="A personal full text search package" HOMEPAGE="https://www.lesbonscomptes.com/recoll/" @@ -45,6 +45,9 @@ ) spell? ( app-text/aspell ) ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/setuptools[${PYTHON_MULTI_USEDEP}] + ') " BDEPEND="