On Manjaro, the build fails with a clang error: clang-12: error: unknown argument: '-fvar-tracking-assignments'
Is it supposed to be built with clang? According to the wiki ( https://wiki.archlinux.org/title/clang ), only gcc supports this option.
Git Clone URL: | https://aur.archlinux.org/tenacity-git.git (read-only, click to copy) |
---|---|
Package Base: | tenacity-git |
Description: | An easy-to-use multi-track audio editor and recorder, forked from Audacity |
Upstream URL: | https://tenacityaudio.org |
Keywords: | audacity audio audio-applications audio-processing floss libre privacy-friendly privacy-preserving recorder recording-app |
Licenses: | GPL2, CCPL |
Groups: | pro-audio |
Conflicts: | tenacity |
Provides: | tenacity |
Submitter: | Darkpelz |
Maintainer: | FabioLolix |
Last Packager: | FabioLolix |
Votes: | 87 |
Popularity: | 0.035407 |
First Submitted: | 2021-07-07 11:51 (UTC) |
Last Updated: | 2023-12-23 15:01 (UTC) |
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 Next › Last »
On Manjaro, the build fails with a clang error: clang-12: error: unknown argument: '-fvar-tracking-assignments'
Is it supposed to be built with clang? According to the wiki ( https://wiki.archlinux.org/title/clang ), only gcc supports this option.
Downloaded a snapshot of portsmf from github (https://github.com/tenacityteam/portsmf) and build/install it and I could build/install tenacity
"portsmf 234-2" is flagged out-of-date in AUR
Hi, imho the error is caused by a missing "#include <cstring>" in "/usr/include/portsmf/allegro.h" provided by "portsmf". With a patched version of portsmf the build works.
same error on my end
@GabCM same error here.
Hi there. Even with the latest version of the package, I obtain this error.
In file included from /home/gabriel/.cache/paru/clone/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from /home/gabriel/.cache/paru/clone/tenacity-git/src/tenacity/include/../lib-src/header-substitutes/allegro.h:4:
/usr/include/portsmf/allegro.h:632:9: error: use of undeclared identifier 'memcpy'; did you mean 'wmemcpy'?
memcpy(newbuf, buffer, *len);
^
/usr/include/bits/wchar2.h:39:8: note: 'wmemcpy' declared here
__NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2,
^
In file included from /home/gabriel/.cache/paru/clone/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from /home/gabriel/.cache/paru/clone/tenacity-git/src/tenacity/include/../lib-src/header-substitutes/allegro.h:4:
/usr/include/portsmf/allegro.h:632:16: error: cannot initialize a parameter of type 'wchar_t *' with an lvalue of type 'char *'
memcpy(newbuf, buffer, *len);
^~~~~~
/usr/include/bits/wchar2.h:39:37: note: passing argument to parameter '__s1' here
__NTH (wmemcpy (wchar_t *__restrict __s1, const wchar_t *__restrict __s2,
^
2 errors generated.
make[2]: *** [src/CMakeFiles/Tenacity.dir/build.make:4388: src/CMakeFiles/Tenacity.dir/tracks/playabletrack/notetrack/ui/StretchHandle.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:552: src/CMakeFiles/Tenacity.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
I've also tried following the prerequisites from the upstream repo's BUILDING.md and it gave me the same error.
@kescherAUR sorry, my bad. Updating. Thank you :)
@johnjohn the very latest commit (made after my last comment) fixes this. Rebuild the package cleanly (and remove and environment variables you've set).
tenacity: error while loading shared libraries: libwx_baseu-3.1.so.4: cannot open shared object file: No such file or directory
Will this eventually be fixed? I know there is a workaround in the comment, but still hoping this would be implemented into the package if is it possible.
Pinned Comments