Hardy foomatic-rip PageSetup is broken, fails LSB tests

Bug #376732 reported by Jeff Licquia on 2009-05-14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
foomatic-filters (Ubuntu)

Bug Description

Binary package hint: foomatic-filters

When running the tests for LSB 4.0 on Hardy, several tests of foomatic-rip fail. These tests break printing under certain circumstances. For more details, see LSB bug 2418:


Upstream has fixed the bug in the foomatic 3.x series, and recommends that all distributions include the bug fix.

Martin Pitt (pitti) wrote :

Is this a regression from gutsy?

The patch (http://bugs.linuxbase.org/attachment.cgi?id=1354) seems to change several different thing, and also has some whitespace changing which make it a bit difficult to read. Could you perhaps point to the individual bzr commits, so that the changes can be reviewed more easily?

Till Kamppeter (till-kamppeter) wrote :

SRU Proposal to fix the package: debdiff attached and package uploaded to hardy-proposed. The patch contains the upstream commits 135, 136, and 137 from
http://bzr.openprinting.org/foomatic-3.0/foomatic-filters which fix the LSB test failures.

Till Kamppeter (till-kamppeter) wrote :

AFAIK it is a regression from Gutsy as the commit leading to the failure was only introduced in Hardy. Jeff, can you do the LSB test on Gutsy?

Till Kamppeter (till-kamppeter) wrote :

To reproduce:

Download the upstream source of foomatic-filters 4.0.0 or newer:

wget http://www.openprinting.org/download/foomatic/foomatic-filters-4.0.1.tar.gz

Go into the test/ subdirectory and run

sudo ./testfoomaticrip

This tests the system's foomatic-rip

You can slo run any foomatic-rip by copying it into the current directory and running

sudo sh -c 'PATH=".:$PATH" ./testfoomaticrip'

and searching for "FAIL" in the resulting output file tet_xres.

Hardy's foomatic-rip fails in tests 3 and 11, the patched foomatic-rip has no FAIL at all.

Till Kamppeter (till-kamppeter) wrote :

Note: Hardy's foomatic-rip is the SRUed one: 3.0.2-20071204-0ubuntu2.1

Till Kamppeter (till-kamppeter) wrote :

Gutsy's foomatic-rip (3.0.2-20070719-0ubuntu1) has no failure in the LSB tests.

Changed in foomatic-filters (Ubuntu Hardy):
status: New → Triaged
Till Kamppeter (till-kamppeter) wrote :

Also the foomatic-rip in Jaunty and current Karmic has no failure in the LSB tests.

Changed in foomatic-filters (Ubuntu):
status: New → Fix Released
Changed in foomatic-filters (Ubuntu Hardy):
importance: Undecided → Medium

On Fri, May 15, 2009 at 06:23:57AM -0000, Till Kamppeter wrote:
> AFAIK it is a regression from Gutsy as the commit leading to the failure
> was only introduced in Hardy. Jeff, can you do the LSB test on Gutsy?

Gutsy has reached EOL; I don't think it matters particularly whether this is
present in gutsy (except for bisecting purposes, if that's what you're

Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
<email address hidden> <email address hidden>

Changed in foomatic-filters (Ubuntu Hardy):
milestone: none → ubuntu-8.04.3
Till Kamppeter (till-kamppeter) wrote :

Steve Langasek, I did the Gutsy test only to check whether the bug in Hardy is a regression. And as it works in Gutsy, this is a regression.

Martin Pitt (pitti) on 2009-06-02
tags: added: regression-release
Martin Pitt (pitti) wrote :

Accepted foomatic-filters into hardy-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in foomatic-filters (Ubuntu Hardy):
status: Triaged → Fix Committed
tags: added: verification-needed
Steve Beattie (sbeattie) wrote :

I can confirm that the foomatic-filters 3.0.2-20071204-0ubuntu2.1 package in hardy-updates fails tests 3 and 11 in the testfoomaticrip script, and can confirm that with the foomatic-filters package in hardy-proposed, 3.0.2-20071204-0ubuntu2.2, that no tests in the script fail (all pass except 9, which is disabled).

(Note for other testers: test 13 failed for both versions due to apparmor restrictions, but putting the cups profile in complain mode addressed that.)

I don't have access to a printer that uses the foomatic-rip in its ppd, so I was unable to look for any additional signs of regressions.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package foomatic-filters - 3.0.2-20071204-0ubuntu2.2

foomatic-filters (3.0.2-20071204-0ubuntu2.2) hardy-proposed; urgency=low

  * debian/patches/lsb-compliance-fix.patch: The last patch made foomatic-rip
    failing the LSB-compliance tests. This patch fixes all LSB test issues
    (LSB bug #2418, LP: #376732).

 -- Till Kamppeter <email address hidden> Fri, 15 May 2009 00:13:58 +0002

Changed in foomatic-filters (Ubuntu Hardy):
status: Fix Committed → Fix Released
Steve Langasek (vorlon) wrote :

no further regression reports, so since this is itself a fix for a release regression, treating this as verified.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers