Bug 275626 - audio/vst3sdk 3.7.7_build_19 : fails to compile in 13.2-STABLE
Summary: audio/vst3sdk 3.7.7_build_19 : fails to compile in 13.2-STABLE
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-08 09:13 UTC by Martin MATO
Modified: 2024-02-22 16:31 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (yuri)


Attachments
a patch for __cplusplus check in module_linux.cpp (418 bytes, patch)
2023-12-28 18:08 UTC, Mamoru IWAKI
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin MATO 2023-12-08 09:13:59 UTC
Greetings 
As the title said: 
audio/vst3sdk 3.7.7_build_19 : fails to compile in 13.2-STABLE

The error *seems* similar to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275257 : 

the same "fatal error: 'experimental/filesystem' file not found" but not at the same level.


[ 45% 225/491] /usr/bin/c++  -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19 -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/cairo -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/libepoll-shim -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/local/include/pixman-1 -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/public.sdk/.. -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/base/.. -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/pluginterfaces/.. -O2 -pipe -DQT_BUILD_INTERNAL -march=native -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wno-multichar -O2 -pipe -DQT_BUILD_INTERNAL -march=native -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -fPIE -DSMTG_RENAME_ASSERT=1 -fcolor-diagnostics -Wsuggest-override -DRELEASE=1 -MD -MT public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o -MF public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o.d -o public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o -c /usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/public.sdk/source/vst/hosting/module_linux.cpp
FAILED: public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o
/usr/bin/c++  -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19 -I/usr/local/include/gtkmm-3.0 -I/usr/local/lib/gtkmm-3.0/include -I/usr/local/include/atkmm-1.6 -I/usr/local/include/glibmm-2.4 -I/usr/local/lib/glibmm-2.4/include -I/usr/local/include/sigc++-2.0 -I/usr/local/lib/sigc++-2.0/include -I/usr/local/include/gtk-3.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/gtk-3.0/unix-print -I/usr/local/include/cairo -I/usr/local/include/gdkmm-3.0 -I/usr/local/lib/gdkmm-3.0/include -I/usr/local/include/giomm-2.4 -I/usr/local/lib/giomm-2.4/include -I/usr/local/include/pangomm-1.4 -I/usr/local/lib/pangomm-1.4/include -I/usr/local/include/cairomm-1.0 -I/usr/local/lib/cairomm-1.0/include -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/gio-unix-2.0 -I/usr/local/include/libepoll-shim -I/usr/local/include/at-spi2-atk/2.0 -I/usr/local/include/at-spi-2.0 -I/usr/local/include/fribidi -I/usr/local/include/libpng16 -I/usr/local/include/pixman-1 -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/public.sdk/.. -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/base/.. -I/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/pluginterfaces/.. -O2 -pipe -DQT_BUILD_INTERNAL -march=native -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -Wno-multichar -O2 -pipe -DQT_BUILD_INTERNAL -march=native -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -fPIE -DSMTG_RENAME_ASSERT=1 -fcolor-diagnostics -Wsuggest-override -DRELEASE=1 -MD -MT public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o -MF public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o.d -o public.sdk/samples/vst-hosting/editorhost/CMakeFiles/editorhost.dir/__/__/__/source/vst/hosting/module_linux.cpp.o -c /usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/public.sdk/source/vst/hosting/module_linux.cpp
/usr/ports/audio/vst3sdk/work/vst3sdk-3.7.7_build_19/public.sdk/source/vst/hosting/module_linux.cpp:57:10: fatal error: 'experimental/filesystem' file not found
#include <experimental/filesystem>
         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/vst3sdk


I tried, just in case,  the patch in Bug #275257  to no avail.

for information:
uname -a :  FreeBSD 13.2-STABLE stable/13-n256698-35372e305863 TEST amd64


Thanks.
Comment 1 Muchislover 2023-12-09 15:25:13 UTC
The error message "fatal error: 'experimental/filesystem' file not found" indicates that the 'experimental/filesystem' header file cannot be found by the compiler. This is likely due to the fact that the experimental/filesystem library is not installed on your system.

https://basketballrandom.com
Comment 2 Martin MATO 2023-12-11 12:32:55 UTC
Thank you for your response.
This is strange, the system was pretty much installed with the defaults and all the dependencies for the port are installed.
Anyway the installation via the package repository do the job.

Have you somz links to help me understanding how to have this header installed in the compiler, or how to verify it, please?

I tested two others separated systems, same version of freeBSD and getting the same error. Obviously i missing something or don't understand what i done wrong.

sorry for the noise anyway.
Comment 3 Mamoru IWAKI 2023-12-28 18:08:19 UTC
Created attachment 247322 [details]
a patch for __cplusplus check in module_linux.cpp

__cplusplus is 201703, not 201707, in FreeBSD 13.2-STABLE.
I think 201703 is enough for omitting experimental.
Comment 4 Martin MATO 2024-01-04 08:39:25 UTC
(In reply to Mamoru IWAKI from comment #3)
I'm sorry for the late response: i probably missed the notification mail.

Your patch worked as expected, Thanks.

Martin.
Comment 5 Yuri Victorovich freebsd_committer freebsd_triage 2024-02-19 16:53:33 UTC
There is no fallout on 13.2, which means that audio/vst3sdk builds there.
Mamoru IWAKI confirmed the same via e-mail.

Closing.
Comment 6 Yuri Victorovich freebsd_committer freebsd_triage 2024-02-20 17:11:47 UTC
It was closed by mistake.
Comment 7 Mamoru IWAKI 2024-02-22 16:31:25 UTC
(In reply to Yuri Victorovich from comment #6)

Hi Yuri,

I found your commit 72fc3435551494eac1156dc422cf477ed3a656ea, 
and I found it also made this port unbroken on STABLE-13.

So, I think this PR can be closed now. 

Best