Package Details: dsnote 4.7.1-2

Git Clone URL: https://aur.archlinux.org/dsnote.git (read-only, click to copy)
Package Base: dsnote
Description: Note taking, reading and translating with offline Speech to Text, Text to Speech and Machine Translation
Upstream URL: https://github.com/mkiol/dsnote
Licenses: MPL2
Conflicts: dsnote-git
Provides: dsnote
Submitter: LFdev
Maintainer: LFdev
Last Packager: LFdev
Votes: 10
Popularity: 2.39
First Submitted: 2023-11-13 18:20 (UTC)
Last Updated: 2025-02-22 17:07 (UTC)

Pinned Comments

LFdev commented on 2025-01-01 13:44 (UTC)

New version was released. From now on, Vulkan support is enabled by default (please remember to install related optional Vulkan drivers for your GPU), ROCm support was removed and CUDA build process was improved, but still experimental. If you do not want to build it with CUDA support, it is possible to edit PKGBUILD before building (check inside notes).

Latest Comments

1 2 3 Next › Last »

LFdev commented on 2025-03-03 13:53 (UTC)

@skhilko This package is built with Python support (-DWITH_PY=ON), so you just need make sure "Use Python Libraries" is enabled in Settings > Advanced with the default location and then install FasterWhisper before running dsnote. One option is to install python-faster-whisper from the AUR, and if you also need CUDA support you will need other packages (I have not tested this who), more info can be found in FasterWhisper repo.

skhilko commented on 2025-03-03 02:12 (UTC)

@LFdev, how can FasterWhisper engine be installed? Thank you!

LFdev commented on 2025-02-25 22:39 (UTC) (edited on 2025-02-25 22:42 (UTC) by LFdev)

@Arctirus Please see my previous message about build error tips. The build with CUDA support worked fine here earlier today, after a full update and a reboot. Some source is downloaded from others projects upstream during build, so it may be a temporary glitch. If it still fails after clearing the build cache and trying to build again, please post the full log, or at least the part with the actual error, in an online pastebin and share the link to it here.

Arctirus commented on 2025-02-25 20:18 (UTC)

The build fails

[100%] Linking CXX shared library libbergamot_api.so

[100%] Built target bergamot_api

[ 31%] Performing install step for 'bergamot'

[ 0%] Built target marian_version

[ 1%] Built target ssplit

[ 1%] Built target 3rd_party_installs

[ 6%] Built target sentencepiece_train-static

[ 8%] Built target SQLiteCpp

[ 15%] Built target zlib

[ 19%] Built target faiss

[ 20%] Built target intgemm

[ 23%] Built target pathie-cpp

[ 37%] Built target libyaml-cpp

[ 55%] Built target sentencepiece-static

[ 91%] Built target marian

[ 98%] Built target bergamot-translator

[100%] Built target bergamot_api

Install the project...

-- Install configuration: "Release"

-- Installing: /media/home/Завантажене/make/dsnote/src/dsnote-4.7.1/build/external/lib/libbergamot_api.so

-- Set non-toolchain portion of runtime path of "/media/home/Завантажене/make/dsnote/src/dsnote-4.7.1/build/external/lib/libbergamot_api.so" to "/usr/share/dsnote/lib"

-- Installing: /media/home/Завантажене/make/dsnote/src/dsnote-4.7.1/build/external/include/bergamot_api.h

[ 31%] Completed 'bergamot'

[ 31%] Built target bergamot

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

==> ERROR: A failure occurred in build().

Aborting...

ww998 commented on 2025-02-25 02:08 (UTC) (edited on 2025-02-25 02:08 (UTC) by ww998)

@LFdev Thank you for answering so quickly! I checked my CUDA installation and saw that I somehow installed the CUDA-package from AUR.

I removed the AUR package and installed the Arch package cuda/extra. After that I deleted the build cache in yay and rebuilt. Everything works now, cuda12.0 from AUR caused the problems - no idea when and why I installed it.

And of course you are right with the pastebin - next time.

LFdev commented on 2025-02-24 23:51 (UTC)

@ww998 I assume you are just running makepkg or using an AUR helper with the stock PKGBUILD and have cuda package installed, right? I have just updated my system, rebooted, started a build and it worked just fine here. I am sorry, but the only tips I could give are: 1. make sure you restart the system if you have just installed cuda 2. clear the build cache and try building again (sometimes I have problems with paru that simply cleaning its cache fixes the problem 3. If you are using a helper, try a manual build 4. Last but not least, I would recommend using something like an online pastebin when sharing logs so it keeps the formatting and get easier to read.

ww998 commented on 2025-02-24 20:58 (UTC) (edited on 2025-02-24 21:03 (UTC) by ww998)

The build fails for me at the CUDA step. Any idea on how to fix it? Thank you!


LOG attached


[ 72%] Performing configure step for 'whispercppcublas' CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake.

Update the VERSION argument <min> value. Or, use the <min>...<max> syntax to tell CMake that the project requires at least <min> but has been updated to work with policies introduced by <max> or earlier.

-- OpenMP found -- CUDA found -- Using CUDA architectures: native CMake Error at /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:865 (message): Compiling the CUDA compiler identification source file "CMakeCUDACompilerId.cu" failed.

Compiler: /opt/cuda/bin/nvcc

Build flags:

Id flags: --keep;--keep-dir;tmp -v

The output was:

2

#$ NVVM_BRANCH=nvvm

#$ SPACE=

#$ CUDART=cudart

#$ HERE=/opt/cuda/bin

#$ THERE=/opt/cuda/bin

#$ TARGET_SIZE=

#$ TARGET_DIR=

#$ TARGET_DIR=targets/x86_64-linux

#$ TOP=/opt/cuda/bin/..

#$ NVVMIR_LIBRARY_DIR=/opt/cuda/bin/../nvvm/libdevice

#$ LD_LIBRARY_PATH=/opt/cuda/bin/../lib:

#$ PATH=/opt/cuda/bin/../nvvm/bin:/opt/cuda/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/opt/android-sdk/platform-tools:/opt/cuda/bin:/opt/cuda/nsight_compute:/opt/cuda/nsight_systems/bin:/usr/share/dotnet:/home/ww/.dotnet/tools:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/var/lib/snapd/snap/bin:/home/ww/Dropbox/scripts:/home/ww/scripts:/home/ww/.gem/ruby/2.3.0/bin:/home/ww/Dropbox/scripts:/home/ww/scripts:/home/ww/.gem/ruby/2.3.0/bin

#$ INCLUDES="-I/opt/cuda/bin/../targets/x86_64-linux/include"

#$ LIBRARIES= "-L/opt/cuda/bin/../targets/x86_64-linux/lib/stubs" "-L/opt/cuda/bin/../targets/x86_64-linux/lib"

#$ CUDAFE_FLAGS=

#$ PTXAS_FLAGS=

#$ rm tmp/a_dlink.reg.c

#$ gcc -D__CUDA_ARCH_LIST__=520 -E -x c++ -D__CUDACC__ -D__NVCC__ "-I/opt/cuda/bin/../targets/x86_64-linux/include" -D__CUDACC_VER_MAJOR__=12 -D__CUDACC_VER_MINOR__=0 -D__CUDACC_VER_BUILD__=140 -D__CUDA_API_VER_MAJOR__=12 -D__CUDA_API_VER_MINOR__=0 -D__NVCC_DIAG_PRAGMA_SUPPORT__=1 -include "cuda_runtime.h" -m64 "CMakeCUDACompilerId.cu" -o "tmp/CMakeCUDACompilerId.cpp4.ii"

#$ cudafe++ --c++17 --gnu_version=140201 --display_error_number --orig_src_file_name "CMakeCUDACompilerId.cu" --orig_src_path_name "/home/ww/.cache/yay/dsnote/src/dsnote-4.7.1/build/external/whispercppcublas/CMakeFiles/3.31.5/CompilerIdCUDA/CMakeCUDACompilerId.cu" --allow_managed --m64 --parse_templates --gen_c_file_name "tmp/CMakeCUDACompilerId.cudafe1.cpp" --stub_file_name "CMakeCUDACompilerId.cudafe1.stub.c" --gen_module_id_file --module_id_file_name "tmp/CMakeCUDACompilerId.module_id" "tmp/CMakeCUDACompilerId.cpp4.ii"

/usr/include/bits/mathcalls.h(79): error: exception specification is incompatible with that of previous function "cospi"

/opt/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h(5551): here

/usr/include/bits/mathcalls.h(81): error: exception specification is incompatible with that of previous function "sinpi"

/opt/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h(5439): here

/usr/include/bits/mathcalls.h(79): error: exception specification is incompatible with that of previous function "cospif"

/opt/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h(5603): here

/usr/include/bits/mathcalls.h(81): error: exception specification is incompatible with that of previous function "sinpif"

/opt/cuda/bin/../targets/x86_64-linux/include/crt/math_functions.h(5499): here

4 errors detected in the compilation of "CMakeCUDACompilerId.cu".

# --error 0x2 --

Call Stack (most recent call first): /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD) /usr/share/cmake/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test) /usr/share/cmake/Modules/CMakeDetermineCUDACompiler.cmake:131 (CMAKE_DETERMINE_COMPILER_ID) ggml/src/CMakeLists.txt:302 (enable_language)

-- Configuring incomplete, errors occurred! make[2]: *** [CMakeFiles/whispercppcublas.dir/build.make:92: whispercppcublas-prefix/src/whispercppcublas-stamp/whispercppcublas-configure] Fehler 1 make[1]: *** [CMakeFiles/Makefile2:507: CMakeFiles/whispercppcublas.dir/all] Fehler 2

simona commented on 2025-02-22 17:15 (UTC)

normally the update does not happen for 1 package at a time. so it is not conceivable to change the configuration by hand for each package. run the command and update everything that needs to be updated. linux was born with this philosophy.

LFdev commented on 2025-02-21 19:56 (UTC) (edited on 2025-02-21 20:01 (UTC) by LFdev)

@alhirzel: at least on my setup (GNOME) I do not have tclap installed, and removing speech-dispatcher did not prevent the app from starting. I test it with Piper and Espeak for TTS, and I had no issues.

@5y1vn: Thank you for the heads up, an update with fixes should be released soon (I am waiting for the original dev's approval of the changes).