Public bug reported:
When CUPS 2.2.3 is being built, one of the steps is testing: test/run-
stp-tests.sh.
CUPS passes the tests OK with cups-filters-1.0.54, but fails with cups-
filters-1.13.4 due to some changes in how classified.pdf banner is
handled, which is done when test Job 14 is printed.
cups-filters 1.0.54:
[Job 14] Started filter /tmp/cups-pbuser/bin/filter/bannertopdf (PID 38207)
[Job 14] Started filter /tmp/cups-pbuser/bin/filter/pdftopdf (PID 38208)
[Job 14] Started filter /tmp/cups-pbuser/bin/filter/pdftops (PID 38209)
[Job 14] pdftops - copying to temp print file
\"/tmp/cups-pbuser/spool/temp/0954158fd0dc0\"
[Job 14] PDF template file doesn\'t have form. It\'s okay.
[Job 14] PID 38207 (/tmp/cups-pbuser/bin/filter/bannertopdf) exited with no
errors.
[Job 14] PID 38208 (/tmp/cups-pbuser/bin/filter/pdftopdf) exited with no errors.
cups-filters 1.13.4:
[Job 14] Started filter /tmp/cups-pbuser/bin/filter/bannertopdf (PID 76934)
[Job 14] Started filter /tmp/cups-pbuser/bin/filter/pdftopdf (PID 76935)
[Job 14] Started filter /tmp/cups-pbuser/bin/filter/pdftops (PID 76936)
[Job 14] pdftops - copying to temp print file
\"/tmp/cups-pbuser/spool/temp/12c8858f972ae\"
[Job 14] pdftopdf: Last filter determined by the PPD: None; FINAL_CONTENT_TYPE:
printer/Test1 => pdftopdf will not log pages in page_log.
[Job 14] PID 76934 (/tmp/cups-pbuser/bin/filter/bannertopdf) stopped with
status 1.
[Job 14] PID 76935 (/tmp/cups-pbuser/bin/filter/pdftopdf) stopped with status 1.
[Job 14] I/O Error: Couldn\'t open file
\'/tmp/cups-pbuser/share/data/classified.pdf\': No such file or directory.
[Job 14] Error: unable to open template document
\'/tmp/cups-pbuser/share/data/classified.pdf\'
[Job 14] loadFile failed: temp file: not a PDF file
I see that previous debian releases used to link banners from
/usr/share/cups/banner to /tmp/cups-$user, but there's no linking to
/usr/share/cups/data/*.pdf that now exist for cups-filters-1.13.
I guess something like this is needed for the patch:
--- a/test/run-stp-tests.sh
+++ b/test/run-stp-tests.sh
@@ -482,6 +483,17 @@
ln -sf /usr/share/cups/banners/topsecret /tmp/cups-$user/share/banners/
ln -sf /usr/share/cups/banners/unclassified
/tmp/cups-$user/share/banners/
+ ln -sf /usr/share/cups/data/classified.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/confidential.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/default.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/default-testpage.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/form_english.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/form_russian.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/secret.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/standard.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/topsecret.pdf /tmp/cups-$user/share/data
+ ln -sf /usr/share/cups/data/unclassified.pdf /tmp/cups-$user/share/data
+
if test -d /usr/share/cups/charsets; then
ln -s /usr/share/cups/charsets $BASE/share
fi
** Affects: cups-filters (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1685317
Title:
Cannot build CUPS 2.2.3 with cups-filters 1.13.4
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups-filters/+bug/1685317/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs