[MacPorts] #16705: gnome 2.16.2 build failure

MacPorts noreply at macports.org
Tue Sep 30 09:46:35 PDT 2008


#16705: gnome 2.16.2 build failure
-------------------------------+--------------------------------------------
  Reporter:  benlight at mac.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect            |      Status:  new                                  
  Priority:  Normal            |   Milestone:  Port Bugs                            
 Component:  ports             |     Version:  1.6.0                                
Resolution:                    |    Keywords:  gnome                                
      Port:  gnome             |  
-------------------------------+--------------------------------------------
Changes (by jmr at macports.org):

 * cc: jmr at macports.org (added)


Old description:

> I have an intel MacBook pro with OS X 10.5.5 and Xcode 311_2517 (the
> latest I could find) and MacPorts 1.6.0 and  I did "sudo port selfupdate"
> before starting.
>
> My aim is to install gnome as a prerequisite to installing gnucash from
> source.
>
> The steps I followed are listed below with the error messages.
>
> $ sudo port install gnome
>
> Which exited with the following errors:
>
> {{{Error: The following dependencies failed to build: gnome-desktop-suite
> bug-buddy evolution-data-server gnome-platform-suite libgnomeui libsoup
> gnutls lzo opencdk readline nspr nss gnome-desktop gnome-themes gtk-
> engines2 gvfs py25-gnome py25-gtk py25-cairo py25-numpy fftw-3 py25-orbit
> startup-notification gnome-menus libelf libgtop dasher gnome-speech
> libwnck eel librsvg libcroco libgsf bzip2 eog libexif libgnomeprintui
> libgnomeprint bison libgnomecups evince gdk-pixbuf glib1 gtk1 nautilus
> poppler poppler-data file-roller gcalctool gconf-editor gdm gzip howl
> gedit gtksourceview2 py25-pygtksourceview gnome-applets gnome-control-
> center gnome-panel libgweather gnome-settings-daemon gst-plugins-good
> aalib flac id3lib libogg gst-plugins-base cdparanoia gstreamer flex
> liboil libtheora libvorbis libcaca libcdio libcddb libdv libshout2 speex
> taglib wavpack libgnomekbd libxklavier metacity gnome-python-desktop
> gnome-media gtksourceview gnuregex totem-pl-parser gucharmap system-
> tools-backends p5-net-dbus p5-xml-twig gnome-audio gnome-backgrounds
> gnome-games ggz-client-libs libggz guile gmp libsdl_mixer libsdl smpeg
> py25-gtkglext gtkglext py25-opengl py25-pil py25-setuptools py25-zlib
> py25-tkinter tcl tk gnome-keyring-manager gnome-mag gnome-session gnome-
> system-monitor gtkmm cairomm glibmm libsigcxx2 gnome-terminal vte gnome-
> user-docs gnome-utils gnopernicus libgail-gnome libgtkhtml3 seahorse
> avahi dbus-python25 gdbm libdaemon py25-gdbm gpgme gnupg pth vino yelp
> firefox-x11 zip zenity
> Error: Status 1 encountered during processing.}}}
>
> The last thing on the list was zenity so I tried:
>
> $ sudo port install zenity
>
> Which exited with the following errors:
>
> {{{Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libgnomeui/work/libgnomeui-2.22.1"
> && make all " returned error 2
> Command output: gtkfilesystemgio.c:1877: error: syntax error before '*'
> token
> gtkfilesystemgio.c:1878: error: syntax error before '*' token
> gtkfilesystemgio.c:1881: warning: return type defaults to 'int'
> gtkfilesystemgio.c:1881: warning: no previous prototype for
> 'gtk_file_folder_gio_get_info'
> gtkfilesystemgio.c: In function 'gtk_file_folder_gio_get_info':
> gtkfilesystemgio.c:1888: error: 'folder' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1889: error: 'path' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1889: warning: assignment makes pointer from integer
> without a cast
> gtkfilesystemgio.c:1894: error: 'GtkFileInfo' undeclared (first use in
> this function)
> gtkfilesystemgio.c:1894: error: 'info' undeclared (first use in this
> function)
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1908: error: syntax error before '*' token
> gtkfilesystemgio.c:1911: warning: 'gtk_file_folder_gio_list_children' was
> used with no prototype before its definition
> gtkfilesystemgio.c: In function 'gtk_file_folder_gio_list_children':
> gtkfilesystemgio.c:1917: error: 'folder' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1921: error: 'children' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1921: warning: passing argument 2 of 'g_slist_prepend'
> makes pointer from integer without a cast
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1927: error: syntax error before '*' token
> gtkfilesystemgio.c:1928: warning:
> 'gtk_file_folder_gio_is_finished_loading' was used with no prototype
> before its definition
> gtkfilesystemgio.c: In function
> 'gtk_file_folder_gio_is_finished_loading':
> gtkfilesystemgio.c:1932: error: 'folder' undeclared (first use in this
> function)
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1937: error: syntax error before '*' token
> gtkfilesystemgio.c:1939: warning: return type defaults to 'int'
> gtkfilesystemgio.c:1958: error: syntax error before '*' token
> gtkfilesystemgio.c:1960: warning: return type defaults to 'int'
> make[2]: *** [gtkfilesystemgio.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: The following dependencies failed to build: libgnomeui
> Error: Status 1 encountered during processing.}}}
>
> which ended in an error, the last thing on the list was libgnomeui so I
> tried:
>
> $ sudo port install libgnomeui
>
> which exited with the following errors:
>
> {{{Error: The following dependencies failed to build: libgnomeui
> Error: Status 1 encountered during processing.
> miranda:~ ben$ sudo port install libgnomeui
> --->  Building libgnomeui with target all
> Error: Target org.macports.build returned: shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libgnomeui/work/libgnomeui-2.22.1"
> && make all " returned error 2
> Command output: gtkfilesystemgio.c:1877: error: syntax error before '*'
> token
> gtkfilesystemgio.c:1878: error: syntax error before '*' token
> gtkfilesystemgio.c:1881: warning: return type defaults to 'int'
> gtkfilesystemgio.c:1881: warning: no previous prototype for
> 'gtk_file_folder_gio_get_info'
> gtkfilesystemgio.c: In function 'gtk_file_folder_gio_get_info':
> gtkfilesystemgio.c:1888: error: 'folder' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1889: error: 'path' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1889: warning: assignment makes pointer from integer
> without a cast
> gtkfilesystemgio.c:1894: error: 'GtkFileInfo' undeclared (first use in
> this function)
> gtkfilesystemgio.c:1894: error: 'info' undeclared (first use in this
> function)
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1908: error: syntax error before '*' token
> gtkfilesystemgio.c:1911: warning: 'gtk_file_folder_gio_list_children' was
> used with no prototype before its definition
> gtkfilesystemgio.c: In function 'gtk_file_folder_gio_list_children':
> gtkfilesystemgio.c:1917: error: 'folder' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1921: error: 'children' undeclared (first use in this
> function)
> gtkfilesystemgio.c:1921: warning: passing argument 2 of 'g_slist_prepend'
> makes pointer from integer without a cast
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1927: error: syntax error before '*' token
> gtkfilesystemgio.c:1928: warning:
> 'gtk_file_folder_gio_is_finished_loading' was used with no prototype
> before its definition
> gtkfilesystemgio.c: In function
> 'gtk_file_folder_gio_is_finished_loading':
> gtkfilesystemgio.c:1932: error: 'folder' undeclared (first use in this
> function)
> gtkfilesystemgio.c: At top level:
> gtkfilesystemgio.c:1937: error: syntax error before '*' token
> gtkfilesystemgio.c:1939: warning: return type defaults to 'int'
> gtkfilesystemgio.c:1958: error: syntax error before '*' token
> gtkfilesystemgio.c:1960: warning: return type defaults to 'int'
> make[2]: *** [gtkfilesystemgio.lo] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
>
> Error: Status 1 encountered during processing.}}}

New description:

 I have an intel MacBook pro with OS X 10.5.5 and Xcode 311_2517 (the
 latest I could find) and MacPorts 1.6.0 and  I did "sudo port selfupdate"
 before starting.

 My aim is to install gnome as a prerequisite to installing gnucash from
 source.

 The steps I followed are listed below with the error messages.

 $ sudo port install gnome

 Which exited with the following errors:

 {{{
 Error: The following dependencies failed to build: gnome-desktop-suite
 bug-buddy evolution-data-server gnome-platform-suite libgnomeui libsoup
 gnutls lzo opencdk readline nspr nss gnome-desktop gnome-themes gtk-
 engines2 gvfs py25-gnome py25-gtk py25-cairo py25-numpy fftw-3 py25-orbit
 startup-notification gnome-menus libelf libgtop dasher gnome-speech
 libwnck eel librsvg libcroco libgsf bzip2 eog libexif libgnomeprintui
 libgnomeprint bison libgnomecups evince gdk-pixbuf glib1 gtk1 nautilus
 poppler poppler-data file-roller gcalctool gconf-editor gdm gzip howl
 gedit gtksourceview2 py25-pygtksourceview gnome-applets gnome-control-
 center gnome-panel libgweather gnome-settings-daemon gst-plugins-good
 aalib flac id3lib libogg gst-plugins-base cdparanoia gstreamer flex liboil
 libtheora libvorbis libcaca libcdio libcddb libdv libshout2 speex taglib
 wavpack libgnomekbd libxklavier metacity gnome-python-desktop gnome-media
 gtksourceview gnuregex totem-pl-parser gucharmap system-tools-backends p5
 -net-dbus p5-xml-twig gnome-audio gnome-backgrounds gnome-games ggz-
 client-libs libggz guile gmp libsdl_mixer libsdl smpeg py25-gtkglext
 gtkglext py25-opengl py25-pil py25-setuptools py25-zlib py25-tkinter tcl
 tk gnome-keyring-manager gnome-mag gnome-session gnome-system-monitor
 gtkmm cairomm glibmm libsigcxx2 gnome-terminal vte gnome-user-docs gnome-
 utils gnopernicus libgail-gnome libgtkhtml3 seahorse avahi dbus-python25
 gdbm libdaemon py25-gdbm gpgme gnupg pth vino yelp firefox-x11 zip zenity
 Error: Status 1 encountered during processing.
 }}}

 The last thing on the list was zenity so I tried:

 $ sudo port install zenity

 Which exited with the following errors:

 {{{
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libgnomeui/work/libgnomeui-2.22.1"
 && make all " returned error 2
 Command output: gtkfilesystemgio.c:1877: error: syntax error before '*'
 token
 gtkfilesystemgio.c:1878: error: syntax error before '*' token
 gtkfilesystemgio.c:1881: warning: return type defaults to 'int'
 gtkfilesystemgio.c:1881: warning: no previous prototype for
 'gtk_file_folder_gio_get_info'
 gtkfilesystemgio.c: In function 'gtk_file_folder_gio_get_info':
 gtkfilesystemgio.c:1888: error: 'folder' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1889: error: 'path' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1889: warning: assignment makes pointer from integer
 without a cast
 gtkfilesystemgio.c:1894: error: 'GtkFileInfo' undeclared (first use in
 this function)
 gtkfilesystemgio.c:1894: error: 'info' undeclared (first use in this
 function)
 gtkfilesystemgio.c: At top level:
 gtkfilesystemgio.c:1908: error: syntax error before '*' token
 gtkfilesystemgio.c:1911: warning: 'gtk_file_folder_gio_list_children' was
 used with no prototype before its definition
 gtkfilesystemgio.c: In function 'gtk_file_folder_gio_list_children':
 gtkfilesystemgio.c:1917: error: 'folder' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1921: error: 'children' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1921: warning: passing argument 2 of 'g_slist_prepend'
 makes pointer from integer without a cast
 gtkfilesystemgio.c: At top level:
 gtkfilesystemgio.c:1927: error: syntax error before '*' token
 gtkfilesystemgio.c:1928: warning:
 'gtk_file_folder_gio_is_finished_loading' was used with no prototype
 before its definition
 gtkfilesystemgio.c: In function 'gtk_file_folder_gio_is_finished_loading':
 gtkfilesystemgio.c:1932: error: 'folder' undeclared (first use in this
 function)
 gtkfilesystemgio.c: At top level:
 gtkfilesystemgio.c:1937: error: syntax error before '*' token
 gtkfilesystemgio.c:1939: warning: return type defaults to 'int'
 gtkfilesystemgio.c:1958: error: syntax error before '*' token
 gtkfilesystemgio.c:1960: warning: return type defaults to 'int'
 make[2]: *** [gtkfilesystemgio.lo] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: The following dependencies failed to build: libgnomeui
 Error: Status 1 encountered during processing.
 }}}

 which ended in an error, the last thing on the list was libgnomeui so I
 tried:

 $ sudo port install libgnomeui

 which exited with the following errors:

 {{{
 Error: The following dependencies failed to build: libgnomeui
 Error: Status 1 encountered during processing.
 miranda:~ ben$ sudo port install libgnomeui
 --->  Building libgnomeui with target all
 Error: Target org.macports.build returned: shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_libgnomeui/work/libgnomeui-2.22.1"
 && make all " returned error 2
 Command output: gtkfilesystemgio.c:1877: error: syntax error before '*'
 token
 gtkfilesystemgio.c:1878: error: syntax error before '*' token
 gtkfilesystemgio.c:1881: warning: return type defaults to 'int'
 gtkfilesystemgio.c:1881: warning: no previous prototype for
 'gtk_file_folder_gio_get_info'
 gtkfilesystemgio.c: In function 'gtk_file_folder_gio_get_info':
 gtkfilesystemgio.c:1888: error: 'folder' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1889: error: 'path' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1889: warning: assignment makes pointer from integer
 without a cast
 gtkfilesystemgio.c:1894: error: 'GtkFileInfo' undeclared (first use in
 this function)
 gtkfilesystemgio.c:1894: error: 'info' undeclared (first use in this
 function)
 gtkfilesystemgio.c: At top level:
 gtkfilesystemgio.c:1908: error: syntax error before '*' token
 gtkfilesystemgio.c:1911: warning: 'gtk_file_folder_gio_list_children' was
 used with no prototype before its definition
 gtkfilesystemgio.c: In function 'gtk_file_folder_gio_list_children':
 gtkfilesystemgio.c:1917: error: 'folder' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1921: error: 'children' undeclared (first use in this
 function)
 gtkfilesystemgio.c:1921: warning: passing argument 2 of 'g_slist_prepend'
 makes pointer from integer without a cast
 gtkfilesystemgio.c: At top level:
 gtkfilesystemgio.c:1927: error: syntax error before '*' token
 gtkfilesystemgio.c:1928: warning:
 'gtk_file_folder_gio_is_finished_loading' was used with no prototype
 before its definition
 gtkfilesystemgio.c: In function 'gtk_file_folder_gio_is_finished_loading':
 gtkfilesystemgio.c:1932: error: 'folder' undeclared (first use in this
 function)
 gtkfilesystemgio.c: At top level:
 gtkfilesystemgio.c:1937: error: syntax error before '*' token
 gtkfilesystemgio.c:1939: warning: return type defaults to 'int'
 gtkfilesystemgio.c:1958: error: syntax error before '*' token
 gtkfilesystemgio.c:1960: warning: return type defaults to 'int'
 make[2]: *** [gtkfilesystemgio.lo] Error 1
 make[1]: *** [all-recursive] Error 1
 make: *** [all] Error 2

 Error: Status 1 encountered during processing.
 }}}

--

Comment:

 The order in which the ports are listed does not give you any information
 about which one failed (because of dependency relationships). Use the -v
 option to get verbose output. You may need to upgrade some of your
 already-installed ports first, as a lot of the gnome dependencies were
 recently updated. Then clean the failed ports and try again.

-- 
Ticket URL: <http://trac.macports.org/ticket/16705#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list