openprinting / cups Goto Github PK
View Code? Open in Web Editor NEWOpenPrinting CUPS Sources
Home Page: https://openprinting.github.io/cups
License: Apache License 2.0
OpenPrinting CUPS Sources
Home Page: https://openprinting.github.io/cups
License: Apache License 2.0
Hi,
I install CUPS 2.3.3 for Raspbian os,
I can reach http://localhost:631/ but nothing else. http://localhost:631/admin,for example, gives me the internal server error. ,could you give us some advices? Thanks
D [01/Dec/2020:12:44:32 +0800] [Client 376] GET /help/admin.html HTTP/1.1
D [01/Dec/2020:12:44:32 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [01/Dec/2020:12:44:32 +0800] [Client 376] Read: status=200, state=3
D [01/Dec/2020:12:44:32 +0800] [Client 376] No authentication data provided.
D [01/Dec/2020:12:44:32 +0800] [Client 376] Processing GET /help/admin.html
D [01/Dec/2020:12:44:32 +0800] [CGI] argv[0] = "/usr/lib/cups/cgi-bin/help.cgi"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/doc/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/lib/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[7] = "CUPS_STATEDIR=/var/run/cups"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[9] = "PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[10] = "SERVER_ADMIN=root@localhost"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[11] = "SOFTWARE=CUPS/2.3.3"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[13] = "USER=root"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[14] = "CUPS_MAX_MESSAGE=2047"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[15] = "CUPS_SERVER=localhost"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[16] = "CUPS_ENCRYPTION=IfRequested"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[17] = "IPP_PORT=631"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[18] = "LANG=zh_TW.UTF8"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[19] = "REDIRECT_STATUS=1"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[21] = "SERVER_NAME=10.129.93.163"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[22] = "SERVER_PORT=631"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[23] = "REMOTE_ADDR=10.129.93.160"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[24] = "REMOTE_HOST=10.129.93.160"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[25] = "SCRIPT_NAME=/help/admin.html"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/doc/cups/help/admin.html"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[27] = "PATH_INFO=/admin.html"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[28] = "SERVER_PROTOCOL=HTTP/1.1"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[29] = "HTTP_USER_AGENT=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.66 Safari/537.36"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[30] = "HTTP_REFERER=http://10.129.93.163:631/"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[31] = "REQUEST_METHOD=GET"
D [01/Dec/2020:12:44:32 +0800] [CGI] envp[32] = "QUERY_STRING="
D [01/Dec/2020:12:44:32 +0800] [CGI] Started /usr/lib/cups/cgi-bin/help.cgi (PID 28491)
I [01/Dec/2020:12:44:32 +0800] [Client 376] Started "/usr/lib/cups/cgi-bin/help.cgi" (pid=28491, file=12)
D [01/Dec/2020:12:44:32 +0800] [Client 376] Waiting for CGI data.
D [01/Dec/2020:12:44:32 +0800] Report: clients=3
D [01/Dec/2020:12:44:32 +0800] Report: jobs=0
D [01/Dec/2020:12:44:32 +0800] Report: jobs-active=0
D [01/Dec/2020:12:44:32 +0800] Report: printers=0
D [01/Dec/2020:12:44:32 +0800] Report: stringpool-string-count=1037
D [01/Dec/2020:12:44:32 +0800] Report: stringpool-alloc-bytes=2976
D [01/Dec/2020:12:44:32 +0800] Report: stringpool-total-bytes=9816
D [01/Dec/2020:12:44:32 +0800] [CGI] org.cups.sid cookie not found, initializing!
D [01/Dec/2020:12:44:32 +0800] [CGI] /usr/lib/cups/cgi-bin/help.cgi: symbol lookup error: /usr/lib/cups/cgi-bin/help.cgi: undefined symbol: cupsHashString
D [01/Dec/2020:12:44:32 +0800] [Client 376] CGI data ready to be sent.
D [01/Dec/2020:12:44:32 +0800] [Client 376] con->http=0x55b23e08
D [01/Dec/2020:12:44:32 +0800] [Client 376] cupsdWriteClient error=0, used=0, state=HTTP_STATE_GET_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2147483647, response=(nil)(), pipe_pid=28491, file=12
D [01/Dec/2020:12:44:32 +0800] [Client 376] Waiting for CGI data.
D [01/Dec/2020:12:44:32 +0800] [Client 376] cupsdSendHeader: code=500, type="text/html", auth_type=0
D [01/Dec/2020:12:44:32 +0800] [Client 376] Waiting for request.
D [01/Dec/2020:12:44:32 +0800] [Client 376] Closing because Keep-Alive is disabled.
D [01/Dec/2020:12:44:32 +0800] [Client 376] Closing connection.
D [01/Dec/2020:12:44:32 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [01/Dec/2020:12:44:32 +0800] PID 28491 (/usr/lib/cups/cgi-bin/help.cgi) stopped with status 127 (File too large)
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [01/Dec/2020:12:44:57 +0800] [Client 378] Server address is "[v1.::1]".
D [01/Dec/2020:12:44:57 +0800] [Client 378] Accepted from localhost:40018 (IPv6)
D [01/Dec/2020:12:44:57 +0800] [Client 378] Waiting for request.
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [01/Dec/2020:12:44:57 +0800] [Client 379] Server address is "[v1.::1]".
D [01/Dec/2020:12:44:57 +0800] [Client 379] Accepted from localhost:40020 (IPv6)
D [01/Dec/2020:12:44:57 +0800] [Client 379] Waiting for request.
D [01/Dec/2020:12:44:57 +0800] [Client 378] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [01/Dec/2020:12:44:57 +0800] [Client 378] Closing connection.
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [01/Dec/2020:12:44:57 +0800] [Client 379] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [01/Dec/2020:12:44:57 +0800] [Client 379] Closing connection.
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [01/Dec/2020:12:44:57 +0800] [Client 380] Server address is "127.0.0.1".
D [01/Dec/2020:12:44:57 +0800] [Client 380] Accepted from localhost:37910 (IPv4)
D [01/Dec/2020:12:44:57 +0800] [Client 380] Waiting for request.
D [01/Dec/2020:12:44:57 +0800] [Client 380] POST / HTTP/1.1
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=200, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] No authentication data provided.
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] 1.1 CUPS-Get-Default 1
D [01/Dec/2020:12:44:57 +0800] CUPS-Get-Default
D [01/Dec/2020:12:44:57 +0800] CUPS-Get-Default client-error-not-found: No default printer.
D [01/Dec/2020:12:44:57 +0800] [Client 380] Returning IPP client-error-not-found for CUPS-Get-Default (no URI) from localhost.
D [01/Dec/2020:12:44:57 +0800] [Client 380] Content-Length: 110
D [01/Dec/2020:12:44:57 +0800] [Client 380] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [01/Dec/2020:12:44:57 +0800] [Client 380] con->http=0x55b23e08
D [01/Dec/2020:12:44:57 +0800] [Client 380] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=110, response=0x55b1b658(IPP_STATE_DATA), pipe_pid=0, file=-1
D [01/Dec/2020:12:44:57 +0800] [Client 380] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [01/Dec/2020:12:44:57 +0800] [Client 380] bytes=0, http_state=0, data_remaining=110
D [01/Dec/2020:12:44:57 +0800] [Client 380] Flushing write buffer.
D [01/Dec/2020:12:44:57 +0800] [Client 380] New state is HTTP_STATE_WAITING
D [01/Dec/2020:12:44:57 +0800] [Client 380] Waiting for request.
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [01/Dec/2020:12:44:57 +0800] [Client 381] Server address is "[v1.::1]".
D [01/Dec/2020:12:44:57 +0800] [Client 381] Accepted from localhost:40024 (IPv6)
D [01/Dec/2020:12:44:57 +0800] [Client 381] Waiting for request.
D [01/Dec/2020:12:44:57 +0800] [Client 381] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [01/Dec/2020:12:44:57 +0800] [Client 381] Closing connection.
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [01/Dec/2020:12:44:57 +0800] [Client 380] POST / HTTP/1.1
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=200, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] No authentication data provided.
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] Read: status=100, state=6
D [01/Dec/2020:12:44:57 +0800] [Client 380] 1.1 CUPS-Get-Printers 1
D [01/Dec/2020:12:44:57 +0800] CUPS-Get-Printers
D [01/Dec/2020:12:44:57 +0800] CUPS-Get-Printers client-error-not-found: No destinations added.
D [01/Dec/2020:12:44:57 +0800] [Client 380] Returning IPP client-error-not-found for CUPS-Get-Printers (no URI) from localhost.
D [01/Dec/2020:12:44:57 +0800] [Client 380] Content-Length: 113
D [01/Dec/2020:12:44:57 +0800] [Client 380] cupsdSendHeader: code=200, type="application/ipp", auth_type=0
D [01/Dec/2020:12:44:57 +0800] [Client 380] con->http=0x55b23e08
D [01/Dec/2020:12:44:57 +0800] [Client 380] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=113, response=0x55b1b3d0(IPP_STATE_DATA), pipe_pid=0, file=-1
D [01/Dec/2020:12:44:57 +0800] [Client 380] Writing IPP response, ipp_state=IPP_STATE_DATA, old wused=0, new wused=0
D [01/Dec/2020:12:44:57 +0800] [Client 380] bytes=0, http_state=0, data_remaining=113
D [01/Dec/2020:12:44:57 +0800] [Client 380] Flushing write buffer.
D [01/Dec/2020:12:44:57 +0800] [Client 380] New state is HTTP_STATE_WAITING
D [01/Dec/2020:12:44:57 +0800] [Client 380] Waiting for request.
D [01/Dec/2020:12:44:57 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [01/Dec/2020:12:45:12 +0800] [Client 380] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [01/Dec/2020:12:45:12 +0800] [Client 380] Closing connection.
D [01/Dec/2020:12:45:12 +0800] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [01/Dec/2020:12:45:12 +0800] cupsdAddCert: Adding certificate for PID 0
I am currently working on a commit to make CUPS supporting to work with snapped clients and to work snapped by itself. This adds several build-time options (a snapped CUPS needs some changes) and so the configure
script will get changed, by an additional .m4
file in the config-scripts/
directory.
configure
is a machine-generated file completely generated by autoconf
, but if I run autoconf
I get many more changes that just what comes from my new .m4
file, as everyone has a different autoconf
version. I have 2.69, @michaelrsweet AFAIR you are using 2.70? Right? And in addition autoconf
can have distro patches. This means that when different contributors commit to CUPS that we will get an unnecessary, confusing forth-and-back in configure
.
Therefore machine-generated files like configure
are not included in version control repositories. For releases to include in the tarball, configure
is generated by something like make dist
.
Could CUPS get changed in this way, too.
Looks like there is no autoheader templates in configure.ac.
With those templates will be possible to use just autoreconf -fiv
command to initialise source tree.
Latest autoconf shows as well some other warnings.
[tkloczko@barrel cups-2.3.3op2]$ autoreconf -fiv
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /usr/bin/autoconf --force
config-scripts/cups-common.m4:12: warning: The macro `AC_CONFIG_HEADER' is obsolete.
config-scripts/cups-common.m4:12: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
config-scripts/cups-common.m4:12: the top level
config-scripts/cups-common.m4:117: warning: The macro `AC_HEADER_STDC' is obsolete.
config-scripts/cups-common.m4:117: You should run autoupdate.
./lib/autoconf/headers.m4:657: AC_HEADER_STDC is expanded from...
config-scripts/cups-common.m4:117: the top level
config-scripts/cups-common.m4:194: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-common.m4:194: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-common.m4:194: the top level
config-scripts/cups-common.m4:202: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-common.m4:202: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-common.m4:202: the top level
config-scripts/cups-compiler.m4:125: warning: The macro `AC_TRY_LINK' is obsolete.
config-scripts/cups-compiler.m4:125: You should run autoupdate.
./lib/autoconf/general.m4:2816: AC_TRY_LINK is expanded from...
config-scripts/cups-compiler.m4:125: the top level
config-scripts/cups-compiler.m4:147: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-compiler.m4:147: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-compiler.m4:147: the top level
config-scripts/cups-compiler.m4:155: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-compiler.m4:155: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-compiler.m4:155: the top level
config-scripts/cups-gssapi.m4:84: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-gssapi.m4:84: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-gssapi.m4:84: the top level
config-scripts/cups-gssapi.m4:90: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-gssapi.m4:90: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-gssapi.m4:90: the top level
config-scripts/cups-gssapi.m4:96: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-gssapi.m4:96: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
config-scripts/cups-gssapi.m4:96: the top level
config-scripts/cups-threads.m4:24: warning: The macro `AC_TRY_LINK' is obsolete.
config-scripts/cups-threads.m4:24: You should run autoupdate.
./lib/autoconf/general.m4:2816: AC_TRY_LINK is expanded from...
config-scripts/cups-threads.m4:24: the top level
config-scripts/cups-largefile.m4:29: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-largefile.m4:29: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/general.m4:2149: AC_CACHE_VAL is expanded from...
./lib/autoconf/general.m4:2170: AC_CACHE_CHECK is expanded from...
config-scripts/cups-largefile.m4:29: the top level
config-scripts/cups-dnssd.m4:40: warning: The macro `AC_TRY_COMPILE' is obsolete.
config-scripts/cups-dnssd.m4:40: You should run autoupdate.
./lib/autoconf/general.m4:2743: AC_TRY_COMPILE is expanded from...
lib/m4sugar/m4sh.m4:673: AS_IF is expanded from...
./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from...
./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from...
config-scripts/cups-dnssd.m4:40: the top level
configure.ac:63: warning: AC_OUTPUT should be used without arguments.
configure.ac:63: You should run autoupdate.
autoreconf: running: /usr/bin/autoheader --force
autoheader: warning: missing template: CUPS_BINDIR
autoheader: warning: Use AC_DEFINE([CUPS_BINDIR], [], [Description])
autoheader: warning: missing template: CUPS_BUNDLEDIR
autoheader: warning: missing template: CUPS_CACHEDIR
autoheader: warning: missing template: CUPS_DATADIR
autoheader: warning: missing template: CUPS_DEFAULT_ACCESS_LOG_LEVEL
autoheader: warning: missing template: CUPS_DEFAULT_BROWSE_LOCAL_PROTOCOLS
autoheader: warning: missing template: CUPS_DEFAULT_BROWSING
autoheader: warning: missing template: CUPS_DEFAULT_CONFIG_FILE_PERM
autoheader: warning: missing template: CUPS_DEFAULT_DEFAULT_SHARED
autoheader: warning: missing template: CUPS_DEFAULT_DOMAINSOCKET
autoheader: warning: missing template: CUPS_DEFAULT_ERROR_POLICY
autoheader: warning: missing template: CUPS_DEFAULT_FATAL_ERRORS
autoheader: warning: missing template: CUPS_DEFAULT_GROUP
autoheader: warning: missing template: CUPS_DEFAULT_GSSSERVICENAME
autoheader: warning: missing template: CUPS_DEFAULT_IPP_PORT
autoheader: warning: missing template: CUPS_DEFAULT_LOG_FILE_PERM
autoheader: warning: missing template: CUPS_DEFAULT_LOG_LEVEL
autoheader: warning: missing template: CUPS_DEFAULT_LPD_CONFIG
autoheader: warning: missing template: CUPS_DEFAULT_LPD_CONFIG_FILE
autoheader: warning: missing template: CUPS_DEFAULT_MAX_COPIES
autoheader: warning: missing template: CUPS_DEFAULT_MAX_LOG_SIZE
autoheader: warning: missing template: CUPS_DEFAULT_PRINTCAP
autoheader: warning: missing template: CUPS_DEFAULT_PRINTOPERATOR_AUTH
autoheader: warning: missing template: CUPS_DEFAULT_SMB_CONFIG
autoheader: warning: missing template: CUPS_DEFAULT_SMB_CONFIG_FILE
autoheader: warning: missing template: CUPS_DEFAULT_SYNC_ON_CLOSE
autoheader: warning: missing template: CUPS_DEFAULT_SYSTEM_AUTHKEY
autoheader: warning: missing template: CUPS_DEFAULT_SYSTEM_GROUPS
autoheader: warning: missing template: CUPS_DEFAULT_USER
autoheader: warning: missing template: CUPS_DEFAULT_WEBIF
autoheader: warning: missing template: CUPS_DOCROOT
autoheader: warning: missing template: CUPS_FONTPATH
autoheader: warning: missing template: CUPS_LITE
autoheader: warning: missing template: CUPS_LOCALEDIR
autoheader: warning: missing template: CUPS_LOGDIR
autoheader: warning: missing template: CUPS_MINIMAL
autoheader: warning: missing template: CUPS_REQUESTS
autoheader: warning: missing template: CUPS_SBINDIR
autoheader: warning: missing template: CUPS_SERVERBIN
autoheader: warning: missing template: CUPS_SERVERROOT
autoheader: warning: missing template: CUPS_STATEDIR
autoheader: warning: missing template: CUPS_SVERSION
autoheader: warning: missing template: HAVE_ABS
autoheader: warning: missing template: HAVE_ACL_INIT
autoheader: warning: missing template: HAVE_APPLICATIONSERVICES_H
autoheader: warning: missing template: HAVE_AUTHORIZATION_H
autoheader: warning: missing template: HAVE_AVAHI
autoheader: warning: missing template: HAVE_BSTRING_H
autoheader: warning: missing template: HAVE_CDSASSL
autoheader: warning: missing template: HAVE_COREFOUNDATION_H
autoheader: warning: missing template: HAVE_CRYPT_H
autoheader: warning: missing template: HAVE_DBUS
autoheader: warning: missing template: HAVE_DBUS_MESSAGE_ITER_INIT_APPEND
autoheader: warning: missing template: HAVE_DBUS_THREADS_INIT
autoheader: warning: missing template: HAVE_DLFCN_H
autoheader: warning: missing template: HAVE_DNSSD
autoheader: warning: missing template: HAVE_EPOLL
autoheader: warning: missing template: HAVE_GETADDRINFO
autoheader: warning: missing template: HAVE_GETIFADDRS
autoheader: warning: missing template: HAVE_GETNAMEINFO
autoheader: warning: missing template: HAVE_GNUTLS
autoheader: warning: missing template: HAVE_GNUTLS_PRIORITY_SET_DIRECT
autoheader: warning: missing template: HAVE_GNUTLS_TRANSPORT_SET_PULL_TIMEOUT_FUNCTION
autoheader: warning: missing template: HAVE_GSSAPI_GSSAPI_H
autoheader: warning: missing template: HAVE_GSSAPI_H
autoheader: warning: missing template: HAVE_GSS_ACQUIRE_CRED_EX_F
autoheader: warning: missing template: HAVE_GSS_C_NT_HOSTBASED_SERVICE
autoheader: warning: missing template: HAVE_GSS_GSSAPI_GENERIC_H
autoheader: warning: missing template: HAVE_GSS_GSSAPI_H
autoheader: warning: missing template: HAVE_GSS_GSSAPI_SPI_H
autoheader: warning: missing template: HAVE_HSTRERROR
autoheader: warning: missing template: HAVE_ICONV_H
autoheader: warning: missing template: HAVE_INFLATECOPY
autoheader: warning: missing template: HAVE_KQUEUE
autoheader: warning: missing template: HAVE_KRB5_H
autoheader: warning: missing template: HAVE_LANGINFO_H
autoheader: warning: missing template: HAVE_LAUNCHD
autoheader: warning: missing template: HAVE_LAUNCH_H
autoheader: warning: missing template: HAVE_LIBPAPER
autoheader: warning: missing template: HAVE_LIBUSB
autoheader: warning: missing template: HAVE_LIBZ
autoheader: warning: missing template: HAVE_LONG_LONG
autoheader: warning: missing template: HAVE_MALLINFO
autoheader: warning: missing template: HAVE_MALLOC_H
autoheader: warning: missing template: HAVE_MEMBERSHIP_H
autoheader: warning: missing template: HAVE_NOTIFY_H
autoheader: warning: missing template: HAVE_ONDEMAND
autoheader: warning: missing template: HAVE_PAM_PAM_APPL_H
autoheader: warning: missing template: HAVE_PAM_SETCRED
autoheader: warning: missing template: HAVE_PAM_SET_ITEM
autoheader: warning: missing template: HAVE_POLL
autoheader: warning: missing template: HAVE_PTHREAD_H
autoheader: warning: missing template: HAVE_RESOLV_H
autoheader: warning: missing template: HAVE_RES_INIT
autoheader: warning: missing template: HAVE_RRESVPORT_AF
autoheader: warning: missing template: HAVE_SANDBOX_H
autoheader: warning: missing template: HAVE_SECCERTIFICATE_H
autoheader: warning: missing template: HAVE_SECITEM_H
autoheader: warning: missing template: HAVE_SECPOLICY_H
autoheader: warning: missing template: HAVE_SHADOW_H
autoheader: warning: missing template: HAVE_SSL
autoheader: warning: missing template: HAVE_STRTOLL
autoheader: warning: missing template: HAVE_ST_GEN
autoheader: warning: missing template: HAVE_SYSTEMD
autoheader: warning: missing template: HAVE_SYSTEMD_SD_JOURNAL_H
autoheader: warning: missing template: HAVE_SYS_IOCTL_H
autoheader: warning: missing template: HAVE_SYS_MOUNT_H
autoheader: warning: missing template: HAVE_SYS_PARAM_H
autoheader: warning: missing template: HAVE_SYS_SOCKIO_H
autoheader: warning: missing template: HAVE_SYS_STATFS_H
autoheader: warning: missing template: HAVE_SYS_STATVFS_H
autoheader: warning: missing template: HAVE_SYS_UCRED_H
autoheader: warning: missing template: HAVE_SYS_VFS_H
autoheader: warning: missing template: HAVE_TCPD_H
autoheader: warning: missing template: HAVE_TM_GMTOFF
autoheader: warning: missing template: HAVE_UPSTART
autoheader: warning: missing template: HAVE_XPC
autoheader: warning: missing template: WITH_LSPP
autoreconf: error: /usr/bin/autoheader failed with exit status: 1
This member is populated in _ppdOpen() but not freed in ppdClose()
. (Context: apple/cups/issues/5562)
Would you accept a patch to add the corresponding frees into ppdClose()
?
Hello @michaelrsweet ,
while trying your upstream commit to fix #85 it seems that the i386/x86 build fails with this error:
Running language API tests...
LOCALEDIR=locale ./testlang
cupsLangGet("U�åWè¾É"): FAIL (got "C")
cupsLangGet("U�åWè¾É") again: FAIL (got "C")
This seems to be either a failure of cups_dentry_t::filename
, or of test_language()
.
Distro Name : Ubuntu 20.10
Printers : All
While adding printer through hplip not able to get get ppd list from cups server.
From localhost also not able select hp ppd.
Steps to reproduce:
Open browser
Go to localhost:631 > administration
Add printer > select printer ( not ask for custom ppd direct redirect to successful window)
This issue is inconsistent 5-6 time not working out 10 tries.
The same code is working fine on ubuntu 20.04 which has same cups version as 20.10.
Installed Package:
Cups : 2.3.3
Cups-devel : 2.3.3-3
Cups-image : 2.2.3-3
Error with our code:
Error : No ppd found for model “Model name”
Any update or changes that will fix this issue.
Brother MFC-J6710DW and MFC-J6910DW ppd have a section like this.
*%=== Reverse Printing ================================
*%OpenUI *BRReverse/Reverse Printing: PickOne
*%OrderDependency: 30 AnySetup *BRReverse
*%DefaultBRReverse: OFF
*%BRReverse OFF/Off: " "
*%BRReverse ON/On: " "
*CloseUI: *BRReverse
OpenUI
is commented out. CloseUI
is not commented out. In the past this was silently ignored. Now it crashes cupsd
. For now the solution is to patch a comment %
into the unwanted CloseUI
.
# pacman -Q cups
cups 1:2.3.3op1-1
brother_mfcj6710dw_printer_en.ppd.segfault.zip
brother_mfcj6910dw_printer_en.ppd.segfault.zip
Probably most distributions make the USB raw devices for printers accessible for the "lp" user by group ownerships and permissions or by using ACLs. Probably therefore CUPS installs the "usb" backend with 755 permissions so that it gets executed as the unprivileged "lp" user.
Some distributions (at lease Debian, Ubuntu, and probably everything derived from that) run "usb" as root, simply by removing the executable bits for group and others (744) after running make install
during the package build.
The same I do in the CUPS Snap. As in the Snap I cannot create an "lp" user and group and I also cannot change ownerships and permissions of the raw USB devices from within the Snap, I need to run the "usb" backend as root. Currently I am, also changing the permissions of the backend after "make install", actually as a "prime-override" in snapcraft.yaml
.
Now I want to ask if one could add a new option to ./configure
, like --enable-usb-backend-run-as-root
to let make install
to install the "usb" backend with 744 permissions right away.
I habe looked into the backend/Makefile
and I was not sure how to best implement this without breaking anything.
The IPP backend only needs to run as root when it needs access to Kerberos keytabs. Otherwise, it is more secure to run it as an unprivileged user.
I was a little too eager to replace the sprintf calls with sprintf in cups/snprintf.c, need to make them sprintf again and add a comment so we don't do this again.
Also investigate options for not using snprintf emulation on Windows... :/
I compiled CUPS 2.3.3op1 with "--disable-browsing" configure option, but default cupsd.conf still contains "Browsing On".
In order to better support Printer Applications, we need to track X.509 certificates by both hostname and port.
According to
OpenPrinting/cups-filters#242
*cupsManualCopies: true
should be *cupsManualCopies: True
I found *cupsManualCopies: true
at
https://github.com/OpenPrinting/cups/blob/master/doc/help/spec-ppd.html#L1961
and at
https://github.com/OpenPrinting/cups/blob/master/filter/spec-ppd.shtml#L1406
I don't know if it is also somewhere else implicitly.
OpenPrinting/cups-filters#242 (comment)
reads
As libppd is completely copied from libcups
the bug still exists in libcups and would need to get reported there.
but that comment is from Jul 13 2020 so it is perhaps already fixed?
Need to document that Kerberos support in CUPS is deprecated starting with CUPS 2.4.0.
cups encode.c treats parameter ppi as an integer, but it should be a string.
the image filter drivers expect the form ppi=300x600
to specify source image dpi for images where it is asymmetric.
relevant option parsing code from cups-filters image:
if ((val = cupsGetOption("ppi", num_options, options)) != NULL)
{
if (sscanf(val, "%dx%d", &xppi, &yppi) < 2)
yppi = xppi;
zoom = 0.0;
}
I encountered this issue trying to print full-sized images without scaling on a dymo 450 label printer.
This bug causes images to print across 2 labels when trying to use the 300x600dpi graphics mode.
This should print a single label:
lpr -o ppi=300x600 -o scaling=0 -o PageSize=w167h288 -o PageRegion=w167h288 -o Resolution=300x600dpi -o DymoHalftoning=Default -o DymoPrintDensity=Medium -o DymoPrintQuality=Graphics -o MediaDimensions=w167h288 ~/Desktop/test_Graphics_portrait.png
where the png is a 664*2224 image without any dpi metadata.
Instead the ppi option gets sanitized to 300, and the image gets printed across 2 labels.
ubuntu bug report: https://bugs.launchpad.net/cups/+bug/1917074
# pacman -Q cups cups-filters
cups 1:2.3.3op1-1
cups-filters 1.28.6-1
# lpinfo -m
lpinfo: Success
Attempting to modify or add a printer through the cups web admin results in the well known response
Modify Printer
Modify Printer P7 Error
Unable to get list of printer drivers:
Success
Modify Printer P7 Error
Unable to get list of printer drivers:
Success
I can revert back to cups-filters-1.27.4
and lpinfo
works. As I push files forwards to cups-filters-1.27.5
I find that the offending file is /usr/lib/cups/driver/driverless
. Later versions have also added file /usr/lib/cups/driver/driverless-fax
. Both files crash lpinfo
. I can install the latest version, delete driverless-fax
and replace driverless
with the version found in 1.27.4 and lpinfo
works.
The error is inconsistent. Some Arch computers work with the latest versions. Others require delete and revert of these two files. I can't tell what's different between them.
On the test computer that fails I went through the folders ppd
and model
and removed all packages that added extra ppd. All that is left is cups-filters
which I can't remove. I also deleted all the printers and checked that /etc/cups/ppd
is empty.
On another test computer where lpinfo
works I have 20 or more packages adding ppd including a few large multi ppd packages.
Both computers have all packages updated.
Might be related to #47.
I have problem where cups print queues on a server become disabled when jobs with wrong paper size are sent.
Queues in both server and client have error policy "retry-job" or "abort-job" set but jobs are not retried or aborted, instead the print queue on the server gets disabled.
D [29/Oct/2020:11:56:02 +0100] [Job 204] PID 10101 (/usr/lib/cups/backend/papercut) stopped with status 4.
I [29/Oct/2020:11:56:02 +0100] [Job 204] Backend returned status 4 (stop printer)
If I eliminate the papercut backend the ipp backend has the same behaviour.
cups is version 2.3.0 on the server.
An URI on the server:
DeviceURI papercut:ipp://129.16.xxx.xxx:631/ipp
URI on client:
DeviceURI ipp://ourserver.chalmers.se:631/printers/sv-339-color4
This seems broken?
Currently I have to run a shell script that remove jobs and enables queues or else the all queues will soon be disabled...
At the moment much more software is possible to compile against openssl and much less against gnutls.
It would be good to have an optoopn to build cups agaist openssl to minimise number of used crypto/TLS backend libraries.
After pushing 2.3.3op1 to Debian/unstable, the Gitlab CI pipeline ran, but the build failed on both i386
and amd64
, with the following errors;
…
Verifying that history still exists: FAIL
Test Summary
PASS: cupsd exited with no errors.
FAIL: 1 job control files were not purged.
…
See:
In the right part of the Gitlab screen, on can download build artifacts (zipfiles), which contain the full test log files (in debian/output/source_dir/test
.
There are at least two issues;
PWG 5100.12 section 6.2 - Required Printer Description Attributes [FAIL]
RECEIVED: 8686 bytes in response
status-code = successful-ok (successful-ok)
EXPECTED: media-supported WITH-ALL-VALUES /^(choice(_((custom|na|asme|roc|oe|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)){2,}|(custom|na|asme|roc|oe|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])in|(custom|iso|jis|jpn|prc|om|roll)_[a-z0-9][-a-z0-9]*_([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])x([1-9][0-9]*(.[0-9]*[1-9])?|0.[0-9]*[1-9])mm)$/
GOT: media-supported="na_letter_8.5x11in"
GOT: media-supported="na_legal_8.5x14in"
GOT: media-supported="na_executive_7.25x10.5in"
GOT: media-supported="na_ledger_11x17in"
GOT: media-supported="iso_a3_297x420mm"
GOT: media-supported="iso_a4_210x297mm"
GOT: media-supported="custom_148.52x209.9mm_148.52x209.9mm"
GOT: media-supported="jis_b5_182x257mm"
GOT: media-supported="iso_b5_176x250mm"
GOT: media-supported="na_number-10_4.125x9.5in"
GOT: media-supported="iso_c5_162x229mm"
GOT: media-supported="iso_dl_110x220mm"
GOT: media-supported="na_monarch_3.875x7.5in"
"../examples/ipp-2.1.test":
and
[27/Nov/2020:17:00:12 +0000] "5.11-history":
lp -d Test1 testfile.jpg
request id is Test1-63 (1 file(s))
PASSED
Waiting for jobs to complete...
ls -l /tmp/cups.aywkOD/spool
FAILED (job control files not present)
total 4
drwxrwx--T 2 salsaci salsaci 4096 Nov 27 16:59 temp
Hello, I would appreciate if the README provides an explanation to why this fork has been created.
I'd advise to change the name to make it stand out even more. Something like cups-ng
(CUPS New Generation).
Using TCP sockets on localhost raises concerns about local privilege escalation attacks. AF_UNIX sockets are more efficient and more secure.
Advertising AF_UNIX sockets over DNS-SD makes little sense, and accepting such an advertisement has its own security concerns. Specifying the AF_UNIX socket in a configuration file is more logical, IMO.
https://github.com/caramelomartins/awesome-linters#cc
Especially with all the newer compilers out right now, I bet there is a fair amount of code that will not compile correctly without some Makefile tweaking. Do we even know right away if this is C99 or a newer standard?
We can officially support AirPrint and Mopria clients (including Windows 10) by reporting some attributes and DNS-SD TXT record keys. Should also add a way to report a list of ready media for iOS clients.
I am using CUPS from this repository here at OpenPrinting, in an Ubuntu 20.10 environment with Avahi 0.8. cups-browsed is not running, also no CUPS Snap, the driverless
utility used is of cups-filters 1.28.5.
I have several local IPP print services running: ipp-usb (with HP OfficeJet Pro 8730 connected to USB), the PostScript Printer Application (with printers "test", "test2", "test3", "test4", "test5", and "xxx") and ippeveprinter (started with ippeveprinter -p 8001 evetest
).
The HP OfficeJet Pro 8730 is also connected to the network, so its IPP print service appears this way, too.
The running CUPS daemon (not the CUPS Snap) has several local CUPS queues.
Output of lpstat -e
:
$ lpstat -e
authtest
drvlessfax
faxtest
HP-OfficeJet-Pro-8730
ippusbtest
office-local
OfficeJet-Pro-8730
pappl-test
pappl-test-e
Printer
Printer-HPLIP
snap-label
snap-test
test-tray2
The output shows only my permanent CUPS queues, no entries from the three local IPP print services.
$ lpstat -l -e
authtest permanent ipp://localhost/printers/authtest /dev/null
drvlessfax permanent ipp://localhost/printers/drvlessfax ipps://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D._ipps._tcp.local/
faxtest permanent ipp://localhost/printers/faxtest ipp://localhost:60001/ipp/faxout
HP-OfficeJet-Pro-8730 permanent ipp://localhost/printers/HP-OfficeJet-Pro-8730 ipps://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D._ipps._tcp.local/
ippusbtest permanent ipp://localhost/printers/ippusbtest ipp://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D%20(USB)._ipp._tcp.local/
office-local permanent ipp://localhost/printers/office-local ipp://Office%20Printer._ipp._tcp.local/
OfficeJet-Pro-8730 permanent ipp://localhost/printers/OfficeJet-Pro-8730 ipps://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D._ipps._tcp.local/
pappl-test permanent ipp://localhost/printers/pappl-test ipp://till-x1yoga.local:8000/ipp/print/Inkjet%20Printer
pappl-test-e permanent ipp://localhost/printers/pappl-test-e ipp://Inkjet%20Printer._ipp._tcp.local/
Printer permanent ipp://localhost/printers/Printer ipps://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D._ipp._tcp.local/
Printer-HPLIP permanent ipp://localhost/printers/Printer-HPLIP hp:/usb/HP_OfficeJet_Pro_8730?serial=CN783F60W1
snap-label permanent ipp://localhost/printers/snap-label ipp://Label%20Printer._ipp._tcp.local/
snap-test permanent ipp://localhost/printers/snap-test ipp://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D._ipp._tcp.local/
test-tray2 permanent ipp://localhost/printers/test-tray2 ipp://localhost:631/printers/test-tray
$ lpstat -l -e | grep -v permanent
Here one also sees that all entries in the output are "permanent", none "temporary".
So no temporary queues are listed for the local IPP services, which is the issue I want to report here.
More info:
$ ippfind
ipp://till-x1yoga.local:631/printers/OfficeJet-Pro-8730
ipp://till-x1yoga.local:631/printers/HP-OfficeJet-Pro-8730
ipp://HP18602408C229.local:631/ipp/print
ipp://till-x1yoga.local:60000/ipp/print
ipp://till-x1yoga.local:631/printers/faxtest
ipp://till-x1yoga.local:631/printers/Printer-HPLIP
ipp://till-x1yoga.local:631/printers/pappl-test-e
ipp://till-x1yoga.local:631/printers/office-local
ipp://till-x1yoga.local:631/printers/Printer
ipp://till-x1yoga.local:631/printers/authtest
ipp://till-x1yoga.local:631/printers/drvlessfax
ipp://till-x1yoga.local:8001/ipp/print
ipp://till-x1yoga.local:631/printers/ippusbtest
ipp://till-x1yoga.local:631/printers/pappl-test
ipp://till-x1yoga.local:631/printers/snap-label
ipp://till-x1yoga.local:631/printers/snap-ps
ipp://till-x1yoga.local:8000/ipp/print/test
ipp://till-x1yoga.local:631/printers/test-tray2
ipp://till-x1yoga.local:8000/ipp/print/test2
ipp://till-x1yoga.local:8000/ipp/print/test3
ipp://till-x1yoga.local:8000/ipp/print/test4
ipp://till-x1yoga.local:8000/ipp/print/test5
ipp://till-x1yoga.local:8000/ipp/print/xxx
$ driverless
ipp://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D%20(USB)._ipp._tcp.local/
ipps://HP%20OfficeJet%20Pro%208730%20%5B08C229%5D._ipps._tcp.local/
ipps://evetest._ipps._tcp.local/
ipps://test._ipps._tcp.local/
ipps://test2._ipps._tcp.local/
ipps://test3._ipps._tcp.local/
ipps://test4._ipps._tcp.local/
ipps://test5._ipps._tcp.local/
ipps://xxx._ipps._tcp.local/
ippfind
and driverless
list all these services correctly, so they are correctly DNS-SD registered and CUPS should list them as destinations for temporary queues.
+ cd cups-2.3.3op2
+ /usr/bin/make -O -j1 V=1 VERBOSE=1 check
chmod +x cups-config
echo Using ARCHFLAGS=""
Using ARCHFLAGS=
echo Using ALL_CFLAGS="-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare"
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare
echo Using ALL_CXXFLAGS="-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -fno-rtti -fno-exceptions -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare"
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -fno-rtti -fno-exceptions -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare
echo Using CC="gcc"
Using CC=gcc
echo Using CXX="gcc"
Using CXX=gcc
echo Using DSOFLAGS="-Wl,-soname,`basename all` -shared"
Using DSOFLAGS=-Wl,-soname,all -shared
echo Using LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections"
Using LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections
echo Using LIBS="-L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz "
Using LIBS=-L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
for dir in cups tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates; do\
echo Making all in $dir... ;\
(cd $dir ; /usr/bin/make -j1 -Otarget all ) || exit 1;\
done
Making all in cups...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cups'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cups'
Making all in tools...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/tools'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/tools'
Making all in filter...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/filter'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/filter'
Making all in backend...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/backend'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/backend'
Making all in berkeley...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/berkeley'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/berkeley'
Making all in cgi-bin...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cgi-bin'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cgi-bin'
Making all in monitor...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/monitor'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/monitor'
Making all in notifier...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/notifier'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/notifier'
Making all in ppdc...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/ppdc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/ppdc'
Making all in scheduler...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/scheduler'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/scheduler'
Making all in systemv...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/systemv'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/systemv'
Making all in conf...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/conf'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/conf'
Making all in data...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/data'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/data'
Making all in desktop...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/desktop'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/desktop'
Making all in locale...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/locale'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/locale'
Making all in man...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/man'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/man'
Making all in doc...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/doc'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/doc'
Making all in examples...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/examples'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/examples'
Making all in templates...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/templates'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/templates'
echo Using ARCHFLAGS=""
Using ARCHFLAGS=
echo Using ALL_CFLAGS="-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare"
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare
echo Using ALL_CXXFLAGS="-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -fno-rtti -fno-exceptions -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare"
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -fno-rtti -fno-exceptions -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare
echo Using CC="gcc"
Using CC=gcc
echo Using CXX="gcc"
Using CXX=gcc
echo Using DSOFLAGS="-Wl,-soname,`basename unittests` -shared"
Using DSOFLAGS=-Wl,-soname,unittests -shared
echo Using LDFLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections"
Using LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections
echo Using LIBS="-L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz "
Using LIBS=-L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
for dir in cups tools filter backend berkeley cgi-bin monitor notifier ppdc scheduler systemv conf data desktop locale man doc examples templates; do\
echo Making all in $dir... ;\
(cd $dir ; /usr/bin/make -j1 -Otarget unittests) || exit 1;\
done
Making all in cups...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cups'
echo Compiling rasterbench.c...
Compiling rasterbench.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o rasterbench.o rasterbench.c
echo Linking rasterbench...
Linking rasterbench...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o rasterbench rasterbench.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" rasterbench
echo Compiling testadmin.c...
Compiling testadmin.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testadmin.o testadmin.c
echo Linking testadmin...
Linking testadmin...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testadmin testadmin.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testadmin
echo Compiling testarray.c...
Compiling testarray.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testarray.o testarray.c
echo Linking testarray...
Linking testarray...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testarray testarray.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testarray
echo Running array API tests...
Running array API tests...
./testarray
cupsArrayNew: PASS
cupsArrayUserData: PASS
cupsArrayAdd: PASS
cupsArrayCount: PASS
cupsArrayFirst: PASS
cupsArrayNext: PASS
cupsArrayLast: PASS
cupsArrayPrev: PASS
cupsArrayFind: PASS
cupsArrayCurrent: PASS
cupsArrayDup: PASS
cupsArrayRemove: PASS
cupsArrayClear: PASS
Load unique words: 40971 words in 0.247 seconds (165574 words/sec), PASS
Delete While Iterating: PASS
cupsArraySave: PASS
cupsArrayRestore: PASS
_cupsArrayNewStrings(" \t\nfoo bar\tboo\nfar", ' '): PASS
_cupsArrayAddStrings(array, "foo2,bar2", ','): PASS
ALL TESTS PASSED!
echo Compiling testcache.c...
Compiling testcache.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testcache.o testcache.c
echo Linking testcache...
Linking testcache...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testcache testcache.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testcache
echo Compiling testclient.c...
Compiling testclient.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testclient.o testclient.c
echo Linking testclient...
Linking testclient...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testclient testclient.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testclient
echo Compiling testconflicts.c...
Compiling testconflicts.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testconflicts.o testconflicts.c
echo Linking testconflicts...
Linking testconflicts...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testconflicts testconflicts.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testconflicts
echo Compiling testcreds.c...
Compiling testcreds.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testcreds.o testcreds.c
echo Linking testcreds...
Linking testcreds...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testcreds testcreds.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testcreds
echo Compiling testcups.c...
Compiling testcups.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testcups.o testcups.c
echo Linking testcups...
Linking testcups...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testcups testcups.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testcups
echo Compiling testdest.c...
Compiling testdest.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testdest.o testdest.c
echo Linking testdest...
Linking testdest...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testdest testdest.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testdest
echo Compiling testfile.c...
Compiling testfile.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testfile.o testfile.c
echo Linking testfile...
Linking testfile...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testfile testfile.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testfile
echo Running file API tests...
Running file API tests...
./testfile
cupsFileOpen(write): PASS
cupsFileCompression(): PASS
cupsFilePuts(): PASS
cupsFilePrintf(): PASS
cupsFilePutChar(): PASS
cupsFileWrite(): PASS
cupsFilePuts("partial line"): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(read): PASS
cupsFileGets(): PASS
cupsFileCompression(): PASS
cupsFileGetConf(): PASS
cupsFileGetChar(): PASS
cupsFileRead(): PASS
cupsFileGetChar(partial line): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(write compressed): PASS
cupsFileCompression(): PASS
cupsFilePuts(): PASS
cupsFilePrintf(): PASS
cupsFilePutChar(): PASS
cupsFileWrite(): PASS
cupsFilePuts("partial line"): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(read): PASS
cupsFileGets(): PASS
cupsFileCompression(): PASS
cupsFileGetConf(): PASS
cupsFileGetChar(): PASS
cupsFileRead(): PASS
cupsFileGetChar(partial line): PASS
cupsFileTell(): PASS
cupsFileClose(): PASS
cupsFileOpen(append 0): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 0): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpen(append 1): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 1): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpen(append 2): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 2): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpen(append 3): PASS
cupsFileTell(): PASS
cupsFileWrite(256 512-byte records): PASS
cupsFileTell(): PASS
cupsFileOpen(read 3): PASS
cupsFileSeek(), cupsFileRead(): PASS
cupsFileOpenFd(fd, "r"): PASS
cupsFileClose(no read): PASS
cupsFileOpen("testfile.txt", "r"): PASS
cupsFileGets: PASS
cupsFileRewind: PASS
cupsFileGets: PASS
cupsFileFind: PASS (/bin/cat)
ALL TESTS PASSED!
echo Compiling testgetdests.c...
Compiling testgetdests.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testgetdests.o testgetdests.c
echo Linking testgetdests...
Linking testgetdests...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testgetdests testgetdests.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testgetdests
echo Compiling testhttp.c...
Compiling testhttp.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testhttp.o testhttp.c
echo Linking testhttp...
Linking testhttp...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testhttp testhttp.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testhttp
echo Running HTTP API tests...
Running HTTP API tests...
./testhttp
httpGetDateString()/httpGetDateTime(): PASS
httpDecode64_2()/httpEncode64_2(): PASS
httpGetHostname(): PASS (barrel)
httpAddrGetList(barrel): PASS (12 address(es) for barrel)
httpSeparateURI(): PASS (44 URIs tested)
httpAssembleURI(): PASS (16 URIs tested)
httpAssembleUUID: PASS (urn:uuid:54095e9c-ee9b-3a04-7566-1d3a6342da2c)
ALL TESTS PASSED!
echo Compiling testi18n.c...
Compiling testi18n.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testi18n.o testi18n.c
echo Linking testi18n...
Linking testi18n...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testi18n testi18n.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testi18n
echo Running internationalization API tests...
Running internationalization API tests...
./testi18n
cupsUTF8ToUTF32 of utfdemo.txt: PASS
cupsUTF8ToCharset(CUPS_EUC_JP) of utfdemo.txt: PASS
cupsUTF8ToCharset(CUPS_ISO8859_1): PASS
cupsCharsetToUTF8(CUPS_ISO8859_1): PASS
cupsUTF8ToCharset(CUPS_ISO8859_7): PASS
cupsCharsetToUTF8(CUPS_ISO8859_7): PASS
cupsUTF8ToCharset(CUPS_WINDOWS_932): PASS
cupsCharsetToUTF8(CUPS_WINDOWS_932): PASS
cupsUTF8ToCharset(CUPS_EUC_JP): PASS
cupsUTF8ToCharset(CUPS_WINDOWS_950): PASS
cupsCharsetToUTF8(CUPS_WINDOWS_950): PASS
cupsUTF8ToCharset(CUPS_EUC_TW): PASS
cupsCharsetToUTF8(CUPS_EUC_TW): PASS
echo Compiling testipp.c...
Compiling testipp.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testipp.o testipp.c
echo Linking testipp...
Linking testipp...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testipp testipp.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testipp
echo Running IPP API tests...
Running IPP API tests...
./testipp
Create Sample Request: PASS
Write Sample to Memory: PASS
Read Sample from Memory: PASS
ippFindAttribute(media-col): PASS
ippFindAttribute(media-size 1): PASS
ippFindAttribute(media-size 2): PASS
ippFindAttribute(media-col/media-size/x-dimension): PASS
ippFindNextAttribute(media-col/media-size/x-dimension): PASS
ippFindNextAttribute(media-col/media-size/x-dimension) again: PASS
Read Bad Collection from Memory: PASS
Read Mixed integer/rangeOfInteger from Memory: PASS
ippFindAttribute(notify-lease-duration-supported): PASS
_ippFindOption("printer-type"): PASS
Core IPP tests passed.
echo Compiling testlang.c...
Compiling testlang.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testlang.o testlang.c
echo Linking testlang...
Linking testlang...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testlang testlang.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testlang
echo Creating locale directory structure...
Creating locale directory structure...
/usr/bin/rm -f -r locale
for po in ../locale/cups_*.po; do \
lang=`basename $po .po | sed -e '1,$s/^cups_//'`; \
/usr/bin/mkdir -p locale/$lang; \
/usr/bin/ln -sf ../../$po locale/$lang; \
done
echo Running language API tests...
Running language API tests...
LOCALEDIR=locale ./testlang
Language = "C"
Encoding = "utf-8"
No = "No" (PASS)
Yes = "Yes" (PASS)
_cupsStrScand("1") number=1.000000
_cupsStrFormatd(1.000000) buffer="1"
_cupsStrScand("-1") number=-1.000000
_cupsStrFormatd(-1.000000) buffer="-1"
_cupsStrScand("3") number=3.000000
_cupsStrFormatd(3.000000) buffer="3"
_cupsStrScand("5.125") number=5.125000
_cupsStrFormatd(5.125000) buffer="5.125"
ALL TESTS PASSED
echo Compiling testoptions.c...
Compiling testoptions.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testoptions.o testoptions.c
echo Linking testoptions...
Linking testoptions...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testoptions testoptions.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testoptions
echo Running option API tests...
Running option API tests...
./testoptions
cupsParseOptions: PASS
cupsEncodeOptions2: PASS
echo Compiling testppd.c...
Compiling testppd.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testppd.o testppd.c
echo Linking testppd...
Linking testppd...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testppd testppd.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testppd
echo Running PPD API tests...
Running PPD API tests...
./testppd
ppdOpenFile(test.ppd): PASS
ppdFindAttr(wildcard): PASS
ppdFindNextAttr(wildcard): PASS
ppdFindAttr(Foo): PASS
ppdFindNextAttr(Foo): PASS
ppdMarkDefaults: PASS
ppdEmitString (defaults): PASS
ppdEmitString (custom size and string): PASS
cupsGetConflicts(InputSlot=Envelope): PASS
ppdConflicts(): PASS (2)
cupsResolveConflicts(InputSlot=Envelope): PASS (Resolved by changing PageSize)
cupsResolveConflicts(No option/choice): PASS (Resolved by changing InputSlot)
ppdInstallableConflict(): PASS
ppdPageSizeLimits: PASS
cupsMarkOptions(media=iso-a4): PASS
cupsMarkOptions(media=na_letter_8.5x11in): PASS
cupsMarkOptions(media=oe_letter-fullbleed_8.5x11in): PASS
cupsMarkOptions(media=A4): PASS
cupsMarkOptions(media=Custom.8x10in): PASS
ppdLocalizeIPPReason(text): PASS
ppdLocalizeIPPReason(http): PASS
ppdLocalizeIPPReason(help): PASS
ppdLocalizeIPPReason(file): PASS
ppdLocalizeIPPReason(fr text): PASS
ppdLocalizeIPPReason(zh_TW text): PASS
ppdLocalizeMarkerName(bogus): PASS
ppdLocalizeMarkerName(cyan): PASS
ppdLocalizeMarkerName(fr cyan): PASS
ppdLocalizeMarkerName(zh_TW cyan): PASS
ppdOpenFile(test2.ppd): PASS
ppdMarkDefaults: PASS
ppdEmitString (defaults): PASS
ppdConflicts(): PASS (1)
cupsResolveConflicts(Quality=Photo): PASS (Unable to resolve)
cupsResolveConflicts(No option/choice): PASS
cupsResolveConflicts(loop test): PASS
ppdInstallableConflict(): PASS
ppdPageSizeLimits(default): PASS
ppdPageSizeLimits(InputSlot=Manual): PASS
ppdPageSizeLimits(Quality=Photo): PASS
ppdPageSizeLimits(Quality=Photo): PASS
_cupsRasterExecPS("setpagedevice"): PASS
_cupsRasterExecPS("roll"): PASS
_cupsRasterExecPS("dup index"): PASS
_cupsRasterExecPS("%%Begin/EndFeature code"): PASS
echo Compiling testpwg.c...
Compiling testpwg.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testpwg.o testpwg.c
echo Linking testpwg...
Linking testpwg...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testpwg testpwg.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testpwg
echo Running PWG API tests...
Running PWG API tests...
./testpwg test.ppd
ppdOpenFile(test.ppd): PASS
_ppdCacheCreateWithPPD(ppd): PASS
_ppdCacheWriteFile(test.pwg): PASS
_ppdCacheCreateWithFile(test.pwg): PASS
_ppdCacheGetPageSize(keyword=Letter): PASS
_ppdCacheGetPageSize(media=Letter): PASS
_ppdCacheGetPageSize(keyword=A4): PASS
_ppdCacheGetPageSize(media=A4): PASS
_ppdCacheDestroy(pc): PASS
pwgMediaForPWG("iso_a4_210x297mm"): PASS
pwgMediaForPWG("roll_max_36.1025x3622.0472in"): PASS (91700x9199999)
pwgMediaForPWG("disc_test_10x100mm"): PASS (10000x10000)
pwgMediaForLegacy("na-letter"): PASS
pwgMediaForPPD("4x6"): PASS
pwgMediaForPPD("10x15cm"): PASS
pwgMediaForPPD("Custom.10x15cm"): PASS
pwgMediaForSize(29700, 42000): PASS
pwgMediaForSize(9842, 19050): PASS (na_monarch_3.875x7.5in)
pwgMediaForSize(9800, 19000): PASS (jpn_you6_98x190mm)
Duplicate size test: PASS
echo Compiling testraster.c...
Compiling testraster.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testraster.o testraster.c
echo Linking testraster...
Linking testraster...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testraster testraster.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testraster
echo Running raster API tests...
Running raster API tests...
./testraster
cupsRasterOpen(CUPS_RASTER_WRITE): PASS
cupsRasterWriteHeader2(page 1): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 2): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 3): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 4): PASS
cupsRasterWritePixels: PASS
cupsRasterOpen(CUPS_RASTER_READ): PASS
cupsRasterReadHeader2(page 1): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 2): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 3): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 4): PASS
cupsRasterReadPixels: PASS
cupsRasterOpen(CUPS_RASTER_WRITE_COMPRESSED): PASS
cupsRasterWriteHeader2(page 1): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 2): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 3): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 4): PASS
cupsRasterWritePixels: PASS
cupsRasterOpen(CUPS_RASTER_READ): PASS
cupsRasterReadHeader2(page 1): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 2): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 3): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 4): PASS
cupsRasterReadPixels: PASS
cupsRasterOpen(CUPS_RASTER_WRITE_PWG): PASS
cupsRasterWriteHeader2(page 1): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 2): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 3): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 4): PASS
cupsRasterWritePixels: PASS
cupsRasterOpen(CUPS_RASTER_READ): PASS
cupsRasterReadHeader2(page 1): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 2): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 3): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 4): PASS
cupsRasterReadPixels: PASS
cupsRasterOpen(CUPS_RASTER_WRITE_APPLE): PASS
cupsRasterWriteHeader2(page 1): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 2): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 3): PASS
cupsRasterWritePixels: PASS
cupsRasterWriteHeader2(page 4): PASS
cupsRasterWritePixels: PASS
cupsRasterOpen(CUPS_RASTER_READ): PASS
cupsRasterReadHeader2(page 1): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 2): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 3): PASS
cupsRasterReadPixels: PASS
cupsRasterReadHeader2(page 4): PASS
cupsRasterReadPixels: PASS
echo Compiling testsnmp.c...
Compiling testsnmp.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testsnmp.o testsnmp.c
echo Linking testsnmp...
Linking testsnmp...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testsnmp testsnmp.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testsnmp
echo Compiling testthreads.c...
Compiling testthreads.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testthreads.o testthreads.c
echo Linking testthreads...
Linking testthreads...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testthreads testthreads.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testthreads
echo Compiling tlscheck.c...
Compiling tlscheck.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o tlscheck.o tlscheck.c
echo Linking tlscheck...
Linking tlscheck...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o tlscheck tlscheck.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" tlscheck
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cups'
Making all in tools...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/tools'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/tools'
Making all in filter...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/filter'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/filter'
Making all in backend...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/backend'
echo Compiling test1284.c...
Compiling test1284.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o test1284.o test1284.c
echo Linking test1284...
Linking test1284...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o test1284 test1284.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" test1284
echo Compiling testbackend.c...
Compiling testbackend.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testbackend.o testbackend.c
echo Linking testbackend...
Linking testbackend...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testbackend testbackend.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testbackend
echo Compiling testsupplies.c...
Compiling testsupplies.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testsupplies.o testsupplies.c
echo Linking testsupplies...
Linking testsupplies...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testsupplies testsupplies.o libbackend.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testsupplies
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/backend'
Making all in berkeley...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/berkeley'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/berkeley'
Making all in cgi-bin...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cgi-bin'
echo Compiling testcgi.c...
Compiling testcgi.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testcgi.o testcgi.c
echo Linking testcgi...
Linking testcgi...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testcgi testcgi.o libcupscgi.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testcgi
echo Testing CGI API...
Testing CGI API...
./testcgi
DEBUG: org.cups.sid cookie not found, initializing!
cgiInitialize: Set-Cookie: org.cups.sid=384f7d362a61d7bb4fd66e45724d5ffc; path=/; httponly;
DEBUG: org.cups.sid cookie is "384f7d362a61d7bb4fd66e45724d5ffc"
cgiSetVariable: MAX_FILE_SIZE="10485760"
DEBUG: org.cups.sid form variable is not present.
DEBUG: cgiClearVariables called.
FAIL (init)
echo Compiling testhi.c...
Compiling testhi.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testhi.o testhi.c
echo Linking testhi...
Linking testhi...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testhi testhi.o libcupscgi.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testhi
echo Testing help index API...
Testing help index API...
./testhi
nodes (5 nodes):
1: testhi.html "Test File for Help Index Code" (0 words)
2: testhi.html#2ND "This is the Second Anchor" (6 words)
3: testhi.html#FIRST "This is the First Anchor" (2 words)
4: testhi.html#INLINE "This is an in-line anchor that crosses a line." (3 words)
5: testhi.html#THIRD "This is the Third Anchor" (0 words)
sorted (5 nodes):
1: testhi.html "Test File for Help Index Code" (0 words)
2: testhi.html#INLINE "This is an in-line anchor that crosses a line." (3 words)
3: testhi.html#FIRST "This is the First Anchor" (2 words)
4: testhi.html#2ND "This is the Second Anchor" (6 words)
5: testhi.html#THIRD "This is the Third Anchor" (0 words)
echo Compiling testtemplate.c...
Compiling testtemplate.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testtemplate.o testtemplate.c
echo Linking testtemplate...
Linking testtemplate...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testtemplate testtemplate.o libcupscgi.a ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testtemplate
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/cgi-bin'
Making all in monitor...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/monitor'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/monitor'
Making all in notifier...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/notifier'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/notifier'
Making all in ppdc...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/ppdc'
echo Linking ppdc-static...
Linking ppdc-static...
g++ -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o ppdc-static ppdc.o libcupsppdc.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" ppdc-static
echo Testing PPD compiler...
Testing PPD compiler...
./ppdc-static -l en,fr -I ../data foo.drv
./ppdc-static -l en,fr -z -I ../data foo.drv
echo Linking ppdi-static...
Linking ppdi-static...
g++ -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o ppdi-static ppdi.o libcupsppdc.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" ppdi-static
echo Testing PPD importer...
Testing PPD importer...
/usr/bin/rm -f -r ppd ppd2 sample-import.drv
./ppdc-static -l en -I ../data sample.drv
./ppdi-static -I ../data -o sample-import.drv ppd/*
./ppdc-static -l en -I ../data -d ppd2 sample-import.drv
if diff -r ppd ppd2 >/dev/null; then \
echo PPD import OK; \
else \
echo PPD import FAILED; \
exit 1; \
fi
PPD import OK
echo Compiling testcatalog.cxx...
Compiling testcatalog.cxx...
g++ -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -fno-rtti -fno-exceptions -D_FORTIFY_SOURCE=2 -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testcatalog.o testcatalog.cxx
echo Linking testcatalog...
Linking testcatalog...
g++ -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testcatalog testcatalog.o libcupsppdc.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testcatalog
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/ppdc'
Making all in scheduler...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/scheduler'
echo Compiling testlpd.c...
Compiling testlpd.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testlpd.o testlpd.c
echo Linking testlpd...
Linking testlpd...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testlpd testlpd.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
echo Compiling testmime.c...
Compiling testmime.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testmime.o testmime.c
echo Linking testmime...
Linking testmime...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testmime testmime.o libcupsmime.a \
../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testmime
echo Running MIME tests...
Running MIME tests...
./testmime
MIME database types:
application/octet-stream (100):
application/pdf (100):
[0x55a1a0a8c100] OR (
[0x55a1a0a8c180] match(*.pdf)
[0x55a1a0a8c200]
)
application/postscript (100):
[0x55a1a0a97060] OR (
[0x55a1a0a970e0] match(*.ai)
[0x55a1a0a97160] match(*.eps)
[0x55a1a0a971e0] match(*.ps)
[0x55a1a0a97260] string(0,%!)
[0x55a1a0a972e0] string(0,<04>%!)
[0x55a1a0a973e0] AND (
[0x55a1a0a97360] contains(0,128,<1B>%-12345X)
[0x55a1a0a97460] OR (
[0x55a1a0a974e0] contains(0,4096,LANGUAGE=POSTSCRIPT)
[0x55a1a0a97560] contains(0,4096,LANGUAGE = Postscript)
[0x55a1a0a975e0] contains(0,4096,LANGUAGE = PostScript)
[0x55a1a0a97660] contains(0,4096,LANGUAGE = POSTSCRIPT)
[0x55a1a0a976e0] AND (
[0x55a1a0a97760] contains(0,4096,<0A>%!)
[0x55a1a0a977e0] NOT contains(0,4096,ENTER LANGUAGE)
)
)
)
)
application/rss+xml (100):
[0x55a1a0a9c4f0] OR (
[0x55a1a0a9c570] match(*.rss)
)
application/vnd.cups-banner (100):
[0x55a1a0a9c630] OR (
[0x55a1a0a9c6b0] string(0,#CUPS-BANNER)
)
application/vnd.cups-command (100):
[0x55a1a0a9c770] OR (
[0x55a1a0a9c7f0] string(0,#CUPS-COMMAND)
)
application/vnd.cups-pdf (100):
application/vnd.cups-postscript (100):
application/vnd.cups-ppd (100):
[0x55a1a0a9cb40] OR (
[0x55a1a0a9cbc0] match(*.ppd)
[0x55a1a0a9cc40] string(0,*PPD-Adobe:)
)
application/vnd.cups-raster (100):
[0x55a1a0a9cd00] OR (
[0x55a1a0a9cd80] string(0,RaSt)
[0x55a1a0a9ce00] string(0,tSaR)
[0x55a1a0a9ce80] AND (
[0x55a1a0a9cf00] string(0,RaS2)
[0x55a1a0a9cf80] NOT string(4,PwgRaster<00>)
)
[0x55a1a0a9d000] string(0,2SaR)
[0x55a1a0a9d080] string(0,RaS3)
[0x55a1a0a9d100] string(0,3SaR)
)
application/vnd.cups-raw (100):
[0x55a1a0a9d1c0] AND (
[0x55a1a0a9d240] string(0,<1B>E)
[0x55a1a0a9d2c0] NOT string(2,<1B>%0B)
)
[0x55a1a0a9d340] string(0,<1B>@)
[0x55a1a0a9d3c0] AND (
[0x55a1a0a9d440] contains(0,128,<1B>%-12345X)
[0x55a1a0a9d4c0] OR (
[0x55a1a0a9d540] contains(0,4096,LANGUAGE=PCL)
[0x55a1a0a9d5c0] contains(0,4096,LANGUAGE = PCL)
)
)
application/x-cshell (100):
[0x55a1a0a9a810] OR (
[0x55a1a0a9a890] match(*.csh)
[0x55a1a0a9a990] AND (
[0x55a1a0a9a910] printable(0,1024)
[0x55a1a0a9aa10] string(0,#!)
[0x55a1a0a9aa90] OR (
[0x55a1a0a9ab10] contains(2,80,/csh)
[0x55a1a0a9ab90] contains(2,80,/tcsh)
)
)
)
application/x-csource (100):
[0x55a1a0a9b4b0] OR (
[0x55a1a0a9b530] match(*.c)
[0x55a1a0a9b5b0] match(*.cxx)
[0x55a1a0a9b630] match(*.cpp)
[0x55a1a0a9b6b0] match(*.cc)
[0x55a1a0a9b730] match(*.C)
[0x55a1a0a9b7b0] match(*.h)
[0x55a1a0a9b830] match(*.hpp)
[0x55a1a0a9b930] AND (
[0x55a1a0a9b8b0] printable(0,1024)
[0x55a1a0a9b9b0] NOT match(*.css)
[0x55a1a0a9ba30] OR (
[0x55a1a0a9bab0] string(0,/*)
[0x55a1a0a9bb30] string(0,//)
[0x55a1a0a9bbb0] string(0,#include)
[0x55a1a0a9bc30] contains(0,1024,<0A>#include)
[0x55a1a0a9bcb0] string(0,#define)
[0x55a1a0a9bd30] contains(0,1024,<0A>#define)
)
)
)
application/x-perl (100):
[0x55a1a0a9ac40] OR (
[0x55a1a0a9acc0] match(*.pl)
[0x55a1a0a9adc0] AND (
[0x55a1a0a9ad40] printable(0,1024)
[0x55a1a0a9ae40] string(0,#!)
[0x55a1a0a9aec0] contains(2,80,/perl)
)
)
application/x-shell (100):
[0x55a1a0a9af70] OR (
[0x55a1a0a9aff0] match(*.sh)
[0x55a1a0a9b0f0] AND (
[0x55a1a0a9b070] printable(0,1024)
[0x55a1a0a9b170] string(0,#!)
[0x55a1a0a9b1f0] OR (
[0x55a1a0a9b270] contains(2,80,/bash)
[0x55a1a0a9b2f0] contains(2,80,/ksh)
[0x55a1a0a9b370] contains(2,80,/sh)
[0x55a1a0a9b3f0] contains(2,80,/zsh)
)
)
)
image/gif (100):
[0x55a1a0a97860] OR (
[0x55a1a0a978e0] match(*.gif)
[0x55a1a0a97960] string(0,GIF87a)
[0x55a1a0a979e0] string(0,GIF89a)
)
image/jpeg (100):
[0x55a1a0a97c40] OR (
[0x55a1a0a97cc0] match(*.jpeg)
[0x55a1a0a97d40] match(*.jpg)
[0x55a1a0a97dc0] match(*.jpe)
[0x55a1a0a97ec0] AND (
[0x55a1a0a97e40] string(0,<FFFFFFFF><FFFFFFD8><FFFFFFFF>)
[0x55a1a0a97f40] OR (
[0x55a1a0a97fc0] char(3,224)
[0x55a1a0a98040] char(3,225)
[0x55a1a0a980c0] char(3,226)
[0x55a1a0a98140] char(3,227)
[0x55a1a0a981c0] char(3,228)
[0x55a1a0a98240] char(3,229)
[0x55a1a0a982c0] char(3,230)
[0x55a1a0a98340] char(3,231)
[0x55a1a0a983c0] char(3,232)
[0x55a1a0a98440] char(3,233)
[0x55a1a0a984c0] char(3,234)
[0x55a1a0a98540] char(3,235)
[0x55a1a0a985c0] char(3,236)
[0x55a1a0a98640] char(3,237)
[0x55a1a0a986c0] char(3,238)
[0x55a1a0a98740] char(3,239)
)
)
)
image/png (100):
[0x55a1a0a97a90] OR (
[0x55a1a0a97b10] match(*.png)
[0x55a1a0a97b90] string(0,<FFFFFF89>PNG)
)
image/pwg-raster (150):
[0x55a1a0a98800] AND (
[0x55a1a0a98880] string(0,RaS2)
[0x55a1a0a98900] string(4,PwgRaster<00>)
)
image/tiff (100):
[0x55a1a0a989b0] OR (
[0x55a1a0a98a30] match(*.tiff)
[0x55a1a0a98ab0] match(*.tif)
[0x55a1a0a98b30] string(0,MM<00>*)
[0x55a1a0a98bb0] string(0,II*<00>)
)
image/urf (100):
[0x55a1a0a9a030] OR (
[0x55a1a0a9a0b0] match(*.urf)
[0x55a1a0a9a130] string(0,UNIRAST<00>)
)
image/x-alias (100):
[0x55a1a0a9a1e0] OR (
[0x55a1a0a9a260] match(*.pix)
[0x55a1a0a9a2e0] short(8,8)
[0x55a1a0a9a360] short(8,24)
)
image/x-bitmap (100):
[0x55a1a0a9a420] OR (
[0x55a1a0a9a4a0] match(*.bmp)
[0x55a1a0a9a5a0] AND (
[0x55a1a0a9a520] string(0,BM)
[0x55a1a0a9a620] NOT printable(2,14)
)
)
image/x-icon (100):
[0x55a1a0a9a6d0] OR (
[0x55a1a0a9a750] match(*.ico)
)
image/x-photocd (100):
[0x55a1a0a98c70] OR (
[0x55a1a0a98cf0] match(*.pcd)
[0x55a1a0a98d70] string(2048,PCD_IPI)
)
image/x-portable-anymap (100):
[0x55a1a0a98e30] OR (
[0x55a1a0a98eb0] match(*.pnm)
)
image/x-portable-bitmap (100):
[0x55a1a0a98f70] OR (
[0x55a1a0a98ff0] match(*.pbm)
[0x55a1a0a99070] string(0,P1)
[0x55a1a0a990f0] string(0,P4)
)
image/x-portable-graymap (100):
[0x55a1a0a991b0] OR (
[0x55a1a0a99230] match(*.pgm)
[0x55a1a0a992b0] string(0,P2)
[0x55a1a0a99330] string(0,P5)
)
image/x-portable-pixmap (100):
[0x55a1a0a993f0] OR (
[0x55a1a0a99470] match(*.ppm)
[0x55a1a0a994f0] string(0,P3)
[0x55a1a0a99570] string(0,P6)
)
image/x-sgi-rgb (100):
[0x55a1a0a99630] OR (
[0x55a1a0a996b0] match(*.rgb)
[0x55a1a0a99730] match(*.sgi)
[0x55a1a0a997b0] match(*.bw)
[0x55a1a0a99830] match(*.icon)
[0x55a1a0a998b0] short(0,474)
)
image/x-sun-raster (100):
[0x55a1a0a99d70] OR (
[0x55a1a0a99df0] match(*.ras)
[0x55a1a0a99e70] string(0,Y<FFFFFFA6>j<FFFFFF95>)
)
image/x-xbitmap (100):
[0x55a1a0a99970] OR (
[0x55a1a0a999f0] match(*.xbm)
)
image/x-xpixmap (100):
[0x55a1a0a99ab0] OR (
[0x55a1a0a99b30] match(*.xpm)
[0x55a1a0a99c30] AND (
[0x55a1a0a99bb0] ascii(0,1024)
[0x55a1a0a99cb0] string(3,XPM)
)
)
text/css (100):
[0x55a1a0a9c3c0] OR (
[0x55a1a0a9c440] match(*.css)
)
text/html (100):
[0x55a1a0a9bde0] OR (
[0x55a1a0a9be60] match(*.html)
[0x55a1a0a9bee0] match(*.htm)
[0x55a1a0a9bfe0] AND (
[0x55a1a0a9bf60] printable(0,1024)
[0x55a1a0a9c060] OR (
[0x55a1a0a9c0e0]
[0x55a1a0a9c160]
)
)
)
text/plain (100):
[0x55a1a0a9c210] OR (
[0x55a1a0a9c290] match(*.txt)
[0x55a1a0a9c310] printable(0,1024)
)
MIME database filters:
application/octet-stream to application/vnd.cups-raw: - (0)
application/postscript to application/vnd.cups-postscript: pstops (66)
application/vnd.cups-raster to image/pwg-raster: rastertopwg (100)
application/vnd.cups-raster to image/urf: rastertopwg (100)
../doc/da/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/apple-touch-icon.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/cups.css: text/css
No filters to convert application/vnd.cups-postscript.
../doc/images/cups.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/images/left.gif: image/gif
No filters to convert application/vnd.cups-postscript.
../doc/images/raster.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/images/raster-organization.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-block-diagram.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/smiley.jpg: image/jpeg
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-block-diagram.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/images/unsel.gif: image/gif
No filters to convert application/vnd.cups-postscript.
../doc/images/left.xcf.gz: unknown
../doc/images/raster-organization.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/raster.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/wait.gif: image/gif
No filters to convert application/vnd.cups-postscript.
../doc/images/right.gif: image/gif
No filters to convert application/vnd.cups-postscript.
../doc/images/cups.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-command-chain.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/generic.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-postscript-chain.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-raster-chain.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-raster-chain.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-postscript-chain.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/sample-image.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/sel.gif: image/gif
No filters to convert application/vnd.cups-postscript.
../doc/images/webinterface.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-icon.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/color-wheel.png: image/png
No filters to convert application/vnd.cups-postscript.
../doc/images/cups-command-chain.svg: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/Makefile: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/pt_BR/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/pt_BR/index.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/ja/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/ja/index.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/ru/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/ru/index.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/cups-printable.css: text/css
No filters to convert application/vnd.cups-postscript.
../doc/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/de/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/de/index.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/es/index.html.in: text/html
No filters to convert application/vnd.cups-postscript.
../doc/es/index.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/robots.txt: text/plain
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ppdi.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpstat.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsfilter.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cups.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-banner.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cups-config.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-filter.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpr.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-subscriptions.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/cgi.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/firewalls.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsenable.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lprm.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpinfo.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/admin.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/api-admin.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cups-files.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ppdc.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpoptions.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-command.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-classes.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/license.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsctl.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ippfind.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/network.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ipptool.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/sharing.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/translation.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/raster-driver.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/api-raster.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ppdcfile.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsd.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/encryption.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsd.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsd-helper.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cups-snmp.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ippevepcl.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-ppd.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/overview.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/cupspm.epub: unknown
../doc/help/ref-ppdcfile.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/accounting.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-mailto.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lp.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cups-snmp.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-mime.convs.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/postscript-driver.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/glossary.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsaccept.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpc.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/security.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ppdhtml.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-client.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpadmin.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpmove.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-backend.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-design.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupstestppd.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/options.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/ppd-compiler.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-printers.conf.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/policies.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-notifier.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/kerberos.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ippeveprinter.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-stp.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-ipp.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-mime.types.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ppdmerge.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/cupspm.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/api-ppd.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ppdpo.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-ipptoolfile.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cups-lpd.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/spec-raster.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/api-filter.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cancel.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-cupsd-logs.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/help/man-lpq.html: text/html
No filters to convert application/vnd.cups-postscript.
../doc/apple-touch-icon.opacity: unknown
../doc/index.html: text/html
No filters to convert application/vnd.cups-postscript.
echo Compiling testspeed.c...
Compiling testspeed.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testspeed.o testspeed.c
echo Linking testspeed...
Linking testspeed...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testspeed testspeed.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testspeed
echo Compiling testsub.c...
Compiling testsub.c...
gcc -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -I.. -D_CUPS_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -flto=auto -flto-partition=none -fdata-sections -ffunction-sections -Os -I/usr/include/libusb-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=2 -D_REENTRANT -I/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -Wno-deprecated-declarations -Wno-format-truncation -Wno-tautological-compare -c -o testsub.o testsub.c
echo Linking testsub...
Linking testsub...
gcc -L../cups -Wl,-z,relro,-z,now -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -fPIE -pie -fPIC -Os -g -fstack-protector -D_GNU_SOURCE -o testsub testsub.o ../cups/libcups.a -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -flto=auto -flto-partition=none -fuse-linker-plugin -Wl,--gc-sections -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lavahi-common -lavahi-client -lgnutls -lz -lpthread -lm -lcrypt -lz
/usr/bin/true -s "-" testsub
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/scheduler'
Making all in systemv...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/systemv'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/systemv'
Making all in conf...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/conf'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/conf'
Making all in data...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/data'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/data'
Making all in desktop...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/desktop'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/desktop'
Making all in locale...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/locale'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/locale'
Making all in man...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/man'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/man'
Making all in doc...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/doc'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/doc'
Making all in examples...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/examples'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/examples'
Making all in templates...
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/templates'
make[1]: Nothing to be done for 'unittests'.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/templates'
echo Running CUPS test suite...
Running CUPS test suite...
cd test; ./run-stp-tests.sh 1 0 n n
make[1]: Entering directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/test'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/tkloczko/rpmbuild/BUILD/cups-2.3.3op2/test'
Welcome to the CUPS Automated Test Script.
Before we begin, it is important that you understand that the larger
tests require significant amounts of RAM and disk space. If you
attempt to run one of the big tests on a system that lacks sufficient
disk and virtual memory, the UNIX kernel might decide to kill one or
more system processes that you've grown attached to, like the X
server. The question you may want to ask yourself before running a
large test is: Do you feel lucky?
OK, now that we have the Dirty Harry quote out of the way, please
choose the type of test you wish to perform:
0 - No testing, keep the scheduler running for me (all systems)
1 - Basic conformance test, no load testing (all systems)
2 - Basic conformance test, some load testing (minimum 256MB VM, 50MB disk)
3 - Basic conformance test, extreme load testing (minimum 1GB VM, 500MB disk)
4 - Basic conformance test, torture load testing (minimum 2GB VM, 1GB disk)
Enter the number of the test you wish to perform: [1]
Running the timid tests (1)
Now you can choose whether to create a SSL/TLS encryption key and
certificate for testing:
0 - Do not do SSL/TLS encryption tests
1 - Test but do not require encryption
2 - Test and require encryption
Enter the number of the SSL/TLS tests to perform: [0]
Not using SSL/TLS (0)
This test script can use the Valgrind software from:
http://developer.kde.org/~sewardj/
Enter Y to use Valgrind or N to not use Valgrind: [N]
If CUPS was built with the --enable-debug-printfs configure option, you
can enable debug logging of the libraries.
Enter Y or a number from 0 to 9 to enable debug logging or N to not: [N]
Creating directories for test...
mkdir: cannot create directory '/tmp/cups-tkloczko/share/locale/en': File exists
ln: failed to create symbolic link '/tmp/cups-tkloczko/share/locale/en/cups_en.po': File exists
Creating cupsd.conf for test...
Creating printers.conf for test...
Setting up environment variables for test...
Creating wrapper script...
Starting scheduler:
/tmp/cups-tkloczko/runcups ../scheduler/cupsd -c /tmp/cups-tkloczko/cupsd.conf -f >/tmp/cups-tkloczko/log/debug_log 2>&1 &
Scheduler is PID 480099.
Running IPP compliance tests...
Performing 4.1-requests.test: PASS
Performing 4.2-cups-printer-ops.test: PASS
Performing 4.3-job-ops.test: FAIL
Performing 4.4-subscription-ops.test: FAIL
Performing ipp-2.1.test: PASS
Running command tests...
Performing 5.1-lpadmin.sh: PASS
Waiting for jobs to complete...2...
Performing 5.2-lpc.sh: PASS
Waiting for jobs to complete...2...
Performing 5.3-lpq.sh: PASS
Waiting for jobs to complete...2...
Performing 5.4-lpstat.sh: PASS
Waiting for jobs to complete...2...
Performing 5.5-lp.sh: PASS
Waiting for jobs to complete...14...
Performing 5.6-lpr.sh: PASS
Waiting for jobs to complete...26...
Performing 5.7-lprm.sh: PASS
Waiting for jobs to complete...26...
Performing 5.8-cancel.sh: PASS
Performing 5.9-lpinfo.sh: PASS
Performing restart test: PASS
Starting history test: PASS
Verifying that history still exists: PASS
Waiting for job history to expire: FAIL (job control files still present)
total 204
-rw------- 1 tkloczko tkloczko 1068 Feb 6 21:30 c00085
-rw-r----- 1 tkloczko tkloczko 204156 Feb 6 21:30 d00085-001
drwxrwx--T 2 tkloczko tkloczko 40 Feb 6 21:30 temp
Test Summary
PASS: cupsd exited with no errors.
FAIL: 2 job control files were not purged.
grep: /tmp/cups-tkloczko/log/page_log: No such file or directory
PASS: Printer 'Test1' correctly produced 0 page(s).
grep: /tmp/cups-tkloczko/log/page_log: No such file or directory
FAIL: Printer 'Test2' produced 0 page(s), expected 23.
grep: /tmp/cups-tkloczko/log/page_log: No such file or directory
FAIL: Printer 'Test3' produced 0 page(s), expected 2.
wc: /tmp/cups-tkloczko/log/access_log: No such file or directory
./run-stp-tests.sh: line 968: test: !=: unary operator expected
PASS: requests logged.
grep: /tmp/cups-tkloczko/log/access_log: No such file or directory
PASS: CUPS-Get-Default not logged.
PASS: 0 emergency messages.
PASS: 0 alert messages.
PASS: 0 critical messages.
FAIL: 4 error messages, expected 33.
E [06/Feb/2021:17:44:32.856587 +0000] Unable to open listen socket for address [v1.::1]:8631 - Address already in use.
E [06/Feb/2021:17:44:32.856645 +0000] Unable to open listen socket for address 127.0.0.1:8631 - Address already in use.
E [06/Feb/2021:21:30:34.737888 +0000] Unable to open listen socket for address [v1.::1]:8631 - Address already in use.
E [06/Feb/2021:21:30:34.737933 +0000] Unable to open listen socket for address 127.0.0.1:8631 - Address already in use.
PASS: 8 warning messages.
PASS: 0 notice messages.
PASS: 28 info messages.
PASS: 77 debug messages.
PASS: 343 debug2 messages.
Copied log file "debug_log-2021-02-06-tkloczko" to test directory.
Copied log file "error_log-2021-02-06-tkloczko" to test directory.
Copied report file "cups-str-2021-02-06-tkloczko.html" to test directory.
7 tests failed.
Hi,
I've already suggested developing a RESTful API for cups on Apple's repository but I think it's worth mentioning here as well:
apple/cups#5869
In cups/cups/http-private.h
cups/cups/language-private.h
cups/cups/string-private.h
and cups/cups/thread-private.h
, we are including config.h header file but it's not there. Although there is config.h header file in there parent dir i.e. in cups/
dir.
Lexmark Linux Print Driver is failing while communicating with our devices over USB from CUPS 2.2.12.
Details of the issue is given below:
API Used:
We use CUPS backend channel APIs while doing Bi-Di (Auto Configuration) through our filter in USB mode. The APIs we have been using are:
Problem:
In Linux Distros like Ubuntu 20.04, Fedora 32/33 with CUPS version 2.2.12 and higher, our Filter is failing while trying Bi-Di through USB. We checked our log and found the reply from "cupsBackChannelRead()" API is incorrect. Some unnecessary data is coming in front of the original data which is also incomplete.
Analysis & Findings:
CUPS Release Notes:
In CUPS's release notes there were some libusb changes which were done in CUPS 2.2.12
The libusb-based USB backend now enforces read limits, improving print speed in many cases (Issue #5583).
(apple/cups@35e927f)
Observation:
We downloaded the CUPS's source code from GIT and reverted the particular change mentioned above, and the issue was not observed.
Most open source libraries now provide support for the pkg-config utility. This also handles the addition of external dependencies (GNU TLS, zlib, etc.) and reporting project-specific values like directories.
We should add a pkg-config file for CUPS ("cups.pc") that provides all of the current cups-config options, and then deprecate cups-config.
A listing of jobs for example has the header right aligned and the table content left aligned, that looks puzzling. It looks much better with left alignement for both header and content.
I was looking into a way to reset the printer dialogue settings (like orientation or duplex printing) to the default values defined at http://localhost:631/printers/ after every print job.
While the MacOS version of CUPS has support for defaultToStandardPreset
in ~/Library/Preferences/org.cups.PrintingPrefs.plist
, the Linux/UNIX version doesn't seem to support this setting at all.
At least I wasn't able to find an entry for it by grepping the source.
Consulting the docs also didn't indicate a similar configuration variable.
Is the absence of this intended?
Or am I missing something?
When lpadmin gets called to set up an everywhere printer, it adds translations according to LANG environment variable to the ppd file in the config directory. This translation gets used when the browser requests this specified language (Accept-Language). In a multi-language environment different users with different language settings access the web page. Now, if the browser specifies another language than the one during setup, then the translation works only for the web page content, but not for all the options.
As long as PPD files were used by cups, it was possible to install a PPD file with a number of languages. In my location here i always need 4 languages and had PPDs prepared with these. This way, not only the web page was translated in the requested language, but also the options were properly translated. Now, since i use model everywhere, that does not work. In my opinion, this is a bug, or i just don't know hot it works. There should be a way to tell lpadmin to add a number of translations to the PPD that it creates, like for example: -t de,fr,es,it
When using command cupsfilter if we mistakenly type command
usr/sbin/cupsfilter -p <ppd-file> -m
it tells the usage of cupsfilter command. Shouldn't we tell the user that it expects destination mime type
after -m
option.
Similar things for other options as well.
Another feature we can add is that spacing may or may not require between option-value pair, like -mapplication/pdf
should also be valid.
Since commit c5f5c5a, printer instances don't work anymore.
They can be created, e.g. using
lpoptions -p myprinter/myinstance -o Duplex=None
and then show up in ~/.cups/lpoptions
. However, they are not listed when e.g. running lpstat -v
or in print dialogs.
(This was originally reported for https://github.com/apple/cups , s. apple/cups#5679 and apple/cups#5716 for some more information.)
This is a resubmission of apple/cups#5779, since https://github.com/apple/cups seems to be abandoned at the moment.
I use the Mopria print service for printing to CUPS from an Android device. This works perfectly on CUPS 2.2.10 (Debian buster). When I upgrade to CUPS 2.3.1 (Debian bullseye), the app can no longer print.
I managed to get in touch with the development team at HP. I provided wireshark traces for both versions. It ended up being narrowed down to the following:
The wireshark-cups-2.3.1 trace shows a printer response to Get-Printer-Attributes which includes:
printer-uri-supported (uri): 'ipps://CUPS:631/printers/PRINTER' name: printer-uri-supported uri value: 'ipps://CUPS:631/printers/PRINTER' uri-authentication-supported (keyword): 'requesting-user-name' name: uri-authentication-supported keyword value: 'requesting-user-name' uri-security-supported (keyword): 'none' name: uri-security-supported keyword value: 'none'
But https://tools.ietf.org/html/rfc8011#section-5.4.3 indicates that if TLS is supported for the corresponding uri, the printer must return a 'uri-security-supported' keyword of 'tls'.
Of course, MPS should not send an empty printer-uri. But it seems to have been confused
by the earlier response which is out of spec.
Conclusion: uri-security-supported
seems to be harcoded to none
, which violates RFC 8011, section 5.4.3 when printer-uri-supported
is a ipps://
URL. I searched a bit but I wasn't able to find any conversation explaining the reason for why this attribute is hardcoded in this way. The commit is from 15 years ago.
Another interesting difference is that in CUPS 2.2.20, the response to Get-Printer-Attributes
was a printer-uri-supported
value containing an ipp://
URL, even though the client was using IPPS:
Frame 79: 675 bytes on wire (5400 bits), 675 bytes captured (5400 bits) on interface 0
Ethernet II, REDACTED
Internet Protocol Version 4, Src: APP, Dst: CUPS
Transmission Control Protocol, Src Port: 37209, Dst Port: 631, Seq: 2407, Ack: 1183, Len: 609
Secure Sockets Layer
Hypertext Transfer Protocol
Internet Printing Protocol
version: 2.0
operation-id: Get-Printer-Attributes (0x000b)
request-id: 144
operation-attributes-tag
printer-uri (uri): 'ipps://CUPS:631/printers/PRINTER'
name: printer-uri
uri value: 'ipps://CUPS:631/printers/PRINTER'
Frame 86: 5549 bytes on wire (44392 bits), 5549 bytes captured (44392 bits) on interface 0
Ethernet II, REDACTED
Internet Protocol Version 4, Src: CUPS, Dst: APP
Transmission Control Protocol, Src Port: 631, Dst Port: 37209, Seq: 8044, Ack: 3016, Len: 5483
Secure Sockets Layer
Hypertext Transfer Protocol
Internet Printing Protocol
[Request In: 79]
[Response Time: 0.003729117 seconds]
version: 2.0
status-code: Successful (successful-ok)
request-id: 144
operation-attributes-tag
printer-attributes-tag
printer-uri-supported (uri): 'ipp://CUPS:631/printers/PRINTER'
name: printer-uri-supported
uri value: 'ipp://CUPS:631/printers/PRINTER'
While on CUPS 2.3.1, the response is:
Frame 117: 675 bytes on wire (5400 bits), 675 bytes captured (5400 bits) on interface 0
Ethernet II, REDACTED
Internet Protocol Version 4, Src: APP, Dst: CUPS
Transmission Control Protocol, Src Port: 49170, Dst Port: 631, Seq: 2407, Ack: 1183, Len: 609
Secure Sockets Layer
Hypertext Transfer Protocol
Internet Printing Protocol
version: 2.0
operation-id: Get-Printer-Attributes (0x000b)
request-id: 78
operation-attributes-tag
printer-uri (uri): 'ipps://CUPS:631/printers/PRINTER'
name: printer-uri
uri value: 'ipps://CUPS:631/printers/PRINTER'
Since I can't change uri-security-supported
without recompiling CUPS, I also tried disabling TLS to force the use of a ipp://
URL but that didn't work: TLS is still enabled. This seems to be the same issue reported in apple/cups#5769.
Hello.
Since cups 2.3.3op2
Cups cant find the usb printer when printing on a HP1018 laserjet.
Trying to add the printer again to reinstall it will not list it as available (as it normally happens)
Cups 2.3.3op1 works ok.
By popular request, will reconsider removal of OpenSSL in CUPS 1.x for CUPS 3.0.
On my system, I need to ensure that fitplot
is always set to true
across all printers, so that QubesOS trusted PDFs print correctly. However, I was only able to figure out how to set it on a per-printer basis.
I use the printer HP ENVY 5544 in Linux:
https://www.cnet.com/products/hp-envy-5540-all-in-one-multifunction-printer-color/
This is a colour printer with 2 ink cartridges. The cartridges have integrated print heads, so that it is possible to print only with the black cartridge in it.
I only use this printer with the black cartridge in it and print B/W.
Before I have changed to Linux, I have used this printer in windows. There I was able to choose between the print qualities "draft, normal and optimal".
Why do I mention windows?
Because I don't know what print qualities this printer supports. And I think that the print settings in Windows shows which print qualities this printer can handle, because the printer driver in Windows is exactly tuned to this printer.
-> So I guess, that this printer supports only the print qualities "draft, normal and optimal" and nothing other.
But in Linux when I go into ...
localhost:631
... I have the print qualities "normal, draft, best, and High-Resolution-Photo" (Exactly in this order. That's strange, because I would expect, that the order would represent an ascending quality.)
So, according to windows my printer only supports 3 print qualities, but Linux gives me 4 print qualities.
Isn't this a contradiction?
I wonder, if this is a cups error?
Why do I think, that this could be a cups error? Please have a look at the following experiments:
1st Experiment series: Focus lies on brightness of the print:
A)
Print 1 in Windows with "draft".
Print 2 in Linux with "draft".
Result: Print 2 is much darker than print 1.
-> I would expect, that both prints have the same brightness.
B)
Print 1 in Windows with "draft".
Print 2 in Linux with "normal".
Result: Both prints have the same brightness.
-> This looks like "Linux normal" is "Windows draft".
C)
Print 1 in Linux with "draft".
Print 2 in Linux with "normal".
Result: Print 1 is much darker then print 2.
-> I always thought, that "draft" does use less ink than "normal", but when "draft" prints darker than "normal", then this would need more ink. So this is a contradiction.
2nd Experiment series: Focus lies on dry-time when duplex printing is active:
A)
Print 1 in Windows with "draft".
Print 2 in Linux with "draft".
Result: In Windows the printer waits some seconds before pulling the paper back in, so that the ink can dry. In Linux the printer only waits always 1.8 seconds, independent of how much ink was used for the image.
-> So I have asked me: Does "dry time" not work in Linux? But I found out: Yes it works, but with the print quality "normal". See 2.B)
B)
Print 1 in Windows with "draft".
Print 2 in Linux with "normal".
Result: Both prints do wait some seconds before pulling the paper back in.
-> It looks like "Windows draft" matches "Linux normal". Strange!
C)
Print 1 in Linux with "draft".
Print 2 in Linux with "normal".
Result: Print 1 does not wait some seconds before pulling the paper back in (only 1.8 seconds). But print 2 waits some seconds before pulling the paper back in.
-> As Print 1 is much darker than print 2, I would expect, that in print 1 the dry time would be longer than in print 2, but it is the other way round.
Summary:
In windows I have 3 print-qualities to choose from, but in Linux I have 4. But one of this 4 (-> "draft") does not work as expected. Concretely: It is too dark and "dry time" does not work.
Is this a cups error?
Would appreciate some comments. Thank you.
os : arch linux
cups : 2.3.3op1
I installed canon ts6200 series with IPP everywhere and there are one color and two grayscale options in color mode.
previously I installed this printer with IPP everywhere on ubuntu 20.04, it had one color and one grayscale in color mode.
Please check that, thanks.
Error message:
Print service not available
Bad file description symbol
System information:
Operating System: Manjaro Linux
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.11-3-MANJARO
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-4460 CPU @ 3.20GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Add OAuth support to libcups.
make BUILDROOT=/some/other/root/directory install ENTER
mentioned in https://github.com/OpenPrinting/cups/blame/master/INSTALL.md does not work. I don't see BUILDROOT
in the Makefile either.
We are using @privateinclude@
in makedefs.in
file for creating makedefs
file but its not defined there. So upon generating Makedefs
file we are getting privateinclude = @privateinclude@
on line no 218, which I guess is a weird behaviour.
Also on line no 239 we have PRIVATEINCLUDE = $(BUILDROOT)@PRIVATEINCLUDE@
. I guess this is a typo. Perhaps right side PRIVATEINCLUDE
must be lowercase.
Do correct me if I am missing out something.
Thanks
So what is causing the problem? The ppd is created when adding the printer with lpadmin and "-m everywhere". Is it the printers fault??
Originally posted by @chalmerssys in #20 (comment)
Looks like the localization of InputSlot is messed up for IPP Everywhere PPDs.
cups version: 2.3.3op1-7
Cups does not support Canon CAPT USB printers (this requires a proprietary
driver which uses /dev/usb/lp0), but these printers are not blacklisted, so
when one is plugged in, cups sets up a new, non-functional printer, and
probes the USB device, the kernel logs a USB disconnect, and disrupts
operation of the Canon driver. Running lpinfo/lpstat also seems to do some probe
and cause a USB device disconnect. The kernel logs:
Jan 23 23:45:29 debian kernel: usblp0: removed
It appears the fix would be to add Canon CAPT printers to
/usr/share/cups/usb/org.cups.usb-quirks as so:
# Canon, Inc. LBP810 Printer
0x04a9 0x260a blacklist
# Canon, Inc. LBP1120 Printer
0x04a9 0x262b blacklist
# Canon, Inc. LBP1210 Printer
0x04a9 0x2617 blacklist
# Canon, Inc. LBP2000 Printer
0x04a9 0x260e blacklist
# Canon, Inc. LBP2900/LBP2900B Printer
0x04a9 0x2676 blacklist
# Canon, Inc. LBP3000 Printer
0x04a9 0x266a blacklist
# Canon, Inc. LBP3010/LBP3018/LBP3050 Printer
0x04a9 0x26da blacklist
# Canon, Inc. LBP3100/LBP3108/LBP3150 Printer
0x04a9 0x26db blacklist
# Canon, Inc. LBP3200 Printer
0x04a9 0x2636 blacklist
# Canon, Inc. LBP3210 Printer
0x04a9 0x2657 blacklist
# Canon, Inc. LBP3250 Printer
# CAPT printer with unknown USB ID
# 0x04a9 0x???? blacklist
# Canon, Inc. LBP3300 Printer
0x04a9 0x267e blacklist
# Canon, Inc. LBP3310 Printer
0x04a9 0x26b9 blacklist
# Canon, Inc. LBP3500 Printer
0x04a9 0x268b blacklist
# Canon, Inc. LBP3600 Printer
0x04a9 0x2654 blacklist
# Canon, Inc. LBP5000 Printer
0x04a9 0x2679 blacklist
# Canon, Inc. LBP5050 Printer
0x04a9 0x26ba blacklist
# Canon, Inc. LBP5100 Printer
0x04a9 0x26a4 blacklist
# Canon, Inc. LBP5200 Printer
0x04a9 0x266e blacklist
# Canon, Inc. LBP5300 Printer
0x04a9 0x26a1 blacklist
# Canon, Inc. LBP6000/LBP6018 Printer
0x04a9 0x271a blacklist
# Canon, Inc. LBP6020 Printer
0x04a9 0x2771 blacklist
# Canon, Inc. LBP6230/LBP6240 Printer
0x04a9 0x2796 blacklist
# Canon, Inc. LBP6200 Printer
0x04a9 0x271b blacklist
# Canon, Inc. LBP6300 Printer
# Possibly also: LBP6300n LBP6310dn
0x04a9 0x26ff blacklist
# Canon, Inc. LBP7010C/7018C Printer
0x04a9 0x271c blacklist
# Canon, Inc. LBP7200C Printer
# Possibly also: LBP7200Cdn
0x04a9 0x26f1 blacklist
# Canon, Inc. LBP9100C Printer
0x04a9 0x26ea blacklist
(as originally reported at https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980973)
In enterprise environments, there seems to be a common theme of networking/network printer issues that often get blamed on CUPS, where the solution is sometimes the hammer of restarting CUPS or rebooting the system to resolve hung print jobs.
We should revisit the network printing backends to ensure that:
In addition, the network printing help document should be updated and made available more prominently.
I'm not sure what the current policy of duplicate entries to the apple/cups issus is but for discussion I reopen a duplicate of apple/cups#5709 here as well also to discuss if more Linux distributions are affected.
Running Arch Linux with cups built from the OpenPrinting/Cups fork of todays master I still can't reach my network cups server using its webinterface and it doesn't offer the printer to the network after fresh reboot. A "systemctl status cups" shows it active and properly started though. A manual systemd restart cups.service solves it. My local solution using in Arch Linux is to further modify the service file
--- cups-2.3.0/scheduler/cups.service.in 2019-08-23 17:19:38.000000000 +0200
+++ cups-2.3.0/scheduler/cups.service.in.new 2019-08-25 20:20:25.805339727 +0200
@@ -1,8 +1,9 @@
[Unit]
Description=CUPS Scheduler
Documentation=man:cupsd(8)
-After=network.target sssd.service ypbind.service
+After=network-online.target sssd.service ypbind.service
Requires=cups.socket
+Wants=network-online.target
[Service]
ExecStart=@sbindir@/cupsd -l
Acording to https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ this shouldn't need be needed and I'd prefer to find out why network.target isn't enough to make cups properly working here.
Attaching here a cups debug error_log.txt using network.target make the start failing and the working
error_log_working.txt
Maybe you have an idea why network.target isn't working for me while it does seem to do so in different distributions.
I'm trying to look for some clarification on what the correct way to print to a printer using the C API.
As far as I understood from apple/cups#5271, the raw queues and drivers are dissapearing and that any dest
api should be the way to go.
I've read somewhere that by sending an ipp request cups would set up an temporary queue itself, however I have not yet figured out how, as after connecting to the destination, I cannot get cupsCopyDestInfo
to return anything but a NULL pointer
.
Therefor I am never able to create a cupsCreateDestJob
, as I am unable to provide cups_dinfo_t
.
Code flow I have so far:
cupsGetDests -> take a dest -> cupsConnectDest -> cupsCopyDestInfo -> x -> cupsCreateDestJob -> cupsFreeDests
The cups version I am using is 2.2.10
Thanks in advance for any help.
Edit: Additional question:
is this route even the correct one? I'm trying to be able to print automatically to any/most printer / labelprinter on a network, and cups seems to be perfect for this, however the entirety of having to select an driver per printer seems to be a bit of a detriment, hence I hoped the dest api could help me out.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.