The patch I provided for this last year fixed the problem for me....

----- Original Message -----
> From: "gf" <1701...@bugs.launchpad.net>
> To: "Bo Kersey" <b...@vircio.com>
> Sent: Thursday, August 30, 2018 3:31:17 PM
> Subject: [Bug 1701333] Re: building cups without systemd results in error due 
> to 'IdleExitTimeout' undeclared

> Hello Bo,
> Thank you for submitting this bug and reporting a problem with cups.  You made
> this bug report some time ago and Ubuntu has been updated since then.
>                                                         
> Could you confirm that this is no longer a problem and that we can close the
> ticket?
> If it is still a problem, are you still interested in finding a solution to 
> this
> bug?
> If you are, could you let us know, and in the current version, run the 
> following
> (only once):
> apport-collect BUGNUMBER
> and upload the updated logs and and any other logs that are relevant for this
> particular issue.
> 
> Thank you again for helping make Ubuntu better.
> G
> [Ubuntu Bug Squad volunteer triager]
> 
> ** Changed in: cups (Ubuntu)
>       Status: New => Incomplete
> 
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1701333
> 
> Title:
>  building cups without systemd results in error due to
>  'IdleExitTimeout' undeclared
> 
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1701333/+subscriptions

-- 
You received this bug notification because you are a member of Desktop
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:
  Incomplete

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/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to