cerebrate commented on Apr 27, 2021
Environment
Windows build number: 21365
Your Distribution version: Debian 11 (bullseye/sid)
Your WSLg version: 1.0.17.1
Steps to reproduce
- Clone the WSL Linux Kernel from the Microsoft/WSL2-Linux-Kernel repository, and switch to the linux-msft-wsl-5.10.y branch.
- Run
make xconfig
in the top-level directory cloned repo.
- Attach WSLg logs from
/mnt/wslg
You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg
(e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg
)
weston.log
versions.txt
pulseaudio.log
Expected behavior
The kernel configuration utility (i.e., this: https://en.wikipedia.org/wiki/Xconfig ) should be displayed, as per screenshot on right.
Actual behavior
Instead, an empty black window is displayed. The window title appears to be correct, but no contents are visible. The window remains until the configuration utility process is forcibly killed.
spronovo commented on Apr 28, 2021 • edited
@cerebrate did you get some kind of error displayed to the console? i got the following:spronovo@OFFICE:~/src/kernel$ make xconfig * * Could not find Qt5 via pkg-config. * Please install Qt5 and make sure it's in PKG_CONFIG_PATH * make[1]: *** [scripts/kconfig/Makefile:196: scripts/kconfig/qconf-cfg] Error 1 make: *** [Makefile:602: xconfig] Error 2 |
After intalling Qt5
sudo apt install qt5*
xconfig worked fine for me.
spronovo added the Missing-Desktop-Dependencies label on Apr 28, 2021
Author
cerebrate commented on Apr 28, 2021 • edited
No, no error message; it just reaches this point:❯ make xconfig 2.54 ╱ 6.6G at 12:40:07 AM ─╯ HOSTCC scripts/kconfig/images.o HOSTCC scripts/kconfig/confdata.o HOSTCC scripts/kconfig/expr.o LEX scripts/kconfig/lexer.lex.c YACC scripts/kconfig/parser.tab.[ch] HOSTCC scripts/kconfig/lexer.lex.o HOSTCC scripts/kconfig/parser.tab.o HOSTCC scripts/kconfig/preprocess.o HOSTCC scripts/kconfig/symbol.o HOSTCC scripts/kconfig/util.o HOSTCXX scripts/kconfig/qconf.o MOC scripts/kconfig/qconf-moc.cc HOSTCXX scripts/kconfig/qconf-moc.o HOSTLD scripts/kconfig/qconf |
and stops there indefinitely/until killed.Edited: …I don’t think I have all the Qt5 packages installed, although make xconfig was happy enough to run pre-WSLg under X410. I’ll try dropping the rest on and see what happens. |
Author
cerebrate commented on Apr 28, 2021
Hm. That didn’t help, but on the other hand, running sudo make xconfig worked immediately. That’s not something I’ve had to do before. |
Author
cerebrate commented on Oct 7, 2022
Closing this because it turns out to be a problem with linuxbrew silently breaking the PKG_CONFIG_PATH. |
source : https://github.com/microsoft/wslg/issues/107