+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libcups-2.4.12/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/libcups-2.4.12/work.log ===> Building for libcups-2.4.12 Using ARCHFLAGS= Using ALL_CFLAGS=-I.. -D_CUPS_SOURCE -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -I/opt/pkg/include/dbus-1.0 -I/opt/pkg/lib/dbus-1.0/include -DDBUS_API_SUBJECT_TO_CHANGE -D_FORTIFY_SOURCE=3 -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -Wunused Using ALL_CXXFLAGS=-I.. -D_CUPS_SOURCE -I/opt/pkg/include -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_POSIX_PTHREAD_SEMANTICS -I/opt/pkg/include -I/opt/pkg/include/ncurses -I/usr/include -D_FORTIFY_SOURCE=3 -I/opt/pkg/include -I/opt/pkg/include/p11-kit-1 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -Wall -Wunused Using CC=gcc Using CXX=gcc Using DSOFLAGS=-L../cups -R/opt/pkg/lib -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -Wl,-soname,all -shared -fPIC -Os -g Using LDFLAGS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -liconv -lintl -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -R/opt/pkg/lib Using LIBS=-L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -ldns_sd -Wl,-R/opt/pkg/lib -L/opt/pkg/lib -lgnutls -lz -lpthread -lresolv -lnsl -lsocket -lm -liconv -lz Making all in cups... gmake[1]: Entering directory '/home/pbulk/build/print/libcups/work/cups-2.4.12/cups' gmake[1]: warning: -j4 forced in submake: resetting jobserver mode. Compiling raster-interstub.c... Compiling raster-stubs.c... Compiling array.c... Compiling auth.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling clock.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling debug.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling dest.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling dest-job.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling dest-localization.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling dest-options.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling dir.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition dir.c: In function 'cupsDirRead': dir.c:391:48: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 391 | snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name); | ^ dir.c:391:5: note: 'snprintf' output between 2 and 1025 bytes into a destination of size 1024 391 | snprintf(filename, sizeof(filename), "%s/%s", dp->directory, entry->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling encode.c... Compiling file.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition dest.c: In function 'cupsGetDestWithURI': dest.c:1288:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 9 and 1021 [-Wformat-truncation=] 1288 | snprintf(temp, sizeof(temp), "%s @ %s", resource + 11, hostname); | ^~ ~~~~~~~~ dest.c:1288:7: note: 'snprintf' output between 4 and 1271 bytes into a destination of size 1024 1288 | snprintf(temp, sizeof(temp), "%s @ %s", resource + 11, hostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dest.c:1282:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 8 and 1021 [-Wformat-truncation=] 1282 | snprintf(temp, sizeof(temp), "%s @ %s", resource + 10, hostname); | ^~ ~~~~~~~~ dest.c:1282:7: note: 'snprintf' output between 4 and 1272 bytes into a destination of size 1024 1282 | snprintf(temp, sizeof(temp), "%s @ %s", resource + 10, hostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ dest.c:1276:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 7 and 1021 [-Wformat-truncation=] 1276 | snprintf(temp, sizeof(temp), "%s @ %s", resource + 9, hostname); | ^~ ~~~~~~~~ dest.c:1276:7: note: 'snprintf' output between 4 and 1273 bytes into a destination of size 1024 1276 | snprintf(temp, sizeof(temp), "%s @ %s", resource + 9, hostname); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Compiling getputfile.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling globals.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling hash.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling http.c... Compiling http-addr.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling http-addrlist.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling http-support.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling ipp.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling ipp-file.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition http-support.c: In function '_httpSetDigestAuthString': http-support.c:1425:157: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 34 and 927 [-Wformat-truncation=] 1425 | 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:1425:7: note: 'snprintf' output 99 or more bytes (assuming 1056) into a destination of size 1024 1425 | 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:1423:172: warning: '%s' directive output may be truncated writing up to 64 bytes into a region of size between 23 and 916 [-Wformat-truncation=] 1423 | 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:1423:7: note: 'snprintf' output 110 or more bytes (assuming 1067) into a destination of size 1024 1423 | 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 ipp-vars.c... Compiling ipp-support.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling langprintf.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling language.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling md5.c... Compiling md5passwd.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling notify.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling options.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling pwg-media.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling raster-error.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling raster-stream.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling request.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling snprintf.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling string.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling tempfile.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling thread.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling tls.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling transcode.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition Compiling usersys.c... Compiling util.c... : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition transcode.c: In function 'cupsCharsetToUTF8': transcode.c:168:24: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 168 | iconv(map_to_utf8, (char **)&src, &srclen, &altdestptr, &outBytesLeft); | ^~~~~~~~~~~~~ | | | char ** In file included from transcode.c:20: /home/pbulk/build/print/libcups/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ transcode.c: In function 'cupsUTF8ToCharset': transcode.c:297:26: error: passing argument 2 of 'libiconv' from incompatible pointer type [-Wincompatible-pointer-types] 297 | iconv(map_from_utf8, &altsrc, &srclen, &destptr, &outBytesLeft); | ^~~~~~~ | | | char ** /home/pbulk/build/print/libcups/work/.buildlink/include/iconv.h:82:48: note: expected 'const char **' but argument is of type 'char **' 82 | extern size_t iconv (iconv_t cd, const char* * inbuf, size_t *inbytesleft, char* * outbuf, size_t *outbytesleft); | ~~~~~~~~~~~~~~^~~~~ gmake[1]: *** [../Makedefs:272: transcode.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... In file included from tls.c:40: tls-gnutls.c: In function 'httpSaveCredentials': tls-gnutls.c:866:45: warning: '.N' directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 866 | snprintf(nfilename, sizeof(nfilename), "%s.N", filename); | ^~ tls-gnutls.c:866:3: note: 'snprintf' output between 3 and 1026 bytes into a destination of size 1024 866 | snprintf(nfilename, sizeof(nfilename), "%s.N", filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from string-private.h:19, from cups-private.h:19, from usersys.c:16: usersys.c: In function 'cupsSetUserAgent': ../config.h:21:22: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 243 [-Wformat-truncation=] 21 | #define CUPS_MINIMAL "CUPS/2.4.12" | ^~~~~~~~~~~~~ usersys.c:679:54: note: in expansion of macro 'CUPS_MINIMAL' 679 | snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s; %s) IPP/2.0", name.sysname, name.release, name.machine); | ^~~~~~~~~~~~ usersys.c:679:70: note: format string is defined here 679 | snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s; %s) IPP/2.0", name.sysname, name.release, name.machine); | ^~ usersys.c:679:5: note: 'snprintf' output between 26 and 794 bytes into a destination of size 256 679 | snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s; %s) IPP/2.0", name.sysname, name.release, name.machine); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../config.h:21:22: warning: '%s' directive output may be truncated writing up to 256 bytes into a region of size 243 [-Wformat-truncation=] 21 | #define CUPS_MINIMAL "CUPS/2.4.12" | ^~~~~~~~~~~~~ usersys.c:677:54: note: in expansion of macro 'CUPS_MINIMAL' 677 | snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s) IPP/2.0", name.sysname, name.release); | ^~~~~~~~~~~~ usersys.c:679:70: note: format string is defined here 679 | snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s; %s) IPP/2.0", name.sysname, name.release, name.machine); | ^~ usersys.c:677:5: note: 'snprintf' output between 24 and 536 bytes into a destination of size 256 677 | snprintf(cg->user_agent, sizeof(cg->user_agent), CUPS_MINIMAL " (%s %s) IPP/2.0", name.sysname, name.release); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gmake[1]: Leaving directory '/home/pbulk/build/print/libcups/work/cups-2.4.12/cups' gmake: *** [Makefile:43: all] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/libcups *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/libcups