Package Details: spnavcfg 1.1-1

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: 6
Popularity: 0.002783
First Submitted: 2010-04-27 21:42 (UTC)
Last Updated: 2023-01-07 22:34 (UTC)

Latest Comments

1 2 Next › Last »

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.

remspoor commented on 2022-07-21 08:06 (UTC)

While trying to upgrade to 1.0-0, i get the following error. What am i missing?

g++ -pedantic -Wall -g -O3 -I. -fPIC `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets` -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MMD   -c -o src/main.o src/main.cc
src/main.cc: In function ‘bool init()’:
src/main.cc:52:12: error: ‘spnav_protocol’ was not declared in this scope
   52 |         if(spnav_protocol() < 1) {
      |            ^~~~~~~~~~~~~~
src/main.cc:57:9: error: ‘spnav_client_name’ was not declared in this scope
   57 |         spnav_client_name("spnavcfg");
      |         ^~~~~~~~~~~~~~~~~
src/main.cc:58:22: error: ‘SPNAV_EVMASK_ALL’ was not declared in this scope
   58 |         spnav_evmask(SPNAV_EVMASK_ALL);
      |                      ^~~~~~~~~~~~~~~~
src/main.cc:58:9: error: ‘spnav_evmask’ was not declared in this scope; did you mean ‘spnav_event’?g++ -pedantic -Wall -g -O3 -I. -fPIC `pkg-config --cflags Qt5Core Qt5Gui Qt5Widgets` -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MMD   -c -o src/main.o src/main.cc
src/main.cc: In function ‘bool init()’:
src/main.cc:52:12: error: ‘spnav_protocol’ was not declared in this scope
   52 |         if(spnav_protocol() < 1) {
      |            ^~~~~~~~~~~~~~
src/main.cc:57:9: error: ‘spnav_client_name’ was not declared in this scope
   57 |         spnav_client_name("spnavcfg");
      |         ^~~~~~~~~~~~~~~~~
src/main.cc:58:22: error: ‘SPNAV_EVMASK_ALL’ was not declared in this scope
   58 |         spnav_evmask(SPNAV_EVMASK_ALL);
      |                      ^~~~~~~~~~~~~~~~
src/main.cc:58:9: error: ‘spnav_evmask’ was not declared in this scope; did you mean ‘spnav_event’?
   58 |         spnav_evmask(SPNAV_EVMASK_ALL);
      |         ^~~~~~~~~~~~
      |         spnav_event
make: *** [<builtin>: src/main.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

   58 |         spnav_evmask(SPNAV_EVMASK_ALL);
      |         ^~~~~~~~~~~~
      |         spnav_event
make: *** [<builtin>: src/main.o] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

jaham commented on 2021-01-06 22:36 (UTC)

Thanks for the hint, should be fixed now.

bartus commented on 2021-01-06 16:29 (UTC) (edited on 2021-01-06 16:34 (UTC) by bartus)

Missing gtk2 dependency. build.log:

Package 'gtk+-2.0', required by 'virtual:world', not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'gtk+-2.0', required by 'virtual:world', not found
front_gtk.c:24:10: fatal error: gtk/gtk.h: No such file or directory
   24 | #include <gtk/gtk.h>
      |          ^~~~~~~~~~~
compilation terminated.

Also there're some problems with broken symlinks:

$namcap spnavcfg-0.3.1-1-x86_64.pkg.tar.zst
spnavcfg W: File (usr/bin/spnavcfg) is setuid or setgid.
spnavcfg E: Symlink (usr/share/icons/hicolor/128x128/apps/spnavcfg-128x128.png) points to non-existing /build/spnavcfg/pkg/spnavcfg/usr/share/pixmaps/spnavcfg-128x128.png
spnavcfg E: Symlink (usr/share/icons/hicolor/256x256/apps/spnavcfg-256x256.png) points to non-existing /build/spnavcfg/pkg/spnavcfg/usr/share/pixmaps/spnavcfg-256x256.png
spnavcfg E: Symlink (usr/share/icons/hicolor/48x48/apps/spnavcfg-48x48.png) points to non-existing /build/spnavcfg/pkg/spnavcfg/usr/share/pixmaps/spnavcfg-48x48.png
spnavcfg W: Unused shared library '/usr/lib/libgdk-x11-2.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libpangocairo-1.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libatk-1.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libcairo.so.2' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libgdk_pixbuf-2.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libgio-2.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libpangoft2-1.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libpango-1.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libharfbuzz.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libfontconfig.so.1' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libfreetype.so.6' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libgmodule-2.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libglib-2.0.so.0' by file ('usr/bin/spnavcfg')
spnavcfg W: Unused shared library '/usr/lib/libX11.so.6' by file ('usr/bin/spnavcfg')
spnavcfg E: Dependency gtk2 detected and not included (libraries ['usr/lib/libgtk-x11-2.0.so.0', 'usr/lib/libgdk-x11-2.0.so.0'] needed in files ['usr/bin/spnavcfg'])

jaham commented on 2017-02-25 12:31 (UTC)

@thiagowfx: thanks, fixed

thiagowfx commented on 2017-02-06 13:45 (UTC)

Dependencies should be: ('gcc' 'make'), *NOT* ('gcc make')