Bug#759833: calf: FTBFS: ./.libs/calf.so: undefined reference to `cairo_set_line_width'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 18:52:32 UTC 2014


Source: calf
Version: 0.0.19+git20140527+e79ddef54-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I..  -I.. -I. -D_FORTIFY_SOURCE=2 -ffast-math -finline-limit=80  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng12    -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O3 -finline-functions -finline-functions-called-once -Wall -c -o benchmark.o benchmark.cpp
> /bin/bash ../libtool  --tag=CXX   --mode=link g++ -ffast-math -finline-limit=80  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng12    -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O3 -finline-functions -finline-functions-called-once -Wall  -Wl,-z,relro -Wl,--as-needed -o calfbenchmark benchmark.o calf.la 
> 
> *** Warning: Linking the executable calfbenchmark against the loadable module
> *** calf.so is not portable!
> libtool: link: g++ -ffast-math -finline-limit=80 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -O3 -finline-functions -finline-functions-called-once -Wall -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/calfbenchmark benchmark.o  ./.libs/calf.so -pthread -Wl,-rpath -Wl,/usr/lib/calf
> ./.libs/calf.so: undefined reference to `cairo_set_line_width'
> ./.libs/calf.so: undefined reference to `cairo_show_text'
> ./.libs/calf.so: undefined reference to `cairo_move_to'
> ./.libs/calf.so: undefined reference to `cairo_set_source_rgba'
> ./.libs/calf.so: undefined reference to `cairo_text_extents'
> ./.libs/calf.so: undefined reference to `cairo_set_dash'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/calf_0.0.19+git20140527+e79ddef54-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



More information about the pkg-multimedia-maintainers mailing list