Package Details: spnavcfg 1.3-2

Git Clone URL: https://aur.archlinux.org/spnavcfg.git (read-only, click to copy)
Package Base: spnavcfg
Description: The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc).
Upstream URL: https://github.com/FreeSpacenav/spnavcfg
Licenses: GPL
Provides: spnavcfg
Submitter: jaham
Maintainer: jaham
Last Packager: jaham
Votes: 7
Popularity: 0.000928
First Submitted: 2010-04-27 21:42 (UTC)
Last Updated: 2026-04-14 19:43 (UTC)

Latest Comments

1 2 Next › Last »

jaham commented on 2026-04-14 19:45 (UTC)

@soxhi8 you are completely right. I had LTO disabled in my makepkg.conf file so did not trigger the issue. Changed the PKGBUILD as you suggested and it fixed the problem. Much appreciated!

soxhi8 commented on 2026-04-14 01:13 (UTC) (edited on 2026-04-14 01:15 (UTC) by soxhi8)

Probably having the same issue on my machine. It occurs for QT6-compiles when LTO is enabled, like p.e. like this in makepkg.conf: LTOFLAGS="-flto=auto"

To mitigate this, you can disable it in the PKGBUILD: options=('!lto')

void-spark commented on 2026-04-13 22:28 (UTC) (edited on 2026-04-13 22:29 (UTC) by void-spark)

Hi! Thank you for your attention :) That would be: qt6-base 6.10.2-1

All packages starting with qt6, for completeness:

qt6-5compat 6.10.2-1
qt6-base 6.10.2-1
qt6-charts 6.10.2-1
qt6-connectivity 6.10.2-1
qt6-declarative 6.10.2-1
qt6-imageformats 6.10.2-1
qt6-location 6.10.2-1
qt6-multimedia 6.10.2-1
qt6-multimedia-ffmpeg 6.10.2-1
qt6-networkauth 6.10.2-1
qt6-positioning 6.10.2-1
qt6-quick3d 6.10.2-1
qt6-quicktimeline 6.10.2-1
qt6-sensors 6.10.2-1
qt6-shadertools 6.10.2-1
qt6-speech 6.10.2-1
qt6-svg 6.10.2-1
qt6-tools 6.10.2-3
qt6-translations 6.10.2-1
qt6-virtualkeyboard 6.10.2-1
qt6-wayland 6.10.2-1
qt6-webchannel 6.10.2-1
qt6-webengine 6.10.2-1
qt6-websockets 6.10.2-1
qt6pas 6.2.10-3

jaham commented on 2026-04-13 21:38 (UTC)

That's strange. @void-spark which version of qt6-base do you have installed?

void-spark commented on 2026-04-13 16:58 (UTC)

Any suggestions what's going wrong here on Manjaro stable (all packages updated today)? :)

Building spnavcfg...
==> Making package: spnavcfg 1.3-1 (Mon 13 Apr 2026 18:47:37 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found spnavcfg-1.3.tar.gz
==> Validating source files with md5sums...
    spnavcfg-1.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting spnavcfg-1.3.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
configuring spnavcfg...
prefix: /usr
optimize for speed: yes
include debugging symbols: yes
using Qt 6
Qt tool path: /usr/lib64/qt6

creating Makefile ...

Done. You can now type make (or gmake) to compile spnavcfg.

g++ -pedantic -Wall -g -O3 -I. -I/usr/include -fPIC -std=c++17 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6 -DQT_WIDGETS_LIB -I/usr/include/qt6/QtGui -DQT_GUI_LIB -I/usr/include/qt6/QtCore -DQT_CORE_LIB -I/usr/lib/qt6/mkspecs/linux-g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -MMD   -c -o src/main.o src/main.cc
cc -pedantic -Wall -g -O3 -I. -I/usr/include -fPIC -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -MMD   -c -o src/spnavcfg.o src/spnavcfg.c
/usr/lib64/qt6/moc -o src/ui.moc.cc -I. -I/usr/include src/ui.h
/usr/lib64/qt6/uic -o ui_mainwin.h ui/spnavcfg.ui
/usr/lib64/qt6/uic -o ui_bnmaprow.h ui/bnmaprow.ui
/usr/lib64/qt6/uic -o ui_about.h ui/about.ui
/usr/lib64/qt6/rcc -o res.cc ui/spnavcfg.qrc
g++ -pedantic -Wall -g -O3 -I. -I/usr/include -fPIC -std=c++17 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6 -DQT_WIDGETS_LIB -I/usr/include/qt6/QtGui -DQT_GUI_LIB -I/usr/include/qt6/QtCore -DQT_CORE_LIB -I/usr/lib/qt6/mkspecs/linux-g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -MMD   -c -o src/ui.moc.o src/ui.moc.cc
g++ -pedantic -Wall -g -O3 -I. -I/usr/include -fPIC -std=c++17 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6 -DQT_WIDGETS_LIB -I/usr/include/qt6/QtGui -DQT_GUI_LIB -I/usr/include/qt6/QtCore -DQT_CORE_LIB -I/usr/lib/qt6/mkspecs/linux-g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -MMD   -c -o src/ui.o src/ui.cc
g++ -o spnavcfg src/main.o src/spnavcfg.o src/ui.moc.o src/ui.o res.cc -L/usr/lib -lQt6Widgets -lQt6Gui -lQt6Core -lspnav -lX11 -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now          -Wl,-z,pack-relative-relocs -flto=auto
/usr/bin/ld: /tmp/ccJfMbnw.ltrans1.ltrans.o: copy relocation against non-copyable protected symbol `_ZTI7QWidget@@Qt_6' in /usr/lib/libQt6Widgets.so
collect2: error: ld returned 1 exit status
make: *** [Makefile:35: spnavcfg] Error 1
rm src/ui.moc.cc
==> ERROR: A failure occurred in build().
    Aborting...

Thank you!

SR-G commented on 2023-01-07 22:59 (UTC)

Yep i can confirm that it's working now with 1.1-1, thanks for the quick correction.

jaham commented on 2023-01-07 22:39 (UTC) (edited on 2023-01-07 22:39 (UTC) by jaham)

When creating the package it worked, but when installing it again with yay i got the same error. This was due to a duplicate object file within the linker command. Should be fixed now.

SR-G commented on 2023-01-07 19:16 (UTC) (edited on 2023-01-07 19:22 (UTC) by SR-G)

Trying to upgrade from 1.0.0 to 1.1.0 through yay gives me the following error... any idea ?

/usr/bin/ld: src/ui.moc.o: in function `MainWin::qt_metacall(QMetaObject::Call, int, void**)':
/home/users/sergio/.cache/yay/spnavcfg/src/spnavcfg-1.1/src/ui.moc.cc:147: multiple definition of `MainWin::qt_metacall(QMetaObject::Call, int, void**)'; src/ui.moc.o:/home/users/sergio/.cache/yay/spnavcfg/src/spnavcfg-1.1/src/ui.moc.cc:147: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:31: spnavcfg] Error 1
rm src/ui.moc.cc
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: spnavcfg

("first defined here" is probably just a warning (there are other ones like that just before) / Makefile:31 does not give any clue (it's just the "$(CXX) -o $@ $(obj) $(LDFLAGS)" compilation line)

edit : if i go in the "spnavcfg-1.1" (yay cache) folder, type "make clean" then "make" => i have the exact same error (this is expected), but if i launch "make" a second time (without changing anything anywhere !), then it works and the binary is generated (and working when manually launched).

remspoor commented on 2022-07-25 16:35 (UTC) (edited on 2022-07-25 16:35 (UTC) by remspoor)

Thanks for the response! libspnav is installed.

❯ yay -Ss libspnav
extra/libspnav 1.0-1 (18.1 KiB 50.4 KiB) (Installed)
❯ yay -Qi libspnav | egrep -e "Name|Required"
Name            : libspnav
Required By     : blender  freecad  openscad  superslicer
❯ yay -Ql libspnav 
libspnav /usr/
libspnav /usr/include/
libspnav /usr/include/spnav.h
libspnav /usr/include/spnav_config.h
libspnav /usr/include/spnav_magellan.h
libspnav /usr/lib/
libspnav /usr/lib/libspnav.so
libspnav /usr/lib/libspnav.so.0
libspnav /usr/lib/libspnav.so.0.3
libspnav /usr/share/
libspnav /usr/share/pkgconfig/
libspnav /usr/share/pkgconfig/spnav.pc

Anything i can investigate to fix this?

jaham commented on 2022-07-22 23:45 (UTC)

@remspoor: It looks like libspnav is not found. Have you installed it? It should be a dependency of spnavcgf.