Re: Upgrading octave-stk to 2.5.0
Le 26/02/2018 à 22:54, Sébastien Villemot a écrit :
On Mon, Feb 26, 2018 at 10:25:02PM +0100, Julien Bect wrote:
$ sbuild
dh clean --buildsystem=octave --with=octave
dh: unable to load addon octave: Can't locate
Debian/Debhelper/Sequence/octave.pm in @INC (you may need to install the
Debian::Debhelper::Sequence::octave module) (@INC contains: /etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr/local/share/perl/5.24.1
/usr/lib/x86_64-linux-gnu/perl5/5.24 /usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.24 /usr/share/perl/5.24
/usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at (eval 15)
line 2.
BEGIN failed--compilation aborted at (eval 15) line 2.
debian/rules:5: recipe for target 'clean' failed
make: *** [clean] Error 2
*****
Any advice ?
This is because sbuild tries to clean the source in the host filesystem (not in
the chroot).
You can either install dh-octave on the host filesystem (if it is running
testing or unstable), or skip the clean rule (by passing the --no-clean-source
option to sbuild).
Thanks. Using the second option (I'm on stable) I get:
$ sbuild --no-clean-source
dpkg-source: error: can't build with source format '3.0 (quilt)': no
upstream tarball found at ../octave-stk_2.5.0.orig.tar.{bz2,gz,lzma,xz}
I assume that this means I have to run pristine-tar manually here ? Ok,
let's try:
$ pristine-tar checkout octave-stk_2.5.0.orig.tar.gz
pristine-tar: successfully generated octave-stk_2.5.0.orig.tar.gz
$ mv octave-stk_2.5.0.orig.tar.gz ..
$ sbuild --no-clean-source
dpkg-source: info: using source format '3.0 (quilt)'
dpkg-source: info: building octave-stk using existing
./octave-stk_2.5.0.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
octave-stk/inst/misc/mole/graphics_toolkit/graphics_toolkit.m
octave-stk/inst/misc/mole/isrow/isrow.m
octave-stk/inst/misc/mole/linsolve/linsolve.m
octave-stk/inst/misc/mole/quantile/quantile.m
octave-stk/inst/param/estim/stk_param_init.m
octave-stk/inst/stk_init.m
octave-stk/post_install.m
dpkg-source: info: you can integrate the local changes with dpkg-source
--commit
dpkg-source: error: aborting due to unexpected upstream changes, see
/tmp/octave-stk_2.5.0-1.diff.rFvZBu
Any more advice (other than upgrading to testing ?).
Anyway, I think that octave-stk is ready to be uploaded, could someone
please test it and then upload it if everything is ok ?
Reply to: