Public bug reported:
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!
** Affects: cups (Ubuntu)
Importance: Undecided
Status: New
** Tags: backport
** Attachment added: "updated file
debian/patches/ubuntu/ubuntu-cupsd-idleexittimeout-upstart.patch"
https://bugs.launchpad.net/bugs/1701333/+attachment/4905877/+files/ubuntu-cupsd-idleexittimeout-upstart.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs