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 509630 - gnome-vfs cannot be built if gssapi/gssapi_generic.h found in include path
gnome-vfs cannot be built if gssapi/gssapi_generic.h found in include path
Status: RESOLVED WONTFIX
Product: gnome-vfs
Classification: Deprecated
Component: Build
2.20.x
Other All
: Normal blocker
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2008-01-15 12:55 UTC by Vincent Lefevre
Modified: 2008-11-16 12:09 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vincent Lefevre 2008-01-15 12:55:44 UTC
Please describe the problem:
If gssapi/gssapi_generic.h is found in the include path (e.g. /usr/include) and there's a newer version (e.g. from heimdal 1.0.1) installed somewhere else, gnomve-vfs build fails with:
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'

Steps to reproduce:
1. Build gnome-vfs with --enable-ipv6 --enable-howl --disable-gnutls, where the above conditions are met.

Actual results:


Expected results:


Does this happen every time?
yes

Other information:
Platform: Mac OS X 10.4.11 (PPC). Note that gssapi/gssapi_generic.h cannot be removed since it is provided by the vendor. The configure script should check path consistency and/or disable gssapi/gssapi_generic.h if some problem is detected with it. Indeed, I get:

[...]
configure: GSSAPI authentication support enabled
checking gssapi/gssapi_generic.h usability... no
checking gssapi/gssapi_generic.h presence... yes
configure: WARNING: gssapi/gssapi_generic.h: present but cannot be compiled
configure: WARNING: gssapi/gssapi_generic.h:     check for missing prerequisite headers?
configure: WARNING: gssapi/gssapi_generic.h: see the Autoconf documentation
configure: WARNING: gssapi/gssapi_generic.h:     section "Present But Cannot Be Compiled"
configure: WARNING: gssapi/gssapi_generic.h: proceeding with the preprocessor's result
configure: WARNING: gssapi/gssapi_generic.h: in the future, the compiler will take precedence
checking for gssapi/gssapi_generic.h... yes
[...]

So, I wonder why it is enabled...
Comment 1 André Klapper 2008-11-15 21:31:09 UTC
Is this still a valid issue in gnome-vfs 2.24?

Also note that gnome-vfs has been deprecated and superseded by gio/gvfs since GNOME 2.22.
Comment 2 Vincent Lefevre 2008-11-16 12:09:26 UTC
The problem no longer occurs with MacPorts since heimdal is no longer installed in default paths (as it introduced clashes with other ports -- but this wasn't the same problem, AFAIK). So, I'm closing the bug as WONTFIX.