Opened 12 years ago

Closed 9 years ago

#4543 closed defect (invalid)

Bump soname version in case of API/ABI breakage

Reported by: volter Owned by: warmerdam
Priority: high Milestone:
Component: ConfigBuild Version: unspecified
Severity: normal Keywords: api abi breakage compatibility soname
Cc:

Description

According to upstream-tracker.org, there were a number of API/ABI breaks in the past. Such changes should be reflected by changing soname versions.

This is a major concern for packagers.

http://upstream-tracker.org/versions/gdal.html

Change History (6)

comment:1 by Even Rouault, 12 years ago

Bumping soname is done. Could you be more specific of a case where it wasn't done and should have be done ???

comment:2 by opoplawski, 12 years ago

See the link provided, it lists the abi breaks. I also don't see that the soname has been updated.

comment:3 by warmerdam, 12 years ago

An interesting tool, which shows we have been exposing some things in the ABI unintentially. Nevertheless, I do not consider some of those things breaks in the ABI as I care about it.

Note, we generate the soname using libtool and we (within our definition of the public ABI) bumb the current/revision/age values from release to release. See the gdal/HOWTO-RELEASE for details on how we do this.

It is not entirely clear to me what packaging problems this is causing. I'm guessing you are speaking from the point of view of ELGIS?

comment:4 by opoplawski, 12 years ago

I can't speak to what part of the ABI are public or private, but there were certainly changes to the code that if programs used that code and were linked to an earlier version of the library and then the library was upgraded that it could cause failures. I would have said that from the report the changes from 1.8.1 to 1.9.0 would have merited bumping LIBGDAL_CURRENT (a number of removed symbols and changes to existing symbols).

The packaging problem come in when deciding what version updates can be pushed to older releases and when programs that use gdal need to be recompiled or will still be compatible with the new version.

comment:5 by opoplawski, 11 years ago

Looks like there was more breakage between 1.9.2 and 1.10.0, but again no soname bump.

comment:6 by Even Rouault, 9 years ago

Resolution: invalid
Status: newclosed

No point in keeping that ticket open

Note: See TracTickets for help on using tickets.