fldigi emits bogus warning: 'hamlib_version' has different size

Bug #526575 reported by Kamal Mostafa
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fldigi
Invalid
Unknown
fldigi (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: fldigi

The new hamlib version "1.2.10" causes fldigi to emit this bogus warning:

    fldigi: Symbol `hamlib_version' has different size in shared object, consider re-linking

The hamlib source contains a string declared as follows:

rig.c:const char hamlib_version[] = "Hamlib version " PACKAGE_VERSION;

PACKAGE_VERSION used to be "1.2.9" but now its one character longer ("1.2.10"), which fldigi seems not to like. In my opinion, fldigi shouldn't check the hamlib_version string at all, but this simple string-length test seems unlikely to have been the intended behavior of fldigi anyway (since it wouldn't have noticed if the .so version number hadn't gotten one character longer).

Problem occurs in versions:
fldigi: Installed: 3.11.4-1 (Ubuntu Karmic with hamlib 1.2.10-1 PPA)
fldigi: Installed: 3.12.5-1 (Ubuntu Lucid with native hamlib 1.2.10-1)

Changed in fldigi (Ubuntu):
importance: Undecided → Low
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

Submitted to upstream fldigi developers.

Changed in fldigi (Ubuntu):
status: New → Triaged
Changed in fldigi:
status: Unknown → New
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

As explained by the fldigi developers, this is actually a problem with hamlib itself. The 'hamlib_version' string is part of the exported ABI, so the fact that its length has changed is (correctly) reported by the dynamic loader, not fldigi. I will report the issue to hamlib.

Changed in fldigi (Ubuntu):
status: Triaged → Invalid
Changed in fldigi:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.