buzztrax icon indicating copy to clipboard operation
buzztrax copied to clipboard

Build docs

Open awissu opened this issue 10 years ago • 5 comments

Hi! I get build errors when trying to compile docs:

[ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:55: undefined reference to bmln_src_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:56: undefined reference tobmln_transform_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:57: undefined reference to bmln_v_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:58: undefined reference tobmlw_src_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:59: undefined reference to bmlw_transform_get_type' [ 479s] /home/abuild/rpmbuild/BUILD/buzztrax-RELEASE-0.11.0git.20151207/docs/reference/bt-gst/buzztrax-gst-scan.c:60: undefined reference tobmlw_v_get_type'

See: https://pmbs.links2linux.de/build/home:awissu:branches:Extra/openSUSE_13.2/x86_64/buzztrax/_log

awissu avatar Dec 21 '15 10:12 awissu

Unrelated but interesting, you are building from git, but:

[  160s] /bin/sh: line 3: git: command not found

The linker issue is weird though. I can see from the log that the build step links against ../../../libgstbml.la which in turn contains e.g.: libgstbmln.la libbml.la.

For me this part of the build looks like this:

libtool: compile:  gcc -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -I../../../src/lib -I../../.. -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gstreamer-1.0 -I/usr/lib/x86_64-linux-gnu/gstreamer-1.0/include -I/usr/include/alsa -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libxml2 -D__SSE__ -D__MMX__ -O0 -Wall -Werror -g -DG_DISABLE_DEPRECATED -DPANGO_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGST_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -g -O2 -c buzztrax-gst-scan.c  -fPIC -DPIC -o .libs/buzztrax-gst-scan.o

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libbuzztraxaudio.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libbuzztraxdec.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libgstbml.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libgstfluidsynth.so is not portable!

*** Warning: Linking the executable buzztrax-gst-scan against the loadable module
*** libgstsidsyn.so is not portable!
libtool: link: gcc -g -O2 .libs/buzztrax-gst-scan.o -pthread -Wl,--export-dynamic -o .libs/buzztrax-gst-scan  ../../../.libs/libbuzztrax-gst.so ../../../.libs/libbuzztraxaudio.so ../../../.libs/libbuzztraxdec.so ../../../.libs/libgstbml.so ../../../.libs/libgstfluidsynth.so ../../../.libs/libgstsidsyn.so -lgthread-2.0 -lgmodule-2.0 -lgio-2.0 /usr/lib/x86_64-linux-gnu/libgstcontroller-1.0.so /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so /usr/lib/x86_64-linux-gnu/libgstbase-1.0.so /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so -lm /usr/lib/x86_64-linux-gnu/libgstreamer-1.0.so -lasound -lgudev-1.0 -lgsf-1 -lgobject-2.0 -lxml2 -lglib-2.0 -pthread -Wl,-rpath -Wl,/home/ensonic/buzztrax/lib -Wl,-rpath -Wl,/home/ensonic/buzztrax/lib/gstreamer-1.0
touch scan-build.stamp

I'll try building this on some other linuxes as well.

ensonic avatar Dec 21 '15 21:12 ensonic

I did some build on suse 13.2 with various configure flags and I can't reproduce this :/ I also created a build.opensuse.org and if you can share what it takes to build the project there (= replicate your setup) I try that.

ensonic avatar Dec 22 '15 12:12 ensonic

Here the spec file of project: https://pmbs.links2linux.de/package/show/home:awissu:branches:Extra/buzztrax

awissu avatar Dec 22 '15 16:12 awissu

FYI.: I have a home project with builds online at https://build.opensuse.org/package/show/home:ensonic/buzztrax I'll need to learn more about osc to see if I can easilly do variants of the package with options enabled/disabled.

ensonic avatar Jan 02 '16 18:01 ensonic

See: https://build.opensuse.org/package/rdiff/home:awissu:branches:home:ensonic/buzztrax?opackage=buzztrax&oproject=home%3Aensonic&rev=2 And log: https://build.opensuse.org/package/live_build_log/home:awissu:branches:home:ensonic/buzztrax/openSUSE_13.2/x86_64

awissu avatar Jan 02 '16 19:01 awissu