Package: ganeti
Version: 2.9.2-1
Severity: serious

Hi there,

ganeti fails to build with the latest sphinx upload (1.2+dfsg-1):

> configure: Running ganeti-masterd as gnt-masterd:gnt-masterd
> configure: Running ganeti-rapi as gnt-rapi:gnt-rapi
> configure: Running ganeti-confd as gnt-confd:gnt-confd
> configure: Running ganeti-luxid as gnt-luxid:gnt-luxid
> configure: Group for daemons is gnt-daemons
> configure: Group for clients is gnt-admin
> checking whether ln -s works... yes
> checking for ip... /sbin/ip
> checking for pandoc... no
> configure: WARNING: pandoc not found, man pages rebuild will not be possible
> checking for sphinx-build... /usr/bin/sphinx-build
> configure: error: Sphinx 1.0 or higher is required
> make[1]: *** [override_dh_auto_configure] Error 1
> make[1]: Leaving directory `/«PKGBUILDDIR»'
> make: *** [build] Error 2
> dpkg-buildpackage: error: debian/rules build gave error exit status 2

(Full buildlog attached)

Ubuntu has applied a patch to fix the build (also attached).

Thanks for your time!

-- 
Andreas Moog, Berliner Str. 29, 36205 Sontra/Germany
PGP-encrypted mails preferred (Key-ID: 74DE6624)
PGP Fingerprint: 74CD D9FE 5BCB FE0D 13EE 8EEA 61F3 4426 74DE 6624

Attachment: ganeti_2.9.2-1_amd64.build.gz
Description: application/gzip

Description: Fix regular expression to correctly detect sphinx 1.2b3
Author: Andreas Moog <am...@ubuntu.com>
Bug: http://code.google.com/p/ganeti/issues/detail?id=502

--- ganeti-2.9.1.orig/configure
+++ ganeti-2.9.1/configure
@@ -3075,7 +3075,7 @@ else
 
   # Note: Character classes ([...]) need to be double quoted due to autoconf
   # using m4
-  elif ! echo "$sphinxver" | grep -q -E '^Sphinx[[:space:]]+v[1-9]\>'; then
+  elif ! echo "$sphinxver" | grep -q -E '^Sphinx[[:space:]].*+[1-9]\>'; then
     as_fn_error $? "Sphinx 1.0 or higher is required" "$LINENO" 5
   fi
 fi
--- ganeti-2.9.1.orig/configure.ac
+++ ganeti-2.9.1/configure.ac
@@ -355,7 +355,7 @@ else
 
   # Note: Character classes ([...]) need to be double quoted due to autoconf
   # using m4
-  elif ! echo "$sphinxver" | grep -q -E '^Sphinx[[[:space:]]]+v[[1-9]]\>'; then
+  elif ! echo "$sphinxver" | grep -q -E '^Sphinx[[[:space:]]].*+[[1-9]]\>'; then
     AC_MSG_ERROR([Sphinx 1.0 or higher is required])
   fi
 fi

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to