solved.tnx.
![]() |
VOOZH | about |
| Git Clone URL: | https://aur.archlinux.org/friture.git (read-only, click to copy) |
|---|---|
| Package Base: | friture |
| Description: | An application to visualize and analyze live audio data in real-time. |
| Upstream URL: | https://friture.org/ |
| Licenses: | GPL3 |
| Submitter: | speps |
| Maintainer: | robertfoster |
| Last Packager: | robertfoster |
| Votes: | 11 |
| Popularity: | 0.000005 |
| First Submitted: | 2012-05-24 10:42 (UTC) |
| Last Updated: | 2025-09-15 06:29 (UTC) |
solved.tnx.
seems like qt5-quickcontrols2 needs to be added as a dep, otherwise i get an error when starting
[01/28/26 11:06:17] WARNING toml section missing
cc1: fatal error: friture_extensions/exp_smoothing_conv.c: No such file or directory
error: command '/usr/bin/gcc' failed with exit code 1
ERROR Backend subprocess exited when trying to invoke build_wheel
error in python-rtmixer
gcc -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 -fPIC -Isrc -Iportaudio/include -I/usr/include/python3.13 -c build/temp.linux-x86_64-cpython-313/_rtmixer.c -o build/temp.linux-x86_64-cpython-313/build/temp.linux-x86_64-cpython-313/_rtmixer.o --std=c99
build/temp.linux-x86_64-cpython-313/_rtmixer.c: In function ‘get_relevant_time’:
build/temp.linux-x86_64-cpython-313/_rtmixer.c:615:13: error: ‘false’ undeclared (first use in this function)
615 | }} while (false)
| ^~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c:702:5: note: in expansion of macro ‘CALLBACK_ASSERT’
702 | CALLBACK_ASSERT(action->action);
| ^~~~~~~~~~~~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c:604:1: note: ‘false’ is defined in header ‘<stdbool.h>’; this is probably fixable by adding ‘#include <stdbool.h>’
603 | #include "rtmixer.h"
+++ |+#include <stdbool.h>
604 |
build/temp.linux-x86_64-cpython-313/_rtmixer.c:615:13: note: each undeclared identifier is reported only once for each functionit appears in
615 | }} while (false)
| ^~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c:702:5: note: in expansion of macro ‘CALLBACK_ASSERT’
702 | CALLBACK_ASSERT(action->action);
| ^~~~~~~~~~~~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c: In function ‘callback’:
build/temp.linux-x86_64-cpython-313/_rtmixer.c:615:13: error: ‘false’ undeclared (first use in this function)
615 | }} while (false)
| ^~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c:724:3: note: in expansion of macro ‘CALLBACK_ASSERT’
724 | CALLBACK_ASSERT(state);
| ^~~~~~~~~~~~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c:615:13: note: ‘false’ is defined in header ‘<stdbool.h>’; this is probably fixable by adding ‘#include <stdbool.h>’
615 | }} while (false)
| ^~~~~
build/temp.linux-x86_64-cpython-313/_rtmixer.c:724:3: note: in expansion of macro ‘CALLBACK_ASSERT’
724 | CALLBACK_ASSERT(state);
| ^~~~~~~~~~~~~~~
error: command '/usr/bin/gcc' failed with exit code 1
Apart from patching python-rtmixer, you have to also replace tarball download with git clone and check out the needed version. For some reason, tarball version fails to include files in playback folder, but git works fine.
There is, however, another error showing up :)
plugin cannot be loaded for module "QtQuick.Controls": Cannot protect module QtQuick.Controls 2 as it was never registered
Still has
ModuleNotFoundError: No module named 'friture.playback.control'
Assuming you correctly patch the python-rtmixer PKGBUILD
fails to compile python-rtmixer dep
I also had
ModuleNotFoundError: No module named 'friture.playback.control'
I copied control.py and player.py from github /friture/playback/ to /usr/lib/python3.12/site-packages/friture/playback/
this lead to the error
2024-11-22 11:34:46,653 CRITICAL friture.exceptionhandler: Unhandled exception: Traceback (most recent call last):
File "/usr/lib/python3.12/site-packages/friture/playback/player.py", line 95, in handle_new_data
self.buffer.push(data, 0)
TypeError: RingBuffer.push() takes 2 positional arguments but 3 were given
When trying to launch friture, I get this error:
Unhandled exception: Traceback (most recent call last):
File "/usr/bin/friture", line 5, in <module>
from friture.analyzer import main
File "/usr/lib/python3.12/site-packages/friture/analyzer.py", line 52, in <module>
from friture.playback.control import PlaybackControlWidget
ModuleNotFoundError: No module named 'friture.playback.control'
When I look at /usr/lib/python3.12/site-packages/friture/playback/, there is no control.py, although it exists in the repository. (There may be other missing files as well.) Not sure if the issue is in the PKGBUILD, or in the upstream setup scripts.