werman / noise-suppression-for-voice

Noise suppression plugin based on Xiph's RNNoise
GNU General Public License v3.0
4.62k stars 225 forks source link

Fails to install into a stage directory: No such file or directory. #151

Open yurivict opened 1 year ago

yurivict commented 1 year ago
===>   Generating temporary packing list
[  0% 1/2] /usr/local/bin/cmake -P /disk-samsung/freebsd-ports/audio/noise-suppression-for-voice-lv2/work/.build/CMakeFiles/VerifyGlobs.cmake
[  0% 1/1] cd /disk-samsung/freebsd-ports/audio/noise-suppression-for-voice-lv2/work/.build && /usr/local/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
-- Install configuration: "Release"
CMake Error at src/juce_plugin/cmake_install.cmake:41 (file):
  file INSTALL cannot find
  "/disk-samsung/freebsd-ports/audio/noise-suppression-for-voice-lv2/work/.build/bin/rnnoise_mono.lv2":
  No such file or directory.
Call Stack (most recent call first):
  cmake_install.cmake:44 (include)

FAILED: CMakeFiles/install/strip.util 

work/stage is a stage directory. It installs the build directory (/disk-samsung/freebsd-ports/audio/noise-suppression-for-voice-lv2/work) into the stage directory: work/stage/disk-samsung/freebsd-ports/audio/noise-suppression-for-voice-lv2/work/.lv2/rnnoise_mono.lv2.

werman commented 1 year ago

Does it happen only with LV2? If yes, then it's a JUCE bug, I have it patched in the bundled JUCE version, see b4e1b2f92218ca6e1065ef057dd50773a19e64aa.

Though looking at upstream, I don't see it being fixed there and no issue is opened... Probably I forgot to do it.