Package Details: tenacity-git 1:r13941.g9b4b96d98-2

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
Conflicts: tenacity
Provides: tenacity
Submitter: Darkpelz
Maintainer: Darkpelz (FabioLolix, fossdd)
Last Packager: FabioLolix
Votes: 63
Popularity: 1.56
First Submitted: 2021-07-07 11:51 (UTC)
Last Updated: 2022-06-23 22:35 (UTC)

Pinned Comments

FabioLolix commented on 2022-04-17 20:50 (UTC)

Seems it isn't compatible with wxgtk 3.1.6

Latest Comments

Technetium1 commented on 2022-07-11 03:40 (UTC) (edited on 2022-07-11 03:48 (UTC) by Technetium1)

Missing python in makedepends:

Python not found...unable to produce manual.

Also:

CMake Warning:
Manually-specified variables were not used by the project:
audacity_use_ffmpeg

A-KA commented on 2022-07-09 22:03 (UTC) (edited on 2022-07-09 23:29 (UTC) by A-KA)

Ran into build issues. I installed wxgtk3-dev-314-opt and portsmf-git. I also modified the PKGBUILD

@@ -48,9 +48,9 @@
   CC=clang CXX=clang++ cmake \
     -DCMAKE_BUILD_TYPE=None \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DwxWidgets_CONFIG_EXECUTABLE=/opt/wxgtk-3.1.5/bin/wx-config-gtk3 \
-    -DwxWidgets_INCLUDE_DIRS=/opt/wxgtk-3.1.5/include/wx-3.1 \
-    -DwxWidgets_LIBRARIES=/opt/wxgtk-3.1.5/lib \
+    -DwxWidgets_CONFIG_EXECUTABLE=/opt/wxgtk-dev-314/bin/wx-config-gtk3 \
+    -DwxWidgets_INCLUDE_DIRS=/opt/wxgtk-dev-314/include/wx-3.1 \
+    -DwxWidgets_LIBRARIES=/opt/wxgtk-dev-314/lib \
     -Daudacity_use_ffmpeg:STRING=loaded \
     -Wno-dev \
     ..

This resolved all build issues I had.

xavierbaez commented on 2022-05-04 11:31 (UTC)

It's still not building properly. What's the difference betwen tenacity-git and tenacity-wxgtk3-git? Which one should I get?

EricKotato commented on 2022-04-22 14:02 (UTC) (edited on 2022-04-22 14:08 (UTC) by EricKotato)

Here is the patch I made for GitHub mirror (https://github.com/tenacityteam/tenacity) to enable compatibility with WxWidgets 3.1.6+:

diff --git a/src/TenacityApp.cpp b/src/TenacityApp.cpp
index 8136aa48b..cb0bfb629 100644
--- a/src/TenacityApp.cpp
+++ b/src/TenacityApp.cpp
@@ -862,7 +862,12 @@ void TenacityApp::OnTimer(wxTimerEvent &WXUNUSED(event)) {
 #define WL(lang, sublang)
 #endif

-#if wxCHECK_VERSION(3, 0, 1)
+#if wxCHECK_VERSION(3, 1, 6)
+wxLanguageInfo userLangs[] =
+    {
+        {wxLANGUAGE_USER_DEFINED, wxT("eu"), wxT("eu"), wxT(""), WL(0, SUBLANG_DEFAULT) wxT("Basque"), wxT("Euskara"), wxLayout_LeftToRight},
+};
+#elif wxCHECK_VERSION(3, 0, 1)
 wxLanguageInfo userLangs[] =
     {
         // Bosnian is defined in wxWidgets already

Should work for SourceHut mirror too, but it should be applied to src/AudacityApp.cpp instead.

xavierbaez commented on 2022-04-20 20:39 (UTC)

Same error happend to me:

[ 53%] Building CXX object src/CMakeFiles/Tenacity.dir/Legacy.cpp.o

make[1]: [CMakeFiles/Makefile2:526: src/CMakeFiles/Tenacity.dir/all] Error 2 make: [Makefile:156: all] Error 2 ==> ERROR: A failure occurred in build(). Aborting... -> error making: tenacity-git

FabioLolix commented on 2022-04-17 20:50 (UTC)

Seems it isn't compatible with wxgtk 3.1.6

maderios commented on 2022-04-17 18:55 (UTC) (edited on 2022-04-17 19:02 (UTC) by maderios)

I get error

[ 50%] Building CXX object src/CMakeFiles/Tenacity.dir/Benchmark.cpp.o
In file included from /home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/FFmpeg.h:887:7: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
      av_init_packet(this);
/usr/include/ffmpeg4.4/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated
/usr/include/ffmpeg4.4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))
In file included from /home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/FFmpeg.h:914:7: warning: 'av_free_packet' is deprecated [-Wdeprecated-declarations]
      av_free_packet(this);
      /usr/include/ffmpeg4.4/libavcodec/packet.h:568:1: note: 'av_free_packet' has been explicitly marked deprecated here
attribute_deprecated
/usr/include/ffmpeg4.4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))

In file included from /home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/AudacityApp.cpp:83:
/home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/FFmpeg.h:921:7: warning: 'av_init_packet' is deprecated [-Wdeprecated-declarations]
      av_init_packet(&that);

/usr/include/ffmpeg4.4/libavcodec/packet.h:487:1: note: 'av_init_packet' has been explicitly marked deprecated here
attribute_deprecated

/usr/include/ffmpeg4.4/libavutil/attributes.h:100:49: note: expanded from macro 'attribute_deprecated'
#    define attribute_deprecated __attribute__((deprecated))

/home/fre/ARCH-AUR/tenacity-git/src/tenacity/src/AudacityApp.cpp:886:80: error: field of type 'wxString' has private constructor
    {wxLANGUAGE_USER_DEFINED, wxT("eu"), WL(0, SUBLANG_DEFAULT) wxT("Basque"), wxLayout_LeftToRight},

/usr/include/wx-3.1/wx/string.h:324:3: note: declared private here
  wxString(int);
  3 warnings and 1 error generated.
make[2]: *** [src/CMakeFiles/Tenacity.dir/build.make:146: src/CMakeFiles/Tenacity.dir/AudacityApp.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:526: src/CMakeFiles/Tenacity.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

zuzavo commented on 2022-04-16 17:58 (UTC) (edited on 2022-04-16 18:09 (UTC) by zuzavo)

Hi, the AudacityApp.cpp shows an error when you try to install: [ 48%] Building CXX object src/CMakeFiles/Tenacity.dir/AudacityApp.cpp.o

/home/juan/Descargas/tenacity-git/src/tenacity/src/AudacityApp.cpp:886:80: error: field of type 'wxString' has private constructor

{wxLANGUAGE_USER_DEFINED, wxT("eu"), WL(0, SUBLANG_DEFAULT) wxT("Basque"), wxLayout_LeftToRight}, ^ /usr/include/wx-3.1/wx/string.h:324:3: note: declared private here wxString(int); ^ 1 error generated. make[2]: *** [src/CMakeFiles/Tenacity.dir/build.make:146: src/CMakeFiles/Tenacity.dir/AudacityApp.cpp.o] Error 1

make[1]: *** [CMakeFiles/Makefile2:526: src/CMakeFiles/Tenacity.dir/all] Error 2

make: *** [Makefile:156: all] Error 2

==> ERROR: Se produjo un fallo en build(). Cancelando.

FabioLolix commented on 2022-04-13 07:11 (UTC)

You need to rebuild tenacity after updating wxgtk

gshinguji commented on 2022-04-11 23:57 (UTC)

after latest update:

tenacity: error while loading shared libraries: libwx_baseu-3.1.so.5: cannot open shared object file: No such file or directory

Riedler commented on 2022-04-11 10:05 (UTC)

You forgot to update the package version with the ffmpeg fix, king.

FabioLolix commented on 2022-03-06 20:53 (UTC)

@Monstanner it is working because I've modified the pkgbuild, not because of Arch updates (it is still incompatible with ffmpeg 5)

Monstanner commented on 2022-03-06 20:38 (UTC)

After today's Arch updates, it's working again. Thanks for any help.

Monstanner commented on 2022-03-06 19:37 (UTC)

@zuzavo Thanks for the tip. However, I don't want to do anything dangerous to my system.

FabioLolix commented on 2022-03-05 18:53 (UTC)

Fixed the build using ffmpeg4.4

Monstanner commented on 2022-03-05 18:06 (UTC)

I can no longer install this AUR. No matter if I want to install the repo clone or it with bauh. At 49%, the installation is canceled. Here is the installation log: https://pastebin.com/Pa9Jw9C4

FabioLolix commented on 2022-02-13 17:53 (UTC)

Tenacity is correctly build against libSoundTouch.so.2.3.1 here, rebuild your package, where does libSoundTouch.so.1 come from?

freed00m commented on 2022-02-13 17:30 (UTC)

There is no libSoundTouch.so.1 provided by the dependencies and tenacity wont run.

I have to sudo ln -s libSoundTouch.so.2.3.1 libSoundTouch.so.1 Should pkgbuild do this?

randomguy343 commented on 2022-02-11 18:09 (UTC)

Do you care to also provide a binary package?

Darkpelz commented on 2022-01-25 16:47 (UTC)

Updated the PKGBUILD so it now depends on jack instead of jack2, so it should work with pipewire-jack now.

kescherAUR commented on 2022-01-22 17:44 (UTC)

@Alkaris install portsmf-git

Alkaris commented on 2022-01-22 17:32 (UTC)

This keeps giving me issues when building

In file included from /var/tmp/pamac-build-alkaris/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from /var/tmp/pamac-build-alkaris/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/wchar.h:262:17: note: 'wmemcpy' declared here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
                ^
In file included from /var/tmp/pamac-build-alkaris/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from /var/tmp/pamac-build-alkaris/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/wchar.h:262:46: note: passing argument to parameter '__s1' here
extern wchar_t *wmemcpy (wchar_t *__restrict __s1,
                                             ^

is this build package calling on a different version of allergo and wchar for these functions? Because according to current installed libraries these are correct, and the build files are not correct, perhaps due to misspelling?

kescherAUR commented on 2022-01-20 10:19 (UTC)

@Icecube63 you could also just replace jack2 with jack.

Icecube63 commented on 2022-01-20 10:14 (UTC)

Replacing dependency jack2 with pipewire-jack at the PKBUILD works for me

kescherAUR commented on 2022-01-19 07:23 (UTC)

However, all official repo depends depend on either "libjack.so" or "jack", not "jack2" explicitly. This would fix the issue @gshinguji is having.

kescherAUR commented on 2022-01-19 07:20 (UTC)

@gshinguji pipewire-jack already provides jack. However, they recently removed jack2 from the provides array while having it remain in the conflicts array, which is what causes this conflict.

As for pipewire-jack-dropin, the recent change to pipewire-jack is probably why that package is marked for deletion.

FabioLolix commented on 2022-01-19 06:34 (UTC)

pipewire-jack-dropin is marked for deletion, is up to those package to provide jack if they are jack replacements

gshinguji commented on 2022-01-19 02:14 (UTC)

can pipewire-jack and pipewire-jack-dropin be added as alternatives to jack? otherwise, this package does not build with pipewire-jack installed.

Quaternions commented on 2021-11-22 03:20 (UTC)

I had a build error with portsmf and had to switch to portsmf-git to get it to complete the build.

hazelnot commented on 2021-10-26 13:02 (UTC)

The default Nyquist plugins (including the Nyquist plugin installer) are missing. There's this GitHub issue from a few months ago but the issue seemed to be that they were just disabled, not missing.

Not sure what's going on

kescherAUR commented on 2021-10-13 09:16 (UTC)

@Icecube63 please try building in a clean chroot then.

FabioLolix commented on 2021-10-12 16:03 (UTC)

On Manjaro builds fine in chroot

Icecube63 commented on 2021-10-12 15:49 (UTC)

@kescherAUR: Removing and rebuilding unfortunately doesn't solve the problem

kescherAUR commented on 2021-10-12 12:33 (UTC) (edited on 2021-10-12 12:33 (UTC) by kescherAUR)

@Icecube63 Did you install https://aur.archlinux.org/packages/sbsms/? If so, that package is REALLY outdated. Consider removing it and buildling again.

Icecube63 commented on 2021-10-12 09:12 (UTC) (edited on 2021-10-12 09:13 (UTC) by Icecube63)

Since few Versions the building with pikaur stopped with an error:

[ 73%] Building CXX object src/CMakeFiles/Tenacity.dir/effects/SBSMSEffect.cpp.o
/home/klaus/.cache/pikaur/build/tenacity-git/src/tenacity/src/effects/SBSMSEffect.cpp:203:17: error: 
      no member named 'getInverseStretchedTime' in '_sbsms_::Slide'; did you mean 'getStretchedTime'?
   return slide.getInverseStretchedTime(outputTime);
                ^~~~~~~~~~~~~~~~~~~~~~~
                getStretchedTime
/usr/include/sbsms.h:129:9: note: 'getStretchedTime' declared here
  float getStretchedTime(float t);
        ^
1 error generated.
make[2]: *** [src/CMakeFiles/Tenacity.dir/build.make:3181: src/CMakeFiles/Tenacity.dir/effects/SBSMSEffect.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:579: src/CMakeFiles/Tenacity.dir/all] Fehler 2
make: *** [Makefile:156: all] Fehler 2

kescherAUR commented on 2021-09-30 13:13 (UTC)

I think that's maintainer preference, and clang is producing faster binaries currently.

frainz commented on 2021-09-30 12:51 (UTC)

If upstream is using gcc, why are we using clang anyway? Are there specific benefits here or is it just maintainer preference?

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.

GabCM 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 :)

kescherAUR commented on 2021-09-14 15:21 (UTC)

@johnjohn the very latest commit (made after my last comment) fixes this. Rebuild the package cleanly (and remove and environment variables you've set).

johnjohn commented on 2021-09-14 15:17 (UTC) (edited on 2021-09-14 15:39 (UTC) by johnjohn)

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.

kescherAUR commented on 2021-09-14 07:30 (UTC)

I suggest to adjust the dependencies according to this: https://github.com/tenacityteam/tenacity/blob/master/BUILDING.md#arch

It is entirely possible to use wxWidgets 3.0 builds now (with the drawback of missing localizations in some parts of Tenacity), but the suggested AUR package to use as dependency for wxWidgets 3.1 is also a different one.

FabioLolix commented on 2021-09-11 20:25 (UTC) (edited on 2021-09-11 20:26 (UTC) by FabioLolix)

Building fine here

  • ==> Avvio di build() in corso...
  • -- Found Git: /usr/sbin/git (found version "2.33.0")
  • -- Searching for dependencies from system, not using vcpkg.
  • -- The C compiler identification is Clang 12.0.1
  • -- The CXX compiler identification is Clang 12.0.1
  • [...]
  • ==> Finished making: tenacity-git 1:r13800.g5cb958610-1

muesli4 commented on 2021-09-11 20:19 (UTC)

I get this error during the configure run of tenacity-git:

CMake Error at /usr/share/cmake-3.21/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/usr/bin/clang"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /tmp/makepkg/tenacity-git/src/tenacity/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/make -f Makefile cmTC_d00d7/fast && /usr/bin/make  -f CMakeFiles/cmTC_d00d7.dir/build.make CMakeFiles/cmTC_d00d7.dir/build
    make[1]: Verzeichnis „/tmp/makepkg/tenacity-git/src/tenacity/build/CMakeFiles/CMakeTmp“ wird betreten
    Building C object CMakeFiles/cmTC_d00d7.dir/testCCompiler.c.o
    /usr/bin/clang   -D_FORTIFY_SOURCE=2 -march=native -O2 -pipe -fstack-protector-strong -g -fvar-tracking-assignments -fdebug-prefix-map=/tmp/makepkg/tenacity-git/src=/usr/src/debug  -MD -MT CMakeFiles/cmTC_d00d7.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_d00d7.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_d00d7.dir/testCCompiler.c.o -c /tmp/makepkg/tenacity-git/src/tenacity/build/CMakeFiles/CMakeTmp/testCCompiler.c
    clang-12: error: unknown argument: '-fvar-tracking-assignments'
    make[1]: *** [CMakeFiles/cmTC_d00d7.dir/build.make:79: CMakeFiles/cmTC_d00d7.dir/testCCompiler.c.o] Fehler 1
    make[1]: Verzeichnis „/tmp/makepkg/tenacity-git/src/tenacity/build/CMakeFiles/CMakeTmp“ wird verlassen
    make: *** [Makefile:127: cmTC_d00d7/fast] Fehler 2





  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:238 (project)

nightranger73 commented on 2021-09-07 14:17 (UTC) (edited on 2021-09-07 14:19 (UTC) by nightranger73)

I'm getting these errors too building tenacity-git-1:r13686.gdb0954787-2 and already did a clean build

In file included from /home/nightranger/.cache/yay/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14: In file included from /home/nightranger/.cache/yay/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/nightranger/.cache/yay/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14: In file included from /home/nightranger/.cache/yay/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, ^

mito77 commented on 2021-08-30 04:17 (UTC)

$ tenacity 
tenacity: error while loading shared libraries: libwx_baseu-3.1.so.4: cannot open shared object file: No such file or directory

Menelkir commented on 2021-08-24 21:22 (UTC)

A good option is creating the file /etc/ld.so.conf.d/wxgtk-dev.conf and add /opt/wxgtk-dev/lib/ to it.

xFadedxShadow commented on 2021-08-21 22:46 (UTC) (edited on 2021-08-21 22:46 (UTC) by xFadedxShadow)

since libwx_baseu cannot be found. You can simply edit your "tenacity.desktop" file and add, "LD_LIBRARY_PATH=/opt/wxgtk-dev/lib/" to Exec (Make sure to add it before "tenacity %F")

FabioLolix commented on 2021-08-21 11:20 (UTC)

Didn't get @jmd build error, clean your cache and try again

kescherAUR commented on 2021-08-21 09:26 (UTC)

The build error reported by @jmd has an issue on GitHub: https://github.com/tenacityteam/tenacity/issues/499.

deadite66 commented on 2021-08-20 04:55 (UTC) (edited on 2021-08-20 04:56 (UTC) by deadite66)

its using wxgtk3-dev-opt which is being installed to /opt so tenacity can't find libwx_baseu which is in /opt/wxgtk-dev/lib/

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/wxgtk-dev/lib/

then run tenacity it runs.

halcek commented on 2021-08-20 00:12 (UTC)

Seems like the libwx_baseu error is related to wxgtk?

gshinguji commented on 2021-08-19 03:45 (UTC)

After updating I get error upon running: tenacity: error while loading shared libraries: libwx_baseu-3.1.so.4: cannot open shared object file: No such file or directory

jmd commented on 2021-08-18 21:24 (UTC)

There is a build error with tenacity-git 1:r13686.gdb0954787-2:

In file included from $HOME.cache/yay/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from $HOME.cache/yay/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.cache/yay/tenacity-git/src/tenacity/src/tracks/playabletrack/notetrack/ui/StretchHandle.cpp:14:
In file included from $HOME.cache/yay/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:4402: src/CMakeFiles/Tenacity.dir/tracks/playabletrack/notetrack/ui/StretchHandle.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:579: src/CMakeFiles/Tenacity.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error making: tenacity-git

FabioLolix commented on 2021-08-18 15:34 (UTC)

  • Updated/corrected some dependencies (don't trust namcap for not needed dpes in this package)
  • removed patch, no longer needed
  • tenacity now need wxwidgets 3.1 (dev), configured it for wxgtk3-dev-opt so we don't have to remove programs build against wxgtk3 (v3.0)
  • removed conan scdoc from makedepends
  • preferred cmake build type is None
  • removed unused variables (audacity_use_wxwidgets wxBUILD_TOOLKIT)
  • removed insecure rpath with chrpath

MangoKangaroo commented on 2021-08-18 02:51 (UTC)

Build fails at patching as of the latest git commit.

==> Starting prepare()...
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --unified --recursive --text audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c audacity.new/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c
|--- audacity/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c    2021-07-02 00:17:06.606660728 +0800
|+++ audacity.new/lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c        2021-07-02 00:18:22.376662323 +0800
--------------------------
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored
==> ERROR: A failure occurred in prepare().
    Aborting...

FabioLolix commented on 2021-08-15 13:13 (UTC)

Source changed to https://git.sr.ht/~tenacity/tenacity so who is using a common SRCDEST need to delete what already downloaded.

@fossdd rebuild the package when you make important changes

The repository at sr.ht (sourcehut) don't have any git tags and using epoch=1 was needed.

FredBezies commented on 2021-08-15 12:43 (UTC) (edited on 2021-08-15 12:48 (UTC) by FredBezies)

There is a bug. PKGVER cannot be generated with sr.ht URL.

==> Making package: tenacity-git 3.0.2.r595.g04609bba0-1 (Sun Aug 15 14:42:53 2021)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating tenacity git repo...
Fetching origin
  -> Found tenacity.patch
==> Validating source files with sha256sums...
    tenacity ... Skipped
    tenacity.patch ... Passed
==> Extracting sources...
  -> Creating working copy of tenacity git repo...
Reset branch 'makepkg'
==> Starting prepare()...
patching file lib-src/portaudio-v19/src/hostapi/alsa/pa_linux_alsa.c
==> Starting pkgver()...
fatal: No names found, cannot describe anything.
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:

Icecube63 commented on 2021-07-29 14:57 (UTC) (edited on 2021-07-29 14:59 (UTC) by Icecube63)

Last Updates i've got the message that directory tenacity/build already exists. After deleting the directory update works

I think thats a problem with

build() { mkdir tenacity/build....

akya commented on 2021-07-26 03:27 (UTC)

Yup same as @Popolon build fails

ancaro commented on 2021-07-23 19:43 (UTC)

Description: An easy-to-use multi-track audio editor and recorder

Please add some reference to Audacity, makes easier to find.

Popolon commented on 2021-07-23 09:06 (UTC)

Build currently fail in libmp3lame

ERROR: libmp3lame/3.100: Error in build() method, line 81
    self._apply_patch()
while calling '_apply_patch', line 43
    tools.patch(base_path=self._source_subfolder, patch_file='%s.patch' % patch, strip=3)
    FileNotFoundError: [Errno 2] No such file or directory: '6410.patch'
CMake Error at cmake-proxies/cmake-modules/conan.cmake:631 (message):
  Conan install failed='1'
Call Stack (most recent call first):
  cmake-proxies/cmake-modules/AudacityDependencies.cmake:233 (conan_cmake_install)
  cmake-proxies/cmake-modules/AudacityDependencies.cmake:254 (_conan_install)
  CMakeLists.txt:490 (resolve_conan_dependencies)

Darkpelz commented on 2021-07-22 16:35 (UTC)

@FredBezies Thanks for the cleanup, I've updated the PKGBUILD.

FredBezies commented on 2021-07-22 16:04 (UTC)

Here is a cleaned-up PKGBUILD. I used namcap to shorten depends list.

# Maintainer: Luke Huckman (Darkpelz) <lukeh@outlook.my>
# Maintainer: Fabio 'Lolix' Loli <fabio.loli@disroot.org> -> https://github.com/FabioLolix
# Maintainer: fossdd <fossdd@tutanota.com>
# Contributor: Ong Yong Xin <ongyongxin2020+github AT gmail DOT com>
# Contributor: Bernhard Landauer <oberon@manjaro.org>
# Contributor: Eric Bélanger <eric@archlinux.org>

pkgname=tenacity-git
pkgver=3.0.2.r523.g79d7db6aa
pkgrel=1
pkgdesc="FLOSS Audacity Fork. No telemetry, crash reports and other shenanigans like that!"
arch=(i686 x86_64)
url="https://github.com/tenacityteam/tenacity"
license=(GPL2 CCPL)
groups=(pro-audio)
depends=(gtk2 gtk3 qt5-base libid3tag lilv lv2 portsmf suil libmad twolame vamp-plugin-sdk libsoxr soundtouch)
makedepends=(git cmake clang sdl2 libsoup libnotify gstreamer gst-plugins-bad-libs
             ffmpeg jack nasm conan)
# can't find system lame portmidi
optdepends=('ffmpeg: additional import/export capabilities')
provides=(audacity)
conflicts=(audacity)
source=(
  "git+https://github.com/tenacityteam/tenacity.git"
  "tenacity.patch"
)
sha256sums=('SKIP' 'c06c60a9ae17b9265840fcd619d2c7a5668f26a94cec80c8785c7997afd4bc96')

pkgver() {
  cd tenacity
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' | cut -d'.' -f2-
}

prepare() {
  cd tenacity
  patch --forward --strip=1 --input="${srcdir}/tenacity.patch"
}

build() {
  mkdir tenacity/build
  cd tenacity/build
  CC=clang cmake \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DwxBUILD_TOOLKIT:STRING=gtk3 \
    -Daudacity_use_wxwidgets=local \
    audacity_use_ffmpeg:STRING=loaded \
    ..
  cmake --build .
  make .
}

package() {
  cd tenacity/build
  make DESTDIR="${pkgdir}" install
}

xiashali commented on 2021-07-07 12:34 (UTC)

need patch to ~/.conan/settings.yml for gcc11