Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 692878 - dev-util/meson-0.51.1 looking for non-existent /usr/lib/python-exec/python2.7/meson
Summary: dev-util/meson-0.51.1 looking for non-existent /usr/lib/python-exec/python2.7...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-08-26 12:17 UTC by Lubos Kolouch
Modified: 2019-09-19 05:00 UTC (History)
3 users (show)

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


Attachments
build log (media-libs:mesa-19.2.0_rc1:20190827-062812.log,3.18 KB, text/x-log)
2019-08-27 06:29 UTC, Lubos Kolouch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Kolouch 2019-08-26 12:17:01 UTC
1) emerge -u mesa
2) /usr/lib/python-exec/python2.7/meson: this Python implementation (python2.7) is not supported by the script.
 * ERROR: media-libs/mesa-19.2.0_rc1::gentoo failed (configure phase)

# eselect python list
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)

emerge --info
Portage 2.3.72 (python 2.7.16-final-0, default/linux/amd64/17.0/systemd, gcc-9.2.0, glibc-2.29-r4, 5.2.9-gentoo x86_64)
=================================================================
System uname: Linux-5.2.9-gentoo-x86_64-Intel-R-_Core-TM-_i3-6100U_CPU_@_2.30GHz-with-gentoo-2.6
KiB Mem:     8040280 total,    601580 free
KiB Swap:    1048572 total,    172792 free
Timestamp of repository gentoo: Mon, 26 Aug 2019 07:00:01 +0000
Head commit of repository gentoo: 4ff746c4b0cad4245d94d95522f77d14991b17b3
sh bash 5.0_p9
ld GNU ld (Gentoo 2.32 p2) 2.32.0
ccache version 3.7.3 [enabled]
app-shells/bash:          5.0_p9::gentoo
dev-lang/perl:            5.30.0::gentoo
dev-lang/python:          2.7.16::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo
dev-util/ccache:          3.7.3::gentoo
dev-util/cmake:           3.15.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r4::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 ccache clean-logs config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://gentoo.imj.fr/pub/gentoo/ http://tux.rainside.sk/gentoo/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="cs de en_GB en"
MAKEOPTS="-j1"
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/cache/"
USE="X acl alsa amd64 apache2 bash-completion berkdb btrfs bzip2 cli corefonts crypt cryptsetup cxx dbus dlz dri exif fat flac fortran fuse gdbm git gnutls iconv icu ipv6 jpeg ldap libnotify libtirpc multilib mysql ncurses nls nptl nscd openmp pam pcre perl png policykit pulseaudio python readline sasl seccomp split-usr sqlite sse sse2 ssh ssl systemd tcpd threads truetype udev udisks unicode xattr xinerama xkb zlib" ABI_X86="64" 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="p2p canon directory" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel 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, LANG, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-08-27 06:20:28 UTC
Please attach the entire build log to this bug report.
Comment 2 Lubos Kolouch 2019-08-27 06:29:41 UTC
Created attachment 588248 [details]
build log
Comment 3 Matt Turner gentoo-dev 2019-08-28 23:59:51 UTC
I'm not sure why or how you have a "/usr/lib/python-exec/python2.7/meson" file since Meson doesn't support Python 2.7. Any ideas?
Comment 4 Lubos Kolouch 2019-08-29 08:43:03 UTC
This file even does not exist

# ls -la /usr/lib/python-exec/python2.7/meson
ls: cannot access '/usr/lib/python-exec/python2.7/meson': No such file or directory
Comment 5 Lubos Kolouch 2019-08-29 08:48:59 UTC
same issue now with dev-libs/libinput-1.14.1

Looks like my meson? python? installation is somehow borked...
Comment 6 Mike Gilbert gentoo-dev 2019-08-29 13:06:19 UTC
Do you have EPYTHON=python2.7 set in make.conf or in your shell environment?

What does "emerge -pvO dev-lang/python-exec" show (looking for the USE flags)?
Comment 7 Lubos Kolouch 2019-08-29 13:12:21 UTC
> Do you have EPYTHON=python2.7 set in make.conf or in your shell environment?

no, this variable is not set at all...

[ebuild   R    ] dev-lang/python-exec-2.4.6-r1:2::gentoo  PYTHON_TARGETS="(jython2_7) (pypy) (pypy3) (python2_7) (python3_5) (python3_6) (python3_7)" 0 KiB
Comment 8 Mike Gilbert gentoo-dev 2019-08-29 16:39:22 UTC
Hmm, I don't really have any other ideas. Copying python@ in case anybody else does.
Comment 9 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-08-29 16:43:20 UTC
Well, it looks like something is calling 'python2.7 /usr/bin/meson'.  The error message could be improved, I guess.
Comment 10 Matt Turner gentoo-dev 2019-09-19 05:00:50 UTC
Did you figure this out? Is this still a problem? I don't think anyone has any ideas at this point.