@GPereira: No, this fix definetely works (and it would absolutely make 0 sense to not work from the current qmake script, either).
[name:~/dir/vesc_tool-git]└2 master* ± mv vesc_tool-git-1:r1412.7c02f7f-1-x86_64.pkg.tar.zst test.tar.zst
[name:~/dir/vesc_tool-git]└2 master* 2 ± tar tvf test.tar.zst
-rw-r--r-- root/root 8105 2024-04-16 10:31 .BUILDINFO
-rw-r--r-- root/root 440 2024-04-16 10:31 .MTREE
-rw-r--r-- root/root 574 2024-04-16 10:31 .PKGINFO
drwxr-xr-x root/root 0 2024-04-16 10:31 usr/
drwxr-xr-x root/root 0 2024-04-16 10:31 usr/bin/
-rwxr-xr-x root/root 19967256 2024-04-16 10:31 usr/bin/vesc_tool
drwxr-xr-x root/root 0 2024-04-16 10:31 usr/share/
drwxr-xr-x root/root 0 2024-04-16 10:31 usr/share/applications/
-rw-r--r-- root/root 196 2024-04-16 10:31 usr/share/applications/vesc-tool.desktop
drwxr-xr-x root/root 0 2024-04-16 10:31 usr/share/icons/
-rw-r--r-- root/root 5484 2024-04-16 10:31 usr/share/icons/vesc-tool.png
I guess you have a dirty build environment. Please build in a clean chroot or (clean & fresh) docker container, ideally with the extra-x86_64-build
script from devtools.
Pinned Comments
bionade24 commented on 2024-04-07 09:57 (UTC)
I switched to the mold linker on purpose to reduce the enormous link times (with LTO) of this project and get better error messages when the linking fails due to the patched buildscript. If you don't like that, use
qmake -unset <flags>
to remove it.