-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buzztrax fails build due to Segmentation fault #113
Comments
What appears to cause the build fail is: Program received signal SIGSEGV, Segmentation fault. Adding the built libraries to $LD_LIBRARY_PATH and running gdb gives: |
gtk-doc tries to instantiate code to introspect them. Since I have not touch neither project, I'Ve tried to rebuild, but get trapped by -Werror and deprecated gtk+ api that has no replacement :/ |
I use many "-Wno-error=" flags to build buzztrax, they increase in number with every gcc update. |
and it build here. I'll take a closer look on the weekend to see if I can do some more cleanups. |
it doesn't build for Tumbleweed with gcc-7, gcc-11 and gcc-12 so the problem lays with some other library that changed abi or something |
Hello all, I can see that the stack trace shows an exception somewhere in
fluid synth; I wonder if this is due to my recent changes to the code in
that area, perhaps in combination with some difference in configuration on
Daves machine. Maybe an extra midi device present, or something.
ในวันที่ ส. 29 ต.ค. 2022 00:44 น. Dave Plater ***@***.***>
เขียนว่า:
… it doesn't build for Tumbleweed with gcc-7, gcc-11 and gcc-12 so the
problem lays with some other library that changed abi or something
—
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG5TKBUBTATO6LU6BDHPGDWFPKFVANCNFSM6AAAAAARMGZEHM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It has to be due to some updated dependency, it builds ok for the conservative Leap:15.4 |
I am actually on Tumbleweed, use gcc-12 and everything builds:
Here is the full autogen output: https://gist.github.com/ensonic/ab5d4d75ab3d9f990c779b9a477d3ebf |
@ensonic when did you last update your Tumbleweed? I've tried on two systems, one up to date the other unfortunately didn't have most of the dependencies installed so most of them are the latest also. and I have this: Which revision are you building, I'm building "c206774ce4510793d03860c2c2ffbcc7e264254a" |
|
I've tried but no success in getting past the "(buzztrax-gst-scan:7496): GLib-GObject-CRITICAL **: 11:21:30.310: g_param_spec_internal: assertion 'g_param_spec_is_valid_name (name)' failed |
David, thanks for your help. As sad as it is, this is probably the way of time then. There has never been enough interest from developers side to keep up with the moving parts of the dependencies :/ |
It will still be in multimedia:apps, Leap:15.4 still builds |
Builds for the next Leap:15.5 as well |
https://build.opensuse.org/request/show/1069646 by user plater + dimstar_suse See Buzztrax/buzztrax#113 (comment) The package can no longer build for Tumbleweed
Hi, I'm stumped as to what is failing here:
gtkdoc-scan
--module=buzztrax-gst --ignore-headers="gstdirectcontrolbinding.h gstbmlorc.h gstbmlorc-dist.h ../../../src/gst/sidsyn/envelope.h extfilt.h filter.h pot.h siddefs.h sidemu.h spline.h voice.h wave.h " ${_source_dir} --rebuild-typesif grep -l '^..$' buzztrax-gst.types > /dev/null 2>&1 ; then
scanobj_options="";
gtkdoc-scangobj 2>&1 --help | grep >/dev/null "--verbose";
if test "$?" = "0"; then
if test "x" = "x1"; then
scanobj_options="--verbose";
fi;
fi;
CC="/usr/bin/bash ../../../libtool --tag=CC --mode=compile gcc -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -Wno-error=deprecated-declarations -Wno-error=format-truncation= -Wno-error=format-overflow= -Wno-error=incompatible-pointer-types -Wno-error=restrict" LD="/usr/bin/bash ../../../libtool --tag=CC --mode=link gcc -lgobject-2.0 -lglib-2.0 -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -Wno-error=deprecated-declarations -Wno-error=format-truncation= -Wno-error=format-overflow= -Wno-error=incompatible-pointer-types -Wno-error=restrict -flto=auto" RUN="/usr/bin/bash ../../../libtool --mode=execute" CFLAGS="-I../../../src/lib -I../../.. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libxml2 -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -pthread -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -mmmx -msse -O0 -Wall -Werror -g -DGLIB_DISABLE_DEPRECATION_WARNINGS -DGDK_DISABLE_DEPRECATION_WARNINGS -DCLUTTER_DISABLE_DEPRECATION_WARNINGS -O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -Wno-error=deprecated-declarations -Wno-error=format-truncation= -Wno-error=format-overflow= -Wno-error=incompatible-pointer-types -Wno-error=restrict" LDFLAGS="../../../libbuzztrax-gst.la ../../../libbuzztraxaudio.la ../../../libbuzztraxdec.la ../../../libgstbml.la ../../../libgstfluidsynth.la ../../../libgstsidsyn.la -lgthread-2.0 -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -lgio-2.0 -lxml2 -lgstcontroller-1.0 -lgstaudio-1.0 -lgstbase-1.0 -lgstfft-1.0 -lgstreamer-1.0 -lgobject-2.0 -lglib-2.0 -lasound -lgudev-1.0 -lgobject-2.0 -lglib-2.0 -lgsf-1 -lgobject-2.0 -lglib-2.0 -lxml2 -flto=auto"
gtkdoc-scangobj --type-init-func="extern void gst_init(gint ,gchar*);gst_init(&argc,&argv)" $scanobj_options --module=buzztrax-gst;
else
for i in buzztrax-gst.actions buzztrax-gst.args buzztrax-gst.hierarchy buzztrax-gst.interfaces buzztrax-gst.prerequisites buzztrax-gst.signals ; do
test -f $i || touch $i ;
done
fi
grep: warning: stray \ before -
../../../libtool: line 4732: warning: setlocale: LC_COLLATE: cannot change locale (en_ZA.UTF-8): No such file or directory
(buzztrax-gst-scan:3800): GLib-GObject-CRITICAL **: 09:18:51.764: g_param_spec_internal: assertion 'g_param_spec_is_valid_name (name)' failed
2022-10-23 09:18:51,765:scangobj.py:execute_command:1289:WARNING:Running scanner failed: -11, command: /usr/bin/bash ../../../libtool --mode=execute ./buzztrax-gst-scan
make[3]: *** [Makefile:1180: scan-build.stamp] Error 245
make[3]: Leaving directory '/home/abuild/rpmbuild/BUILD/buzztrax-1f57d1b6ff55dd3d574f92039bb06a768d613d67/docs/reference/bt-gst'
make[2]: *** [Makefile:9580: docs-bt-gst] Error 2
make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/buzztrax-1f57d1b6ff55dd3d574f92039bb06a768d613d67'
make[1]: *** [Makefile:7775: all-recursive] Error 1
make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/buzztrax-1f57d1b6ff55dd3d574f92039bb06a768d613d67'
make: *** [Makefile:3262: all] Error
2
The text was updated successfully, but these errors were encountered: