After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 520585 - Build from svn fails using jhbuild
Build from svn fails using jhbuild
Status: RESOLVED DUPLICATE of bug 521647
Product: gnome-vfs
Classification: Deprecated
Component: Build
cvs (head)
Other All
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2008-03-05 20:03 UTC by José Alburquerque
Modified: 2008-03-17 14:03 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description José Alburquerque 2008-03-05 20:03:52 UTC
Please describe the problem:
I've never had problems building with jhbuild (though I've only been using jhbuild for a few weeks now), but in the last couple of days building fails with the following message:

 ...
 gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -pthread -DORBIT2=1 -I/opt/usr-jhbuild/include/glib-2.0 -I/opt/usr-jhbuild/lib64/glib-2.0/include -I/opt/usr-jhbuild/include/gconf/2 -I/opt/usr-jhbuild/include/orbit-2.0 -I/opt/usr-jhbuild/include/libxml2 -I/opt/usr-jhbuild/include/dbus-1.0 -I/opt/usr-jhbuild/lib64/dbus-1.0/include -D_REENTRANT -I/opt/usr-jhbuild/include -I/opt/usr-jhbuild/include/glib-2.0 -I/opt/usr-jhbuild/lib64/glib-2.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/usr-jhbuild/include/glib-2.0 -I/opt/usr-jhbuild/lib64/glib-2.0/include -I/opt/usr-jhbuild/include/hal -I/opt/usr-jhbuild/include/dbus-1.0 -I/opt/usr-jhbuild/lib64/dbus-1.0/include -Wall -Werror -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-strict-aliasing -Wno-sign-compare -DXDG_PREFIX=_gnome_vfs_xdg -DDBUS_API_SUBJECT_TO_CHANGE -D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DG_DISABLE_DEPRECATED -DGNOME_VFS_PREFIX=\"/opt/usr-jhbuild\" -DGNOME_VFS_BINDIR=\"/opt/usr-jhbuild/bin\" -DGNOME_VFS_DATADIR=\"/opt/usr-jhbuild/share\" -DGNOME_VFS_LIBDIR=\"/opt/usr-jhbuild/lib64\" -DGNOME_VFS_LOCALEDIR=\"/opt/usr-jhbuild/share/locale\" -DGNOME_VFS_SYSCONFDIR=\"/opt/usr-jhbuild/etc\" -DG_LOG_DOMAIN=\"libgnomevfs\" -g -O0 -MT gnome-vfs-ace.lo -MD -MP -MF .deps/gnome-vfs-ace.Tpo -c gnome-vfs-ace.c  -fPIC -DPIC -o .libs/gnome-vfs-ace.o
cc1: warnings being treated as errors
In file included from /opt/usr-jhbuild/include/glib-2.0/glib/gthread.h:32,
                 from /opt/usr-jhbuild/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /opt/usr-jhbuild/include/glib-2.0/glib.h:32,
                 from gnome-vfs-ace.h:28,
                 from gnome-vfs-ace.c:26:
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:320: warning: C99 inline functions are not supported; using GNU89
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:320: warning: to disable this warning use -fgnu89-inline or the gnu_inline function attribute
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:334: warning: C99 inline functions are not supported; using GNU89
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:347: warning: C99 inline functions are not supported; using GNU89
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:366: warning: C99 inline functions are not supported; using GNU89
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:374: warning: C99 inline functions are not supported; using GNU89
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:391: warning: C99 inline functions are not supported; using GNU89
/opt/usr-jhbuild/include/glib-2.0/glib/gutils.h:400: warning: C99 inline functions are not supported; using GNU89
In file included from /opt/usr-jhbuild/include/glib-2.0/glib/gasyncqueue.h:30,
                 from /opt/usr-jhbuild/include/glib-2.0/glib.h:32,
                 from gnome-vfs-ace.h:28,
                 from gnome-vfs-ace.c:26:
/opt/usr-jhbuild/include/glib-2.0/glib/gthread.h:334: warning: C99 inline functions are not supported; using GNU89
make[3]: *** [gnome-vfs-ace.lo] Error 1
make[3]: Leaving directory `/usr/src/jhbuild-sources/gnome-vfs/libgnomevfs'

The output of `gcc -v' is:

[02:58][jose@sweety:/usr/src/jhbuild-sources/gnome-vfs]$ gcc -v
Using built-in specs.
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --disable-libmudflap --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu
Thread model: posix
gcc version 4.2.3 (Debian 4.2.3-2)

Steps to reproduce:
1. Remove gnome-vfs directory from jhbuild source directory
2. run `jhbuild buildone gnome-vfs'
3. Compile error is produced


Actual results:
Compile error is produced

Expected results:
Build would continue with success (as it has in the past)

Does this happen every time?
Yes

Other information:
My system is an updated GNU/Linux (Debian) Lenny/Sid (unstable)
Comment 1 Murray Cumming 2008-03-17 14:03:19 UTC

*** This bug has been marked as a duplicate of 521647 ***