FTBFS

Bug #2224 reported by Tollef Fog Heen
4
Affects Status Importance Assigned to Milestone
gnome-vfs (Ubuntu)
Fix Released
Medium
Ubuntu GNOME

Bug Description

Gnome-vfs fails to build from source:

Message-Id: <E1BrvtT-0007zW-2U@localhost>
Date: Tue, 03 Aug 2004 11:47:39 +0200
From: Andreas Jochens <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: gnome-vfs: FTBFS with gcc-3.4: conflicting types for 'gnome_vfs_process_run_cancellable'

Package: gnome-vfs
Severity: normal
Tags: patch

When building 'gnome-vfs' with gcc-3.4 I get the following error:

 gcc -DHAVE_CONFIG_H -I. -I. -I.. -DGNOME_VFS_CONFDIR=\"/etc\" -DGNOME_VFS_DATADIR=\"/usr/share\" -DGNOME_VFS_PREFIX=\"/usr\" -I.. -I../intl -I.. -I../intl -I../libgnomevfs -I/usr/include/glib-1.2 -I/usr/lib/glib/include -D_REENTRANT -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gnome-xml -I/usr/include/gconf/1 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/orbit-1.0 -I/usr/include/gtk-1.2 -Wall -Wunused -D_GNU_SOURCE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\" -DG_LOG_DOMAIN=\"GnomeVFS\" -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -Wp,-MD,.deps/gnome-vfs-private-utils.pp -c gnome-vfs-private-utils.c -fPIC -DPIC -o .libs/gnome-vfs-private-utils.o
gnome-vfs-private-utils.c:272: error: conflicting types for 'gnome_vfs_process_run_cancellable'
gnome-vfs-private-utils.h:50: error: previous declaration of 'gnome_vfs_process_run_cancellable' was here
gnome-vfs-private-utils.c:272: error: conflicting types for 'gnome_vfs_process_run_cancellable'
gnome-vfs-private-utils.h:50: error: previous declaration of 'gnome_vfs_process_run_cancellable' was here
make[4]: *** [gnome-vfs-private-utils.lo] Error 1
make[4]: Leaving directory `/gnome-vfs-1.0.5/libgnomevfs'

With the attached patch 'gnome-vfs' can be compiled using gcc-3.4.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnome-vfs-1.0.5/libgnomevfs/gnome-vfs-private-utils.c ./libgnomevfs/gnome-vfs-private-utils.c
--- ../tmp-orig/gnome-vfs-1.0.5/libgnomevfs/gnome-vfs-private-utils.c2001-07-16 20:21:07.000000000 +0200
+++ ./libgnomevfs/gnome-vfs-private-utils.c2004-08-02 23:37:08.000000000 +0200
@@ -263,7 +263,7 @@
  *
  * Return value:
  **/
-GnomeVFSProcessResult
+GnomeVFSProcessRunResult
 gnome_vfs_process_run_cancellable (const gchar *file_name,
    const gchar * const argv[],
    GnomeVFSProcessOptions options,
diff -urN ../tmp-orig/gnome-vfs-1.0.5/libgnomevfs/gnome-vfs-process.c ./libgnomevfs/gnome-vfs-process.c
--- ../tmp-orig/gnome-vfs-1.0.5/libgnomevfs/gnome-vfs-process.c2001-07-16 20:21:07.000000000 +0200
+++ ./libgnomevfs/gnome-vfs-process.c2004-08-03 11:24:08.349978235 +0200
@@ -258,7 +258,7 @@
  *
  * Return value: A numeric value reporting the result of the operation.
  **/
-GnomeVFSProcessRunResult
+GnomeVFSProcessResult
 gnome_vfs_process_signal (GnomeVFSProcess *process,
   guint signal_number)
 {

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

Just syncing from Debian should fix this bug.

Changed in gnome-vfs:
assignee: nobody → gnome
Revision history for this message
Daniel Holbach (dholbach) wrote :

apparently so, requested a sync

Changed in gnome-vfs:
status: New → Fixed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.