#12789 closed defect (wontfix)
gnome-vfs fails to build
Reported by: | MartinBuchmann (Martin Buchmann) | Owned by: | rhwood@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.5.2 |
Keywords: | Cc: | chicagotripp (Altoine Barker) | |
Port: |
Description
I tried to install gnumeric on my intel MacBook (10.4.10, XCode 2.4.1, macports 1.5.2) but one of the dependencies fails:
---> Building gnome-vfs 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_gnome-vfs/work/gnome-vfs-2.20.0" && make all " returned error 2 Command output: gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_uri.lo -MD -MP -MF .deps/ne_uri.Tpo -c ne_uri.c -fno-common -DPIC -o .libs/ne_uri.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_uri.lo -MD -MP -MF .deps/ne_uri.Tpo -c ne_uri.c -o ne_uri.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_dates.lo -MD -MP -MF ".deps/ne_dates.Tpo" -c -o ne_dates.lo ne_dates.c; \ then mv -f ".deps/ne_dates.Tpo" ".deps/ne_dates.Plo"; else rm -f ".deps/ne_dates.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_dates.lo -MD -MP -MF .deps/ne_dates.Tpo -c ne_dates.c -fno-common -DPIC -o .libs/ne_dates.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_dates.lo -MD -MP -MF .deps/ne_dates.Tpo -c ne_dates.c -o ne_dates.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_alloc.lo -MD -MP -MF ".deps/ne_alloc.Tpo" -c -o ne_alloc.lo ne_alloc.c; \ then mv -f ".deps/ne_alloc.Tpo" ".deps/ne_alloc.Plo"; else rm -f ".deps/ne_alloc.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_alloc.lo -MD -MP -MF .deps/ne_alloc.Tpo -c ne_alloc.c -fno-common -DPIC -o .libs/ne_alloc.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_alloc.lo -MD -MP -MF .deps/ne_alloc.Tpo -c ne_alloc.c -o ne_alloc.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_md5.lo -MD -MP -MF ".deps/ne_md5.Tpo" -c -o ne_md5.lo ne_md5.c; \ then mv -f ".deps/ne_md5.Tpo" ".deps/ne_md5.Plo"; else rm -f ".deps/ne_md5.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_md5.lo -MD -MP -MF .deps/ne_md5.Tpo -c ne_md5.c -fno-common -DPIC -o .libs/ne_md5.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_md5.lo -MD -MP -MF .deps/ne_md5.Tpo -c ne_md5.c -o ne_md5.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_utils.lo -MD -MP -MF ".deps/ne_utils.Tpo" -c -o ne_utils.lo ne_utils.c; \ then mv -f ".deps/ne_utils.Tpo" ".deps/ne_utils.Plo"; else rm -f ".deps/ne_utils.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_utils.lo -MD -MP -MF .deps/ne_utils.Tpo -c ne_utils.c -fno-common -DPIC -o .libs/ne_utils.o gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_utils.lo -MD -MP -MF .deps/ne_utils.Tpo -c ne_utils.c -o ne_utils.o >/dev/null 2>&1 if /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_auth.lo -MD -MP -MF ".deps/ne_auth.Tpo" -c -o ne_auth.lo ne_auth.c; \ then mv -f ".deps/ne_auth.Tpo" ".deps/ne_auth.Plo"; else rm -f ".deps/ne_auth.Tpo"; exit 1; fi gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DNE_HAVE_DAV -DNE_HAVE_SSL -O2 -I.. -I../.. -I./imported/neon -I/opt/local/include/libxml2 -I/opt/local/include -D_REENTRANT -DORBIT2=1 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I../.. -I../.. -I../../libgnomevfs -I../../libgnomevfs -I/opt/local/include -no-cpp-precomp -O2 -MT ne_auth.lo -MD -MP -MF .deps/ne_auth.Tpo -c ne_auth.c -fno-common -DPIC -o .libs/ne_auth.o In file included from ne_auth.c:66: /usr/include/gssapi/gssapi_generic.h:46: error: syntax error before 'extern' /usr/include/gssapi/gssapi_generic.h:47: error: syntax error before 'extern' /usr/include/gssapi/gssapi_generic.h:48: error: syntax error before 'extern' /usr/include/gssapi/gssapi_generic.h:50: error: syntax error before 'extern' make[3]: *** [ne_auth.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Error: The following dependencies failed to build: goffice libgsf gnome-vfs Error: Status 1 encountered during processing.
Change History (8)
comment:1 Changed 17 years ago by william.allen.simpson@…
comment:2 Changed 17 years ago by MartinBuchmann (Martin Buchmann)
After uninstalling the heimdal port everything works fine again on my system. Can someone confirm this behaviour?
comment:3 Changed 17 years ago by william.allen.simpson@…
Good catch! But as I reported in #12753, sadly not on 10.3.9 Panther:
sudo port -f uninstall heimdal Password: ---> Unable to uninstall heimdal 0.7.2_1, the following ports depend on it: ---> gnome-vfs Warning: Uninstall forced. Proceeding despite dependencies. ---> Uninstalling heimdal 0.7.2_1 sudo port upgrade gnome-vfs ---> Building gnome-vfs with target all ld: warning -prebind has no effect with -bundle ld: can't locate file for: -lgssapi make[2]: *** [libftp.la] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
comment:4 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ndiscreet@… added |
---|---|
Summary: | gnome-vfs fails to built → gnome-vfs fails to build |
comment:5 follow-up: 6 Changed 17 years ago by chicagotripp (Altoine Barker)
Martin,
I can confirm that your suggestion works but with some specific steps that need to be known for your method to work. William, I received your same error message on my Tiger system until I did the following steps:
sudo port -v uninstall heimdal sudo port -v clean --all gnome-vfs sudo port -vu upgrade gnome-vfs
After doing the above three steps, I had a successful upgrade.
comment:6 Changed 17 years ago by chicagotripp (Altoine Barker)
Replying to nDiScReEt@GmAiL.cOm:
Martin,
I can confirm that your suggestion works but with some specific steps that need to be known for your method to work. William, I received your same error message on my Tiger system until I did the following steps:
sudo port -v uninstall heimdal sudo port -v clean --all gnome-vfs sudo port -vu upgrade gnome-vfs
After doing the above three steps, I had a successful upgrade.
The incorrect ..incomplete way was to do the following steps:
sudo port -v uninstall heimdal
sudo port -vu upgrade installed
There definitely needs to be a clean build of gnome-vfs. You shouldn't have to run:
sudo port -v clean --all gnome-vfs
I hadn't tried the other basic clean:
sudo port -v clean gnome-vfs
I am certain that method will work just as well. MMV
comment:7 Changed 17 years ago by rhwood@…
Resolution: | → wontfix |
---|---|
Status: | new → closed |
This refers to an outdated version of gnome-vfs, which has been significantly rewritten to work with glib 2.16+. If issues continue with gnome-vfs, please open a new ticket. (You may see the same issues you have had with gnome-vfs appear in glib2 -- please open a ticket on that port if you do).
duplicate with #12753 "libneon included in gnome-vfs doesn't like /usr/include/gssapi"