The port audio/lmms fails to build for me using poudriere on Stable-13 amd64. The error displayed is unknown type name 'CARLA_EXPORT'. The build log showing the error follows; In file included from /wrkdirs/usr/ports/audio/lmms/work/.build/plugins/carlabase/moc_carla.cpp:10: /wrkdirs/usr/ports/audio/lmms/work/.build/plugins/carlabase/../../../lmms-1.2.2/plugins/carlabase/carla.h:37:5: error: unknown type name 'CARLA_EXPORT' CARLA_EXPORT ^ /wrkdirs/usr/ports/audio/lmms/work/.build/plugins/carlabase/../../../lmms-1.2.2/plugins/carlabase/carla.h:38:33: error: expected ';' after top level declarator const NativePluginDescriptor* carla_get_native_patchbay_plugin(); ^ ; /wrkdirs/usr/ports/audio/lmms/work/.build/plugins/carlabase/../../../lmms-1.2.2/plugins/carlabase/carla.h:40:5: error: unknown type name 'CARLA_EXPORT' CARLA_EXPORT ^ /wrkdirs/usr/ports/audio/lmms/work/.build/plugins/carlabase/../../../lmms-1.2.2/plugins/carlabase/carla.h:41:33: error: expected ';' after top level declarator const NativePluginDescriptor* carla_get_native_rack_plugin(); ^
Issue reproduced in my poudriere environment
Created attachment 233431 [details] lmms patch @robert: This patch fixes the build issue, can you test it and see if lmms works as expected ?
Yes I can confirm that the patch you provided builds the port successfully now. Thanks for the patch.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=61d2a0a94c75e53c5e30141dce3a46d148df9ba4 commit 61d2a0a94c75e53c5e30141dce3a46d148df9ba4 Author: Rodrigo Osorio <rodrigo@FreeBSD.org> AuthorDate: 2022-04-24 10:09:04 +0000 Commit: Rodrigo Osorio <rodrigo@FreeBSD.org> CommitDate: 2022-04-24 19:45:44 +0000 audio/lmms: patch lmms after libcarla upgrade LibCarla 2.4.3 replace CARLA_EXPORT macro with separate API / PLUGIN export options. This breaks lmms build. Add a patch to lmms carla plugin to fix the build. PR: 263502 Reported by: Robert Cina <transitive@gmail.com> audio/lmms/Makefile | 2 +- audio/lmms/files/patch-plugins_carlabase_carla.h (new) | 15 +++++++++++++++ 2 files changed, 16 insertions(+), 1 deletion(-)
Patch committed, thanks