[Pkg-octave-devel] Missing dependencies of octave

Sébastien Villemot sebastien.villemot at ens.fr
Mon Mar 12 14:26:14 UTC 2012


Sébastien Villemot <sebastien.villemot at ens.fr> writes:

> When trying to prepare an upload of octave-optim, the testsuite failed
> in a call to the gplk function, which is part of Octave core.
>
> The reason is that __gplk__.oct (from octave package) is dynamically
> linked against libglpk.so.0, but libglpk0 is not a dependency of octave
> (so the testsuite fails in a pbuilder, but not in my chroot since the
> library is installed there).
>
> I think the dependency is missing because +x permissions are removed
> From oct files in the override_dh_strip rule of debian/rules, and that
> dh_shlibdeps comes *after* dh_strip in the dh sequence.
>
> I guess that many more dependencies are missing, since the dependency
> list of octave is much smaller than that of octave3.2.
>
> Thomas: do you remember why you removed the +x flag on the oct files? I
> note that in the octave3.2, this flag was not removed.
>
> The fix is either to not touch the +x flag, or to move the chmod -x to
> the override_dh_shlibdeps rule.

I implemented the second solution, following Thomas' advice.

-- 
Sébastien Villemot
Researcher in Economics & Debian Maintainer
http://www.dynare.org/sebastien
Phone: +33-1-40-77-84-04 - GPG Key: 4096R/381A7594
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-octave-devel/attachments/20120312/03627ea3/attachment.pgp>


More information about the Pkg-octave-devel mailing list