Source: autogen
Version: 1:5.18.3-5
Severity: minor

Dear Maintainer,
I tired to build autogen 1:5.18.3-5 from jessie sources on a wheezy machine
and it failed due to empty GUILE_VERSION.

Autogen's configure script detects Guile to be in version "2.0.5-deb+1-3"
(that's what Guile reports although Debian package version is simply 2.0.5+1-3)
and after splitting that on dots it tires to set:

  GUILE_VERSION=`expr ${1} \* 100000 + ${2} \* 1000 + ${i}`

However i=5-deb+1-3, so expr complains about non-integer argument and
GUILE_VERSION is set to empty string.

The configure script could be more robust in parsing version numbers.
When I added  i=`echo $i | sed 's/^[0-9]*$//'` before the line mentioned
above, dpkg-buildpackage completed without any further problems.


-- System Information:
Debian Release: 7.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to