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

Re: [Pkg-octave-devel] Missing dependencies of octave



Sébastien Villemot <sebastien.villemot@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

Attachment: pgpJr9aGXEXA6.pgp
Description: PGP signature


Reply to: