Package: libdb-ruby severity 621436 serious tags 621436 +patch thank you
Hi, your package FTBFS with libdb-dev (>= 5.1): src/bdb.so: (NotImplementedError) BDB needs compatible versions of libdb & db.h you have db.h version 5.1.25 and libdb version 4.8.30 from tests/marshal.rb:3 make[1]: *** [test] Error 1 make[1]: Leaving directory `/tmp/libdb-ruby-0.6.5' make: *** [install/libdb-ruby1.8] Error 2 dpkg-buildpackage: error: debian/rules binary gave error exit status 2 It should be fairly simple to fix, just to link to non-versioned library (-ldb) first, this patch should help: --- debian/patches/build-against-libdb-4.8.patch~ 2011-04-18 14:43:35.737917027 +0000 +++ debian/patches/build-against-libdb-4.8.patch 2011-04-18 14:43:36.997917071 +0000 @@ -5,7 +5,7 @@ end -version = with_config('db-version', "-4.7,47,-4.6,46,-4.5,45,-4.4,44,-4.3,43,-4.2,42,-4.1,41,-4.0,-4,40,4,3,2,").split(/,/, -1) -+version = with_config('db-version', "-4.8,48,-4.7,47,-4.6,46,-4.5,45,-4.4,44,-4.3,43,-4.2,42,-4.1,41,-4.0,-4,40,4,3,2,").split(/,/, -1) ++version = with_config('db-version', ",-4.8,48,-4.7,47,-4.6,46,-4.5,45,-4.4,44,-4.3,43,-4.2,42,-4.1,41,-4.0,-4,40,4,3,2,").split(/,/, -1) version << "" if version.empty? catch(:done) do O. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org