Summary: | media-libs/mesa-9999: ERROR: Problem encountered: Python (3.x) mako module required to build mesa | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Perfect Gentleman <perfect007gentleman> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alexandref75, erik.badman |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
mesa-9999.ebuild
mesa-18.3.0_rc2 build log |
Description
Perfect Gentleman
2018-08-10 22:28:35 UTC
Same problem here... And dev-python/mako-1.0.6 package is already installed on my comp. More than month ago actually. So question is WTF... Created attachment 543134 [details]
mesa-9999.ebuild
Yep. Changing PYTHON_COMPAT in ebuild to version 3 solved problem... (In my case "PYTHON_COMPAT=( python3_6 )") Maybe next line is more correct solution of the problem: 'PYTHON_COMPAT=( python3_{4,5,6,7} ) # https://bugs.gentoo.org/663334' Can you paste the output of emerge mako -pv please? Mesa should be depending on mako built with the appropriate version of python. The ebuild has... PYTHON_COMPAT=( python3_4 python3_5 python3_6 python3_7 ) inherit llvm meson multilib-minimal pax-utils python-any-r1 [snip] DEPEND="${RDEPEND} ${PYTHON_DEPS} [snip] $(python_gen_any_dep ">=dev-python/mako-0.7.3[\${PYTHON_USEDEP}]") " which I thought was correct. Oh! Or, could you have seen this in between the time upstream switched to python3 and we updated the ebuild to depend on python3? commit fc84ea093d8452a6c193a330097e796ea2189e03 Author: Mike Lothian <mike@fireburn.co.uk> AuthorDate: Sun Aug 12 23:45:11 2018 +0100 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: Sun Aug 12 16:00:06 2018 -0700 media-libs/mesa: Use python3 Mesa's meson build only uses python 3 as of commit 2ee1c86d71be ("meson: Build with Python 3") Can you still reproduce? > emerge mako -pv
These are the packages that would be merged, in order:
Calculating dependencies ... done!
[ebuild R ] dev-python/mako-1.0.6::gentoo USE="-doc -test" PYTHON_TARGETS="python2_7 python3_6 (-pypy) -python3_4 -python3_5" 0 KiB
Total: 1 package (1 reinstall), Size of downloads: 0 KiB
(In reply to Matt Turner from comment #7) > Oh! Or, could you have seen this in between the time upstream switched to > python3 and we updated the ebuild to depend on python3? > > commit fc84ea093d8452a6c193a330097e796ea2189e03 > Author: Mike Lothian <mike@fireburn.co.uk> > AuthorDate: Sun Aug 12 23:45:11 2018 +0100 > Commit: Matt Turner <mattst88@gentoo.org> > CommitDate: Sun Aug 12 16:00:06 2018 -0700 > > media-libs/mesa: Use python3 > > Mesa's meson build only uses python 3 as of commit 2ee1c86d71be ("meson: > Build with Python 3") > > Can you still reproduce? With 'PYTHON_COMPAT=( python3_4 python3_5 python3_6 python3_7 )' line in mesa-9999.ebuild::gentoo, problem is gone. So it's time to close this bug. Greetings, I'm having the same issue with mesa-18.3.0_rc2. attaching logs. dagg@NCC-5001-D ~ $ emerge --info mesa Portage 2.3.51 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.27-r6, 4.19.2-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-4.19.2-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.6 KiB Mem: 16389672 total, 5916400 free KiB Swap: 16393212 total, 16393212 free Head commit of repository gentoo: cb84e11de7626097630d9bd0713f66158a8b6fca sh bash 4.4_p12 ld GNU ld (Gentoo 2.31.1 p3) 2.31.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.24.3-r1::gentoo dev-lang/python: 2.7.15::gentoo, 3.4.8-r1::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo dev-util/cmake: 3.12.3::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.39.2::gentoo sys-apps/sandbox: 2.13::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r1::gentoo sys-devel/gcc: 8.2.0-r4::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers) sys-libs/glibc: 2.27-r6::gentoo Repositories: gentoo location: /mnt/portage/tree/official sync-type: git sync-uri: git://anongit.gentoo.org/repo/gentoo.git priority: -1000 Utopia_Platinia location: /mnt/portage/tree/overlay masters: gentoo priority: 0 crossdev location: /mnt/portage/tree/overlay/portage-crossdev masters: gentoo priority: 10 kde location: /var/lib/layman/kde masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA FraunhoferFDK dlj-1.1 skype-4.0.0.7-copyright Broadcom PUEL googleearth LOKI-EULA AdobeFlash-11.x RTCW-ETEULA ut2003 MakeMKV-EULA Q3AEULA TeamViewer RAR OPERA-2014 Nero-AAC-EULA Oracle-BCLA-JavaSE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -msse4.1" 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="-march=native -O2 -pipe -msse4.1" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--keep-going --quiet-build=n" 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-logs clean-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="ftp://mirror.isoc.org.il/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/" LANG="en_IL.US-ASCII" LC_ALL="en_IL.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en he es" MAKEOPTS="-j9" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--timeout=180" 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 activities aio alsa amd64 amr audiofile avx bash-completion berkdb bidi branding bzip2 c++0x cairo cdda cdparanoia cdr cjk cleartype cli crypt css cups curl cxx dbus declarative device-mapper dga dri drm dts dv dvb dvd dvdr dvdread edb elogind emboss encode exif faad fam ffmpeg flac ftp gallium gdbm gif glamor gphoto2 gpm gtk iconv icq icu id3tag imagemagick java javascript joystick jpeg jpeg2k kde kipi kwallet lame lcms ldap libnotify libtirpc lua lzma mad matroska mng mp3 mp4 mpeg mtp multilib nas ncurses nls nptl nsplugin ogg openal openexr opengl openmp pam pango pcre pdf perl phonon php plasma png policykit ppds private-headers python qml qt5 quicktime readline real samba scanner sdl seccomp semantic-desktop smp sndfile spell srt sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks udisks2 unicode upower usb v4l v4l2 vaapi vdpau vorbis vpx wavpack widgets wifi wma wxwidgets x264 x265 xattr xcb xcomposite xml xosd xrandr xv xvid xvmc 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="pc efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="he es" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AArch64 ARM AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 arm aarch64" QEMU_USER_TARGETS="x86_64 arm aarch64" RUBY_TARGETS="ruby21 ruby22 ruby23" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="v4l radeon r600 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= media-libs/mesa-18.2.4::gentoo was built with the following: USE="classic dri3 egl gallium gbm gles1 gles2 llvm opencl osmesa vaapi vdpau wayland xa xvmc -d3d9 -debug -lm_sensors -pax_kernel -pic (-selinux) -test -unwind -valgrind -vulkan" ABI_X86="(64) -32 (-x32)" VIDEO_CARDS="i965 intel r600 radeon (-freedreno) -i915 (-imx) -nouveau -r100 -r200 -r300 -radeonsi (-vc4) -virgl (-vivante) -vmware" LDFLAGS="-Wl,-O1" Created attachment 555304 [details]
mesa-18.3.0_rc2 build log
I think your problem is that you have PYTHON_TARGETS="python2_7 python3_4" but Mesa is picking python3.6. I'll see if I can figure out how to fix that. But you should really file a separate bug :) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36e26e11f466ec9ed250c834fbe98936b241c39 commit c36e26e11f466ec9ed250c834fbe98936b241c39 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2018-11-16 18:51:55 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2018-11-16 18:56:29 +0000 media-libs/mesa: Provide a python_check_deps() According to the documentation, this is required to pick the appropriate version of python if multiple are available. Closes: https://bugs.gentoo.org/663334 Signed-off-by: Matt Turner <mattst88@gentoo.org> media-libs/mesa/mesa-9999.ebuild | 6 ++++++ 1 file changed, 6 insertions(+) (In reply to Matt Turner from comment #12) > I think your problem is that you have > > PYTHON_TARGETS="python2_7 python3_4" > > but Mesa is picking python3.6. > > I'll see if I can figure out how to fix that. > > But you should really file a separate bug :) well, as the output is the same, I've thought it is the same bug. I'll open a new bug. (In reply to Larry the Git Cow from comment #13) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=c36e26e11f466ec9ed250c834fbe98936b241c39 > > commit c36e26e11f466ec9ed250c834fbe98936b241c39 > Author: Matt Turner <mattst88@gentoo.org> > AuthorDate: 2018-11-16 18:51:55 +0000 > Commit: Matt Turner <mattst88@gentoo.org> > CommitDate: 2018-11-16 18:56:29 +0000 > > media-libs/mesa: Provide a python_check_deps() > > According to the documentation, this is required to pick the appropriate > version of python if multiple are available. > > Closes: https://bugs.gentoo.org/663334 > Signed-off-by: Matt Turner <mattst88@gentoo.org> > > media-libs/mesa/mesa-9999.ebuild | 6 ++++++ > 1 file changed, 6 insertions(+) not sure if my tree has this fix but this commit is to the -9999 version and I'm having this issue with the 18.3.0_rc2 version. |