You are not logged in.
Hi I am trying to install volume.app from the AUR to my Window Maker running on a fully updated Arch install.
This is the error message,
==> Starting build()...
sed 's:@VERSION@:1.1a:g' < config.h.in > config.h
cc -g -O2 -W -Wall -DHAVE_CONFIG_H -c -o knob.o knob.c
In file included from knob.c:39:
common.h:24:22: error: ‘bool’ cannot be defined via ‘typedef’
24 | typedef unsigned int bool;
| ^~~~
common.h:24:22: note: ‘bool’ is a keyword with ‘-std=c23’ onwards
common.h:24:1: warning: useless type name in empty declaration
24 | typedef unsigned int bool;
| ^~~~~~~
make: *** [<builtin>: knob.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build volume.app package(s)After researching the problem seems to be connected to a recent version change for " gcc " . It seems this affected a lot of programs and is fixable. I have explored the PKGBUILD and various program files but am lost as to how to alter them.
Could someone point me in the right direction.
Thanks in anticipation.
Offline
Moving to AUR issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
The sourcecode for that app is from 2001 are you sure you want to keep using it ?
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
The sourcecode for that app is from 2001 are you sure you want to keep using it ?
Yes why not it matches with my 1997 window manager. It was working in 2021 and I think it is the gcc version change that is causing the problem. :-)
Offline
It's your system, try adding -std=c11 to the make invocation in build() .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline