[Pkg-octave-devel] octave-interval packaging

Mike Miller mtmiller at debian.org
Sat Oct 3 15:55:57 UTC 2015


On Sat, Oct 03, 2015 at 00:21:08 +0200, Oliver Heimlich wrote:
> The package's manual.texinfo relies on a particular texinfo.tex version
> from TexInfo 5. The texinfo.tex from TexInfo 6 breaks the build and I
> have made a patch that solves the problem. I could as well have used the
> (outdated) texinfo.tex, but decided against the latter.
> 
> The debuild runs on a minimal Debian Unstable now, with no lintian
> warning/errors. A pdebuild works. I have checked the manual, it is
> alright and the graphics are perfect. I could install the deb-files,
> load and use the package successfully in Octave (amd64 architecture).

Confirmed that the build works for me with sbuild also.

Lintian warns of a typo:

I: octave-interval: spelling-error-in-binary usr/lib/x86_64-linux-gnu/octave/packages/interval-1.2.0/x86_64-pc-linux-gnu-api-v50+/mpfr_to_string_d.oct seperate separate

> I see some of these error messages:
> /usr/share/cdbs/1/class/octave-pkg.ml:134: recipe for target 'check-pkg'
> failed
> make: [check-pkg] Error 1 (ignored)
> 
> What is the failure here? Why does the build continue anyway? Would the
> build actually fail if some tests during check-pkg failed?

This error comes from make when a command that starts with "-" returns
an error status. In this case, it is the line

    -[ -e PKG_ADD ] && mv PKG_ADD PKG_ADD.bak

which returns failure if PKG_ADD doesn't exist, but we don't care.

However, the build also won't fail if any tests fail, both because the
Octave's test function doesn't throw an error or return an error status
to the shell, and because the block of make code running the tests
doesn't care about the exit status of Octave.

-- 
mike



More information about the Pkg-octave-devel mailing list