Package Details: elektroid-git 2.0.beta.r101.ge94eb07-1

Git Clone URL: https://aur.archlinux.org/elektroid-git.git (read-only, click to copy)
Package Base: elektroid-git
Description: GNU/Linux transfer application for Elektron devices
Upstream URL: https://github.com/dagargo/elektroid
Licenses: GPL-3.0
Conflicts: elektroid
Provides: elektroid
Submitter: deuill
Maintainer: deuill
Last Packager: deuill
Votes: 5
Popularity: 0.001811
First Submitted: 2021-12-01 22:19 (UTC)
Last Updated: 2021-12-01 22:19 (UTC)

Latest Comments

SpotlightKid commented on 2025-10-01 09:24 (UTC)

Fails to build with GCC 15:

gcc -DHAVE_CONFIG_H -I. -I..  -DDATADIR='"/usr/share/elektroid"' -DLOCALEDIR='"/usr/share/locale"'  -I../src `/usr/bin/pkg-config --cflags alsa glib-2.0 zlib json-glib-1.0 libzip  libpulse libpulse-mainloop-glib gtk+-3.0` -I/usr/include/opus  -D_GNU_SOURCE -Wall -O3 -march=native -mtune=native -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 -MT connectors/elektroid-system.o -MD -MP -MF connectors/.deps/elektroid-system.Tpo -c -o connectors/elektroid-system.o `test -f 'connectors/system.c' || echo './'`connectors/system.c
mv -f connectors/.deps/elektroid-system.Tpo connectors/.deps/elektroid-system.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DDATADIR='"/usr/share/elektroid"' -DLOCALEDIR='"/usr/share/locale"'  -I../src `/usr/bin/pkg-config --cflags alsa glib-2.0 zlib json-glib-1.0 libzip  libpulse libpulse-mainloop-glib gtk+-3.0` -I/usr/include/opus  -D_GNU_SOURCE -Wall -O3 -march=native -mtune=native -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 -MT connectors/elektroid-volca_sample.o -MD -MP -MF connectors/.deps/elektroid-volca_sample.Tpo -c -o connectors/elektroid-volca_sample.o `test -f 'connectors/volca_sample.c' || echo './'`connectors/volca_sample.c
In file included from connectors/volca_sample_sdk/korg_syro_volcasample.h:4,
                 from connectors/volca_sample.c:24:
connectors/volca_sample_sdk/korg_syro_type.h:35:13: error: 'bool' cannot be defined via 'typedef'
   35 | typedef int bool;
      |             ^~~~
connectors/volca_sample_sdk/korg_syro_type.h:35:13: note: 'bool' is a keyword with '-std=c23' onwards
connectors/volca_sample_sdk/korg_syro_type.h:35:1: warning: useless type name in empty declaration
   35 | typedef int bool;
      | ^~~~~~~
make[2]: *** [Makefile:1349: connectors/elektroid-volca_sample.o] Error 1
make[2]: Leaving directory '/home/chris/.cache/pikaur/build/elektroid-git/src/elektroid/src'
make[1]: *** [Makefile:450: all-recursive] Error 1
make[1]: Leaving directory '/home/chris/.cache/pikaur/build/elektroid-git/src/elektroid'
make: *** [Makefile:382: all] Error 2

Workaround: add export CFLAGS+=" -std=gnu17" before the ./configure [...] line in the PKGBUILD.

Explanation: GCC 15 changes the default language version for C compilation from -std=gnu17 to -std=gnu23.

C23 added various new keywords, including bool, which means that code that uses bool for identifiers will need changing.

Reference: https://gcc.gnu.org/gcc-15/porting_to.html#c23-new-keywords

jackxbritton commented on 2025-06-01 20:02 (UTC)

This fails to build for me due to an incompatible pointer types error. I fixed it by changing make in the PKGBUILD to instead be make CFLAGS='-Wno-incompatible-pointer-types'.

deuill commented on 2022-01-09 14:57 (UTC)

Hey Franco_64, seems that the issue here is related to how there's spaces in the path used for building the package (specifically, in the AUR packages folder), which trips up the Elektroid build system.

I'd file a ticket with upstream to get this fixed, but you can work around this by building in a different directory (or setting BUILDDIR, which may be good to set to something like /tmp/makepkg if you're on an SSD either way).

Franco_64 commented on 2022-01-08 18:25 (UTC) (edited on 2022-01-08 18:28 (UTC) by Franco_64)

Hi deuill,

I try to compile Elektroid, but makepkg exits with this error:

==> Starting package()...

Making install in src

make[1]: Entering directory '/home/franco/Downloads/AUR packages/elektroid-git/src/elektroid/src'

make[2]: Entering directory '/home/franco/Downloads/AUR packages/elektroid-git/src/elektroid/src'

/usr/bin/mkdir -p '/home/franco/Downloads/AUR packages/elektroid-git/pkg/elektroid-git/usr/bin'

/bin/sh ../libtool --mode=install /usr/bin/install -c elektroid elektroid-cli '/home/franco/Downloads/AUR packages/elektroid-git/pkg/elektroid-git/usr/bin'

libtool: install: /usr/bin/install -c elektroid /home/franco/Downloads/AUR packages/elektroid-git/pkg/elektroid-git/usr/bin/elektroid

/usr/bin/install: target 'packages/elektroid-git/pkg/elektroid-git/usr/bin/elektroid' is not a directory

make[2]: *** [Makefile:403: install-binPROGRAMS] Error 1

make[2]: Leaving directory '/home/franco/Downloads/AUR packages/elektroid-git/src/elektroid/src'

make[1]: *** [Makefile:821: install-am] Error 2

make[1]: Leaving directory '/home/franco/Downloads/AUR packages/elektroid-git/src/elektroid/src'

make: *** [Makefile:431: install-recursive] Error 1

==> ERROR: A failure occurred in package().

Aborting...