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

2014-09-13 Thread Cameron Norman
Hey, so I figured out the problem I think. The calf.so plugin 
eventually calls cairo functions, but the depenendency is not properly 
defined in src/Makefile.am, as you can see from this line:


   calf_la_LIBADD = $(FLUIDSYNTH_DEPS_LIBS) $(GLIB_DEPS_LIBS) 
$(FFTW3_DEPS_LIBS) -lfftw3f


which can be changed like so to make the build succeed:

   calf_la_LIBADD = $(GUI_DEPS_LIBS) $(FLUIDSYNTH_DEPS_LIBS) 
$(GLIB_DEPS_LIBS) $(FFTW3_DEPS_LIBS) -lfftw3f


I do not think that those GUI dependencies are meant to be 
unconditionally required by the plugin, however, so perhaps something 
needs to be done to not make those calls to the cairo functions?


Best regards,
--
Cameron Norman
___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers

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

2014-09-13 Thread Cameron Norman
Looks like this has been fixed in the current code, so a new upload
should fix this:

https://sourceforge.net/p/calf/bugs/65/

On Sat, Sep 13, 2014 at 12:26 PM, Cameron Norman
camerontnor...@gmail.com wrote:
 Hey, so I figured out the problem I think. The calf.so plugin eventually
 calls cairo functions, but the depenendency is not properly defined in
 src/Makefile.am, as you can see from this line:

 calf_la_LIBADD = $(FLUIDSYNTH_DEPS_LIBS) $(GLIB_DEPS_LIBS)
 $(FFTW3_DEPS_LIBS) -lfftw3f

 which can be changed like so to make the build succeed:

 calf_la_LIBADD = $(GUI_DEPS_LIBS) $(FLUIDSYNTH_DEPS_LIBS)
 $(GLIB_DEPS_LIBS) $(FFTW3_DEPS_LIBS) -lfftw3f

 I do not think that those GUI dependencies are meant to be unconditionally
 required by the plugin, however, so perhaps something needs to be done to
 not make those calls to the cairo functions?

 Best regards,
 --
 Cameron Norman

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers


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

2014-08-30 Thread Lucas Nussbaum
Source: calf
Version: 0.0.19+git20140527+e79ddef54-1
Severity: serious
Tags: jessie sid
User: debian...@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.

___
pkg-multimedia-maintainers mailing list
pkg-multimedia-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers