>>> cups 2.2.10 Extracting
gzip -d -c /data/buildroot/buildroot-test/instance-0/dl/cups/cups-2.2.10-source.tar.gz | /data/buildroot/buildroot-test/instance-0/output/host/bin/tar --strip-components=1 -C /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10 -xf -
gzip: warning: GZIP environment variable is deprecated; use an alias or script
>>> cups 2.2.10 Patching
Applying 0001-Remove-man-from-BUILDDIRS-in-configure.patch using patch:
patching file config-scripts/cups-common.m4
Hunk #1 succeeded at 441 (offset -5 lines).
Applying 0002-Do-not-use-genstrings.patch using patch:
patching file ppdc/Makefile
Hunk #1 succeeded at 189 with fuzz 1 (offset -53 lines).
Applying 0003-Sanitize-the-installation-process.patch using patch:
patching file Makedefs.in
Hunk #1 succeeded at 48 (offset 8 lines).
patching file conf/Makefile
Hunk #1 succeeded at 70 (offset -2 lines).
patching file notifier/Makefile
Hunk #1 succeeded at 60 (offset -2 lines).
patching file scheduler/Makefile
Hunk #1 succeeded at 144 (offset -2 lines).
Applying 0004-Remove-PIE-flags-from-the-build.patch using patch:
patching file Makedefs.in
Hunk #1 succeeded at 162 (offset 14 lines).
>>> cups 2.2.10 Updating config.sub and config.guess
for file in config.guess config.sub; do for i in $(find /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10 -name $file); do cp support/gnuconfig/$file $i; done; done
>>> cups 2.2.10 Patching libtool
>>> cups 2.2.10 Configuring
cd /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10; /data/buildroot/buildroot-test/instance-0/output/host/bin/autoconf -f
(cd /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/ && rm -rf config.cache && PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" AR="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ar" AS="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-as" LD="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld" NM="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-nm" CC="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc" GCC="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc" CPP="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-cpp" CXX="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-g++" FC="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gfortran" F77="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gfortran" RANLIB="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ranlib" READELF="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-readelf" STRIP="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-strip" OBJCOPY="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-objcopy" OBJDUMP="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/data/buildroot/buildroot-test/instance-0/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/data/buildroot/buildroot-test/instance-0/output/host/include" LDFLAGS_FOR_BUILD="-L/data/buildroot/buildroot-test/instance-0/output/host/lib -Wl,-rpath,/data/buildroot/buildroot-test/instance-0/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-as" DEFAULT_LINKER="/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os " LDFLAGS="" FCFLAGS="-matomic -Os " FFLAGS="-matomic -Os " PKG_CONFIG="/data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config" STAGING_DIR="/data/buildroot/buildroot-test/instance-0/output/host/arc-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=yes ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=arc-buildroot-linux-gnu --host=arc-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared --without-perl --without-java --without-php --disable-gssapi --disable-pam --libdir=/usr/lib --disable-systemd --enable-dbus --enable-gnutls --without-python --disable-libusb --disable-libpaper --disable-avahi )
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls
checking build system type... x86_64-pc-linux-gnu
checking host system type... arc-buildroot-linux-gnu
checking for codesign... no
checking for true... /usr/bin/true
checking for gawk... gawk
checking for arc-buildroot-linux-gnu-clang... /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc accepts -g... yes
checking for /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-cpp
checking whether we are using the GNU C++ compiler... yes
checking whether /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-g++ accepts -g... yes
checking for arc-buildroot-linux-gnu-ranlib... /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ranlib
checking for ar... /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ar
checking for chmod... /usr/bin/chmod
checking for gzip... /usr/bin/gzip
checking for ld... /data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-ld
checking for ln... /usr/bin/ln
checking for mkdir... /usr/bin/mkdir
checking for mv... /usr/bin/mv
checking for rm... /usr/bin/rm
checking for rmdir... /usr/bin/rmdir
checking for sed... /usr/bin/sed
checking for xdg-open... no
checking for install-sh script... using /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/install-sh
checking for arc-buildroot-linux-gnu-pkg-config... no
checking for pkg-config... /data/buildroot/buildroot-test/instance-0/output/host/bin/pkg-config
configure: WARNING: using cross tools not prefixed with host triplet
checking for library containing abs... none required
checking for library containing crypt... -lcrypt
checking for library containing fmod... -lm
checking for library containing getspent... none required
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking crypt.h usability... yes
checking crypt.h presence... yes
checking for crypt.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking shadow.h usability... yes
checking shadow.h presence... yes
checking for shadow.h... yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/ucred.h usability... no
checking sys/ucred.h presence... no
checking for sys/ucred.h... no
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for library containing iconv_open... none required
checking for library containing libiconv_open... no
checking mxml.h usability... no
checking mxml.h presence... no
checking for mxml.h... no
checking sys/mount.h usability... yes
checking sys/mount.h presence... yes
checking for sys/mount.h... yes
checking sys/statfs.h usability... yes
checking sys/statfs.h presence... yes
checking for sys/statfs.h... yes
checking sys/statvfs.h usability... yes
checking sys/statvfs.h presence... yes
checking for sys/statvfs.h... yes
checking sys/vfs.h usability... yes
checking sys/vfs.h presence... yes
checking for sys/vfs.h... yes
checking for statfs... yes
checking for statvfs... yes
checking for strdup... yes
checking for strlcat... no
checking for strlcpy... no
checking for snprintf... yes
checking for vsnprintf... yes
checking for random... yes
checking for lrand48... yes
checking for arc4random... no
checking for geteuid... yes
checking for setpgid... yes
checking for vsyslog... yes
checking for sigaction... yes
checking for waitpid... yes
checking for wait3... yes
checking for posix_spawn... yes
checking for getgrouplist... yes
checking for tm_gmtoff member in tm structure... yes
checking for st_gen member in stat structure... no
checking for removefile... no
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzgets in -lz... yes
checking for inflateCopy in -lz... yes
checking for library containing acl_init... -lacl
checking for DBUS... yes
checking for dbus_message_iter_init_append... yes
checking for dbus_threads_init... yes
checking whether compiler supports -fstack-protector... yes
checking whether compiler supports -fPIE... yes
checking for resolv.h... yes
checking for library containing socket... none required
checking for library containing gethostbyaddr... none required
checking for library containing getifaddrs... none required
checking for library containing hstrerror... none required
checking for library containing rresvport_af... none required
checking for library containing __res_init... none required
checking for library containing getaddrinfo... none required
checking for library containing getnameinfo... none required
checking for struct sockaddr.sa_len... no
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking for poll... yes
checking for epoll_create... yes
checking for kqueue... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create using -lpthreads... no
checking for pthread_create using -lpthread... yes
checking for arc-buildroot-linux-gnu-libgnutls-config... no
checking for libgnutls-config... no
checking for gnutls_transport_set_pull_timeout_function... yes
checking for gnutls_priority_set_direct... yes
Using SSLLIBS="-L/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -lgnutls "
Using SSLFLAGS="-I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include/p11-kit-1 "
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long int... yes
checking for strtoll... yes
checking dns_sd.h usability... no
checking dns_sd.h presence... no
checking for dns_sd.h... no
checking for launch_activate_socket... no
checking launch.h usability... no
checking launch.h presence... no
checking for launch.h... no
checking for default print user... daemon
checking for default print group... lp
checking for default system groups... "sys root"
configure: creating ./config.status
config.status: creating Makedefs
config.status: creating conf/cups-files.conf
config.status: creating conf/cupsd.conf
config.status: creating conf/mime.convs
config.status: creating conf/pam.std
config.status: creating conf/snmp.conf
config.status: creating cups-config
config.status: creating desktop/cups.desktop
config.status: creating doc/index.html
config.status: creating man/client.conf.man
config.status: creating man/cups-files.conf.man
config.status: creating man/cups-lpd.man
config.status: creating man/cups-snmp.man
config.status: creating man/cupsaddsmb.man
config.status: creating man/cupsd.conf.man
config.status: creating man/cupsd.man
config.status: creating man/lpoptions.man
config.status: creating scheduler/cups-lpd.xinetd
config.status: creating scheduler/cups.sh
config.status: creating scheduler/cups.xml
config.status: creating scheduler/org.cups.cups-lpd.plist
config.status: creating scheduler/org.cups.cups-lpdAT.service
config.status: creating scheduler/org.cups.cupsd.path
config.status: creating scheduler/org.cups.cupsd.service
config.status: creating scheduler/org.cups.cupsd.socket
config.status: creating templates/header.tmpl
config.status: creating packaging/cups.list
config.status: creating doc/de/index.html
config.status: creating templates/de/header.tmpl
config.status: creating doc/es/index.html
config.status: creating templates/es/header.tmpl
config.status: creating templates/fr/header.tmpl
config.status: creating doc/ja/index.html
config.status: creating templates/ja/header.tmpl
config.status: creating doc/pt_BR/index.html
config.status: creating templates/pt_BR/header.tmpl
config.status: creating doc/ru/index.html
config.status: creating templates/ru/header.tmpl
config.status: creating config.h
configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --disable-dependency-tracking, --enable-ipv6, --disable-nls
>>> cups 2.2.10 Building
PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 -C /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/
make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10'
Using ARCHFLAGS=
Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include/dbus-1.0 -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -matomic -Os -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include -I/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT
Using CC=/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc
Using CXX=/data/buildroot/buildroot-test/instance-0/output/host/bin/arc-buildroot-linux-gnu-gcc
Using DSOFLAGS=-L../cups -Wl,-soname,all -shared -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -fPIC -Os -g -fstack-protector -D_GNU_SOURCE
Using LDFLAGS=-L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler -Wall -Wno-format-y2k -Wunused -Wno-unused-result -Wsign-conversion -fPIC -Os -g -fstack-protector -D_GNU_SOURCE
Using LIBS=-lcups -L/data/buildroot/buildroot-test/instance-0/output/host/bin/../arc-buildroot-linux-gnu/sysroot/usr/lib -lgnutls -lz -lpthread -lm -lcrypt -lz
Making all in cups...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cups'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling adminutil.c...
Compiling array.c...
Compiling auth.c...
Compiling backchannel.c...
Compiling backend.c...
Compiling debug.c...
Compiling dest.c...
Compiling dest-job.c...
Compiling dest-localization.c...
Compiling dest-options.c...
Compiling dir.c...
Compiling encode.c...
dir.c: In function 'cupsDirRead':
dir.c:383:46: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name);
^~
dir.c:383:5: note: 'snprintf' output between 2 and 1280 bytes into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling file.c...
Compiling getdevices.c...
Compiling getifaddrs.c...
Compiling getputfile.c...
Compiling globals.c...
Compiling hash.c...
Compiling http.c...
Compiling http-addr.c...
Compiling http-addrlist.c...
Compiling http-support.c...
hash.c: In function 'cupsHashData':
hash.c:238:13: warning: conversion to 'ssize_t' {aka 'int'} from 'unsigned int' may change the sign of the result [-Wsign-conversion]
return (gnutls_hash_get_len(alg));
~^~~~~~~~~~~~~~~~~~~~~~~~~
Compiling ipp.c...
Compiling ipp-support.c...
Compiling langprintf.c...
Compiling language.c...
Compiling md5.c...
Compiling md5passwd.c...
Compiling notify.c...
Compiling options.c...
http-support.c: In function '_httpSetDigestAuthString':
http-support.c:1415:157: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 34 and 927 [-Wformat-truncation=]
snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", algorithm=%s, qop=auth, cnonce=\"%s\", nc=%08x, uri=\"%s\", response=\"%s\"", username, http->realm, http->nonce, http->algorithm, cnonce, http->nonce_count, resource, kd);
^~ ~~
http-support.c:1415:7: note: 'snprintf' output 99 or more bytes (assuming 1056) into a destination of size 1024
snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", algorithm=%s, qop=auth, cnonce=\"%s\", nc=%08x, uri=\"%s\", response=\"%s\"", username, http->realm, http->nonce, http->algorithm, cnonce, http->nonce_count, resource, kd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http-support.c:1413:172: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 23 and 916 [-Wformat-truncation=]
snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", algorithm=%s, qop=auth, opaque=\"%s\", cnonce=\"%s\", nc=%08x, uri=\"%s\", response=\"%s\"", cupsUser(), http->realm, http->nonce, http->algorithm, http->opaque, cnonce, http->nonce_count, resource, kd);
^~ ~~
http-support.c:1413:7: note: 'snprintf' output 110 or more bytes (assuming 1067) into a destination of size 1024
snprintf(digest, sizeof(digest), "username=\"%s\", realm=\"%s\", nonce=\"%s\", algorithm=%s, qop=auth, opaque=\"%s\", cnonce=\"%s\", nc=%08x, uri=\"%s\", response=\"%s\"", cupsUser(), http->realm, http->nonce, http->algorithm, http->opaque, cnonce, http->nonce_count, resource, kd);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling ppd.c...
Compiling ppd-attr.c...
Compiling ppd-cache.c...
Compiling ppd-conflicts.c...
Compiling ppd-custom.c...
Compiling ppd-emit.c...
Compiling ppd-localize.c...
Compiling ppd-mark.c...
Compiling ppd-page.c...
Compiling ppd-util.c...
Compiling pwg-media.c...
Compiling request.c...
ppd-page.c: In function 'ppdPageSizeLimits':
ppd-page.c:256:40: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 40 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), ".%s.%s", qualifier2->choice,
^
ppd-page.c:256:7: note: 'snprintf' output between 3 and 83 bytes into a destination of size 41
snprintf(spec, sizeof(spec), ".%s.%s", qualifier2->choice,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qualifier3->choice);
~~~~~~~~~~~~~~~~~~~
ppd-page.c:265:40: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 40 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), ".%s.", qualifier2->choice);
^
ppd-page.c:265:7: note: 'snprintf' output between 3 and 43 bytes into a destination of size 41
snprintf(spec, sizeof(spec), ".%s.", qualifier2->choice);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd-page.c:271:39: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 39 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), "..%s", qualifier3->choice);
^~
ppd-page.c:271:7: note: 'snprintf' output between 3 and 43 bytes into a destination of size 41
snprintf(spec, sizeof(spec), "..%s", qualifier3->choice);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd-page.c:305:40: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 40 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), ".%s.%s", qualifier2->choice,
^
ppd-page.c:305:7: note: 'snprintf' output between 3 and 83 bytes into a destination of size 41
snprintf(spec, sizeof(spec), ".%s.%s", qualifier2->choice,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qualifier3->choice);
~~~~~~~~~~~~~~~~~~~
ppd-page.c:314:40: warning: '.' directive output may be truncated writing 1 byte into a region of size between 0 and 40 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), ".%s.", qualifier2->choice);
^
ppd-page.c:314:7: note: 'snprintf' output between 3 and 43 bytes into a destination of size 41
snprintf(spec, sizeof(spec), ".%s.", qualifier2->choice);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd-page.c:320:39: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 39 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), "..%s", qualifier3->choice);
^~
ppd-page.c:320:7: note: 'snprintf' output between 3 and 43 bytes into a destination of size 41
snprintf(spec, sizeof(spec), "..%s", qualifier3->choice);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd-localize.c: In function 'ppdLocalize':
ppd-localize.c:129:56: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 30 [-Wformat-truncation=]
snprintf(ckeyword, sizeof(ckeyword), "ParamCustom%s", coption->keyword);
^~
ppd-localize.c:129:7: note: 'snprintf' output between 12 and 52 bytes into a destination of size 41
snprintf(ckeyword, sizeof(ckeyword), "ParamCustom%s", coption->keyword);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd-localize.c:106:48: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 35 [-Wformat-truncation=]
snprintf(ckeyword, sizeof(ckeyword), "Custom%s", option->keyword);
^~
ppd-localize.c:106:4: note: 'snprintf' output between 7 and 47 bytes into a destination of size 41
snprintf(ckeyword, sizeof(ckeyword), "Custom%s", option->keyword);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling sidechannel.c...
Compiling snmp.c...
Compiling snprintf.c...
ppd-emit.c: In function 'ppdEmitJCL':
ppd-emit.c:497:53: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size 30 [-Wformat-truncation=]
snprintf(displaymsg, sizeof(displaymsg), "%d %s %s", job_id, user, temp);
^~ ~~~~
ppd-emit.c:497:5: note: 'snprintf' output 4 or more bytes (assuming 68) into a destination of size 33
snprintf(displaymsg, sizeof(displaymsg), "%d %s %s", job_id, user, temp);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling string.c...
Compiling tempfile.c...
ppd.c: In function '_ppdOpen':
ppd.c:580:37: warning: '%s' directive output may be truncated writing up to 15 bytes into a region of size 7 [-Wformat-truncation=]
snprintf(ll_CC, sizeof(ll_CC), "%s.", lang->language);
^~
ppd.c:580:5: note: 'snprintf' output between 2 and 17 bytes into a destination of size 7
snprintf(ll_CC, sizeof(ll_CC), "%s.", lang->language);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd.c:3471:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 740 and 1020 [-Wformat-truncation=]
snprintf(buffer, sizeof(buffer), "%s/%s %d %s", srcsuper, srctype, cost,
^~
program);
~~~~~~~
ppd.c:3471:5: note: 'snprintf' output between 5 and 1308 bytes into a destination of size 1024
snprintf(buffer, sizeof(buffer), "%s/%s %d %s", srcsuper, srctype, cost,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
ppd.c:1528:57: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 35 [-Wformat-truncation=]
snprintf(custom_name, sizeof(custom_name), "Custom%s", name);
^~ ~~~~
ppd.c:1528:7: note: 'snprintf' output between 7 and 47 bytes into a destination of size 41
snprintf(custom_name, sizeof(custom_name), "Custom%s", name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppd.c:1424:59: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 35 [-Wformat-truncation=]
snprintf(custom_name, sizeof(custom_name), "Custom%s", name);
^~ ~~~~
ppd.c:1424:9: note: 'snprintf' output between 7 and 47 bytes into a destination of size 41
snprintf(custom_name, sizeof(custom_name), "Custom%s", name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling thread.c...
Compiling tls.c...
Compiling transcode.c...
Compiling usersys.c...
Compiling util.c...
In file included from tls.c:44:
tls-gnutls.c: In function 'httpLoadCredentials':
tls-gnutls.c:780:17: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion]
decoded = alloc_data - num_data;
^~~~~~~~~~
tls-gnutls.c: In function 'http_gnutls_load_crl':
tls-gnutls.c:1023:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion]
decoded = alloc_data - num_data;
^~~~~~~~~~
tls-gnutls.c: In function 'httpSaveCredentials':
tls-gnutls.c:836:45: warning: '.N' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
snprintf(nfilename, sizeof(nfilename), "%s.N", filename);
^~
tls-gnutls.c:836:3: note: 'snprintf' output between 3 and 1026 bytes into a destination of size 1024
snprintf(nfilename, sizeof(nfilename), "%s.N", filename);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Archiving libcups.a...
Linking libcups.so.2...
a - adminutil.o
a - array.o
a - auth.o
a - backchannel.o
a - backend.o
a - debug.o
a - dest.o
a - dest-job.o
a - dest-localization.o
a - dest-options.o
a - dir.o
a - encode.o
a - file.o
a - getdevices.o
a - getifaddrs.o
a - getputfile.o
a - globals.o
a - hash.o
a - http.o
a - http-addr.o
a - http-addrlist.o
a - http-support.o
a - ipp.o
a - ipp-support.o
a - langprintf.o
a - language.o
a - md5.o
a - md5passwd.o
a - notify.o
a - options.o
a - ppd.o
a - ppd-attr.o
a - ppd-cache.o
a - ppd-conflicts.o
a - ppd-custom.o
a - ppd-emit.o
a - ppd-localize.o
a - ppd-mark.o
a - ppd-page.o
a - ppd-util.o
a - pwg-media.o
a - request.o
a - sidechannel.o
a - snmp.o
a - snprintf.o
a - string.o
a - tempfile.o
a - thread.o
a - tls.o
a - transcode.o
a - usersys.o
a - util.o
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cups'
Making all in test...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/test'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling ippserver.c...
Compiling ipptool.c...
Linking ippserver...
Linking ipptool...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/test'
Making all in filter...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/filter'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling error.c...
Compiling interpret.c...
Compiling raster.c...
Compiling commandtops.c...
Compiling gziptoany.c...
Compiling pstops.c...
Compiling common.c...
Compiling rastertoepson.c...
Compiling rastertohp.c...
Compiling rastertolabel.c...
Compiling rastertopwg.c...
Linking gziptoany...
Linking commandtops...
Linking libcupsimage.so.2...
Archiving libcupsimage.a...
a - error.o
a - interpret.o
a - raster.o
Linking rastertoepson...
Linking rastertohp...
Linking rastertolabel...
Linking rastertopwg...
Linking pstops...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/filter'
Making all in backend...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/backend'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling ieee1284.c...
Compiling network.c...
Compiling runloop.c...
Compiling snmp-supplies.c...
Compiling ipp.c...
Compiling lpd.c...
Compiling snmp.c...
Compiling socket.c...
Compiling usb.c...
In file included from usb.c:55:
usb-unix.c: In function 'side_cb':
usb-unix.c:589:14: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion]
datalen = strlen(data);
^~~~~~
snmp-supplies.c: In function 'backend_init_supplies':
snmp-supplies.c:561:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1008 and 1023 [-Wformat-truncation=]
snprintf(cachefilename, sizeof(cachefilename), "%s/%s.snmp", cachedir,
^~
addrstr);
~~~~~~~
snmp-supplies.c:561:3: note: 'snprintf' output 7 or more bytes (assuming 1045) into a destination of size 1024
snprintf(cachefilename, sizeof(cachefilename), "%s/%s.snmp", cachedir,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
addrstr);
~~~~~~~~
Archiving libbackend.a...
a - ieee1284.o
a - network.o
a - runloop.o
a - snmp-supplies.o
Linking socket...
Linking usb...
Linking snmp...
Linking lpd...
Linking ipp...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/backend'
Making all in berkeley...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/berkeley'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling lpc.c...
Compiling lpq.c...
Compiling lpr.c...
Compiling lprm.c...
Linking lprm...
Linking lpc...
Linking lpr...
Linking lpq...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/berkeley'
Making all in cgi-bin...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cgi-bin'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling help-index.c...
Compiling html.c...
Compiling ipp-var.c...
Compiling search.c...
Compiling template.c...
Compiling var.c...
Compiling admin.c...
Compiling classes.c...
Compiling help.c...
Compiling jobs.c...
Compiling printers.c...
In file included from ../cups/language-private.h:23,
from cgi-private.h:20,
from var.c:19:
var.c: In function 'cgi_set_sid':
var.c:1221:29: warning: conversion to 'unsigned int' from 'long int' may change the sign of the result [-Wsign-conversion]
CUPS_SRAND(curtime.tv_sec + curtime.tv_usec);
~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
../config.h:652:33: note: in definition of macro 'CUPS_SRAND'
# define CUPS_SRAND(v) srandom(v)
^
classes.c: In function 'do_class_op':
classes.c:264:47: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=%s", uri);
^~ ~~~
classes.c:264:5: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printers.c: In function 'do_printer_op':
printers.c:273:47: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=%s", uri);
^~ ~~~
printers.c:273:5: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
classes.c: In function 'main':
classes.c:493:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1008 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "10;URL=/classes/%s", uri);
^~ ~~~
classes.c:493:7: note: 'snprintf' output between 17 and 1040 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "10;URL=/classes/%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printers.c: In function 'main':
printers.c:513:60: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1007 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "10;URL=/printers/%s", uri);
^~ ~~~
printers.c:513:7: note: 'snprintf' output between 18 and 1041 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "10;URL=/printers/%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipp-var.c: In function 'cgiSetIPPObjectVars':
ipp-var.c:1119:36: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1020 [-Wformat-truncation=]
snprintf(uri, sizeof(uri), "/rss%s", resource);
^~ ~~~~~~~~
ipp-var.c:1119:4: note: 'snprintf' output between 5 and 1028 bytes into a destination of size 1024
snprintf(uri, sizeof(uri), "/rss%s", resource);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin.c: In function 'do_am_class':
admin.c:799:80: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 985 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=/classes/%s",
^~
uri);
~~~
admin.c:799:5: note: 'snprintf' output between 40 and 1063 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=/classes/%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uri);
~~~~
ipp-var.c: In function 'cgiPrintCommand':
ipp-var.c:672:45: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=%s", uri);
^~ ~~~
ipp-var.c:672:3: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipp-var.c: In function 'cgiMoveJobs':
ipp-var.c:494:51: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "2;URL=%s", uri);
^~ ~~~
ipp-var.c:494:9: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "2;URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ipp-var.c: In function 'cgiPrintTestPage':
ipp-var.c:769:47: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1018 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "2;URL=%s", uri);
^~ ~~~
ipp-var.c:769:5: note: 'snprintf' output between 7 and 1030 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "2;URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Archiving libcupscgi.a...
a - help-index.o
a - html.o
a - ipp-var.o
a - search.o
a - template.o
a - var.o
Linking classes.cgi...
Linking help.cgi...
Linking jobs.cgi...
Linking printers.cgi...
admin.c: In function 'do_set_options':
admin.c:3804:77: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 984 and 985 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=/%s/%s",
^~
is_class ? "classes" : "printers", uri);
~~~
admin.c:3804:7: note: 'snprintf' output between 40 and 1064 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=/%s/%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
is_class ? "classes" : "printers", uri);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin.c: In function 'do_am_printer':
admin.c:1418:46: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 988 [-Wformat-truncation=]
"5;/admin/?OP=redirect&URL=/printers/%s", uri);
^~ ~~~
admin.c:1417:7: note: 'snprintf' output between 37 and 1060 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"5;/admin/?OP=redirect&URL=/printers/%s", uri);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin.c: In function 'main':
admin.c:3905:71: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 994 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", uri);
^~ ~~~
admin.c:3905:5: note: 'snprintf' output between 31 and 1054 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin.c:3076:71: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 994 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", uri);
^~ ~~~
admin.c:3076:5: note: 'snprintf' output between 31 and 1054 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s", uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
admin.c:2989:73: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 994 [-Wformat-truncation=]
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s",
^~
uri);
~~~
admin.c:2989:7: note: 'snprintf' output between 31 and 1054 bytes into a destination of size 1024
snprintf(refresh, sizeof(refresh), "5;URL=/admin/?OP=redirect&URL=%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
uri);
~~~~
Linking admin.cgi...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cgi-bin'
Making all in monitor...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/monitor'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling bcp.c...
Compiling tbcp.c...
Linking tbcp...
Linking bcp...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/monitor'
Making all in notifier...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/notifier'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling dbus.c...
Compiling mailto.c...
Compiling rss.c...
Compiling testnotify.c...
rss.c: In function 'main':
rss.c:212:49: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1005 and 1020 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/rss%s", cachedir, resource);
^~ ~~~~~~~~
rss.c:212:5: note: 'snprintf' output 5 or more bytes (assuming 1043) into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/rss%s", cachedir, resource);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rss.c:213:43: warning: '.N' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
snprintf(newname, sizeof(newname), "%s.N", filename);
^~
rss.c:213:5: note: 'snprintf' output between 3 and 1026 bytes into a destination of size 1024
snprintf(newname, sizeof(newname), "%s.N", filename);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking testnotify...
mailto.c: In function 'email_message':
mailto.c:243:39: warning: ':smtp' directive output may be truncated writing 5 bytes into a region of size between 1 and 1024 [-Wformat-truncation=]
snprintf(spec, sizeof(spec), "%s:smtp", mailtoSMTPServer);
^~~~~
mailto.c:243:7: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024
snprintf(spec, sizeof(spec), "%s:smtp", mailtoSMTPServer);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking dbus...
Linking rss...
Linking mailto...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/notifier'
Making all in ppdc...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/ppdc'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling ppdc-array.cxx...
Compiling ppdc-attr.cxx...
Compiling ppdc-catalog.cxx...
Compiling ppdc-choice.cxx...
Compiling ppdc-constraint.cxx...
Compiling ppdc-driver.cxx...
Compiling ppdc-file.cxx...
Compiling ppdc-filter.cxx...
Compiling ppdc-font.cxx...
Compiling ppdc-group.cxx...
Compiling ppdc-import.cxx...
Compiling ppdc-mediasize.cxx...
Compiling ppdc-message.cxx...
Compiling ppdc-option.cxx...
Compiling ppdc-profile.cxx...
Compiling ppdc-shared.cxx...
Compiling ppdc-source.cxx...
Compiling ppdc-string.cxx...
Compiling ppdc-variable.cxx...
Compiling ppdc.cxx...
Compiling ppdhtml.cxx...
Compiling ppdi.cxx...
Compiling ppdmerge.cxx...
Compiling ppdpo.cxx...
ppdc.cxx: In function 'int main(int, char**)':
ppdc.cxx:354:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1020 and 1023 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/%s", outdir, pcfilename);
^~~~~~~ ~~~~~~~~~~
ppdc.cxx:354:12: note: 'snprintf' output 2 or more bytes (assuming 1028) into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/%s", outdir, pcfilename);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ppdc.cxx:352:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1020 and 1023 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/%s.gz", outdir, pcfilename);
^~~~~~~~~~ ~~~~~~~~~~
ppdc.cxx:352:12: note: 'snprintf' output 5 or more bytes (assuming 1031) into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/%s.gz", outdir, pcfilename);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking ppdmerge...
ppdc-source.cxx: In member function 'ppdcChoice* ppdcSource::get_generic(ppdcFile*, const char*, const char*, const char*)':
ppdc-source.cxx:1134:14: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 252 [-Wformat-truncation=]
"<%s(%s)>>setpagedevice",
^~~~~~~~~~~~~~~~~~~~~~~~~~
tattr, name);
~~~~
ppdc-source.cxx:1133:13: note: 'snprintf' output 21 or more bytes (assuming 1044) into a destination of size 256
snprintf(command, sizeof(command),
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
"<%s(%s)>>setpagedevice",
~~~~~~~~~~~~~~~~~~~~~~~~~~~
tattr, name);
~~~~~~~~~~~~
ppdc-source.cxx:1125:16: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 252 [-Wformat-truncation=]
"<%s(%s)/%s %d>>setpagedevice",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tattr, name, nattr, val);
~~~~
ppdc-source.cxx:1124:15: note: 'snprintf' output 24 or more bytes (assuming 1047) into a destination of size 256
snprintf(command, sizeof(command),
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
"<%s(%s)/%s %d>>setpagedevice",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tattr, name, nattr, val);
~~~~~~~~~~~~~~~~~~~~~~~~
Archiving libcupsppdc.a...
a - ppdc-array.o
a - ppdc-attr.o
a - ppdc-catalog.o
a - ppdc-choice.o
a - ppdc-constraint.o
a - ppdc-driver.o
a - ppdc-file.o
a - ppdc-filter.o
a - ppdc-font.o
a - ppdc-group.o
a - ppdc-import.o
a - ppdc-mediasize.o
a - ppdc-message.o
a - ppdc-option.o
a - ppdc-profile.o
a - ppdc-shared.o
a - ppdc-source.o
a - ppdc-string.o
a - ppdc-variable.o
Linking ppdc...
Linking ppdhtml...
Linking ppdi...
Linking ppdpo...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/ppdc'
Making all in scheduler...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/scheduler'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling filter.c...
Compiling mime.c...
Compiling type.c...
Compiling auth.c...
Compiling banners.c...
Compiling cert.c...
Compiling classes.c...
Compiling client.c...
Compiling colorman.c...
Compiling conf.c...
Compiling dirsvc.c...
Compiling env.c...
Compiling file.c...
auth.c:2101:1: warning: 'to64' defined but not used [-Wunused-function]
to64(char *s, /* O - Output string */
^~~~
Compiling main.c...
type.c: In function 'mimeAddTypeRule':
type.c:447:42: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 253 [-Wformat-truncation=]
snprintf(value[0], sizeof(value[0]), "*.%s", name);
^~ ~~~~
type.c:447:2: note: 'snprintf' output between 3 and 257 bytes into a destination of size 255
snprintf(value[0], sizeof(value[0]), "*.%s", name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling ipp.c...
Compiling listen.c...
Compiling job.c...
Compiling log.c...
In file included from ../cups/string-private.h:31,
from ../cups/cups-private.h:23,
from cupsd.h:19,
from file.c:18:
file.c: In function 'cupsdRemoveFile':
file.c:365:14: warning: conversion to 'unsigned int' from 'time_t' {aka 'long int'} may change the sign of the result [-Wsign-conversion]
CUPS_SRAND(time(NULL));
^~~~~~~~~~
../config.h:652:33: note: in definition of macro 'CUPS_SRAND'
# define CUPS_SRAND(v) srandom(v)
^
client.c: In function 'pipe_command':
client.c:3567:55: warning: '%s' directive output may be truncated writing up to 10239 bytes into a region of size 1014 [-Wformat-truncation=]
snprintf(path_info, sizeof(path_info), "PATH_INFO=%s", argbuf);
^~ ~~~~~~
client.c:3567:5: note: 'snprintf' output between 11 and 10250 bytes into a destination of size 1024
snprintf(path_info, sizeof(path_info), "PATH_INFO=%s", argbuf);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:3679:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1012 [-Wformat-truncation=]
snprintf(script_name, sizeof(script_name), "SCRIPT_NAME=%s", con->uri);
^~
client.c:3679:3: note: 'snprintf' output between 13 and 1036 bytes into a destination of size 1024
snprintf(script_name, sizeof(script_name), "SCRIPT_NAME=%s", con->uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling network.c...
Compiling policy.c...
Compiling printers.c...
Compiling process.c...
Compiling quotas.c...
client.c: In function 'get_file.constprop':
client.c:3004:35: warning: '.png' directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(filename, len, "%s/%s.png", CacheDir, dest);
^~~~
client.c:3004:5: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 1024
snprintf(filename, len, "%s/%s.png", CacheDir, dest);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:3033:44: warning: '%s' directive output may be truncated writing up to 15 bytes into a region of size 6 [-Wformat-truncation=]
snprintf(language, sizeof(language), "/%s", con->language->language);
^~
client.c:3033:5: note: 'snprintf' output between 2 and 17 bytes into a destination of size 7
snprintf(language, sizeof(language), "/%s", con->language->language);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:3034:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1018 and 1024 [-Wformat-truncation=]
snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri);
^~
client.c:3034:5: note: 'snprintf' output 1 or more bytes (assuming 1030) into a destination of size 1024
snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:3059:34: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1018 and 1024 [-Wformat-truncation=]
snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri);
^~
client.c:3059:5: note: 'snprintf' output 1 or more bytes (assuming 1030) into a destination of size 1024
snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
client.c:3136:36: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1018 and 1024 [-Wformat-truncation=]
snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri);
^~
client.c:3136:7: note: 'snprintf' output 1 or more bytes (assuming 1030) into a destination of size 1024
snprintf(filename, len, "%s%s%s", DocumentRoot, language, con->uri);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling select.c...
Compiling server.c...
Compiling statbuf.c...
Compiling subscriptions.c...
Compiling sysman.c...
client.c: In function 'cupsdSendError':
client.c:2255:16: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 707 and 972 [-Wformat-truncation=]
"\n",
^~
client.c:2254:7: note: 'snprintf' output between 56 and 1344 bytes into a destination of size 1024
snprintf(redirect, sizeof(redirect),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"\n",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
con->servername, con->serverport, con->uri);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling cupsfilter.c...
Compiling cups-deviced.c...
Compiling util.c...
Compiling cups-driverd.cxx...
printers.c: In function 'add_printer_filter':
printers.c:3504:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/filter/%s", ServerBin, program);
^~ ~~~~~~~
printers.c:3504:7: note: 'snprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/filter/%s", ServerBin, program);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilter.c: In function 'add_printer_filter':
cupsfilter.c:563:41: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 2 and 272 [-Wformat-truncation=]
snprintf(dest, sizeof(dest), "%s/%s/%s", filtertype->type, dsuper, dtype);
^~ ~~~~~
cupsfilter.c:563:5: note: 'snprintf' output between 3 and 528 bytes into a destination of size 274
snprintf(dest, sizeof(dest), "%s/%s/%s", filtertype->type, dsuper, dtype);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cupsfilter.c:614:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1016 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/filter/%s", ServerBin, program);
^~ ~~~~~~~
cupsfilter.c:614:7: note: 'snprintf' output 9 or more bytes (assuming 1032) into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/filter/%s", ServerBin, program);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling cups-exec.c...
Compiling cups-lpd.c...
Archiving libcupsmime.a...
a - filter.o
a - mime.o
a - type.o
cups-driverd.cxx: In function 'void load_ppds_dat(char*, size_t, int)':
cups-driverd.cxx:2626:59: warning: conversion to 'int' from 'size_t' {aka 'unsigned int'} may change the sign of the result [-Wsign-conversion]
(num_ppds = ((size_t)fileinfo.st_size - sizeof(ppdsync)) / sizeof(ppd_rec_t)) > 0)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
Linking cups-exec...
Linking cups-deviced...
Linking cupsfilter...
ipp.c: In function 'get_ppd':
ipp.c:7086:48: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1008 and 1018 [-Wformat-truncation=]
snprintf(options, sizeof(options), "get+%d+%s", ippGetRequestId(con->request), oppd_name);
^~ ~~~~~~~~~
ipp.c:7086:5: note: 'snprintf' output between 7 and 1040 bytes into a destination of size 1024
snprintf(options, sizeof(options), "get+%d+%s", ippGetRequestId(con->request), oppd_name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cups-driverd.cxx: In function 'int load_ppds(const char*, const char*, int)':
cups-driverd.cxx:2454:36: warning: '%s' directive output may be truncated writing up to 259 bytes into a region of size 255 [-Wformat-truncation=]
snprintf(name, sizeof(name), "%s/%s", p, dent->filename);
^~~~~~~
cups-driverd.cxx:2454:15: note: 'snprintf' output 2 or more bytes (assuming 261) into a destination of size 256
snprintf(name, sizeof(name), "%s/%s", p, dent->filename);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking cups-lpd...
ipp.c: In function 'add_job':
ipp.c:2032:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=]
snprintf(notifier, sizeof(notifier), "%s/notifier/%s", ServerBin,
^~
scheme);
~~~~~~
ipp.c:2032:9: note: 'snprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024
snprintf(notifier, sizeof(notifier), "%s/notifier/%s", ServerBin,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scheme);
~~~~~~~
cups-driverd.cxx: In function 'void list_ppds(int, int, const char*)':
cups-driverd.cxx:1143:40: warning: '%d' directive output may be truncated writing between 1 and 11 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(newname, sizeof(newname), "%s.%d", filename, (int)getpid());
^~~~~~~
cups-driverd.cxx:1143:13: note: 'snprintf' output between 3 and 1036 bytes into a destination of size 1024
snprintf(newname, sizeof(newname), "%s.%d", filename, (int)getpid());
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cups-driverd.cxx:1831:42: warning: '%s' directive output may be truncated writing up to 259 bytes into a region of size between 0 and 1023 [-Wformat-truncation=]
snprintf(filename, sizeof(filename), "%s/%s", drivers, dent->filename);
^~~~~~~
cups-driverd.cxx:1831:13: note: 'snprintf' output between 2 and 1284 bytes into a destination of size 1024
snprintf(filename, sizeof(filename), "%s/%s", drivers, dent->filename);
~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printers.c: In function 'cupsdLoadAllPrinters':
printers.c:993:24: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1016 [-Wformat-truncation=]
"Backend %s does not exist!", line);
^~ ~~~~
printers.c:992:6: note: 'snprintf' output between 25 and 4120 bytes into a destination of size 1024
snprintf(p->state_message, sizeof(p->state_message),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Backend %s does not exist!", line);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking cups-driverd...
ipp.c: In function 'create_subscriptions.isra.20':
ipp.c:5774:59: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=]
snprintf(notifier, sizeof(notifier), "%s/notifier/%s", ServerBin,
^~
scheme);
~~~~~~
ipp.c:5774:9: note: 'snprintf' output 11 or more bytes (assuming 1034) into a destination of size 1024
snprintf(notifier, sizeof(notifier), "%s/notifier/%s", ServerBin,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scheme);
~~~~~~~
ipp.c: In function 'add_printer.isra.14':
ipp.c:2413:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1015 [-Wformat-truncation=]
snprintf(srcfile, sizeof(srcfile), "%s/backend/%s", ServerBin, scheme);
^~ ~~~~~~
ipp.c:2413:7: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024
snprintf(srcfile, sizeof(srcfile), "%s/backend/%s", ServerBin, scheme);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Linking cupsd...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/scheduler'
Making all in systemv...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/systemv'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling cancel.c...
Compiling cupsaccept.c...
Compiling cupsaddsmb.c...
Compiling cupsctl.c...
Compiling cupstestdsc.c...
Compiling cupstestppd.c...
Compiling lp.c...
Compiling lpadmin.c...
Compiling lpinfo.c...
Compiling lpmove.c...
Compiling lpoptions.c...
Compiling lpstat.c...
Linking lpmove...
Linking cupsaccept...
Linking cupsaddsmb...
Linking lpinfo...
Linking cupstestdsc...
Linking cupsctl...
Linking cancel...
Linking lpoptions...
Linking lp...
cupstestppd.c: In function 'check_translations':
cupstestppd.c:3511:43: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
snprintf(keyword, sizeof(keyword), "%s.%s", language,
^
cupstestppd.c:3511:2: note: 'snprintf' output 2 or more bytes (assuming 42) into a destination of size 41
snprintf(keyword, sizeof(keyword), "%s.%s", language,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
option->keyword);
~~~~~~~~~~~~~~~~
cupstestppd.c:3513:45: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size between 38 and 40 [-Wformat-truncation=]
snprintf(llkeyword, sizeof(llkeyword), "%s.%s", ll,
^~
cupstestppd.c:3513:2: note: 'snprintf' output between 2 and 44 bytes into a destination of size 41
snprintf(llkeyword, sizeof(llkeyword), "%s.%s", ll,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
option->keyword);
~~~~~~~~~~~~~~~~
cupstestppd.c:3538:53: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 34 [-Wformat-truncation=]
snprintf(ckeyword, sizeof(ckeyword), "%s.Custom%s",
^~
cupstestppd.c:3538:6: note: 'snprintf' output 8 or more bytes (assuming 48) into a destination of size 41
snprintf(ckeyword, sizeof(ckeyword), "%s.Custom%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
language, option->keyword);
~~~~~~~~~~~~~~~~~~~~~~~~~~
cupstestppd.c:3566:55: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size 29 [-Wformat-truncation=]
snprintf(ckeyword, sizeof(ckeyword), "%s.ParamCustom%s",
^~
cupstestppd.c:3566:3: note: 'snprintf' output 13 or more bytes (assuming 53) into a destination of size 41
snprintf(ckeyword, sizeof(ckeyword), "%s.ParamCustom%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
language, option->keyword);
~~~~~~~~~~~~~~~~~~~~~~~~~~
cupstestppd.c:3568:59: warning: '%s' directive output may be truncated writing up to 40 bytes into a region of size between 27 and 29 [-Wformat-truncation=]
snprintf(cllkeyword, sizeof(cllkeyword), "%s.ParamCustom%s",
^~
cupstestppd.c:3568:3: note: 'snprintf' output between 13 and 55 bytes into a destination of size 41
snprintf(cllkeyword, sizeof(cllkeyword), "%s.ParamCustom%s",
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
ll, option->keyword);
~~~~~~~~~~~~~~~~~~~~
Linking lpadmin...
cupstestppd.c: In function 'check_filters':
cupstestppd.c:2632:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1015 [-Wformat-truncation=]
snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr,
^~
program);
~~~~~~~
cupstestppd.c:2632:4: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024
snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
cupstestppd.c:2629:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1003 and 1016 [-Wformat-truncation=]
snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr,
^~
program);
~~~~~~~
cupstestppd.c:2629:4: note: 'snprintf' output 9 or more bytes (assuming 1045) into a destination of size 1024
snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
cupstestppd.c:2546:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1015 [-Wformat-truncation=]
snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr,
^~
program);
~~~~~~~
cupstestppd.c:2546:4: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024
snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
cupstestppd.c:2543:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1003 and 1016 [-Wformat-truncation=]
snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr,
^~
program);
~~~~~~~
cupstestppd.c:2543:4: note: 'snprintf' output 9 or more bytes (assuming 1045) into a destination of size 1024
snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
cupstestppd.c:2418:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1015 [-Wformat-truncation=]
snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr,
^~
program);
~~~~~~~
cupstestppd.c:2418:4: note: 'snprintf' output 10 or more bytes (assuming 1033) into a destination of size 1024
snprintf(pathprog, sizeof(pathprog), "%s/%s/filter/%s", root, ptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
cupstestppd.c:2415:54: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size between 1003 and 1016 [-Wformat-truncation=]
snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr,
^~
program);
~~~~~~~
cupstestppd.c:2415:4: note: 'snprintf' output 9 or more bytes (assuming 1045) into a destination of size 1024
snprintf(pathprog, sizeof(pathprog), "%s%s/filter/%s", root, ptr,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
program);
~~~~~~~~
Linking lpstat...
Linking cupstestppd...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/systemv'
Making all in conf...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/conf'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/conf'
Making all in data...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/data'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/data'
Making all in desktop...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/desktop'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/desktop'
Making all in locale...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/locale'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Compiling checkpo.c...
Compiling po2strings.c...
Compiling strings2po.c...
Linking strings2po...
Linking po2strings...
Linking checkpo...
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/locale'
Making all in doc...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/doc'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/doc'
Making all in examples...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/examples'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/examples'
Making all in templates...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/templates'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/templates'
make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10'
>>> cups 2.2.10 Installing to staging directory
PATH="/data/buildroot/buildroot-test/instance-0/output/host/bin:/data/buildroot/buildroot-test/instance-0/output/host/sbin:/data/buildroot/buildroot-test/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" /usr/bin/make -j12 DESTDIR=/data/buildroot/buildroot-test/instance-0/output/host/arc-buildroot-linux-gnu/sysroot DSTROOT=/data/buildroot/buildroot-test/instance-0/output/host/arc-buildroot-linux-gnu/sysroot install -C /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/
make[1]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10'
Making all in cups...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cups'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cups'
Installing data files in cups...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cups'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/cups'
Installing data files in test...
make[2]: Entering directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/test'
make[2]: warning: -jN forced in submake: disabling jobserver mode.
Installing sample ipptool files in /data/buildroot/buildroot-test/instance-0/output/host/arc-buildroot-linux-gnu/sysroot/usr/share/cups/ipptool...
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
gzip: /usr/bin/gzip: non-option in GZIP environment variable
Try `gzip --help' for more information.
make[2]: *** [Makefile:116: install-data] Error 1
make[2]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/test'
make[1]: *** [Makefile:185: install-data] Error 1
make[1]: Leaving directory '/data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10'
make: *** [package/pkg-generic.mk:282: /data/buildroot/buildroot-test/instance-0/output/build/cups-2.2.10/.stamp_staging_installed] Error 2
make: Leaving directory '/data/buildroot/buildroot-test/instance-0/buildroot'