LINUX.ORG.RU

Ошибка python модуля в buildroot

 


0

1

Всем привет. Первый раз сталкнулся со сборкой buildroot и вроде все норм, но вылетела с начала такая ошибка

Program pkg-config found: YES (/home/blin/projects/b_root/buildroot/output/host/bin/pkg-config)
WARNING: Project targetting '>= 0.45' but tried to use feature introduced in '0.46.0': Python Module
Program python3 found: YES (/home/blin/projects/b_root/buildroot/output/host/bin/python3)

meson.build:762:2: ERROR: Problem encountered: Python (3.x) mako module >= 0.8.0 required to build mesa.

A full log can be found at /home/blin/projects/b_root/buildroot/output/build/mesa3d-imx-5847de6e/build/meson-logs/meson-log.txt
package/pkg-generic.mk:245: recipe for target '/home/blin/projects/b_root/buildroot/output/build/mesa3d-imx-5847de6e/.stamp_configured' failed
make[1]: *** [/home/blin/projects/b_root/buildroot/output/build/mesa3d-imx-5847de6e/.stamp_configured] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

Исходя из ошибки не хватало модуля makoб но когда я его добавил то получил следующую которая как бы python касается.

Mako-1.1.0.tar.gz: OK (md5: 6c3f2da0b74af529a4c4a537d0848bf2)
Mako-1.1.0.tar.gz: OK (sha256: a36919599a9b7dc5d86a7a8988f23a9a3a3d083070023bab23d64f7f1d1e0a4b)
>>> python-mako 1.1.0 Extracting
gzip -d -c /home/blin/projects/b_root/buildroot/dl/python-mako/Mako-1.1.0.tar.gz | tar --strip-components=1 -C /home/blin/projects/b_root/buildroot/output/build/python-mako-1.1.0   -xf -
>>> python-mako 1.1.0 Patching
>>> python-mako 1.1.0 Configuring
>>> python-mako 1.1.0 Building
(cd /home/blin/projects/b_root/buildroot/output/build/python-mako-1.1.0//; _PYTHON_SYSCONFIGDATA_NAME="_sysconfigdata__linux_arm-linux-gnueabihf" PATH="/home/blin/projects/b_root/buildroot/output/host/bin:/home/blin/projects/b_root/buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONPATH="/home/blin/projects/b_root/buildroot/output/target/usr/lib/python3.8/" PYTHONNOUSERSITE=1 _python_sysroot=/home/blin/projects/b_root/buildroot/output/host/arm-buildroot-linux-musleabihf/sysroot _python_prefix=/usr _python_exec_prefix=/usr  /home/blin/projects/b_root/buildroot/output/host/bin/python setup.py build  )
  File "/home/blin/projects/b_root/buildroot/output/target/usr/lib/python3.8/site.py", line 178
    file=sys.stderr)
        ^
SyntaxError: invalid syntax
package/pkg-generic.mk:257: recipe for target '/home/blin/projects/b_root/buildroot/output/build/python-mako-1.1.0/.stamp_built' failed
make[1]: *** [/home/blin/projects/b_root/buildroot/output/build/python-mako-1.1.0/.stamp_built] Error 1
Makefile:84: recipe for target '_all' failed
make: *** [_all] Error 2

Подскажите плиз кто сталкивался с подобным. Спасибо.

Перемещено a1batross из linux-org-ru