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

Bug#667904: RFS: mitlm/0.4-1 [ITP] -- MIT Language Modeling toolkit



Il 31/12/2012 21:21, Jakub Wilk ha scritto:
> * Giulio Paci <giuliopaci@gmail.com>, 2012-04-07, 13:30:
>> http://mentors.debian.net/debian/pool/main/m/mitlm/mitlm_0.4-1.dsc

Moved to git://anonscm.debian.org/collab-maint/mitlm.git

> README says "The vector library is partially derived from the Flexible Library for Efficient Numerical Solutions by Michael Lehn", but this information is not included in
> the copyright file.

I added information in copyright file, but I am not sure how to handle the situation properly: the license is the same (BSD-3-clause), but the text is different because
they are citing explicitly the name of their institutions in the license text.
Should I use a generic version of the license text? Should I change one of the license identifiers to something different than BSD-3-clause?

> debian/info is empty...

Dropped.

> There are some warnings from dpkg-shlibdeps:
> 
> dh_shlibdeps -pmitlm
> dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mitlm/usr/bin/evaluate-ngram debian/mitlm/usr/bin/interpolate-ngram
> debian/mitlm/usr/bin/estimate-ngram were not linked against libgfortran.so.3 (they use none of the library's symbols)
> dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/mitlm/usr/bin/evaluate-ngram debian/mitlm/usr/bin/interpolate-ngram
> debian/mitlm/usr/bin/estimate-ngram were not linked against libquadmath.so.0 (they use none of the library's symbols)

I added -Wl,--as-needed to LDFLAGS and these two warnings went away.

> dh_shlibdeps -plibmitlm0
> dpkg-shlibdeps: warning: package could avoid a useless dependency if debian/libmitlm0/usr/lib/libmitlm.so.0.0.0 was not linked against libquadmath.so.0 (it uses none of the
> library's symbols)

This warning is still there, but I do not know how to remove it. In this case -Wl,--as-needed did not work.
libquadmath linking is added by the autoconf check for gfortran, used to compile part of the library. Do you have any hints?

Bests,
	Giulio.


Reply to: