[SRU] rqsh fails to run

Bug #2060858 reported by Sudip Mukherjee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
librdf-query-perl (Debian)
Fix Released
Unknown
librdf-query-perl (Ubuntu)
Fix Committed
Undecided
Unassigned
Focal
Confirmed
Undecided
Unassigned
Jammy
Confirmed
Undecided
Unassigned
Mantic
Confirmed
Undecided
Unassigned
Noble
Confirmed
Undecided
Unassigned

Bug Description

[ Impact ]

librdf-query-perl is almost unusable as rqsh will fail to run with the error:

$ rqsh
Can't locate Term/ReadKey.pm in @INC (you may need to install the Term::ReadKey module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/bin/rqsh line 14.
BEGIN failed--compilation aborted at /usr/bin/rqsh line 14.

The error is because its missing one of the runtime dependencies.

[ Test Plan ]

1. install librdf-query-perl
2. execute rqsh

If the package is not fixed it will result in the above error.

With the fixed package we will reach the rqsh prompt:

$ rqsh
rqsh v1.0, RDF::Query v2.918

rqsh>

[ Where problems could occur ]

There is no change in code and it only fixes a runtime dependency and so imho, there is very little chance of any regression.

[ Other Info ]

It has already been fixed in Debian, so oracular will be fixed when it is synced from Debian.

[ Original Bug Description ]

rqsh fails to run with the error:

$ rqsh
Can't locate Term/ReadKey.pm in @INC (you may need to install the Term::ReadKey module) (@INC entries checked: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.38.2 /usr/local/share/perl/5.38.2 /usr/lib/x86_64-linux-gnu/perl5/5.38 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.38 /usr/share/perl/5.38 /usr/local/lib/site_perl) at /usr/bin/rqsh line 14.
BEGIN failed--compilation aborted at /usr/bin/rqsh line 14.

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote (last edit ):

Issue also seen in Mantic, Jammy and Focal apart from Noble.

tags: added: jammy mantic noble
Changed in librdf-query-perl (Ubuntu):
status: New → Confirmed
Changed in librdf-query-perl (Debian):
status: Unknown → Fix Released
tags: added: focal
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

Modified debdiff attached for Noble.

summary: - rqsh fails to run in Noble
+ [SRU] rqsh fails to run
description: updated
Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff for Mantic.

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached for Jammy.

Revision history for this message
Sudip Mukherjee (sudipmuk) wrote :

debdiff attached for Focal

Revision history for this message
Dave Jones (waveform) wrote :

It was a little tricky to confirm this one, given that the missing dependency (libterm-readkey-perl) is seeded by server and cloud-image (so the problem didn't immediately manifest in my test containers!), but yes, confirmed. Targetting to affected releases.

One question about the proposed fix: it's adding libterm-readkey-perl to Depends, when upstream have fixed this by adding it to Recommends. I suspect upstream is correct in that the "intent" of the package is to provide a library for querying RDF, and rqsh is (presumably?) a simple utility for experimenting with that facility, not the "primary" artifact of the package. In other words, there exist users that could happily install librdf-query-perl as a dependency of some Perl-based system, use it successfully, and never notice (or care) that rqsh doesn't work, and who don't want the overhead of its dependencies installed as well.

Still, given the additional dependency in this case is already seeded in server and cloud-image, this really feels like splitting hairs, and I'd much rather the package "just works" for users. So, sponsoring!

Changed in librdf-query-perl (Ubuntu Focal):
status: New → Confirmed
Changed in librdf-query-perl (Ubuntu Jammy):
status: New → Confirmed
Changed in librdf-query-perl (Ubuntu Mantic):
status: New → Confirmed
Changed in librdf-query-perl (Ubuntu Noble):
status: New → Confirmed
Changed in librdf-query-perl (Ubuntu):
status: Confirmed → Fix Committed
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.