/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -ggdb `/usr/bin/pkg-config raptor2 --libs` -Wl,-O1 -Wl,--as-needed -o roqet roqet.o ../src/librasqal.la libtool: link: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -ggdb -Wl,-O1 -Wl,--as-needed -o .libs/roqet roqet.o -lraptor2 ../src/.libs/librasqal.so ../src/.libs/librasqal.so: undefined reference to `floor' ../src/.libs/librasqal.so: undefined reference to `ceil' ../src/.libs/librasqal.so: undefined reference to `round' collect2: ld returned 1 exit status This might also somewhat affect bug 404961 and bug 404655. Regarding the latter, redland-1.0.15 fails to build in the following manner: /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -DLIBRDF_INTERNAL=1 -O2 -pipe -march=native -ggdb -DLIBRDF_INTERNAL=1 -O2 -pipe -march=native -ggdb -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o redland-db-upgrade db_upgrade.o -lraptor2 ../src/librdf.la -ldl libtool: link: x86_64-pc-linux-gnu-gcc -DLIBRDF_INTERNAL=1 -O2 -pipe -march=native -ggdb -DLIBRDF_INTERNAL=1 -O2 -pipe -march=native -ggdb -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--as-needed -o .libs/redland-db-upgrade db_upgrade.o -lraptor2 ../src/.libs/librdf.so -ldl /usr/lib64/librasqal.so.3: undefined reference to `floor' /usr/lib64/librasqal.so.3: undefined reference to `ceil' /usr/lib64/librasqal.so.3: undefined reference to `round' collect2: ld returned 1 exit status I checked that dev-libs/rasqal-0.9.27 and dev-libs/redland-1.0.14 got previously emerged (properly) on September 21, 2011. So that is why I had rasqal 0.9.27 installed and actually got the redland error first on redland upgrade. Related: * bugs.librdf.org/mantis/view.php?id=446 * RELEASE.html in the rasqal source code contains details about the -lm magic for floor/ceil/round etc. I guess their mechanism for detecting whether -lm is needed fails: checking for ceil, floor and round in default libs... yes
Created attachment 302751 [details] rasqal-0.9.27 build.log
Please post your `emerge --info' output in a comment.
Oh, and your `emerge -vpq dev-libs/rasqal' output too.
emerge -C raptor rasqal emerge -1 =rasqal-0.9.28 (going stable from bug 404961) If you can still reproduce with latest, reopen