2.1.1 build error on Ubuntu

See: https://launchpadlibrarian.net/212010134/buildlog_ubuntu-trusty-amd64.audacity_2.1.1~0trusty1-1_BUILDING.txt.gz

Trying to compile the new 2.1.1 release in Ubuntu but failed at dpkg-buildpackage.


configure_flags :=
–disable-dynamic-loading
–with-expat=system
–with-ffmpeg=system
–with-lame=system
–with-libflac=system
–with-libid3tag=system
–with-libmad=system
–without-libresample
–without-libsamplerate
–with-libsndfile=system
–with-libsoxr=system
–with-libtwolame=system
–with-libvamp=system
–with-libvorbis=system
–with-midi=system
–with-portaudio=system
–with-sbsms=system
–with-soundtouch=system
$(NULL)

here are the build logs:

https://launchpadlibrarian.net/212014282/buildlog_ubuntu-vivid-i386.audacity_2.1.1~0vivid2-1_BUILDING.txt.gz

below is built with system’s lv2:

https://launchpadlibrarian.net/212010134/buildlog_ubuntu-trusty-amd64.audacity_2.1.1~0trusty1-1_BUILDING.txt.gz

Any suggestion?

I’m not familiar with how you are building, but I noticed:

compilation terminated.
configure:5242: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "audacity"
| #define PACKAGE_TARNAME "audacity"
| #define PACKAGE_VERSION "2.0.6"
| #define PACKAGE_STRING "audacity 2.0.6"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL ""
| #define PACKAGE "audacity"
| #define VERSION "2.0.6"

Please take a look at the 15.04 build, PKGBUILD failed at lib-src/lv2,

/«PKGBUILDDIR»/lib-src/lv2/obj /«PKGBUILDDIR»/lib-src/lv2
x - collections.c.2.o
x - instance.c.2.o
x - lib.c.2.o
x - node.c.2.o
x - plugin.c.2.o
x - pluginclass.c.2.o
x - port.c.2.o
x - query.c.2.o
x - scalepoint.c.2.o
x - state.c.2.o
x - ui.c.2.o
x - util.c.2.o
x - world.c.2.o
x - tree.c.2.o
a - collections.c.2.o
a - instance.c.2.o
a - lib.c.2.o
a - node.c.2.o
a - plugin.c.2.o
a - pluginclass.c.2.o
a - port.c.2.o
a - query.c.2.o
a - scalepoint.c.2.o
a - state.c.2.o
a - tree.c.2.o
a - ui.c.2.o
a - util.c.2.o
a - world.c.2.o
/«PKGBUILDDIR»/lib-src/lv2
Waf: Entering directory /«PKGBUILDDIR»/lib-src/lv2/suil/build' [1/6] subst: suil.pc.in -> build/suil-0.pc [2/6] c: src/host.c -> build/src/host.c.2.o [3/6] c: src/instance.c -> build/src/instance.c.2.o [4/6] c: src/x11_in_gtk2.c -> build/src/x11_in_gtk2.c.3.o In file included from ../src/instance.c:22:0: /«PKGBUILDDIR»/lib-src/lv2/suil/build/./suil_config.h:12:0: warning: "SUIL_MODULE_DIR" redefined #define SUIL_MODULE_DIR "/«PKGBUILDDIR»/lib-src/lv2/suil/build" ^ <command-line>:0:0: note: this is the location of the previous definition [5/6] cstlib: build/src/host.c.2.o build/src/instance.c.2.o -> build/libsuil-0.a In file included from /usr/include/gtk-2.0/gtk/gtk.h:234:0, from ../src/x11_in_gtk2.c:19: /usr/include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] typedef void (*GtkItemFactoryCallback) (); ^ [6/6] cshlib: build/src/x11_in_gtk2.c.3.o -> build/libsuil_x11_in_gtk2.so src/x11_in_gtk2.c.3.o: In function forward_key_event’:
/«PKGBUILDDIR»/lib-src/lv2/suil/build/…/src/x11_in_gtk2.c:159: undefined reference to XSendEvent' src/x11_in_gtk2.c.3.o: In function x_window_is_valid’:
/«PKGBUILDDIR»/lib-src/lv2/suil/build/…/src/x11_in_gtk2.c:71: undefined reference to XQueryTree' src/x11_in_gtk2.c.3.o: In function forward_size_request’:
/«PKGBUILDDIR»/lib-src/lv2/suil/build/…/src/x11_in_gtk2.c:172: undefined reference to XResizeWindow' collect2: error: ld returned 1 exit status Waf: Leaving directory /«PKGBUILDDIR»/lib-src/lv2/suil/build’
Build failed
→ task in ‘suil_x11_in_gtk2’ failed (exit status 1):
{task 139895101889680: cshlib x11_in_gtk2.c.3.o → libsuil_x11_in_gtk2.so}
[‘/usr/bin/gcc’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/lilv/build’, ‘-llilv-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/sratom/build’, ‘-lsratom-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/sord/build’, ‘-lsord-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/serd/build’, ‘-lserd-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/lv2/build’, ‘-Wl,-Bsymbolic-functions’, ‘-Wl,-z,relro’, ‘-Wl,-z,defs’, ‘-Wl,–as-needed’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/lilv/build’, ‘-llilv-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/sratom/build’, ‘-lsratom-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/sord/build’, ‘-lsord-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/serd/build’, ‘-lserd-0’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/lv2/build’, ‘-Wl,-Bsymbolic-functions’, ‘-Wl,-z,relro’, ‘-Wl,-z,defs’, ‘-Wl,–as-needed’, ‘-Wl,-z,nodelete’, ‘-shared’, ‘-pthread’, ‘-pthread’, ‘src/x11_in_gtk2.c.3.o’, ‘-o’, ‘/«PKGBUILDDIR»/lib-src/lv2/suil/build/libsuil_x11_in_gtk2.so’, ‘-Wl,-Bstatic’, ‘-Wl,-Bdynamic’, ‘-L/«PKGBUILDDIR»/lib-src/lv2/lv2/lib’, ‘-lgtk-x11-2.0’, ‘-lgdk-x11-2.0’, ‘-lpangocairo-1.0’, ‘-latk-1.0’, ‘-lcairo’, ‘-lgdk_pixbuf-2.0’, ‘-lgio-2.0’, ‘-lpangoft2-1.0’, ‘-lpango-1.0’, ‘-lgobject-2.0’, ‘-lglib-2.0’, ‘-lfontconfig’, ‘-lfreetype’, ‘-lgtk-x11-2.0’, ‘-lgdk-x11-2.0’, ‘-lpangocairo-1.0’, ‘-latk-1.0’, ‘-lcairo’, ‘-lgdk_pixbuf-2.0’, ‘-lgio-2.0’, ‘-lpangoft2-1.0’, ‘-lpango-1.0’, ‘-lgobject-2.0’, ‘-lglib-2.0’, ‘-lfontconfig’, ‘-lfreetype’, ‘-ldl’, ‘-lm’]
Makefile:4: recipe for target ‘all’ failed
make[3]: *** [all] Error 1

Here’s the log file:


https://launchpadlibrarian.net/212014296/buildlog_ubuntu-vivid-amd64.audacity_2.1.1~0vivid2-1_BUILDING.txt.gz

You may have to wait until audacity-devel comes back on line and ask there.

Does the 2.1.1 source build if you just build it normally without PKGBUILD?

Can you post your PKGBUILD script?


Gale

Finally built the source successfully with updated version of libsuil-dev (>=0.8.0)

That’s strange, I’ve just built Audacit 2.1.2 alpha, successfully and without errors and I don’t have any version of libsuil-dev installed.
I’m on Debian Stable 32-bit.