Issue #1:
CXX color-profile.o ../../src/main.cpp: In function ‘int sp_main_gui(int, const char**)’: ../../src/main.cpp:1071:39: error: expected unqualified-id before ‘&’ token catch (const Gtk::CssProviderError& ex) ^ ../../src/main.cpp:1071:39: error: expected ‘)’ before ‘&’ token ../../src/main.cpp:1071:39: error: expected ‘{’ before ‘&’ token ../../src/main.cpp:1071:41: error: ‘ex’ was not declared in this scope catch (const Gtk::CssProviderError& ex) ^ ../../src/main.cpp:1071:43: error: expected ‘;’ before ‘)’ token catch (const Gtk::CssProviderError& ex) ^ ../../src/main.cpp:1083:39: error: expected unqualified-id before ‘&’ token catch (const Gtk::CssProviderError& ex) ^ ../../src/main.cpp:1083:39: error: expected ‘)’ before ‘&’ token ../../src/main.cpp:1083:39: error: expected ‘{’ before ‘&’ token ../../src/main.cpp:1083:43: error: expected ‘;’ before ‘)’ token catch (const Gtk::CssProviderError& ex) ^ make[5]: *** [main.o] Error 1
I suspect that this was introduced prior to rev 14882, but haven't investigated it.
Issue #2:
The version specification in the cmake scripts depends on bzr which shouldn't be used in the nightly builds:
VER_PREFIX="0.91+devel";\ VER_BZRREV=" r`bzr revno --tree ../..`"; \ if test ! -z "`bzr status -S -V ../../src`"; then \ VER_CUSTOM=" custom"; \ fi; \ VERSION="$VER_PREFIX$VER_BZRREV$VER_CUSTOM"; \ echo "namespace Inkscape { " \ "char const *version_string = "$VERSION"; " \ "}" > inkscape-version.new.cpp; \ if cmp -s inkscape-version.new.cpp inkscape-version.cpp; then \ rm inkscape-version.new.cpp; \ else \ mv inkscape-version.new.cpp inkscape-version.cpp; \ fi; \ echo $VERSION /bin/bash: line 1: bzr: command not found /bin/bash: line 2: bzr: command not found CXX main.o
I think the solution here is to just shortcircuit all this if we're doing a launchpad build. So this needs an option added to cmake to set the version number. After that, I can adjust the recipe in launchpad to use it.
Bryce
----- Forwarded message from Launchpad Buildd System <noreply@...1881...> -----
Date: Tue, 10 May 2016 11:43:28 -0000 From: Launchpad Buildd System <noreply@...1881...> To: Bryce Harrington <bryce@...961...> Subject: [Build #9718826] i386 build of inkscape-trunk 1:0.91.0+devel+14882+65~ubuntu14.04.1 in ubuntu trusty RELEASE [~inkscape.dev/ubuntu/trunk] Reply-To: Launchpad Buildd System <noreply@...1881...>
* Source Package: inkscape-trunk * Version: 1:0.91.0+devel+14882+65~ubuntu14.04.1 * Architecture: i386 * Archive: ~inkscape.dev/ubuntu/trunk * Component: main * State: Failed to build * Duration: 17 minutes * Build Log: https://launchpad.net/~inkscape.dev/+archive/ubuntu/trunk/+build/9718826/+fi... * Builder: https://launchpad.net/builders/lgw01-38 * Source: not available
If you want further information about this situation, feel free to contact a member of the Launchpad Buildd Administrators team.