Bug#747802: epiphany-browser: FTBFS: error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together."

Vincent Bernat bernat at debian.org
Fri Oct 10 08:48:43 UTC 2014


 ❦ 11 mai 2014 19:09 +0200, David Suárez <david.sephirot at gmail.com> :

> Version: 3.8.2-5
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20140510 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):
>> /bin/bash ../../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I/«PKGBUILDDIR»/./embed/web-extension -I../..  -I/«PKGBUILDDIR»/./embed -I/«PKGBUILDDIR»/./lib  -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/webkitgtk-3.0 -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/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-3.0 -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o libephywebextension_la-ephy-web-extension.lo `test -f 'ephy-web-extension.c' || echo '/«PKGBUILDDIR»/./embed/web-extension/'`ephy-web-extension.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/«PKGBUILDDIR»/./embed/web-extension -I../.. -I/«PKGBUILDDIR»/./embed -I/«PKGBUILDDIR»/./lib -D_FORTIFY_SOURCE=2 -pthread -I/usr/include/webkitgtk-3.0 -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/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/webkitgtk-3.0 -I/usr/include/libsecret-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c /«PKGBUILDDIR»/./embed/web-extension/ephy-web-extension.c  -fPIC -DPIC -o .libs/libephywebextension_la-ephy-web-extension.o
>> In file included from /«PKGBUILDDIR»/./embed/ephy-web-view.h:32:0,
>>                  from /«PKGBUILDDIR»/./embed/ephy-embed.h:26,
>>                  from /«PKGBUILDDIR»/./embed/ephy-adblock.h:23,
>>                  from /«PKGBUILDDIR»/./embed/uri-tester.h:22,
>>                  from /«PKGBUILDDIR»/./embed/web-extension/ephy-web-extension.c:30:
>> /usr/include/webkitgtk-3.0/webkit2/webkit2.h:22:2: error: #error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together."
>>  #error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together."
>>   ^
>> In file included from /«PKGBUILDDIR»/./embed/web-extension/ephy-web-extension.c:34:0:
>> /usr/include/webkitgtk-3.0/webkit2/webkit-web-extension.h:21:2: error: #error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together."
>>  #error "Headers <webkit2/webkit2.h> and <webkit2/webkit-web-extension.h> cannot be included together."
>>   ^
>> make[5]: *** [libephywebextension_la-ephy-web-extension.lo] Error 1

I also get this error with a more recent version of the package. I don't
understand how this bug can still be here and new versions being
compiled without a problem on buildd.
-- 
Make your program read from top to bottom.
            - The Elements of Programming Style (Kernighan & Plauger)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 818 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20141010/f9fd4b40/attachment.sig>


More information about the pkg-gnome-maintainers mailing list