Thanks for the update, Bo. I will close the report now.
Have a great day!
:)
G

Closed per reporter’s feedback.

** Changed in: cups (Ubuntu)
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1701333

Title:
  building cups without systemd results in error due to
  'IdleExitTimeout' undeclared

Status in cups package in Ubuntu:
  Invalid

Bug description:
  I'm backporting cups-2.1.3 to trusty and I found an ubuntu patch that
  lets cups stop on 30 seconds idle time if it was started on demand by
  upstart (ubuntu-cupsd-idleexittimeout-upstart.patch)

  All other uses of IdleExitTimeout are enclosed in an a conditional so
  that the code is masked if not build with launchd or systemd.
  However, this one is not....

  This results in the following build error:
  cc  -Wall -Wno-format-y2k -Wunused -fPIC -g -fstack-protector 
-Wno-unused-result -Wsign-conversion -Wno-tautological-compare -D_GNU_SOURCE 
-I.. -D_CUPS_SOURCE -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security 
-I/usr/include/libusb-1.0   -I/usr/include/dbus-1.0 
-I/usr/lib/x86_64-linux-gnu/dbus-1.0/include   -DDBUS_API_SUBJECT_TO_CHANGE 
-D_REENTRANT   -I/usr/include/p11-kit-1   -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT   -c -o main.o main.c
  main.c: In function 'upstart_checkin':
  main.c:1708:8: error: 'IdleExitTimeout' undeclared (first use in this 
function)
     if (!IdleExitTimeout)
          ^
  main.c:1708:8: note: each undeclared identifier is reported only once for 
each function it appears in

  I have added that conditional the the offending patch and I have
  attached it to this bug....

  Thanks!

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1701333/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to