Package: libmusicbrainz-ruby Version: 0.2.0-1 Severity: serious libmusicbrainz-ruby fails to build because it cannot find pow in libm:
> cd . && ruby extconf.rb > checking for pow() in -lm... no > *** extconf.rb failed *** > Could not create Makefile due to some reason, probably lack of > necessary libraries and/or headers. Check the mkmf.log file for more > details. You may need configuration options. > > Provided configuration options: > --with-opt-dir > --with-opt-include=${opt-dir}/include > --with-opt-lib=${opt-dir}/lib > --with-make-prog=make > --srcdir=. > --curdir=/tmp/buildd/libmusicbrainz-ruby-0.2.0 > --ruby=/usr/bin/ruby1.8 > --with-mlib=m Here are the contents of mkmf.log: > have_library: checking for pow() in -lm... -------------------- no > > "gcc -o conftest -I/tmp/buildd/libmusicbrainz-ruby-0.2.0 > -I/usr/lib/ruby/1.8/i486-linux -Wall -g -O2 -fPIC conftest.c -L"/usr/lib" > -lruby1.8-static -lm -lpthread -ldl -lcrypt -lm -lc" > conftest.c: In function 't': > conftest.c:4: warning: implicit declaration of function 'pow' > conftest.c:4: warning: incompatible implicit declaration of built-in function > 'pow' > conftest.c:4: error: too few arguments to function 'pow' > checked program was: > /* begin */ > > /*top*/ > int main() { return 0; } > int t() { pow(); return 0; } > /* end */ > > "gcc -o conftest -I/tmp/buildd/libmusicbrainz-ruby-0.2.0 > -I/usr/lib/ruby/1.8/i486-linux -Wall -g -O2 -fPIC conftest.c -L"/usr/lib" > -lruby1.8-static -lm -lpthread -ldl -lcrypt -lm -lc" > conftest.c: In function 't': > conftest.c:5: error: 'pow' undeclared (first use in this function) > conftest.c:5: error: (Each undeclared identifier is reported only once > conftest.c:5: error: for each function it appears in.) > checked program was: > /* begin */ > > > /*top*/ > int main() { return 0; } > int t() { void ((*volatile p)()); p = (void ((*)()))pow; return 0; } > /* end */ > > -------------------- > -- Matt
signature.asc
Description: Digital signature