Package: src:plplot
Version: 5.10.0+dfsg2-0.2
User: sanv...@debian.org
Usertags: binary-indep
Severity: important

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(i.e. only architecture-independent packages), and it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh_testdir
( cd /<<BUILDDIR>>/plplot-5.10.0+dfsg2/debian/build_tmp ; xvfb-run cmake 
/<<BUILDDIR>>/plplot-5.10.0+dfsg2 -DBUILD_TEST=ON -DBUILD_DOC=OFF 
-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib/x86_64-linux-gnu 
-DUSE_RPATH=OFF -DPLD_psttf=OFF -DENABLE_tk=ON -DTCL_TCLSH=/usr/bin/tclsh8.5  
-DCMAKE_Java_RUNTIME=/usr/lib/jvm/default-java/bin/java 
-DCMAKE_Java_COMPILER=/usr/lib/jvm/default-java/bin/javac 
-DCMAKE_Java_ARCHIVE=/usr/lib/jvm/default-java/bin/jar -DJAVACFLAGS="-source 
1.5 -target 1.5" -DBUILD_DOC=ON ; \
cd doc ; /usr/bin/make  )
/bin/sh: 1: cd: can't cd to /<<BUILDDIR>>/plplot-5.10.0+dfsg2/debian/build_tmp
-- Explicitly setting policy CMP0022 to OLD
-- Explicitly setting policy CMP0023 to OLD
-- Explicitly setting policy CMP0026 to OLD
-- The C compiler identification is GNU 5.3.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info

[... snipped ...]

1 warning
[ 10%] Generating plplot/core/plplotjavacConstants.class
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
[ 10%] Generating plplot/core/plplotjavac.class
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
[ 10%] Generating plplot/core/PLStream.class
warning: [options] bootstrap class path not set in conjunction with -source 1.5
1 warning
make[3]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
[ 10%] Built target plplot_core
make[3]: Entering directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
Scanning dependencies of target plplotwxwidgetsd
make[3]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
make[3]: Entering directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
[ 10%] Building CXX object 
bindings/wxwidgets/CMakeFiles/plplotwxwidgetsd.dir/wxPLplotstream.cpp.o
[ 10%] Building CXX object 
bindings/wxwidgets/CMakeFiles/plplotwxwidgetsd.dir/wxPLplotwindow.cpp.o
[ 11%] Linking CXX shared library libplplotwxwidgetsd.so
make[3]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
[ 11%] Built target plplotwxwidgetsd
make[3]: Entering directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
Scanning dependencies of target target_build_ocaml_doc
make[3]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
make[3]: Entering directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
make[3]: Circular bindings/ocaml/plplot_core.cmi <- bindings/ocaml/plplot.mli 
dependency dropped.
make[3]: Circular bindings/ocaml/plplot_core.idl <- 
bindings/ocaml/plplot_core.idl dependency dropped.
[ 11%] Generating plplot_core.idl, plplot_core.h, plplot_core.ml, 
plplot_core.mli, plplot_core_stubs.c
Error copying file (if different) from 
"/<<BUILDDIR>>/plplot-5.10.0+dfsg2/bindings/ocaml/plplot_core.idl" to 
"/<<BUILDDIR>>/plplot-5.10.0+dfsg2/bindings/ocaml/plplot_core.idl".
bindings/ocaml/CMakeFiles/target_build_ocaml_doc.dir/build.make:141: recipe for 
target 'bindings/ocaml/plplot_core.idl' failed
make[3]: *** [bindings/ocaml/plplot_core.idl] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
CMakeFiles/Makefile2:2682: recipe for target 
'bindings/ocaml/CMakeFiles/target_build_ocaml_doc.dir/all' failed
make[2]: *** [bindings/ocaml/CMakeFiles/target_build_ocaml_doc.dir/all] Error 2
make[2]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
Makefile:160: recipe for target 'all' failed
make[1]: *** [all] Error 2
make[1]: Leaving directory '/<<BUILDDIR>>/plplot-5.10.0+dfsg2'
debian/rules:213: recipe for target 'install-indep-stamp' failed
make: *** [install-indep-stamp] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit 
status 2
--------------------------------------------------------------------------------

Sorry not to have a fix, as I am reporting many bugs similar to
this one. The common hints are:

* If the only architecture-independent packages are dummy transitional
ones and they were released with jessie, the easy fix is to drop them
now.

* When using "dh", it is allowed to use (independently)
optional targets override_dh_foo-arch and override_dh_foo-indep
(for several values of "foo").


Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work
properly, the package would be suitable to be uploaded in source-only
form if you wish.

Thanks.

Reply via email to