[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading octave-stk to 2.5.0



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

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  http://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  http://www.debian.org

Attachment: signature.asc
Description: PGP signature


Reply to: