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: 12
Popularity: 1.66
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

« First ‹ Previous 1 2 3 4 Next › Last »

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).

5y1vn commented on 2025-02-19 07:12 (UTC)

Fails to build. Dependency qqc2-desktop-style5 has been removed from the repos.

alhirzel commented on 2025-01-19 02:13 (UTC) (edited on 2025-01-19 02:36 (UTC) by alhirzel)

Could not install without speech-dispatcher and tclap - may need to be dependencies?

LFdev commented on 2025-01-01 20:32 (UTC) (edited on 2025-01-02 00:18 (UTC) by LFdev)

@zacjor Thanks for the heads up, fixed.

zacjor commented on 2025-01-01 19:48 (UTC)

sha256 sum is incorrect

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).

LFdev commented on 2024-12-11 20:50 (UTC)

@simona Actually CUDA is not a dependency, it is optional (it will be automatically used only if it is already installed). If you want to make sure you do not build with GPU support, then simply change FULL_BUILD to false in PKGBUILD as explained in the comments.

simona commented on 2024-12-11 17:04 (UTC)

CMake Error at src/CMakeLists.txt:16 (get_target_property):
get_target_property() called with non-existent target "utf8cpp".

I don't' use Cuda. I don't like cuda. Cuda are required?
Anymore it does not ask me to install it. why?