awesome icon indicating copy to clipboard operation
awesome copied to clipboard

One of the tests (always the same) is still being flaky

Open Aire-One opened this issue 2 months ago • 3 comments

@Aire-One one of the tests (always the same) is still being flaky: https://github.com/awesomeWM/awesome/actions/runs/18339824060/job/52242235689?pr=3995#step:27:304

if it's still causing problems - mb we could restart it several times. i think test framework itself doesn't have any options like that, but mb it could be just some sort of iteration in the body of the test itself

Originally posted by @actionless in https://github.com/awesomeWM/awesome/pull/3995#issuecomment-3381110306

Aire-One avatar Oct 08 '25 16:10 Aire-One

I'll not be able to put time on this this week. So any help is welcome.

Aire-One avatar Oct 08 '25 16:10 Aire-One

yay -S awesome-luajit-git

-- Build files have been written to: /home/denis/.cache/yay/awesome-luajit-git/src/build
[  0%] Building C object CMakeFiles/lgi-check.dir/build-utils/lgi-check.c.o
[  0%] Linking C executable lgi-check
[  0%] Built target lgi-check
[  0%] Checking for LGI...
Building for LuaJIT 2.1.1753364724.
Found lgi 0.9.2.
Error: /usr/share/lua/5.1/lgi/ffi.lua:83: attempt to call field 'ref' (a nil value)


       WARNING
       =======

 The lgi check failed.
 Awesome needs lgi to run.
 Add AWESOME_IGNORE_LGI=1 to your environment to continue.


make[2]: *** [CMakeFiles/lgi-check-run.dir/build.make:71: CMakeFiles/lgi-check-run] Error 1
make[1]: *** [CMakeFiles/Makefile2:37994: CMakeFiles/lgi-check-run.dir/all] Error 2
make: *** [Makefile:136: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: awesome-luajit-git-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
awesome-luajit-git - exit status 4

denisoster avatar Oct 15 '25 20:10 denisoster

@denisoster this is a different problem. It is already reported to lgi at https://github.com/lgi-devs/lgi/issues/346 and should be fixed by upstream with https://gitlab.gnome.org/GNOME/glib/-/merge_requests/4792. As explained to you in https://github.com/awesomeWM/awesome/pull/4022#issuecomment-3375727676, you can bypass the issue by editing the lgi code.

Aire-One avatar Oct 15 '25 21:10 Aire-One