Bug#640440: gtk-smooth-engine: FTBFS: draw_border.c:887: undefined reference to `atan2'

Mònica Ramírez Arceda monica at probeta.net
Sun Sep 4 23:18:08 UTC 2011


Source: gtk-smooth-engine
Version: 1:2.14.3+deb5
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110902 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> /bin/bash ../../libtool --tag=CC   --mode=link gcc -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/cairo -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include    -g -O2 -g -O2 -Wall -module -avoid-version -no-undefined -Wl,-z,defs -Wl,-O1 -Wl,-Bsymbolic -Wl,--as-needed -o libsmooth.la -rpath /usr/lib/gtk-2.0/2.10.0/engines drawing_interface.lo abstract_drawing_interface.lo gdk_drawing_interface.lo gdk2_drawing_interface.lo calc_colors.lo draw_fill.lo draw_border.lo draw_grips.lo draw_arrows.lo draw_checkmark.lo smooth_gtk_rc.lo smooth_gtk2_misc.lo smooth_gtk2_drawing.lo smooth_gtk2_engine.lo smooth_gtk2_rc.lo -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0    ../../engines/support/libsupport.la 
> libtool: link: gcc -shared  -fPIC -DPIC  .libs/drawing_interface.o .libs/abstract_drawing_interface.o .libs/gdk_drawing_interface.o .libs/gdk2_drawing_interface.o .libs/calc_colors.o .libs/draw_fill.o .libs/draw_border.o .libs/draw_grips.o .libs/draw_arrows.o .libs/draw_checkmark.o .libs/smooth_gtk_rc.o .libs/smooth_gtk2_misc.o .libs/smooth_gtk2_drawing.o .libs/smooth_gtk2_engine.o .libs/smooth_gtk2_rc.o  -Wl,--whole-archive ../../engines/support/.libs/libsupport.a -Wl,--no-whole-archive  -Wl,--as-needed -lgtk-x11-2.0 -lgdk-x11-2.0 /usr/lib/x86_64-linux-gnu/libatk-1.0.so /usr/lib/libgio-2.0.so -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 /usr/lib/libcairo.so -lpango-1.0 /usr/lib/x86_64-linux-gnu/libfreetype.so -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so  -pthread -O2 -O2 -Wl,-z -Wl,defs -Wl,-O1 -Wl,-Bsymbolic -pthread   -pthread -Wl,-soname -Wl,libsmooth.so -o .libs/libsmooth.so
> .libs/gdk2_drawing_interface.o: In function `SmoothAllocateGradientStepColor':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/interfaces/gdk2/src/gdk2_gradient_routines.c:267: undefined reference to `pow'
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/interfaces/gdk2/src/gdk2_gradient_routines.c:272: undefined reference to `pow'
> .libs/gdk2_drawing_interface.o: In function `internal_create_horizontal_gradient_image_buffer':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/interfaces/gdk2/src/gdk2_gradient_routines.c:102: undefined reference to `pow'
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/interfaces/gdk2/src/gdk2_gradient_routines.c:107: undefined reference to `pow'
> .libs/gdk2_drawing_interface.o: In function `internal_create_vertical_gradient_image_buffer':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/interfaces/gdk2/src/gdk2_gradient_routines.c:204: undefined reference to `pow'
> .libs/gdk2_drawing_interface.o:/build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/interfaces/gdk2/src/gdk2_gradient_routines.c:209: more undefined references to `pow' follow
> .libs/draw_border.o: In function `SmoothDrawPolygonBorder':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/utils/draw_border.c:887: undefined reference to `atan2'
> .libs/draw_grips.o: In function `do_smooth_draw_lines':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/utils/draw_grips.c:140: undefined reference to `sincos'
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/utils/draw_grips.c:145: undefined reference to `sincos'
> .libs/draw_checkmark.o: In function `SmoothDrawCrossCheckMark':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/utils/draw_checkmark.c:93: undefined reference to `ceil'
> .libs/draw_checkmark.o: In function `SmoothDrawMinusCheckMark':
> /build/gtk-smooth-engine-TrwmFY/gtk-smooth-engine-2.14.3+deb5/engines/smooth/./src/utils/draw_checkmark.c:152: undefined reference to `ceil'
> collect2: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/09/02/gtk-smooth-engine_1:2.14.3+deb5_lsid64.buildlog

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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.






More information about the pkg-gnome-maintainers mailing list