[Debian-med-packaging] Bug#713565: Bug#713565: gwyddion: FTBFS: ../libdraw/gwyrgba.h:24:23: fatal error: gdk/gdkgc.h: No such file or directory

Jan Beyer jan at beathovn.de
Sun Jun 23 19:21:09 UTC 2013


Hi,

thanks for the bug report.
However, I do not quite understand how this can happen. The missing gdkgc.h
is contained in the package libgtk2.0-dev, which gwyddion Build-Depends: on.
So it should be available at build time. But for some reason, it does not
get included any longer.

My build-log for this release looked like this:

/bin/bash ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..
 -I.. -DG_LOG_DOMAIN=\"GwyDraw\" -D_FORTIFY_SOURCE=2 -Wall -W -Wshadow
-Wpointer-arith -Wno-sign-compare -Wundef
-Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign
-Wno-format-zero-length -Wdeclaration-after-statement -Wredundant-decls
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -pthread
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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/gdk-pixbuf-2.0 -I/usr/include/pixman-1
-I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0
-I/usr/lib/gtkglext-1.0/include   -fno-trapping-math -fno-math-errno  -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
-Wall -c -o gwydraw.lo gwydraw.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I..
-DG_LOG_DOMAIN=\"GwyDraw\" -D_FORTIFY_SOURCE=2 -Wall -W -Wshadow
-Wpointer-arith -Wno-sign-compare -Wundef
-Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign
-Wno-format-zero-length -Wdeclaration-after-statement -Wredundant-decls
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-pthread -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread
-I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0
-I/usr/lib/x86_64-linux-gnu/glib-2.0/include -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/gdk-pixbuf-2.0 -I/usr/include/pixman-1
-I/usr/include/libpng12 -I/usr/include/atk-1.0 -I/usr/include/gtkglext-1.0
-I/usr/lib/gtkglext-1.0/include -fno-trapping-math -fno-math-errno -g -O2
-fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security
-Wall -c gwydraw.c  -fPIC -DPIC -o .libs/gwydraw.o

So there was the -I/usr/include/gtk-2.0 switch still there.

Was there some change to any relevant packages' behaviour now after the
release of wheezy that I missed, and that I have to adapt gwyddion packaging to?

Anyway, 2.28-2 is outdated a lot. I should upload a more recent version to
unstable soon... I will take a look how the new versions behave.

Thanks again and best regards,
Jan

Und es begab sich am 22.06.2013 15:30, dass David Suárez schrieb:
> Source: gwyddion
> Version: 2.28-2
> Severity: serious
> Tags: jessie sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20130620 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=compile gcc -DHAVE_CONFIG_H -I. -I..  -I.. -DG_LOG_DOMAIN=\"GwyDraw\" -D_FORTIFY_SOURCE=2 -Wall -W -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef -Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign -Wno-format-zero-length -Wdeclaration-after-statement -Wredundant-decls -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -fno-trapping-math -fno-math-errno  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c -o gwydraw.lo gwydraw.c
>> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GwyDraw\" -D_FORTIFY_SOURCE=2 -Wall -W -Wshadow -Wpointer-arith -Wno-sign-compare -Wundef -Werror-implicit-function-declaration -Wno-system-headers -Wno-pointer-sign -Wno-format-zero-length -Wdeclaration-after-statement -Wredundant-decls -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -pthread -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -fno-trapping-math -fno-math-errno -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -c gwydraw.c  -fPIC -DPIC -o .libs/gwydraw.o
>> In file included from ../libdraw/gwyglmaterial.h:26:0,
>>                  from ../libdraw/gwydraw.h:25,
>>                  from gwydraw.c:23:
>> ../libdraw/gwyrgba.h:24:23: fatal error: gdk/gdkgc.h: No such file or directory
>>  #include <gdk/gdkgc.h>
>>                        ^
>> compilation terminated.
>> make[3]: *** [gwydraw.lo] Error 1
> 
> The full build log is available from:
>    http://aws-logs.debian.net/ftbfs-logs/2013/06/20/gwyddion_2.28-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.
> 


-- 
Jan Beyer				happy Debian Maintainer	;-)	

mail	jan at beathovn.de			GPG key ID 0x0CA6B4AA
jabber	beathovn at jabber.org
web	http://www.beathovn.de/



More information about the Debian-med-packaging mailing list