Skip to content

fix: fix RHVoice library installation after version update#404

Open
IldarMinaev wants to merge 1 commit into
mkiol:mainfrom
IldarMinaev:fix-rhvoice-install-version
Open

fix: fix RHVoice library installation after version update#404
IldarMinaev wants to merge 1 commit into
mkiol:mainfrom
IldarMinaev:fix-rhvoice-install-version

Conversation

@IldarMinaev

Copy link
Copy Markdown

Fix RHVoice installation after the RHVoice source update in cmake/rhvoice.cmake.

The install scripts still expected the old hardcoded 1.2.2 filenames. This caused make install / Arch makepkg to fail during the package step:

  -- Installing: /home/user/.cache/yay/dsnote-git/pkg/dsnote-git/usr/share/dsnote/espeakdata.tar.xz
  /usr/bin/strip: '/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice_core.so.1.2.2': No such file
  /usr/bin/strip: '/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice.so.1.2.2': No such file
  patchelf: getting info about '/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice_core.so.1.2.2': No such file or directory
  patchelf: getting info about '/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice_core.so.1.2.2': No such file or directory
  patchelf: getting info about '/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice.so.1.2.2': No such file or directory
  patchelf: getting info about '/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice.so.1.2.2': No such file or directory
  CMake Error at cmake_install.cmake:318 (file):
    file INSTALL cannot find
    "/home/user/.cache/yay/dsnote-git/src/dsnote/build/external/lib/libRHVoice_core.so.1.2.2":
    No such file or directory.


  make: *** [Makefile:100: install] Error 1
  ==> ERROR: A failure occurred in package().
      Aborting...
   -> error making: dsnote-git-exit status 4
   -> Failed to install the following packages. Manual intervention is required:
  dsnote-git - exit status 4

This PR:

  • resolves versioned RHVoice shared libraries at install time instead of hardcoding the patch version
  • applies the same fix to desktop and SFOS install scripts
  • updates Flatpak RHVoice module commits to match cmake/rhvoice.cmake

Testing

  • makepkg -f -e
  • cmake --install src/dsnote/build --prefix /tmp/dsnote-install-check
  • checked that RHVoice 1.2.2 is no longer hardcoded in tracked source files

@IldarMinaev IldarMinaev changed the title Fix RHVoice library installation after version update fix: fix RHVoice library installation after version update Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant