DISTRHO / PawPaw

Cross-Platform build scripts for audio plugins
ISC License
63 stars 8 forks source link

build fails in glib #6

Closed rghvdberg closed 3 years ago

rghvdberg commented 3 years ago

Ubuntu 20.04 target win32 When I manually rename glib-genmarshal.exe to glib-genmarshal the build resumes and compiles successfully.

Making all in gobject
make[2]: Entering directory '/home/rob/PawPawBuilds/builds/win32/glib-2.22.5/gobject'
i686-w64-mingw32-gcc -DHAVE_CONFIG_H -I. -I..  -DG_LOG_DOMAIN=\"GLib-GObject\" -I.. -I../glib -I.. -DG_DISABLE_CAST_CHECKS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS -DG_DISABLE_DEPRECATED -DGOBJECT_COMPILATION -DG_DISABLE_CONST_RETURNS -DG_DISABLE_SINGLE_INCLUDES   -O2 -pipe -I/home/rob/PawPawBuilds/targets/win32/include -mtune=generic -msse -msse2 -ffast-math -fPIC -DPIC -DNDEBUG -D_FORTIFY_SOURCE=2 -fdata-sections -ffunction-sections -fno-common -fstack-protector -fvisibility=hidden -mfpmath=sse -DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -mstackrealign -DHAVE_MIXED_SIZE_ADDRESSING  -mms-bitfields -Wall -MT glib-genmarshal.o -MD -MP -MF .deps/glib-genmarshal.Tpo -c -o glib-genmarshal.o glib-genmarshal.c
glib-genmarshal.c: In function 'main':
glib-genmarshal.c:691:6: warning: case value '10' not in enumerated type 'GTokenType' {aka 'enum <anonymous>'} [-Wswitch]
  691 |      case '\n':
      |      ^~~~
mv -f .deps/glib-genmarshal.Tpo .deps/glib-genmarshal.Po
/bin/bash ../libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc  -O2 -pipe -I/home/rob/PawPawBuilds/targets/win32/include -mtune=generic -msse -msse2 -ffast-math -fPIC -DPIC -DNDEBUG -D_FORTIFY_SOURCE=2 -fdata-sections -ffunction-sections -fno-common -fstack-protector -fvisibility=hidden -mfpmath=sse -DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -mstackrealign -DHAVE_MIXED_SIZE_ADDRESSING  -mms-bitfields -Wall  -L/home/rob/PawPawBuilds/targets/win32/lib -fdata-sections -ffunction-sections -fstack-protector -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined -Wl,--strip-all -static -lssp_nonshared -Wl,-Bstatic  -o glib-genmarshal.exe glib-genmarshal.o ../glib/libglib-2.0.la 
libtool: link: i686-w64-mingw32-gcc -O2 -pipe -I/home/rob/PawPawBuilds/targets/win32/include -mtune=generic -msse -msse2 -ffast-math -fPIC -DPIC -DNDEBUG -D_FORTIFY_SOURCE=2 -fdata-sections -ffunction-sections -fno-common -fstack-protector -fvisibility=hidden -mfpmath=sse -DFLUIDSYNTH_NOT_A_DLL -DPTW32_STATIC_LIB -mstackrealign -DHAVE_MIXED_SIZE_ADDRESSING -mms-bitfields -Wall -fdata-sections -ffunction-sections -fstack-protector -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined -Wl,--strip-all -Wl,-Bstatic -o glib-genmarshal.exe glib-genmarshal.o  -L/home/rob/PawPawBuilds/targets/win32/lib ../glib/.libs/libglib-2.0.a -lws2_32 -lole32 -lssp_nonshared
make glib-genmarshal.exe
make[3]: Entering directory '/home/rob/PawPawBuilds/builds/win32/glib-2.22.5/gobject'
make[3]: 'glib-genmarshal.exe' is up to date.
make[3]: Leaving directory '/home/rob/PawPawBuilds/builds/win32/glib-2.22.5/gobject'
echo "#ifndef __G_MARSHAL_H__" > xgen-gmh \
&& echo "#define __G_MARSHAL_H__" >> xgen-gmh \
&& ./glib-genmarshal --nostdinc --prefix=g_cclosure_marshal ./gmarshal.list --header >> xgen-gmh \
&& echo "#endif /* __G_MARSHAL_H__ */" >> xgen-gmh \
&& (cmp -s xgen-gmh gmarshal.h 2>/dev/null || cp xgen-gmh gmarshal.h) \
&& rm -f xgen-gmh xgen-gmh~ \
&& echo timestamp > stamp-gmarshal.h
/bin/bash: line 2: ./glib-genmarshal: No such file or directory
make[2]: *** [Makefile:1350: stamp-gmarshal.h] Error 127
make[2]: Leaving directory '/home/rob/PawPawBuilds/builds/win32/glib-2.22.5/gobject'
make[1]: *** [Makefile:660: all-recursive] Error 1
make[1]: Leaving directory '/home/rob/PawPawBuilds/builds/win32/glib-2.22.5'
make: *** [Makefile:439: all] Error 2