Source: sprng Version: 2.0a-15 Severity: serious Tags: patch upstream Justification: causes reverse dependency to ftbfs Control: affects -1 tree-puzzle Control: block 1075584 by -1
Dear Maintainer, dh_shlibdeps reports multiple missing gmp symbols upon sprng build: dh_shlibdeps -a dpkg-shlibdeps: warning: symbol mpz_init_set_str used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_mul used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_abs used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_mod used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_mul_ui used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_init used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_fdiv_q_2exp used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpq_set_den used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_add used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: symbol mpz_powm used by debian/libsprng2/usr/lib/libsprng.so.2.0 found in none of the libraries dpkg-shlibdeps: warning: 20 other similar warnings have been skipped (use -v to see them all) This is causing at least tree-puzzle to fail to build from source as documented in #1075584 message #14[1]. [1]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1075584#14 Looking at sprng, this looks to be caused by the pmlcg making use of a vendored gmp.h header that drifted enough from the system header to now mismatch and make the resulting symbols unusable. Switching to the system gmp.h header using the patch below resolved the missing symbols reported by dpkg-shlibdeps, and allowed me to get back to the initial issue documented in #1075584. --- sprng.orig/SRC/pmlcg/pmlcg.c +++ sprng/SRC/pmlcg/pmlcg.c @@ -30,7 +30,7 @@ #include "memory.h" #include "interface.h" #include "pmlcg.h" -#include "gmp.h" +#include <gmp.h> #include "basic.h" #include <math.h> #include "store.h" Have a nice day, :) -- .''`. Étienne Mollier <emoll...@debian.org> : :' : pgp: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da `. `' sent from /dev/pts/2, please excuse my verbosity `- on air: Ricochet - Caught in the spotlight
signature.asc
Description: PGP signature