Re: symbols file handling Was: Bug#829692: RFS: libu2f-host/1.1.2-0.1 [NMU] -- library for Universal 2nd Factor
Hi Christian, thanks for the help and answer!
I admit it looked wrong to me too, but your explanation is perfect!
so, I would have changed the symbols file in this way:
libu2f-host.so.0 libu2f-host0 #MINVER#
U2F_HOST_0.0@U2F_HOST_0.0 0.0
+ U2F_HOST_1.1@U2F_HOST_1.1 1.1.2
u2fh_authenticate@U2F_HOST_0.0 0.0
+ u2fh_authenticate2@U2F_HOST_1.1 1.1.2
u2fh_check_version@U2F_HOST_0.0 0.0
u2fh_devs_discover@U2F_HOST_0.0 0.0
u2fh_devs_done@U2F_HOST_0.0 0.0
u2fh_devs_init@U2F_HOST_0.0 0.0
u2fh_get_device_description@U2F_HOST_0.0 0.0
u2fh_global_done@U2F_HOST_0.0 0.0
u2fh_global_init@U2F_HOST_0.0 0.0
u2fh_is_alive@U2F_HOST_0.0 0.0
+ u2fh_register2@U2F_HOST_1.1 1.1.2
u2fh_register@U2F_HOST_0.0 0.0
u2fh_sendrecv@U2F_HOST_0.0 0.0
u2fh_strerror@U2F_HOST_0.0 0.0
u2fh_strerror_name@U2F_HOST_0.0 0.0
Basically, the debdiff is not showing ABI incompatible changes (please double check, I'm
really far from being expert) but the library exposes some new symbols
Adding them, with the new 1.1.2 version should be fine, because
rdeps are not obviously using them, and in case they start doing it, the shlibs:Depends will
be bumped with the new minimum version accordingly.
Now, if the reverse-dependency gets rebuilt the minimum needed version will bump, while
it is good also with the old library
My suggestion is to fix the symbols as above, and upload again, to avoid having a too-strict
dependency for the (only one) reverse-dependency.
I hope my solution is correct :)
thanks a lot!
Gianfranco
Reply to: