GNOME Bugzilla – Bug 657653
[regression] build failure in 3.1.14: treemodel.c:22:23: fatal error: treemodel.h: No such file or directory
Last modified: 2011-08-30 11:53:18 UTC
I'm trying to build today's tarball release (3.1.14). The build dies with: make[6]: Entering directory `/home/ronis/Project/notar/GNOME/garnome/platform/gtk+-3.0/work/main.d/gtk+-3.1.14/gtk/tests' /usr/bin/gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gdk -I../../gdk -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DSRCDIR=\""/home/ronis/Project/notar/GNOME/garnome/platform/gtk+-3.0/work/main.d/gtk+-3.1.14/gtk/tests"\" -DG_ENABLE_DEBUG -DG_ERRORCHECK_MUTEXES -pthread -I/opt/garnome-svn-3.1.1/include/glib-2.0 -I/opt/garnome-svn-3.1.1/lib/glib-2.0/include -I/opt/garnome-svn-3.1.1/include/pango-1.0 -I/opt/garnome-svn-3.1.1/include/cairo -I/opt/garnome-svn-3.1.1/include -I/opt/garnome-svn-3.1.1/include/freetype2 -I/opt/garnome-svn-3.1.1/include/gio-unix-2.0/ -I/opt/garnome-svn-3.1.1/include/gdk-pixbuf-2.0 -I/opt/garnome-svn-3.1.1/include/atk-1.0 -I/usr/include/pixman-1 -I/usr/include/libpng14 -I/opt/garnome-svn-3.1.1/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_DEPRECATED -DG_DISABLE_DEPRECATED -I/opt/garnome-svn-3.1.1/include -L/opt/garnome-svn-3.1.1/lib -O2 -g -pipe -Wall -MT treemodel.o -MD -MP -MF .deps/treemodel.Tpo -c -o treemodel.o treemodel.c treemodel.c:22:23: fatal error: treemodel.h: No such file or directory
The following fix has been pushed: 9379a48 Add headers to treemodel test sources
Created attachment 195144 [details] [review] Add headers to treemodel test sources ...otherwise they don't make it into the release tarballs.
I applied the patch to a clean download, reran autogen.sh and configure, and then tried to build. I get the same error. I'm obviously not getting something.
unfortunately you aren't the only one. the only fix i found, as detestable as it is, is to disable all the test gear in the makefile for now. compiles fine otherwise but until a working fix is released...
(In reply to comment #3) > I applied the patch to a clean download, reran autogen.sh and configure, and > then tried to build. > > I get the same error. I'm obviously not getting something. Files are missing in the tarball due to this bug. Thus, applying the patch to the broken tarball won't help. Either build from git, manually add the missing files from git, or wait for a new release.