roger-router does not start, unresolved symbols

Bug #1980567 reported by andik
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
librm (Ubuntu)
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned
roger-router (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Impact
------
A mismatch between the versions of roger router and librm in Ubuntu 22.04 LTS make it so that roger-router won't start.

This was caused because Debian reverted the version of librm using a "really" version number. We need to revert that revert.

Test Case
---------
sudo apt install roger-router
Try to run the Roger Router app (it uses the binary name /usr/bin/roger)

What Could Go Wrong
-------------------
Nothing else in Ubuntu uses librm.

It is a library used by Roger Router and 2 similar command line utilities that aren't packaged in Ubuntu or Debian currently.
https://gitlab.com/tabos/librm

For the purposes of what is already in Ubuntu 22.04 LTS, shipping the correct version of librm is clearly the best fix.

[racb] However there may be users linking to librm from their own local builds, and bumping librm will regress them. On balance bumping seems like the best idea still, but this is a known path to regression if such users exist.

Other Info
----------
This has been fixed in Debian Unstable and Ubuntu 22.10 by building a newer version of librm.

Debian didn't have the issue as badly because Roger Router 2.4 was only in Experimental until August 2022.

Original Bug Report
-------------------
This is what I get when trying to start roger-router:

~$ roger
roger: symbol lookup error: roger: undefined symbol: rm_router_load_journal_finish

The reason is obvious, librm0 is out of date.
The version in Impish was newer. Why has this been done?
The same problem exists in Debian, it looks like the configuration was just copied without even trying if the program starts at all.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: roger-router 2.4.0-1
ProcVersionSignature: Ubuntu 5.15.0-40.43-generic 5.15.35
Uname: Linux 5.15.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: KDE
Date: Sat Jul 2 17:46:09 2022
InstallationDate: Installed on 2017-04-19 (1899 days ago)
InstallationMedia: Kubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: roger-router
UpgradeStatus: Upgraded to jammy on 2022-04-29 (64 days ago)

Revision history for this message
andik (andikies) wrote :
description: updated
Revision history for this message
andik (andikies) wrote (last edit ):

Output of ldd -d -r /usr/bin/roger

undefined symbol: rm_router_load_journal_finish (/usr/bin/roger)
undefined symbol: rm_router_load_voice_mail_async (/usr/bin/roger)
undefined symbol: rm_journal_free (/usr/bin/roger)
undefined symbol: rm_router_load_voice_mail_finish (/usr/bin/roger)
undefined symbol: rm_router_load_journal_async (/usr/bin/roger)

Jeremy Bícha (jbicha)
Changed in roger-router (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in librm (Ubuntu):
status: New → Triaged
importance: Undecided → High
status: Triaged → Fix Released
Changed in roger-router (Ubuntu):
status: Triaged → Fix Released
Changed in roger-router (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Changed in librm (Ubuntu Jammy):
importance: Undecided → High
status: New → Triaged
Jeremy Bícha (jbicha)
Changed in roger-router (Ubuntu Jammy):
status: Triaged → In Progress
Changed in librm (Ubuntu Jammy):
status: Triaged → In Progress
description: updated
Jeremy Bícha (jbicha)
description: updated
Jeremy Bícha (jbicha)
no longer affects: roger-router (Ubuntu Jammy)
Revision history for this message
Robie Basak (racb) wrote :

FTR, I found https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987938 as the reason for the previous revert by Debian. Looks like it was due to a "library transition" without regard to roger-router only.

description: updated
Revision history for this message
Robie Basak (racb) wrote :

I added this note:

> [racb] However there may be users linking to librm from their own local builds, and bumping librm will regress them. On balance bumping seems like the best idea still, but this is a known path to regression if such users exist.

Because of this, I'd like a +1 from another SRU team member before accepting this.

In the meantime, any chance you could add "Actual behaviour" and "Expected behaviour" to your test plan please? It's not clear to me what those should be. Also, if there's a CLI (looks like there is), would a dep8 test be a good idea? Presumably you care as you synced this from experimental during the Jammy cycle. A dep8 test would have stopped the issue arising in Ubuntu in the first place.

Revision history for this message
Robie Basak (racb) wrote :

On the other hand, downgrading roger-router the version present previously would presumably fix the issue without risking regressing anything unrelated.

Steve Langasek (vorlon)
summary: - roger-router does not start, unres. symbols
+ roger-router does not start, unresolved symbols
Revision history for this message
Steve Langasek (vorlon) wrote :

> and bumping librm will regress them.

I don't see any information here about regressions from the new upstream version; this seems more like it *may* regress them.

Anyway, on balance having the sole package in the archive that links against the library fixed so that it can be run trumps the risk of a local binary build (possibly) regressing, so +1.

(Also from the library description it appears this exists to specifically service roger-router and related software...)

Changed in librm (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-jammy
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello andik, or anyone else affected,

Accepted librm into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/librm/2.2.2+really2.2.2-0ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Revision history for this message
andik (andikies) wrote :

Hello Steve,

Thanks for your work. Unfortunately I already have moved to Kinectic, so trying the binaries in a different environment will fail.

But just a pointer to a new problem with roger-router in the Kinetic version:

https://bugs.launchpad.net/bugs/1995022

roger-router also does not start in this version, also due to a library missconfiguration.
But it's related to libsoup this time.

Revision history for this message
Jeremy Bícha (jbicha) wrote :

I installed librm 2.2.2+really2.2.2-0ubuntu0.1 on Ubuntu 22.04 LTS and verified that the Roger Router app now works.

tags: added: verification-done verification-done-jammy
removed: verification-needed verification-needed-jammy
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package librm - 2.2.2+really2.2.2-0ubuntu0.1

---------------
librm (2.2.2+really2.2.2-0ubuntu0.1) jammy; urgency=medium

  * Use the matching version for roger-router 2.4.0 (LP: #1980567)

 -- Jeremy Bicha <email address hidden> Fri, 26 Aug 2022 14:59:36 -0400

Changed in librm (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for librm has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

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.