Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
CUPS 1.6.1 run-stp-tests.sh fails at ipp-1.1.test, Get-Jobs Operation (requested-attributes) #4214
Comments
|
CUPS.org User: odyx As a data point, I just tried without the hardening flags Debian is adding and it fails similarly. |
|
CUPS.org User: odyx Ah� I now also tried with latest 1.6svn-r10486 (just in case), and it also fails. |
|
CUPS.org User: mike r10486 isn't the latest, r10650 is the latest as of today. Several issues were fixed in the "make check" stuff since 1.6.1 - as long as you have the cups-filters package installed this should now work with the latest code. |
|
CUPS.org User: odyx Aye. Good point, sorry for that. I have now tried with revision 10649 and it still fails, with the same error. What info would you need to help debug that? |
|
CUPS.org User: odyx Damn. I really messed up my testing here. I found the source of the issue; that was not in cups, but is caused by our pstops-based-workflow-only-for-printing-ps-on-a-ps-printer.patch : Index: cups-1.6.0/conf/mime.convs.in--- cups-1.6.0.orig/conf/mime.convs.in 2011-08-27 11:23:01.000000000 +0200 PostScript filters-application/postscript application/vnd.cups-postscript 66 pstops ######################################################################## patch. If I remove that patch, the testsuite passes. This still means that something is broken if the postscript-to-postscript filter chain is used, but it's another story I guess. Sorry for the mess again; I'll try to avoid being as noisy for future issues. Cheers, OdyX |
michaelrsweet commentedOct 17, 2012
Version: 1.6.1
CUPS.org User: odyx
Hi,
while building CUPS 1.6.1 on Debian (current sid, roughly equivalent to Wheezy), I noticed that the run-stp-tests.sh launched by "make check" fails during the ipp-1.1.test, with that output:
RFC 2911 section 3.2.6: Get-Jobs Operation (requested-attributes) [FAIL]
RECEIVED: 72 bytes in response
status-code = successful-ok (successful-ok)
attributes-charset (charset) = utf-8
attributes-natural-language (naturalLanguage) = en
EXPECTED: job-id
EXPECTED: job-uri
EXPECTED: job-printer-uri
EXPECTED: job-name
EXPECTED: job-originating-user-name
EXPECTED: job-state
EXPECTED: job-state-reasons
EXPECTED: time-at-creation
EXPECTED: time-at-processing
EXPECTED: time-at-completed
EXPECTED: job-printer-up-time
Then other errors occur and the error_log has 5 superfluous error messages.
The configure is launched with the following arguments:
--mandir=/usr/share/man --with-docdir=/usr/share/cups/doc-root --localedir=/usr/share/cups/locale --enable-slp --enable-libpaper --enable-ssl --enable-gnutls --disable-openssl --enable-threads --enable-static --enable-debug --enable-dbus --with-dbusdir=/etc/dbus-1 --enable-gssapi --enable-avahi --with-pdftops=/usr/bin/gs --disable-launchd --with-cups-group=lp --with-system-groups=lpadmin --with-printcap=/var/run/cups/printcap --with-log-file-perm=0640 --with-local_protocols='CUPS dnssd' --with-remote_protocols='CUPS dnssd' --enable-libusb
And there are plenty of patches: http://anonscm.debian.org/loggerhead/pkg-cups/cups/debian-trunk/files/head:/debian/patches/
It is to be noted that the situation with regards to the tests is worse without the patches.
Cheers,
OdyX