Open yurivict opened 6 months ago
Hi @yurivict
Hopefully that is fixed now with the latest commit. Let me know please if it works now for BSD/clang.
The build of the last tag 3a814f5 fails:
===> Building for mamba-2.6
for
with cc
using gold
and xxd -i
gmake[1]: warning: -j1 forced in submake: resetting jobserver mode.
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
cat: /proc/cpuinfo: No such file or directory
Building object file build/MidiKeyBoard.o
c++: warning: optimization flag '-fstrength-reduce' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fschedule-insns' is not supported [-Wignored-optimization-argument]
In file included from MidiKeyBoard.cpp:22:
./MidiKeyBoard.h:55:10: fatal error: 'xwidgets.h' file not found
55 | #include "xwidgets.h"
| ^~~~~~~~~~~~
1 error generated.
gmake[1]: *** [Makefile:156: build/MidiKeyBoard.o] Error 1
After adding a few include paths, it fails to find the header:
In file included from MidiKeyBoard.cpp:22:
In file included from ./MidiKeyBoard.h:55:
In file included from /usr/ports/audio/mamba/work/Mamba-3a814f5/libxputty/xputty/header/xwidgets.h:40:
In file included from /usr/ports/audio/mamba/work/Mamba-3a814f5/libxputty/xputty/header/widgets/xbutton.h:26:
In file included from /usr/ports/audio/mamba/work/Mamba-3a814f5/libxputty/xputty/header/xputty.h:210:
/usr/ports/audio/mamba/work/Mamba-3a814f5/libxputty/xputty/header/xpngloader.h:109:10: fatal error: 'xresources.h' file not found
109 | #include "xresources.h"
| ^~~~~~~~~~~~~~
1 error generated.
xresources.h isn't in the source tree.
These include paths were missing:
CXXFLAGS+= -I${WRKSRC}/libxputty/xputty/header \
-I${WRKSRC}/libxputty/xputty/header/widgets
for
with cc using gold and xxd -i
That's the issue, it should read
for FreeBSD
to set the needed flags and include path. I've pushed a Fix for it now, please check if the last commit works now for you.
The revision 4b6bd9c fails:
===> Building for mamba-2.5
Makefile:2: libxputty/Build/Makefile.base: No such file or directory
gmake: *** No rule to make target 'libxputty/Build/Makefile.base'. Stop.
you must run
git submodule update --init --recursive
before make.
Build fails:
Version: 2.6 FreeBSD 14.0