Bug#890098: FTBFS: imagemagick in Build-Depends-Indep but needed for arch build

2018-02-11 Thread Rafael Laboissière

* Steve Langasek  [2018-02-10 23:50]:


Package: octave-interval
Version: 3.1.0-4
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear maintainer,

The latest upload of octave-interval fails to build on all architectures 
currently on the autobuilders because, with the move to dh-octave, 
imagemagick is now needed as part of the arch build, not just the 
arch-independent build:


[snip]


Thanks for the bug report.  Indeed, I screwed things up in commit 
e22b79d.  I will look at this soon.


Rafael Laboissière



Bug#890098: FTBFS: imagemagick in Build-Depends-Indep but needed for arch build

2018-02-10 Thread Steve Langasek
Package: octave-interval
Version: 3.1.0-4
Severity: serious
Tags: patch
Justification: FTBFS
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu bionic ubuntu-patch

Dear maintainer,

The latest upload of octave-interval fails to build on all architectures
currently on the autobuilders because, with the move to dh-octave,
imagemagick is now needed as part of the arch build, not just the
arch-independent build:

OCTAVE='octave --no-window-system --no-init-file --eval "addpath (genpath 
(\"../debian/octave-interval/usr\"));"' \
make -C doc manual.html
make[2]: Entering directory '/<>/doc'
octave --no-window-system --no-init-file --eval "addpath (genpath 
(\"../debian/octave-interval/usr\"));" \
--no-gui --silent --no-history \
--eval "source ('image/interval-sombrero.m');" \
--eval "print (gcf, 'image/interval-sombrero.m.png');"
warning: print.m: epstool binary is not available.
Some output formats are not available.
warning: called from
__print_parse_opts__ at line 385 column 9
print at line 315 column 8
warning: print.m: fig2dev binary is not available.
Some output formats are not available.
warning: called from
__print_parse_opts__ at line 388 column 9
print at line 315 column 8
warning: print.m: pstoedit binary is not available.
Some output formats are not available.
warning: called from
__print_parse_opts__ at line 391 column 9
print at line 315 column 8
convert -density 98.425 -units PixelsPerCentimeter 
"image/interval-sombrero.m.png" "image/interval-sombrero.m.png"
/bin/sh: 1: convert: not found
Makefile:26: recipe for target 'image/interval-sombrero.m.png' failed
make[2]: *** [image/interval-sombrero.m.png] Error 127
make[2]: Leaving directory '/<>/doc'
debian/rules:39: recipe for target 'override_dh_auto_install' failed
make[1]: *** [override_dh_auto_install] Error 2

(https://buildd.debian.org/status/fetch.php?pkg=octave-interval=amd64=3.1.0-4=1518313429=0)

Moving imagemagick from build-depends-indep to build-depends is sufficient
to fix this build failure.

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 octave-interval-3.1.0/debian/control 
octave-interval-3.1.0/debian/control
--- octave-interval-3.1.0/debian/control2018-01-26 05:47:52.0 
-0800
+++ octave-interval-3.1.0/debian/control2018-02-10 23:37:27.0 
-0800
@@ -4,9 +4,9 @@
 Maintainer: Debian Octave Group 
 Uploaders: Oliver Heimlich ,
 Build-Depends-Indep: texinfo, texlive, texlive-generic-recommended,
- imagemagick, gnuplot-nox,
+ gnuplot-nox,
 Build-Depends: debhelper (>= 11), dh-octave,
- libmpfr-dev (>= 3.1.0), ghostscript
+ libmpfr-dev (>= 3.1.0), ghostscript, imagemagick
 Standards-Version: 4.1.3
 Homepage: https://octave.sourceforge.io/interval/
 Vcs-Git: https://salsa.debian.org/pkg-octave-team/octave-interval.git