All of lore.kernel.org
 help / color / mirror / Atom feed
From: PHIL <heideggm@hotmail.com>
To: Alexander Kanavin <alex.kanavin@gmail.com>
Cc: Markus Volk <f_l_k@t-online.de>,
	"yocto@lists.yoctoproject.org" <yocto@lists.yoctoproject.org>
Subject: Re: [yocto] Adding Vulkan to core-image-weston
Date: Wed, 21 Sep 2022 14:21:00 +0200	[thread overview]
Message-ID: <PH0PR84MB1835F5FCA18A0C527042E5E6C74F9@PH0PR84MB1835.NAMPRD84.PROD.OUTLOOK.COM> (raw)
In-Reply-To: <CANNYZj_LvAnPgrVgQsu2WcTa4R-Fyy84TTTSSzXJLseKGDB+KQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 16601 bytes --]

Another logfile has this

ERROR: /media/user/SSD1TB/yoctoqemu/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.0.bb: Error during parse shell code, the last 5 lines are:
    bbnote Executing meson      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms='x11'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  -Dgallium-drivers=''  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers='swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled...
    if ! meson  --prefix /usr               --buildtype plain               --bindir bin               --sbindir sbin               --datadir share               --libdir lib               --libexecdir libexec               --includedir include               --mandir share/man               --infodir share/info               --sysconfdir /etc               --localstatedir /var               --sharedstatedir /com               --wrap-mode nodownload               --native-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.native "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/mesa-22.0.0" "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build" --cross-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.cross      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms='x11'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  -Dgallium-drivers=''  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers='swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled; then
        bbfatal_log meson failed
    fi

ERROR: /media/user/SSD1TB/yoctoqemu/poky/meta/recipes-graphics/mesa/mesa_22.0.0.bb: Error during parse shell code, the last 5 lines are:
    bbnote Executing meson      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms='wayland,x11'   -Ddri3=enabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,virgl  -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers='swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled...
    if ! meson  --prefix /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/usr               --buildtype plain               --bindir bin               --sbindir sbin               --datadir share               --libdir lib               --libexecdir libexec               --includedir include               --mandir share/man               --infodir share/info               --sysconfdir /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/etc               --localstatedir /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/var               --sharedstatedir /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/recipe-sysroot-native/com               --wrap-mode nodownload               --native-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/meson.native "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/mesa-22.0.0" "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/x86_64-linux/mesa-native/2_22.0.0-r0/build"       -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms='wayland,x11'   -Ddri3=enabled -Degl=enabled -Delf-tls=true -Dgallium-drivers=swrast,virgl  -Dllvm=disabled -Dgbm=enabled -Dgles1=enabled -Dgles2=enabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers='swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled; then
        bbfatal_log meson failed
    fi

ERROR: Unable to parse /media/user/SSD1TB/yoctoqemu/poky/meta/recipes-graphics/mesa/mesa-gl_22.0.0.bb
Traceback (most recent call last):
  File "/media/user/SSD1TB/yoctoqemu/poky/bitbake/lib/bb/codeparser.py", line 368, in ShellParser._parse_shell(value='    # Meson requires this to be \'bfd, \'lld\' or \'gold\' from 0.53 onwards\n    # https://github.com/mesonbuild/meson/commit/ef9aeb188ea2bc7353e59916c18901cde90fa2b3\n    unset LD\n\n    # sstate.bbclass no longer removes empty directories to avoid a race (see\n    # commit 4f94d929 "sstate/staging: Handle directory creation race issue").\n    # Unfortunately Python apparently treats an empty egg-info directory as if\n    # the version it previously contained still exists and fails if a newer\n    # version is required, which Meson does. To avoid this, make sure there are\n    # no empty egg-info directories from previous versions left behind. Ignore\n    # all errors from rmdir since the egg-info may be a file rather than a\n    # directory.\n    rmdir /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/*.egg-info 2>/dev/null || :\n\n    # Work around "Meson fails if /tmp is mounted with noexec #2972"\n    mkdir -p "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build/meson-private/tmp"\n    export TMPDIR="/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build/meson-private/tmp"\n    bbnote Executing meson      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms=\'x11\'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  -Dgallium-drivers=\'\'  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers=\'swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled...\n    if ! meson  --prefix /usr               --buildtype plain               --bindir bin               --sbindir sbin               --datadir share               --libdir lib               --libexecdir libexec               --includedir include               --mandir share/man               --infodir share/info               --sysconfdir /etc               --localstatedir /var               --sharedstatedir /com               --wrap-mode nodownload               --native-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.native "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/mesa-22.0.0" "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build" --cross-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.cross      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms=\'x11\'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  -Dgallium-drivers=\'\'  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers=\'swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled; then\n        bbfatal_log meson failed\n    fi\n'):
             try:
    >            tokens, _ = pyshyacc.parse(value, eof=True, debug=False)
             except Exception:
  File "/media/user/SSD1TB/yoctoqemu/poky/bitbake/lib/bb/pysh/pyshyacc.py", line 677, in parse(input='    # Meson requires this to be \'bfd, \'lld\' or \'gold\' from 0.53 onwards\n    # https://github.com/mesonbuild/meson/commit/ef9aeb188ea2bc7353e59916c18901cde90fa2b3\n    unset LD\n\n    # sstate.bbclass no longer removes empty directories to avoid a race (see\n    # commit 4f94d929 "sstate/staging: Handle directory creation race issue").\n    # Unfortunately Python apparently treats an empty egg-info directory as if\n    # the version it previously contained still exists and fails if a newer\n    # version is required, which Meson does. To avoid this, make sure there are\n    # no empty egg-info directories from previous versions left behind. Ignore\n    # all errors from rmdir since the egg-info may be a file rather than a\n    # directory.\n    rmdir /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/recipe-sysroot-native/usr/lib/python3.10/site-packages/*.egg-info 2>/dev/null || :\n\n    # Work around "Meson fails if /tmp is mounted with noexec #2972"\n    mkdir -p "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build/meson-private/tmp"\n    export TMPDIR="/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build/meson-private/tmp"\n    bbnote Executing meson      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms=\'x11\'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  -Dgallium-drivers=\'\'  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers=\'swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled...\n    if ! meson  --prefix /usr               --buildtype plain               --bindir bin               --sbindir sbin               --datadir share               --libdir lib               --libexecdir libexec               --includedir include               --mandir share/man               --infodir share/info               --sysconfdir /etc               --localstatedir /var               --sharedstatedir /com               --wrap-mode nodownload               --native-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.native "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/mesa-22.0.0" "/media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/build" --cross-file /media/user/SSD1TB/yoctoqemu/poky/build-virgl/tmp/work/cortexa57-poky-linux/mesa-gl/2_22.0.0-r0/meson.cross      -Dshared-glapi=enabled     -Dglx-read-only-text=true     -Dplatforms=\'x11\'    -Ddri3=disabled  -Degl=disabled  -Delf-tls=false  -Dgallium-drivers=\'\'  -Dllvm=disabled -Dgbm=disabled  -Dgles1=disabled -Dgles2=disabled -Dlmsensors=disabled -Dgallium-opencl=disabled -Dopencl-spirv=false -Dopengl=true -Dosmesa=false -Dlibunwind=disabled -Dgallium-va=disabled -Dgallium-vdpau=disabled  -Dvulkan-drivers=\'swrast  -Dgallium-xa=disabled -Dgallium-xvmc=disabled; then\n        bbfatal_log meson failed\n    fi\n', eof=True, debug=False):
             debug = 2
    >    return yacc.parse(lexer=lexer, debug=debug), remaining
     
  File "/media/user/SSD1TB/yoctoqemu/poky/bitbake/lib/ply/yacc.py", line 267, in LRParser.parse(input=None, lexer=<bb.pysh.pyshlex.PLYLexer object at 0x7ff73b1ac0b8>, debug=False, tracking=0, tokenfunc=None):
             else:
    >            return self.parseopt_notrack(input,lexer,debug,tracking,tokenfunc)
             
  File "/media/user/SSD1TB/yoctoqemu/poky/bitbake/lib/ply/yacc.py", line 1049, in LRParser.parseopt_notrack(input=None, lexer=<bb.pysh.pyshlex.PLYLexer object at 0x7ff73b1ac0b8>, debug=False, tracking=0, tokenfunc=None):
                                 errtoken.lexer = lexer
    >                        tok = self.errorfunc(errtoken)
                             del errok, token, restart   # Delete special functions
  File "/media/user/SSD1TB/yoctoqemu/poky/bitbake/lib/bb/pysh/pyshyacc.py", line 650, in p_error(p=LexToken(Then,'then',0,0)):
             w('Unexpected EOF')
    >    raise sherrors.ShellSyntaxError(''.join(msg))
     
bb.pysh.sherrors.ShellSyntaxError: LexToken(Then,'then',0,0)
followed by:
  LexToken(NEWLINE,'\n',0,0)
  LexToken(TOKEN,'bbfatal_log',0,0)
  LexToken(TOKEN,'meson',0,0)
  LexToken(TOKEN,'failed',0,0)
  LexToken(NEWLINE,'\n',0,0)


ERROR: Parsing halted due to errors, see error messages above





Am 21. September 2022 14:14:10 MESZ schrieb Alexander Kanavin <alex.kanavin@gmail.com>:
>This is not logs from mesa, this is logs from your image recipe. You
>need to start with mesa.
>
>Alex
>
>On Wed, 21 Sept 2022 at 14:12, PHIL <heideggm@hotmail.com> wrote:
>>
>> One of the logs has this
>>
>>
>>
>> Error:
>>  Problem: package packagegroup-base-extended-1.0-r83.qemuarm64 requires packagegroup-base, but none of the providers can be installed
>>   - package packagegroup-base-1.0-r83.qemuarm64 requires packagegroup-distro-base, but none of the providers can be installed
>>   - conflicting requests
>>   - nothing provides mesa-vulkan-drivers needed by packagegroup-distro-base-1.0-r83.qemuarm64
>> (try to add '--skip-broken' to skip uninstallable packages)
>>
>> Am 21. September 2022 13:57:17 MESZ schrieb Alexander Kanavin <alex.kanavin@gmail.com>:
>>>
>>> You need to go to mesa's build directlory and inspect what is getting
>>> built, with which options, and how it is installed and packaged. All
>>> the needed bits are there, but it does take a bit of 'yocto skill' to
>>> find your way around there. Start by looking at temp/log.do_configure
>>> (and then do_compile and do_install).
>>>
>>> Alex
>>>
>>> On Wed, 21 Sept 2022 at 13:38, PHIL <heideggm@hotmail.com> wrote:
>>>>
>>>>
>>>>  If I read the mesa-vulkan-drivers recipe right it should install libvulkan_*.so but it didnt I had to use vulkan-loader. Any idea in how to debug that?
>>>>
>>>>  Am 20. September 2022 15:26:45 MESZ schrieb Alexander Kanavin <alex.kanavin@gmail.com>:
>>>>>
>>>>>
>>>>>  What often works is running it under strace - you might be able to see the one key syscall that causes the failure. Otherwise you might have to go through the heavier gdb step through.
>>>>>
>>>>>  Alex
>>>>>
>>>>>  On Tue 20. Sep 2022 at 10.25, PHIL <heideggm@hotmail.com> wrote:
>>>>>>
>>>>>>
>>>>>>  Ok it seems to use Software now given how slow weston-simple-egl has become. But vulkaninfo still fails with ERROR_INCOMPATIBLE_DRIVER.
>>>>>>  --
>>>>>>  Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
>>>>
>>>>
>>>>  --
>>>>  Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.
>>
>> --
>> Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

-- 
Diese Nachricht wurde von meinem Android-Gerät mit K-9 Mail gesendet.

[-- Attachment #2: Type: text/html, Size: 23505 bytes --]

  reply	other threads:[~2022-09-21 12:21 UTC|newest]

Thread overview: 36+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-16 11:43 Adding Vulkan to core-image-weston Edgar Mobile
2022-09-16 12:14 ` [yocto] " Alexander Kanavin
2022-09-16 17:17   ` Edgar Mobile
2022-09-17  8:28     ` Alexander Kanavin
2022-09-19  7:36       ` Edgar Mobile
2022-09-19  8:25         ` Alexander Kanavin
2022-09-19 12:28           ` Edgar Mobile
2022-09-19 13:31             ` Alexander Kanavin
2022-09-19 13:52               ` Edgar Mobile
2022-09-19 14:20                 ` Alexander Kanavin
2022-09-19 14:30                   ` Edgar Mobile
2022-09-19 14:36                     ` Alexander Kanavin
2022-09-19 14:40                       ` Edgar Mobile
2022-09-19 15:33                         ` Alexander Kanavin
2022-09-19 16:37                           ` Markus Volk
2022-09-19 16:54                             ` Edgar Mobile
2022-09-19 17:16                               ` Markus Volk
2022-09-20  7:28                                 ` Edgar Mobile
2022-09-20  7:39                                 ` Edgar Mobile
2022-09-20  8:23                                   ` Alexander Kanavin
2022-09-20  8:40                                     ` PHIL
2022-09-20  9:17                                       ` Alexander Kanavin
2022-09-20  9:25                                         ` PHIL
2022-09-20 13:26                                           ` Alexander Kanavin
2022-09-21 11:38                                             ` PHIL
2022-09-21 11:57                                               ` Alexander Kanavin
2022-09-21 12:12                                                 ` PHIL
2022-09-21 12:14                                                   ` Alexander Kanavin
2022-09-21 12:21                                                     ` PHIL [this message]
2022-09-21 12:30                                                     ` PHIL
2022-09-21 12:38                                                       ` Alexander Kanavin
2022-09-21 12:47                                                         ` PHIL
2022-09-21 12:54                                                           ` Alexander Kanavin
2022-09-21 13:35                                                             ` PHIL
2022-09-22 14:54                                                             ` PHIL
2022-09-22 16:22                                                             ` PHIL

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PH0PR84MB1835F5FCA18A0C527042E5E6C74F9@PH0PR84MB1835.NAMPRD84.PROD.OUTLOOK.COM \
    --to=heideggm@hotmail.com \
    --cc=alex.kanavin@gmail.com \
    --cc=f_l_k@t-online.de \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.