You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am writing a GNU Guix package definition to build and install Odin2 synth plugin. I managed to compile it, but it fails during linking and throws a undefined reference to createPluginFilter(). I would have debugged this myself but I am not a audio developer neither am I familiar with the library.
To Reproduce
Steps to reproduce the behavior:
Run guix build odin2-synth from the directory you have the file with definition
Wait for it to fail eventually during linking
See the linking error
Expected behavior
Should build and link successfully.
Screenshots
No screenshots, but I have logs here,
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘mouseUp’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘ensureAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:228:30,
inlined from ‘addImpl’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:561:29,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:263:17,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:431:20,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:140:17,
inlined from ‘operator()’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/native/juce_linux_Files.cpp:215:30,
inlined from ‘openDocument’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/native/juce_linux_Files.cpp:222:7,
inlined from ‘launchInDefaultBrowser’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/network/juce_URL.cpp:976:34,
inlined from ‘mouseUp’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_gui_basics/misc/juce_JUCESplashScreen.cpp:192:39:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘mouseUp’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘operator()’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/native/juce_linux_Files.cpp:215:58,
inlined from ‘openDocument’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/native/juce_linux_Files.cpp:222:7,
inlined from ‘launchInDefaultBrowser’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/network/juce_URL.cpp:976:34,
inlined from ‘mouseUp’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_gui_basics/misc/juce_JUCESplashScreen.cpp:192:39:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘mouseUp’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Odin2_VST3.dir/build.make:489: Odin2_artefacts/Release/VST3/Odin2.vst3/Contents/x86_64-linux/Odin2.so] Error 1
make[2]: Leaving directory '/tmp/guix-build-odin2-synth-2.3.4.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:304: CMakeFiles/Odin2_VST3.dir/all] Error 2
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘ensureAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:228:30,
inlined from ‘addImpl’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:561:29,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:263:17,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:431:20,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:140:17,
inlined from ‘addIfNotAlreadyThere’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:155:9,
inlined from ‘addIfNotAlreadyThere.constprop.isra’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:150:6:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘addIfNotAlreadyThere.constprop.isra’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘ensureAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:228:30,
inlined from ‘addImpl’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:561:29,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:263:17,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:431:20,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:140:17,
inlined from ‘initialiseRatesAndChannels’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:831:33,
inlined from ‘__ct ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:494:35,
inlined from ‘__ct ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:852:11,
inlined from ‘createDevice’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:1057:66:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘createDevice’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘ensureAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:228:30,
inlined from ‘addImpl’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:561:29,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:263:17,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:431:20,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:140:17,
inlined from ‘initialiseRatesAndChannels’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:834:32,
inlined from ‘__ct ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:494:35,
inlined from ‘__ct ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:852:11,
inlined from ‘createDevice’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_audio_devices/native/juce_linux_ALSA.cpp:1057:66:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘shrinkToNoMoreThan’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:236:30,
inlined from ‘minimiseStorageAfterRemoval’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:1146:39,
inlined from ‘removeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:1140:36,
inlined from ‘remove’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:772:28,
inlined from ‘removeDuplicates’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:424:28,
inlined from ‘getDefaultFontDirectories’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_graphics/native/juce_linux_Fonts.cpp:78:31:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In function ‘getDefaultFontDirectories’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘ensureAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:228:30,
inlined from ‘addImpl’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:561:29,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:263:17,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:431:20,
inlined from ‘addLines.isra’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:378:25:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘addLines.isra’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘addLines.isra’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:378:26:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘addLines.isra’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘setAllocatedSizeInternal’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:442:37,
inlined from ‘setAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:217:42,
inlined from ‘ensureAllocatedSize’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:228:30,
inlined from ‘addImpl’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:561:29,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_ArrayBase.h:263:17,
inlined from ‘add’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/containers/juce_Array.h:431:20,
inlined from ‘addTokens.isra’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:345:25:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘addTokens.isra’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
In function ‘release’,
inlined from ‘release’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:169:17,
inlined from ‘__dt_base ’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:247:27,
inlined from ‘addTokens.isra’ at /tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_StringArray.cpp:345:26:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:164:52: warning: ‘operator delete []’ called on unallocated object ‘emptyString’ [-Wfree-nonheap-object]
164 | delete[] reinterpret_cast<char*> (b);
| ^
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp: In member function ‘addTokens.isra’:
/tmp/guix-build-odin2-synth-2.3.4.drv-0/source/libs/JUCELV2/modules/juce_core/text/juce_String.cpp:56:26: note: declared here
56 | static const EmptyString emptyString { 0x3fffffff, sizeof (String::CharPointerType::CharType), 0 };
| ^
ld: /tmp/guix-build-odin2-synth-2.3.4.drv-0/cclTLSW9.ltrans39.ltrans.o: in function `juce::StandalonePluginHolder::createPlugin()':
<artificial>:(.text+0x3bf2): undefined reference to `createPluginFilter()'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/Odin2_Standalone.dir/build.make:489: Odin2_artefacts/Release/Standalone/Odin2] Error 1
make[2]: Leaving directory '/tmp/guix-build-odin2-synth-2.3.4.drv-0/build'
make[1]: *** [CMakeFiles/Makefile2:276: CMakeFiles/Odin2_Standalone.dir/all] Error 2
make[1]: Leaving directory '/tmp/guix-build-odin2-synth-2.3.4.drv-0/build'
make: *** [Makefile:139: all] Error 2
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "8") exit-status: 2 term-signal: #f stop-signal: #f>
phase `build' failed after 300.4 seconds
command "make" "-j" "8" failed with status 2
Desktop (please complete the following information):
OS: GNU Guix
DAW not being used ATM
Trying to build Odin version 2.3.4
Plugin Format [VST3 / LV2]
Additional context
Here is the package definition I wrote,
Describe the bug
I am writing a
GNU Guix
package definition to build and installOdin2
synth plugin. I managed to compile it, but it fails during linking and throws a undefined reference tocreatePluginFilter()
. I would have debugged this myself but I am not a audio developer neither am I familiar with the library.To Reproduce
Steps to reproduce the behavior:
guix build odin2-synth
from the directory you have the file with definitionExpected behavior
Should build and link successfully.
Screenshots
No screenshots, but I have logs here,
Desktop (please complete the following information):
Additional context
Here is the package definition I wrote,
What am I missing here some dep or something?
The text was updated successfully, but these errors were encountered: