[Evolution] Bug#759823: evolution-webcal: FTBFS: e-cal.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."

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


Source: evolution-webcal
Version: 2.32.0-2
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):
> gcc -DHAVE_CONFIG_H -I. -I.. -DGNOMELOCALEDIR=\""/usr/share/locale"\" -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/x86_64-linux-gnu/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -I/usr/include/nss -I/usr/include/nspr -I/usr/include/libsecret-1 -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/evolution-data-server   -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall -c -o evolution-webcal-main.o evolution-webcal-main.c
> In file included from evolution-webcal-notify.h:25:0,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal.h:32:0,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-recur.h:23:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal-recur.h:29:0,
>                  from /usr/include/evolution-data-server/libecal/e-cal.h:32,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-component.h:21:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal.h:33:0,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-util.h:21:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal-util.h:29:0,
>                  from /usr/include/evolution-data-server/libecal/e-cal.h:33,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-component.h:21:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal-util.h:30:0,
>                  from /usr/include/evolution-data-server/libecal/e-cal.h:33,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-recur.h:23:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal-util.h:31:0,
>                  from /usr/include/evolution-data-server/libecal/e-cal.h:33,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-types.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal-types.h:28:0,
>                  from /usr/include/evolution-data-server/libecal/e-cal-util.h:31,
>                  from /usr/include/evolution-data-server/libecal/e-cal.h:33,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-component.h:21:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal.h:34:0,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-view.h:21:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal-view.h:30:0,
>                  from /usr/include/evolution-data-server/libecal/e-cal.h:34,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-types.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> In file included from /usr/include/evolution-data-server/libecal/e-cal.h:35:0,
>                  from evolution-webcal-notify.h:25,
>                  from evolution-webcal-main.c:24:
> /usr/include/evolution-data-server/libecal/e-cal-types.h:22:2: error: #error "Only <libecal/libecal.h> should be included directly."
>  #error "Only <libecal/libecal.h> should be included directly."
>   ^
> evolution-webcal-main.c: In function 'e_webcal_read':
> evolution-webcal-main.c:113:5: warning: 'soup_message_headers_get' is deprecated (declared at /usr/include/libsoup-2.4/libsoup/soup-message-headers.h:43): Use '"soup_message_headers_get_one or soup_message_headers_get_list"' instead [-Wdeprecated-declarations]
>      header = soup_message_headers_get (msg->response_headers, "Location");
>      ^
> evolution-webcal-main.c: In function 'e_webcal_idle_callback':
> evolution-webcal-main.c:213:3: warning: 'gtk_rc_parse_string' is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtkrc.h:195): Use 'GtkStyleContext' instead [-Wdeprecated-declarations]
>    gtk_rc_parse_string ("style \"dialog-defaults\" {\n"
>    ^
> evolution-webcal-main.c: In function 'main':
> evolution-webcal-main.c:253:3: warning: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:261) [-Wdeprecated-declarations]
>    g_thread_init (NULL);
>    ^
> Makefile:387: recipe for target 'evolution-webcal-main.o' failed
> make[3]: *** [evolution-webcal-main.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/evolution-webcal_2.32.0-2_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-evolution-maintainers mailing list