FS#52071 - Dependency breakage - symbol lookup error from bctoolbox library

Attached to Project: Community Packages
Opened by Brendan (watricky) - Wednesday, 07 December 2016, 06:45 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 09 December 2016, 10:01 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 3
Private No

Details

Description:
Breakage since update of bctoolbox from 0.2.0-1 to 0.4.0-1
Tested with x86_64 only. Possibly affecting i686 as well

Downgrading bctoolbox resolves the issue. There is no easy way as an end-user to know if the bug is technically with linphone or bctoolbox. While on the surface this looks like an "outdated package" scenario, the version in the repo is already the latest available version.

Dependency information:

bctoolbox is depended on only by various packages (including belle-sip) that are themselves all depended on by linphone. There are no other known dependencies on bctoolbox in Arch repos. None of the packages explicitly depend on any specific version of bctoolbox. I have not checked AUR.

Error on launch:
brendan@desktop ~ % linphone :(
linphone: symbol lookup error: /usr/lib/libbellesip.so.0: undefined symbol: bctbx_list_delete_link
127 brendan@desktop ~ %

Additional info:
* package version(s)
linphone 3.10.2-2
bctoolbox 0.2.0-1 (good)
bctoolbox 0.4.0-1 (bad)

* config and/or log files etc.
Redacted pacman log. Full log available on request:
[2016-12-07 07:35] [PACMAN] Running 'pacman -Syu'
[2016-12-07 07:35] [PACMAN] synchronizing package lists
[2016-12-07 07:35] [PACMAN] starting full system upgrade
[redacted]
[2016-12-07 07:35] [ALPM] transaction started
[redacted]
[2016-12-07 07:35] [ALPM] upgraded bctoolbox (0.2.0-1 -> 0.4.0-1)
[redacted]
[2016-12-07 07:36] [ALPM] transaction completed
[redacted]
[2016-12-07 07:56] [PACMAN] Running 'pacman -U /var/cache/pacman/pkg/bctoolbox-0.2.0-1-x86_64.pkg.tar.xz'
[2016-12-07 07:56] [ALPM] transaction started
[2016-12-07 07:56] [ALPM] downgraded bctoolbox (0.4.0-1 -> 0.2.0-1)
[2016-12-07 07:56] [ALPM] transaction completed
b

Steps to reproduce:
Do system update (which includes updates of bctoolbox). Launch linphone.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 09 December 2016, 10:01 GMT
Reason for closing:  Fixed
Comment by Sergej Pupykin (sergej) - Wednesday, 07 December 2016, 21:27 GMT
please try belle-sip 1.5.0-2
Comment by Doug Newgard (Scimmia) - Wednesday, 07 December 2016, 23:48 GMT
Upstream changed API/ABI here without bumping the soname. Not sure if it was a mistake or if they consider the API to be unstable. If it's the former, changing belle-sip isn't necessarily the answer.
Comment by Sergej Pupykin (sergej) - Thursday, 08 December 2016, 14:32 GMT
I've asked upstream, however linphone looks fixed.
Comment by Dragan Vracar (dvracar) - Thursday, 08 December 2016, 14:56 GMT
updating to belle-sip 1.5.0-2 while bctoolbox-0.4.0-1 is installed doesn't break it on start, but it does when making a call. With the same message: linphone: symbol lookup error: /usr/lib/liblinphone.so.9: undefined symbol: bctbx_list_remove_link

Downgrading belle-sip (1.5.0-2 => 1.5.0-1) and bctoolbox (0.4.0-1 => 0.2.0-1) fixes everything...
Comment by Sergej Pupykin (sergej) - Thursday, 08 December 2016, 15:45 GMT
I've updated all linphone related packages, please try them.
Comment by Dragan Vracar (dvracar) - Friday, 09 December 2016, 08:41 GMT
After this mornings linphone's update everything is working for me as it should. Thanks...

Loading...