libparent-perl fails to install on Ubuntu Precise

Bug #1054322 reported by Ben Shum
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Low
Unassigned
2.2
Fix Released
Low
Unassigned
2.3
Fix Released
Low
Unassigned

Bug Description

Evergreen master

When installing Evergreen on Ubuntu Precise, the latest LTS, I'm getting an error running Evergreen's Makefile.install where it's trying to install package "libparent-perl" but getting dependency failures.

Based on the following Debian bugs, it sounds like the newer version of Perl 5.14 includes the contents already and libparent-perl is now an obsolete package. See: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676949

Originally i was thinking to move the dependency under EXTRA_DEBS_SQUEEZE, but I forgot about Ubuntu Lucid's target as well. Should we define this dependency separately till we stop supporting older versions and remove it from the main list of debs to install?

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

I didn't see any message about it not installing. However, querying the package with aptitude show libparent-perl indicates it was not installed.

I parent.pm in /usr/share/perl/5.14/, so 5.14 does indeed include it.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jason Stephenson (jstephenson) wrote :

Everything seems to install and work. Ben, when you got the error message did your installation fail at that point?

Revision history for this message
Ben Shum (bshum) wrote :

I didn't get through the rest of the installation process, only noted the issues and started doing some research.

I'll wrap up an actual install and then get back to you, but I would imagine that the system would run correctly either way.

Revision history for this message
Ben Shum (bshum) wrote :

Install does complete and the system does run. But I did see the dependency error for libparent-perl on my most recent attempt on ubuntu 12.04. Since it doesn't actually break anything, I guess it's more of a warning, rather than an actual problem bug.

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

Ideally, we should check the perl version and not the distro name and version so much. I could probably do a branch to "fix" this if we think it is worth fixing.

I honestly haven't noticed the warning message until I started looking for it.

Changed in evergreen:
importance: Undecided → Low
Revision history for this message
Alex Lazar (alex-lazar) wrote :

I observed the same error when installing prerequisites for Evergreen 2.3 on Ubuntu 12.04.

Revision history for this message
Ben Shum (bshum) wrote :
Changed in evergreen:
milestone: none → 2.4.0-alpha
tags: added: pullrequest
Changed in evergreen:
status: Confirmed → In Progress
assignee: nobody → Jason Stephenson (jstephenson)
Revision history for this message
Jason Stephenson (jstephenson) wrote :

This one works for me on Ubuntu 12.04 (Precise). However, I think someone using Debian Squeeze or Ubuntu Lucid should test it before it goes in to make sure that it doesn't break anything for them.

The changes look good to me and it should work on those distros, but there's nothing like actually trying it.

Changed in evergreen:
status: In Progress → Confirmed
assignee: Jason Stephenson (jstephenson) → nobody
Ben Shum (bshum)
Changed in evergreen:
milestone: 2.4.0-alpha1 → 2.4.0-beta
Revision history for this message
Ben Shum (bshum) wrote :

Tested the makefile change against both Squeeze and Lucid. Seemed to work fine so far for me.

Revision history for this message
Ben Shum (bshum) wrote :

Force pushed an updated branch to resolve conflicts in the Makefile.install

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/bshum/lp1054322-libparent-perl

Revision history for this message
Galen Charlton (gmc) wrote :

Works for me. Pushed to master, rel_2_3, and rel_2_2.

Note for the future Debian Wheezy target: libparent-perl doesn't exist as a separate package there either.

Changed in evergreen:
status: Confirmed → Fix Committed
Ben Shum (bshum)
Changed in evergreen:
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.