If upstream is using gcc, why are we using clang anyway? Are there specific benefits here or is it just maintainer preference?
Search Criteria
Package Details: tenacity-git 1:r14921.g8119cb11c-2
Package Actions
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: | 86 |
Popularity: | 0.002417 |
First Submitted: | 2021-07-07 11:51 (UTC) |
Last Updated: | 2023-12-23 15:01 (UTC) |
Dependencies (44)
- expat (expat-gitAUR)
- flac (flac-gitAUR)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glib2 (glib2-gitAUR, glib2-selinuxAUR, glib2-patched-thumbnailerAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- gtk3 (gtk3-no_deadkeys_underlineAUR, gtk3-classic-xfceAUR, gtk3-classicAUR, gtk3-patched-filechooser-icon-viewAUR)
- hicolor-icon-theme (hicolor-icon-theme-gitAUR)
- jackAUR (jack2-gitAUR, pipewire-full-jack-gitAUR, pipewire-jack-gitAUR, jack2, pipewire-jack)
- jsoncpp (jsoncpp-cmake-gitAUR, jsoncpp-cmakeAUR, jsoncpp-gitAUR)
- lame (lame-svnAUR, lame-altivecAUR)
- libebml (libebml-gitAUR)
- libid3tag (libid3tag-gitAUR)
- libmad
- libmatroska (libmatroska-gitAUR)
- libogg (libogg-gitAUR)
- libsndfile (libsndfile-gitAUR)
- libsoxr
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- libzip (libzip-gitAUR)
- lilv (lilv-gitAUR)
- Show 24 more dependencies...
Required by (0)
Sources (2)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 Next › Last »
frainz commented on 2021-09-30 12:51 (UTC)
kescherAUR commented on 2021-09-30 11:54 (UTC) (edited on 2021-09-30 11:54 (UTC) by kescherAUR)
@frainz good point.
Possible solutions:
-
Not enforcing clang (upstream actually uses gcc for their own builds).
-
Removing incompatible flags at the start of build() using something akin to:
export CFLAGS="${CFLAGS/-fvar-tracking-assignments/}"
This wouldn't really be the Arch Way, but would allow this package to keep using clang, if so desired.
frainz commented on 2021-09-29 12:02 (UTC)
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.
servimo commented on 2021-09-18 16:29 (UTC) (edited on 2021-09-18 16:41 (UTC) by servimo)
Downloaded a snapshot of portsmf from github (https://github.com/tenacityteam/portsmf) and build/install it and I could build/install tenacity
servimo commented on 2021-09-18 03:45 (UTC) (edited on 2021-09-18 03:46 (UTC) by servimo)
"portsmf 234-2" is flagged out-of-date in AUR
masutu commented on 2021-09-16 14:01 (UTC)
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.
Riedler commented on 2021-09-15 18:19 (UTC)
same error on my end
servimo commented on 2021-09-15 00:48 (UTC)
@GabCM same error here.
<deleted-account> commented on 2021-09-14 18:18 (UTC)
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.
johnjohn commented on 2021-09-14 15:52 (UTC)
@kescherAUR sorry, my bad. Updating. Thank you :)
Pinned Comments