Package: gnuplot
Version: 4.6.0-3
Severity: minor

Hi, Anton

Please consider bumping debhelper Build-Depends to (>= 8.9.10) at some
later upload.

When looking at #665432 I sometimes had only a squeeze box available,
and I tried there to unsuccessfully build gnuplot from git repo with
your  post-4.6.0-1 dh8 changes (4.6.0-1 was properly built) in a
pbuilder squeeze chroot.

Build failed with

-------------------------------------------------------
make[1]: Leaving directory `/tmp/buildd/gnuplot-4.6.0'
   dh_auto_build
make[1]: Entering directory `/tmp/buildd/gnuplot-4.6.0'
There seems to be no Makefile in this directory.
You must run ./configure before running `make'.
make[1]: *** [all] Error 1
make[1]: Leaving directory `/tmp/buildd/gnuplot-4.6.0'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
-------------------------------------------------------

I have been looking at debhelper changelog and seems that
override_dh_command-{arch,indep} were introduced in 8.9.7

 * dh: Now you can use override_dh_command-arch and
   override_dh_command-indep to run different overrides when
   building arch and indep packages. This allows for a much
   simplified form of rules file in this situation, where
   build-arch/indep and binary-arch/indep targets do not need
   to be manually specified.

and some associated change was introduced in 8.9.10

* dh: Ensure -a and -i are passed when running override_dh_command-arch
  and override_dh_command-indep targets. This is needed when the binary
  target is run, rather than binary-arch/binary-indep.

Not sure if this last change is relevant to gnuplot, but caring about
it does not harm.

I have tested build in a pbuilder squeeze chroot with some different
debhelper versions installed, taken from backports.debian.org. Failed
with 8.9.0~bpo60+1, but worked with current Debian backports version
9.20120115~bpo60+1, so seems that above assumption about changes is
reasonable.

Since backports.debian.org already contains 9.20120115~bpo60+1 I do
not think that trying to modify current debian/rules to cope with pure
 squeeze backports worths at all. Just bumping debhelper Build-Depends
to (>= 8.9.10) seems to be way simpler and equally useful for
possible backporters.

Regards,

--
Agustin



-- 
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