Summary: | =dev-util/meson-0.51.2 on cross-armv6j-unknown-linux-gnueabihf - meson: pkg_resources.DistributionNotFound: The 'meson==0.51.2' distribution was not found and is required by the application | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tt_1 <herrtimson> |
Component: | Current packages | Assignee: | William Hubbs <williamh> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | floppym, python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | file list from meson installation |
Created attachment 596448 [details]
file list from meson installation
ok, so there's something wrong with python cross compile:
the host is amd64, hence all the python modules get installed into the wrong libdir. /usr/bin/meson pipes everthing through python-exec, clearly this must fail. I might move the files by hand into the correct dir, to see wether this is the only problem we're facing here.
My best guess is that you cross-compiled dev-lang/python and dev-util/meson into some ROOT image, and are now try to run the cross-compiled meson on some other system. Python really doesn't support cross-compiling modules into site-packages, and Gentoo's libdir patching doesn't help matters. You may have better luck with python:3.7, which always installs modules in /usr/lib instead of /usr/${LIBDIR}. |
the actuall failure is from mesa, using meson build system: >>> Configuring source in /var/tmp/portage/media-libs/mesa-19.1.8/work/mesa-19.1.8 ... * .arm: running multilib-minimal_abi_src_configure meson --buildtype plain --libdir lib --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload -Dplatforms=x11,surfaceless,drm -Dllvm=true -Dlmsensors=false -Dlibunwind=false -Dgallium-nine=false -Dgallium-va=false -Dgallium-vdpau=false -Dgallium-xa=false -Dgallium-xvmc=false -Dgallium-opencl=disabled -Dosmesa=none -Dbuild-tests=false -Dglx=dri -Dshared-glapi=true -Ddri3=true -Degl=true -Dgbm=true -Dgles1=false -Dgles2=true -Dglvnd=false -Dselinux=false -Dvalgrind=false -Ddri-drivers= -Dgallium-drivers=kmsro,swrast,vc4 -Dvulkan-drivers= -Dvulkan-overlay-layer=false --buildtype plain -Db_ndebug=true /var/tmp/portage/media-libs/mesa-19.1.8/work/mesa-19.1.8 /var/tmp/portage/media-libs/mesa-19.1.8/work/mesa-19.1.8-.arm Traceback (most recent call last): File "/usr/lib/python-exec/python3.6/meson", line 6, in <module> from pkg_resources import load_entry_point File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3126, in <module> @_call_aside File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3110, in _call_aside f(*args, **kwargs) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 3139, in _initialize_master_working_set working_set = WorkingSet._build_master() File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 581, in _build_master ws.require(__requires__) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 898, in require needed = self.resolve(parse_requirements(requirements)) File "/usr/lib/python3.6/site-packages/pkg_resources/__init__.py", line 784, in resolve raise DistributionNotFound(req, requirers) pkg_resources.DistributionNotFound: The 'meson==0.51.2' distribution was not found and is required by the application this is with armv6j-unknown-linux-gnueabihf as a cross compiler.