Alright, as a temporary workaround I fixed it by just removing "-Werror" from a bunch of the Makedefs files, so it doesn't treat warnings as errors. It's likely due to some new compiler features which is more strict about errors (non-sense IF statements and use-after-free protections).
Search Criteria
Package Details: gimx-git 8.0-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/gimx-git.git (read-only, click to copy) |
---|---|
Package Base: | gimx-git |
Description: | Game Input Multiplexer |
Upstream URL: | https://blog.gimx.fr |
Licenses: | GPLv3 |
Conflicts: | gimx |
Submitter: | DarwinSurvivor |
Maintainer: | DarwinSurvivor |
Last Packager: | DarwinSurvivor |
Votes: | 0 |
Popularity: | 0.000000 |
First Submitted: | 2021-03-09 09:21 (UTC) |
Last Updated: | 2021-03-09 09:26 (UTC) |
Dependencies (12)
- bluez-libs (bluez-gitAUR)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-gitAUR, curl-c-aresAUR)
- libx11 (libx11-gitAUR)
- libxi (libxi-gitAUR)
- mhash
- ncurses (ncurses-gitAUR)
- openssl (openssl-gitAUR, openssl-staticAUR)
- wxgtk2 (wxwidgets-gtk2AUR)
- xdg-utils (busking-gitAUR, xdg-utils-slockAUR, mimiAUR, mimi-gitAUR, xdg-utils-handlrAUR, openerAUR, xdg-utils-mimeoAUR, mimejs-gitAUR)
- xterm (xterm-alacritty-symlinkAUR, kitty-xterm-symlinksAUR, xterm-gitAUR, xterm-alacritty-smooth-cursor-symlinkAUR)
- gettext (gettext-gitAUR) (make)
- wxgtk2 (wxwidgets-gtk2AUR) (make)
Required by (0)
Sources (18)
- git+https://github.com/matlo/gimx-adapter-protocol.git
- git+https://github.com/matlo/gimx-network-protocol.git
- git+https://github.com/matlo/gimx.git#tag=v8.0
- git+https://github.com/matlo/gimxcommon.git
- git+https://github.com/matlo/gimxfile.git
- git+https://github.com/matlo/gimxhid.git
- git+https://github.com/matlo/gimxinput.git
- git+https://github.com/matlo/gimxlog.git
- git+https://github.com/matlo/gimxpoll.git
- git+https://github.com/matlo/gimxprio.git
- git+https://github.com/matlo/gimxserial.git
- git+https://github.com/matlo/gimxtime.git
- git+https://github.com/matlo/gimxtimer.git
- git+https://github.com/matlo/gimxudp.git
- git+https://github.com/matlo/gimxuhid.git
- git+https://github.com/matlo/gimxusb.git
- ncurses.patch
- skip-bdaddr.patch
Latest Comments
mbutlerjaro commented on 2022-12-07 01:48 (UTC)
mbutlerjaro commented on 2022-11-23 17:17 (UTC)
I'm getting this error when trying to install/compile this:
==> Starting build()...
make -C shared
make -C loader
make[1]: Entering directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/shared'
make -C gimxlog UHID=1
make[1]: Entering directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/loader'
make[2]: Entering directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/shared/gimxlog'
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Werror -O3 -I../shared `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-cast-function-type -Wno-deprecated-copy -Wno-ignored-qualifiers -c -o gimx-loader.o gimx-loader.cpp
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -Werror -O3 -DGLOG_NAME=gimxlog -Iinclude -I../ -c -o src/glog.o src/glog.c
cc -Iinclude -I../ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -Wall -Wextra -Werror -O3 -DGLOG_NAME=gimxlog -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Werror -O3 -DGLOG_NAME=gimxlog -shared src/glog.o -o libgimxlog.so -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
make[2]: Leaving directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/shared/gimxlog'
make -C gimxcontroller UHID=1
make[2]: Entering directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/shared/gimxcontroller'
cc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fPIC -Iinclude -Wall -Wextra -Werror -O3 -I../ -c -o src/controller.o src/controller.c
src/controller.c: In function ‘controller_get_axis_index’:
src/controller.c:361:10: error: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Werror=address]
361 | if(controllers[C_TYPE_SIXAXIS]->axes[i].name)
| ^~~~~~~~~~~
In file included from src/controller.c:6:
src/../include/controller.h:46:14: note: ‘name’ declared here
46 | const char name[AXIS_NAME_MAX_SIZE];
| ^~~~
cc1: all warnings being treated as errors
make[2]: *** [<builtin>: src/controller.o] Error 1
make[2]: Leaving directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/shared/gimxcontroller'
make[1]: *** [Makefile:35: build-gimxcontroller] Error 2
make[1]: Leaving directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/shared'
make: *** [Makefile:15: build-shared] Error 2
make: *** Waiting for unfinished jobs....
g++ -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -Wall -Wextra -Werror -O3 -I../shared `wx-config --cflags` -Winvalid-pch -include wx_pch.h -DWX_PRECOMP -Wno-cast-function-type -Wno-deprecated-copy -Wno-ignored-qualifiers -c -o loaderApp.o loaderApp.cpp
cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -L../shared/gimxtime gimx-loader.o loaderApp.o `wx-config --libs` -lstdc++ -lgimxtime -o gimx-loader
/usr/bin/ld: cannot find -lgimxtime: No such file or directory
collect2: error: ld returned 1 exit status
make[1]: *** [<builtin>: gimx-loader] Error 1
make[1]: Leaving directory '/var/tmp/pamac-build-mbutler/gimx-git/src/gimx/loader'
make: *** [Makefile:15: build-loader] Error 2
==> ERROR: A failure occurred in build().
Aborting...
I'm on Manjaro Linux (everything up to date)
Lie commented on 2022-08-24 20:48 (UTC) (edited on 2022-08-24 20:50 (UTC) by Lie)
vegan and zacktamondo. Your build error has been fixed in master branch (link to fix commit https://github.com/matlo/GIMX/commit/58d2098dce75ed4c90ae649460d3a7a150f4ef0a) the error is related to gcc version 11
vegan commented on 2022-01-11 05:52 (UTC)
i'm getting the same build error as zacktamondo
zacktamondo commented on 2021-07-28 07:55 (UTC) (edited on 2021-07-28 07:57 (UTC) by zacktamondo)
I tried to use this package but it didn't work.
The error is:
pcprog.c:387:40: error: argument 2 of type ‘int8_t[30]’ {aka ‘signed char[30]’} with mismatched bound [-Werror=array-parameter=]
387 | int8_t gpppcprog_output(int id, int8_t output[GCAPI_INPUT_TOTAL])
Hope that helps.
Thank you for your time.
DarwinSurvivor commented on 2021-03-09 09:36 (UTC)
WARNING: I've pinned the git checkout to the v8.0 tag, but the submodules do not have corresponding releases or tags for pinning.
The submodules don't appear to be updated very often, but may change without warning. If builds fail in the future, please let me know and I'll do my best to fix it.
Pinned Comments
DarwinSurvivor commented on 2021-03-09 09:36 (UTC)
WARNING: I've pinned the git checkout to the v8.0 tag, but the submodules do not have corresponding releases or tags for pinning.
The submodules don't appear to be updated very often, but may change without warning. If builds fail in the future, please let me know and I'll do my best to fix it.