[Debian-astro-maintainers] Bug#809592: plplot: FTBFS: x00a.adb:30:05: file "plplot_auxiliary.ads" not found -> Removing ADA and D support?

Axel Beckert abe at debian.org
Mon Feb 15 16:11:48 UTC 2016


Control: tag -1 + patch

Hi,

Axel Beckert wrote:
> > examples/ada/CMakeFiles/x00a.dir/build.make:62: recipe for target 'examples/ada/CMakeFiles/x00a.dir/x00a.o' failed
> > make[3]: *** [examples/ada/CMakeFiles/x00a.dir/x00a.o] Error 1
> > make[3]: Leaving directory '/plplot-5.10.0+dfsg2/debian/build_tmp'
[…]
> Simply copying bindings/ada/*.ads during the configure stage of
> debian/rules to either debian/build_tmp/bindings/ada/,
> debian/build_tmp/examples/ada/CMakeFiles/x00a.dir/ or
> debian/build_tmp/examples/ada/ doesn't solve the problem, though.

What made plplot building again was to disable both, ADA and D support
with the attached patch.

But I'm not sure if that's what we want and I'm especially not sure of
the implications for other packages (which might depend on plplot's
ADA or D support).

I can do an upload to e.g. DELAYED/5 or so, if wanted.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5
  `-    |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
-------------- next part --------------
diff --git a/debian/changelog b/debian/changelog
index 6aeec98..715d7f2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+plplot (5.10.0+dfsg2-0.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Disable ADA and D support which currently FTBFS. (Closes: #809592)
+
+ -- Axel Beckert <abe at debian.org>  Mon, 15 Feb 2016 17:06:14 +0100
+
 plplot (5.10.0+dfsg2-0.1) unstable; urgency=low
 
   [ Axel Beckert ]
diff --git a/debian/control b/debian/control
index 4d8f3e5..c36cf35 100644
--- a/debian/control
+++ b/debian/control
@@ -11,11 +11,12 @@ Build-Depends: cmake (>= 2.6.3), debhelper (>= 9),
  slice, python-gtk2-dev, libwxgtk3.0-dev, 
  python-all-dev (>= 2.6.6-3~),
  python-numpy (>= 1:1.4.1-4~), default-jdk,
- fastjar, swig, gnat [!sh4], libqt4-dev, python-sip-dev, 
+ fastjar, swig, libqt4-dev, python-sip-dev,
  python-qt4, python-qt4-dev, 
  ocaml-nox, camlidl, ocaml-findlib, libcairo-ocaml-dev,
- liblablgtk2-ocaml-dev, liblua5.1-0-dev, lua5.1, gdc, libshp-dev,
+ liblablgtk2-ocaml-dev, liblua5.1-0-dev, lua5.1, libshp-dev,
  xvfb, xauth, dh-python
+# , gnat [!sh4], gdc
 Build-Depends-Indep: xmlto, fop, docbook-xml, docbook-xsl, docbook2x, 
  dblatex, texlive-xetex, ghostscript, lmodern, fonts-freefont-ttf
 Build-Conflicts: libplplot5, liboctave-dev, tcl8.6, tk8.6
@@ -350,47 +351,47 @@ Description: Scientific plotting library (python qt GUI)
 # almost drop-in replacement for the traditional Gnuplot graphical
 # interface in Octave. Examples are also provided.
 
-Package: libplplot-ada1
-Architecture: any
-Pre-Depends: ${misc:Pre-Depends}
-Multi-Arch: same
-Depends: libplplot12 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
-Breaks: libplplot-ada (<< 5.9.8-2)
-Replaces: libplplot-ada (<< 5.9.8-2)
-Description: Ada support for PLplot, a plotting library
- PLplot is relatively small, portable, freely distributable, and is rich
- enough to satisfy most users.  It has a wide range of plot types including
- line (linear, log), contour, 3D, fill, and almost 1000 characters
- (including Greek and mathematical) in its extended font set.  The package
- is designed to make it easy to quickly get graphical output; only a
- handful of function calls is typically required.  For more advanced use,
- virtually all aspects of plotting are configurable.
- .
- This package contains the runtime Ada bindings library for PLplot.  
-
-
-Package: libplplot-ada1-dev
-Architecture: any
-Section: libdevel
-Suggests: plplot-doc
-Pre-Depends: ${misc:Pre-Depends}
-Multi-Arch: same
-Depends: libplplot12 (= ${binary:Version}), libqhull-dev, libfreetype6-dev,
- libltdl3-dev, libqsastime-dev, gnat, gnat-4.9, ${misc:Depends}, 
- libplplot-ada1 (= ${binary:Version})
-Recommends: libplplot-dev
-Breaks: libplplot-ada (<< 5.9.8-2), libplplot-dev (<< 5.9.8-2)
-Description: Ada support for PLplot, a plotting library (development files)
- PLplot is relatively small, portable, freely distributable, and is rich
- enough to satisfy most users.  It has a wide range of plot types including
- line (linear, log), contour, 3D, fill, and almost 1000 characters
- (including Greek and mathematical) in its extended font set.  The package
- is designed to make it easy to quickly get graphical output; only a
- handful of function calls is typically required.  For more advanced use,
- virtually all aspects of plotting are configurable.
- .
- This package contains all that is needed for doing PLplot development in 
- Ada.
+#Package: libplplot-ada1
+#Architecture: any
+#Pre-Depends: ${misc:Pre-Depends}
+#Multi-Arch: same
+#Depends: libplplot12 (= ${binary:Version}), ${shlibs:Depends}, ${misc:Depends}
+#Breaks: libplplot-ada (<< 5.9.8-2)
+#Replaces: libplplot-ada (<< 5.9.8-2)
+#Description: Ada support for PLplot, a plotting library
+# PLplot is relatively small, portable, freely distributable, and is rich
+# enough to satisfy most users.  It has a wide range of plot types including
+# line (linear, log), contour, 3D, fill, and almost 1000 characters
+# (including Greek and mathematical) in its extended font set.  The package
+# is designed to make it easy to quickly get graphical output; only a
+# handful of function calls is typically required.  For more advanced use,
+# virtually all aspects of plotting are configurable.
+# .
+# This package contains the runtime Ada bindings library for PLplot.  
+#
+#
+#Package: libplplot-ada1-dev
+#Architecture: any
+#Section: libdevel
+#Suggests: plplot-doc
+#Pre-Depends: ${misc:Pre-Depends}
+#Multi-Arch: same
+#Depends: libplplot12 (= ${binary:Version}), libqhull-dev, libfreetype6-dev,
+# libltdl3-dev, libqsastime-dev, gnat, gnat-4.9, ${misc:Depends}, 
+# libplplot-ada1 (= ${binary:Version})
+#Recommends: libplplot-dev
+#Breaks: libplplot-ada (<< 5.9.8-2), libplplot-dev (<< 5.9.8-2)
+#Description: Ada support for PLplot, a plotting library (development files)
+# PLplot is relatively small, portable, freely distributable, and is rich
+# enough to satisfy most users.  It has a wide range of plot types including
+# line (linear, log), contour, 3D, fill, and almost 1000 characters
+# (including Greek and mathematical) in its extended font set.  The package
+# is designed to make it easy to quickly get graphical output; only a
+# handful of function calls is typically required.  For more advanced use,
+# virtually all aspects of plotting are configurable.
+# .
+# This package contains all that is needed for doing PLplot development in 
+# Ada.
 
 
 Package: plplot-doc
@@ -464,19 +465,18 @@ Description: Scientific plotting library (lua bindings)
  This package provides the lua bindings for PLplot.
 
 
-Package: libplplot-d
-Architecture: any
-Section: libs
-Pre-Depends: ${misc:Pre-Depends}
-Multi-Arch: same
-Depends: libplplot12, ${shlibs:Depends}, ${misc:Depends}
-Description: Scientific plotting library (D language bindings)
- PLplot is relatively small, portable, freely distributable, and is rich
- enough to satisfy most users.  It has a wide range of plot types including
- line (linear, log), contour, 3D, fill, and almost 1000 characters
- (including Greek and mathematical) in its extended font set.  The package
- is designed to make it easy to quickly get graphical output; only a
- handful of function calls is typically required.  For more advanced use,
- virtually all aspects of plotting are configurable.
- .
- This package provides the D language bindings for PLplot.
+#Package: libplplot-d
+#Architecture: any
+#Section: libs
+#Pre-Depends: ${misc:Pre-Depends}
+#Multi-Arch: same
+#Depends: libplplot12, ${shlibs:Depends}, ${misc:Depends}
+#Description: Scientific plotting library (D language bindings)
+# PLplot is relatively small, portable, freely distributable, and is rich
+# enough to satisfy most users.  It has a wide range of plot types including
+# line (linear, log), contour, 3D, fill, and almost 1000 characters
+# is designed to make it easy to quickly get graphical output; only a
+# handful of function calls is typically required.  For more advanced use,
+# virtually all aspects of plotting are configurable.
+# .
+# This package provides the D language bindings for PLplot.
diff --git a/debian/rules b/debian/rules
index 1d50c4d..1c1a005 100755
--- a/debian/rules
+++ b/debian/rules
@@ -60,11 +60,11 @@ DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 # Disable Ada build on sh4 - gnat not available at the moment.
 
-ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:sh4:))
+#ifneq (,$(findstring :$(DEB_BUILD_ARCH):,:sh4:))
 BUILD_ADA = no
-else
-BUILD_ADA = yes
-endif
+#else
+#BUILD_ADA = yes
+#endif
 
 # Configure options
 


More information about the Debian-astro-maintainers mailing list