Calling vesc_tool from the Makefiles fails on some systems
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 42/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- c, linux
- Domain
- build-system, tooling
Research direction
Start with the Makefiles involved in building balance.vescpkg, especially the recipe at balance/Makefile:6, then compare the environment when vesc_tool --xmlConfToCode and --buildPkg run. Try reproducing the Qt platform plugin failure on Ubuntu 20.04.6 with the reported setup. Done when the package build works on the affected system and the cause is documented or covered by a regression check.
Written by the indexing model from the issue text.
Description
E.g. on Ubuntu 20.04.6 LTS, a report from Siwoz on discord:
System setup:
sudo apt update && \
sudo apt upgrade -y && \
sudo apt dist-upgrade -y && \
sudo apt install -y \
git \
make \
libqt5gui5 \
libsdl2-2.0-0 \
libgles2-mesa-dev \
Build command:
cd ~/ && \
git clone https://github.com/vedderb/vesc_pkg.git && \
cp /mnt/c/Users/slims/Downloads/vesc_tool_6.02 ~/vesc_tool && \
cd ~/vesc_pkg && \
make VESC_TOOL=~/vesc_tool
Error:
siwoz@Simon:~/vesc_pkg$ make VESC_TOOL=~/vesc_tool
make -C balance
make[1]: Entering directory '/home/siwoz/vesc_pkg/balance'
make -C balance
make[2]: Entering directory '/home/siwoz/vesc_pkg/balance/balance'
/home/siwoz/vesc_tool --xmlConfToCode conf/settings.xml
Done!
make[2]: Leaving directory '/home/siwoz/vesc_pkg/balance/balance'
/home/siwoz/vesc_tool --buildPkg "balance.vescpkg:balance.lisp:ui.qml:0:README.md:Balance"
qt.qpa.plugin: Could not find the Qt platform plugin "offscreen" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: xcb.
Aborted
make[1]: *** [Makefile:6: balance.vescpkg] Error 134
make[1]: Leaving directory '/home/siwoz/vesc_pkg/balance'
make: *** [Makefile:11: balance] Error 2
Calling vesc_tool directly like this worked:
cd /home/siwoz/vesc_pkg/balance/balance && /home/siwoz/vesc_tool --xmlConfToCode conf/settings.xml
Seems there's a difference in env, perhaps something like export QT_PLUGIN_PATH could help, the thread on discord died off. Posting here the findings so far, so that someone else may have an easier time debugging this. Does not reproduce on my system.
- Dominant language
- C
- Stars
- 65
- Forks
- 88
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 7
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vedderb/vesc_pkg
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 44/100
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
All issues in vedderb/vesc_pkg
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
deprecation:active impact:breaking-change
Difficulty 1/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Cisco-Talos/clamav#1957 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Read-only client can close a dead pane (remain-on-exit key)Possibly taken @lingyicute claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 2 days