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 148348 - ABI breakage on purpose ?
ABI breakage on purpose ?
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Build
2.7.x
Other Linux
: Immediate critical
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
: 148487 148490 148577 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-07-24 15:22 UTC by Sebastien Bacher
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastien Bacher 2004-07-24 15:22:14 UTC
gnome-vfs 2.7.4 breaks the ABI apparently. A symbol diff between 2.7.3 and 2.7.4
report 44 missing symboles in the new version.

The missing symboles break some apps, ie:
$ gnome-file-types-properties
gnome-file-types-properties: relocation error: gnome-file-types-properties:
undefined symbol: gnome_vfs_get_registered_mime_types

Is that breakage on purpose ? I understand that this part of the code is
deprecated, but breaking compatibily is somewhere a problem for distribution ...
Comment 1 Sebastien Bacher 2004-07-24 17:02:41 UTC
List of missing symboles:

endmntent
fstab_poll_tag
gconf_client_add_dir
gconf_client_notify_add
gconf_client_notify_remove
gethostbyname
getmntent
g_list_sort
_gnome_vfs_drive_set_mounted_volume
_gnome_vfs_drive_unset_volume
_gnome_vfs_get_current_unix_mounts
gnome_vfs_get_registered_mime_types
_gnome_vfs_get_unix_mount_table
gnome_vfs_mime_get_extensions_pretty_string
gnome_vfs_mime_get_extensions_string
gnome_vfs_mime_get_key_list
gnome_vfs_mime_keys_list_free
gnome_vfs_mime_registered_mime_type_delete
gnome_vfs_mime_registered_mime_type_list_free
gnome_vfs_mime_reset
gnome_vfs_mime_set_extensions_list
_gnome_vfs_monitor_unix_mounts
_gnome_vfs_stop_monitoring_unix_mounts
_gnome_vfs_unix_mount_compare
_gnome_vfs_unix_mount_free
_gnome_vfs_unix_mount_get_unix_device
_gnome_vfs_unix_mount_point_compare
_gnome_vfs_unix_mount_point_free
gnome_vfs_volume_monitor_daemon_force_probe
gnome_vfs_volume_monitor_daemon_get_type
g_path_get_basename
g_str_has_prefix
g_strjoinv
hasmntopt
module_hash_lock
mtab_poll_tag
remove
setmntent
str_cmp_callback
sync_context
unlink
uri_strspn_sets
xdg_mime_shutdown
Comment 2 Christophe Fergeau 2004-07-24 17:21:10 UTC
The symbols which were actually part of the ABI are:

gnome_vfs_get_registered_mime_types
gnome_vfs_mime_get_extensions_pretty_string
gnome_vfs_mime_get_extensions_string
gnome_vfs_mime_get_key_list
gnome_vfs_mime_keys_list_free
gnome_vfs_mime_registered_mime_type_delete
gnome_vfs_mime_registered_mime_type_list_free
gnome_vfs_mime_reset
gnome_vfs_mime_set_extensions_list
gnome_vfs_volume_monitor_daemon_force_probe
gnome_vfs_volume_monitor_daemon_get_type

The others are either private symbols or symbols from other libs (?)

Among those symbols, the following ones were exported in headers (as part of the
gnome-vfs module API):

gnome_vfs_get_registered_mime_types
gnome_vfs_mime_registered_mime_type_delete
gnome_vfs_mime_registered_mime_type_list_free
gnome_vfs_mime_get_extensions_pretty_string
gnome_vfs_mime_get_extensions_string
gnome_vfs_mime_get_key_list
gnome_vfs_mime_keys_list_free
gnome_vfs_mime_reset
gnome_vfs_mime_set_extensions_list

Comment 3 Christophe Fergeau 2004-07-24 17:23:08 UTC
These symbols are also still present in headers.
Comment 4 Christophe Fergeau 2004-07-24 17:23:38 UTC
jrb: any idea if those symbols were intentionally removed or not ?
Comment 5 Jonathan Blandford 2004-07-26 01:28:55 UTC
It's clearly not intentional.  I'll take a look first thing tomorrow and do a
new release if need be.
Comment 6 Sebastien Bacher 2004-07-26 14:29:17 UTC
*** Bug 148487 has been marked as a duplicate of this bug. ***
Comment 7 David Sedeño Fernández 2004-07-26 20:02:59 UTC
*** Bug 148490 has been marked as a duplicate of this bug. ***
Comment 8 Jonathan Blandford 2004-07-26 20:06:53 UTC
I put back (I think) all of the symbols.  However, the daemon symbols:

gnome_vfs_volume_monitor_daemon_force_probe
gnome_vfs_volume_monitor_daemon_get_type

are in libgnomevfsdaemon.  The ChangeLog makes this look intentional, and I
don't think we had those symbols in a stable release.  Any thoughts teuf?
Comment 9 Jonathan Blandford 2004-07-27 17:51:27 UTC
I put out a 2.7.5.  Can people test it?
Comment 10 David Sedeño Fernández 2004-07-27 17:54:27 UTC
*** Bug 148577 has been marked as a duplicate of this bug. ***
Comment 11 Stef van der Made 2004-07-27 18:31:27 UTC
I have just built 2.7.5 without a hitch. It seems to work perfectly for me.
Comment 12 Christophe Fergeau 2004-07-27 18:40:29 UTC
Marking as fixed then. Thanks for fixing that jrb ;)
Comment 13 Sebastien Bacher 2004-07-27 19:10:46 UTC
Works fine here (gnome-vfs build and control-center), thanks for the quick fix !