libreadline5_dev in OpenSRF/src/extras/Makefile.install called obsolete by Ubuntu-precise desktop

Bug #1069907 reported by StephenGWills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenSRF
Fix Released
Undecided
Unassigned

Bug Description

While making Opensrf 2.1 on a ubuntu-precise desktop installation.

Reading state information...
Package libreadline5-dev is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  libreadline-gplv2-dev lib64readline-gplv2-dev

E: Package 'libreadline5-dev' has no installation candidate
make: *** [install_debs] Error 100

the Evergreen and OpenSRF versions are Master branch, last pulled around noon on 10/22/2012
postgres not yet installed at this point in the process.

Revision history for this message
Jason Stephenson (jstephenson) wrote :

"Package libreadline5-dev is not available, but is referred to by another package." Sounds like an Ubuntu packaging error to me.

Revision history for this message
Dan Scott (denials) wrote :

This didn't show up in my round-up of open bugs when I was trying to put a 2.1.1 OpenSRF release together - thus assigning it to the OpenSRF bug tracker.

affects: evergreen → opensrf
Revision history for this message
Bill Erickson (berick) wrote :

I think Dan mentioned this in IRC before, but can't we drop the explicit version number and everything will just work?

For example:

diff --git a/src/extras/Makefile.install b/src/extras/Makefile.install
index 30c5221..e488f05 100644
--- a/src/extras/Makefile.install
+++ b/src/extras/Makefile.install
@@ -56,7 +56,7 @@ DEBS = \
        libnet-dns-perl\
        libnet-jabber-perl\
        libperl-dev\
- libreadline5-dev\
+ libreadline-dev
        librpc-xml-perl\
        libtemplate-perl\
        libtest-pod-perl\
@@ -163,8 +163,7 @@ EXTRA_DEBS_UBUNTU_PRECISE = \
        libmemcached-dev\
        libxml-libxml-perl \
        libxml-libxslt-perl \
- ncurses-dev \
- libreadline-dev
+ ncurses-dev

---

I don't have access to an Ubuntu machine at the moment, so I'm just thinking out loud.

Revision history for this message
Bill Erickson (berick) wrote :

note the syntax in the diff is not entirely correct (libreadline-dev\)

Revision history for this message
Dan Scott (denials) wrote :

Bill, right, I think that's the right idea and have confirmed that it will work on Debian Squeeze. It installs libreadline6-dev instead of libreadline5-dev now, but nothing we compile seems to be upset by that.

Revision history for this message
Jason Stephenson (jstephenson) wrote :

I can confirm denials' report. I just built OpenSRF with the version dropped from the package and it works on Ubuntu Precise.

It looks like we need to do the same for Evergreen, but that's another ticket.

Revision history for this message
Jason Stephenson (jstephenson) wrote :
Revision history for this message
Dan Scott (denials) wrote :

And committed to master and rel_2_1. Thanks, Bill and Jason!

Changed in opensrf:
status: New → Fix Committed
Dan Scott (denials)
Changed in opensrf:
milestone: none → 2.1.1
Dan Scott (denials)
Changed in opensrf:
status: Fix Committed → Fix Released
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.