Bug#793546: metview: ftbfs due to missing flex build-dependency

2015-07-24 Thread Steve Langasek
Package: metview
Version: 4.5.6-1
Followup-For: Bug #793546
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Sorry, it seems that my previous patch was incomplete because my own build
chroot wasn't clean enough to let me notice that bison was also missing from
the build dependencies.

Updated patch attached, adding both flex and bison.
diff -Nru metview-4.5.6/debian/control metview-4.5.6/debian/control
--- metview-4.5.6/debian/control	2015-07-24 01:18:09.0 -0700
+++ metview-4.5.6/debian/control	2015-07-24 15:37:30.0 -0700
@@ -12,7 +12,7 @@
   libcairo2-dev, pkg-config, swig, libexpat1-dev,
   libterralib-dev, ksh, libproj-dev,
   libgd-dev, imagemagick, libnetcdf-dev, libopenjpeg-dev,
-  scm [!arm64 !ppc64], cmake
+  scm [!arm64 !ppc64], cmake, flex, bison
 Build-Conflicts: lesstif2-dev
 Standards-Version: 3.9.6
 Homepage: https://software.ecmwf.int/wiki/display/METV/Metview


Bug#793546: metview: ftbfs due to missing flex build-dependency

2015-07-24 Thread Steve Langasek
Package: metview
Version: 4.5.6-1
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch

Hi Alistair,

I've noticed in Ubuntu that the latest version of metview fails to build due
to an undeclared build-dependency on flex.  A look at the Debian archive
shows that the package is failing to build there for the same reason.

A trivial fix for this issue is attached.

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org
diff -Nru metview-4.5.6/debian/control metview-4.5.6/debian/control
--- metview-4.5.6/debian/control	2015-07-24 01:18:09.0 -0700
+++ metview-4.5.6/debian/control	2015-07-24 15:23:07.0 -0700
@@ -12,7 +12,7 @@
   libcairo2-dev, pkg-config, swig, libexpat1-dev,
   libterralib-dev, ksh, libproj-dev,
   libgd-dev, imagemagick, libnetcdf-dev, libopenjpeg-dev,
-  scm [!arm64 !ppc64], cmake
+  scm [!arm64 !ppc64], cmake, flex
 Build-Conflicts: lesstif2-dev
 Standards-Version: 3.9.6
 Homepage: https://software.ecmwf.int/wiki/display/METV/Metview


Bug#793546: metview: ftbfs due to missing flex build-dependency

2015-07-24 Thread Steve Langasek
On Fri, Jul 24, 2015 at 03:38:34PM -0700, Steve Langasek wrote:
 Package: metview
 Version: 4.5.6-1
 Followup-For: Bug #793546
 User: ubuntu-de...@lists.ubuntu.com
 Usertags: origin-ubuntu wily ubuntu-patch

 Sorry, it seems that my previous patch was incomplete because my own build
 chroot wasn't clean enough to let me notice that bison was also missing from
 the build dependencies.

 Updated patch attached, adding both flex and bison.

Well, and after all that the package still fails to build at the end, at
least on Ubuntu, because of an incompatibilty between the paths metview is
expecting for hdf5 and those actually shipped in the package.

make[3]: *** No rule to make target 
'/usr/lib/x86_64-linux-gnu/hdf5/serial/lib/libhdf5.so', needed by 
'bin/GeoTool'.  Stop.

So I'm not sure how the binary package that made it into the Debian archive
on amd64 was built; it doesn't appear to have been built against current
unstable.

-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
Ubuntu Developerhttp://www.debian.org/
slanga...@ubuntu.com vor...@debian.org


signature.asc
Description: Digital signature