+ 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/qDecoder-9.0.1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/qDecoder-9.0.1/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for qDecoder-9.0.1 ===> src /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qCgiRequest.o qCgiRequest.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qCgiRequest.c -fPIC -DPIC -o .libs/qCgiRequest.o qCgiRequest.c: In function '_parse_multipart': qCgiRequest.c:436:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 436 | printf("Boundary len %d : %s<br>\n", strlen(boundary), boundary); | ~^ ~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld qCgiRequest.c:441:26: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 441 | printf("Line %d, len %d : %s<br>\n", j, strlen(buf), buf); | ~^ ~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld qCgiRequest.c: In function '_parse_multipart_value_into_disk': qCgiRequest.c:740:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] 740 | snprintf(rnboundaryEOF, sizeof(rnboundaryEOF), "\r\n%s", boundaryEOF); | ^~ ~~~~~~~~~~~ qCgiRequest.c:740:2: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 740 | snprintf(rnboundaryEOF, sizeof(rnboundaryEOF), "\r\n%s", boundaryEOF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c: In function '_parse_multipart.isra': qCgiRequest.c:427:42: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] 427 | snprintf(boundary, sizeof(boundary), "--%s", boundary_orig); | ^~ ~~~~~~~~~~~~~ qCgiRequest.c:427:2: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 427 | snprintf(boundary, sizeof(boundary), "--%s", boundary_orig); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c:510:56: warning: '/Q_UPLOAD_TSIZE' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 510 | snprintf(upload_tmppath, sizeof(upload_tmppath), "%s/Q_UPLOAD_TSIZE", upload_savedir); | ^~~~~~~~~~~~~~~ qCgiRequest.c:510:4: note: 'snprintf' output between 16 and 1039 bytes into a destination of size 1024 510 | snprintf(upload_tmppath, sizeof(upload_tmppath), "%s/Q_UPLOAD_TSIZE", upload_savedir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c:517:56: warning: '/Q_UPLOAD_START' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 517 | snprintf(upload_tmppath, sizeof(upload_tmppath), "%s/Q_UPLOAD_START", upload_savedir); | ^~~~~~~~~~~~~~~ qCgiRequest.c:517:4: note: 'snprintf' output between 16 and 1039 bytes into a destination of size 1024 517 | snprintf(upload_tmppath, sizeof(upload_tmppath), "%s/Q_UPLOAD_START", upload_savedir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c:644:54: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 254 [-Wformat-truncation=] 644 | snprintf(rnboundaryEOF, sizeof(rnboundaryEOF), "\r\n%s", boundaryEOF); | ^~ ~~~~~~~~~~~ qCgiRequest.c:644:2: note: 'snprintf' output between 3 and 258 bytes into a destination of size 256 644 | snprintf(rnboundaryEOF, sizeof(rnboundaryEOF), "\r\n%s", boundaryEOF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c:623:55: warning: '/Q_UPLOAD_END' directive output may be truncated writing 13 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 623 | snprintf(upload_tmppath, sizeof(upload_tmppath), "%s/Q_UPLOAD_END", upload_savedir); | ^~~~~~~~~~~~~ qCgiRequest.c:623:3: note: 'snprintf' output between 14 and 1037 bytes into a destination of size 1024 623 | snprintf(upload_tmppath, sizeof(upload_tmppath), "%s/Q_UPLOAD_END", upload_savedir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c: In function '_upload_progressbar': qCgiRequest.c:952:40: warning: '/Q_UPLOAD_TSIZE' directive output may be truncated writing 15 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 952 | snprintf(tmppath, sizeof(tmppath), "%s/Q_UPLOAD_TSIZE", upload_savedir); | ^~~~~~~~~~~~~~~ qCgiRequest.c:952:2: note: 'snprintf' output between 16 and 1039 bytes into a destination of size 1024 952 | snprintf(tmppath, sizeof(tmppath), "%s/Q_UPLOAD_TSIZE", upload_savedir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c:956:40: warning: '/Q_UPLOAD_FILE' directive output may be truncated writing 14 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 956 | snprintf(tmppath, sizeof(tmppath), "%s/Q_UPLOAD_FILE", upload_savedir); | ^~~~~~~~~~~~~~ qCgiRequest.c:956:2: note: 'snprintf' output between 15 and 1038 bytes into a destination of size 1024 956 | snprintf(tmppath, sizeof(tmppath), "%s/Q_UPLOAD_FILE", upload_savedir); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qCgiRequest.c:970:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 970 | snprintf(tmppath, sizeof(tmppath), "%s/%s", upload_savedir, dirp->d_name); | ^ qCgiRequest.c:970:3: note: 'snprintf' output between 2 and 1025 bytes into a destination of size 1024 970 | snprintf(tmppath, sizeof(tmppath), "%s/%s", upload_savedir, dirp->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qCgiRequest.c -o qCgiRequest.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qCgiResponse.o qCgiResponse.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qCgiResponse.c -fPIC -DPIC -o .libs/qCgiResponse.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qCgiResponse.c -o qCgiResponse.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qSession.o qSession.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qSession.c -fPIC -DPIC -o .libs/qSession.o qSession.c: In function 'qSessionInit': qSession.c:111:67: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 111 | snprintf(session_storage_path, sizeof(session_storage_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_STORAGE_EXTENSION); | ^~ qSession.c:111:2: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 111 | snprintf(session_storage_path, sizeof(session_storage_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_STORAGE_EXTENSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qSession.c:112:67: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 112 | snprintf(session_timeout_path, sizeof(session_timeout_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_TIMEOUT_EXTENSION); | ^~ qSession.c:112:2: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 112 | snprintf(session_timeout_path, sizeof(session_timeout_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_TIMEOUT_EXTENSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qSession.c:126:69: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 126 | snprintf(session_storage_path, sizeof(session_storage_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_STORAGE_EXTENSION); | ^~ qSession.c:126:4: note: 'snprintf' output 22 or more bytes (assuming 1045) into a destination of size 1024 126 | snprintf(session_storage_path, sizeof(session_storage_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_STORAGE_EXTENSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ qSession.c:127:69: warning: '%s' directive output may be truncated writing 9 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 127 | snprintf(session_timeout_path, sizeof(session_timeout_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_TIMEOUT_EXTENSION); | ^~ qSession.c:127:4: note: 'snprintf' output 18 or more bytes (assuming 1041) into a destination of size 1024 127 | snprintf(session_timeout_path, sizeof(session_timeout_path), "%s/%s%s%s", session_repository_path, SESSION_PREFIX, sessionkey, SESSION_TIMEOUT_EXTENSION); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qSession.c -o qSession.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qHtml.o qHtml.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qHtml.c -fPIC -DPIC -o .libs/qHtml.o qHtml.c: In function 'qHtmlPrintf': qHtml.c:85:6: warning: variable 'status' set but not used [-Wunused-but-set-variable] 85 | int status; | ^~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qHtml.c -o qHtml.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qSocket.o qSocket.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qSocket.c -fPIC -DPIC -o .libs/qSocket.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qSocket.c -o qSocket.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qSem.o qSem.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qSem.c -fPIC -DPIC -o .libs/qSem.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qSem.c -o qSem.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qShm.o qShm.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qShm.c -fPIC -DPIC -o .libs/qShm.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qShm.c -o qShm.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qDatabase.o qDatabase.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qDatabase.c -fPIC -DPIC -o .libs/qDatabase.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qDatabase.c -o qDatabase.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qEntry.o qEntry.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qEntry.c -fPIC -DPIC -o .libs/qEntry.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qEntry.c -o qEntry.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qHashtbl.o qHashtbl.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qHashtbl.c -fPIC -DPIC -o .libs/qHashtbl.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qHashtbl.c -o qHashtbl.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qHasharr.o qHasharr.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qHasharr.c -fPIC -DPIC -o .libs/qHasharr.o qHasharr.c: In function '_getIdx': qHasharr.c:555:11: warning: pointer targets in passing argument 1 of 'qStrCpy' differ in signedness [-Wpointer-sign] 555 | qStrCpy(keymd5, sizeof(keymd5), tmpmd5, sizeof(keymd5)); | ^~~~~~ | | | unsigned char * In file included from qHasharr.c:108: qDecoder.h:423:29: note: expected 'char *' but argument is of type 'unsigned char *' 423 | extern char* qStrCpy(char *dst, size_t dstsize, const char *src, size_t nbytes); | ~~~~~~^~~ qHasharr.c:555:35: warning: pointer targets in passing argument 3 of 'qStrCpy' differ in signedness [-Wpointer-sign] 555 | qStrCpy(keymd5, sizeof(keymd5), tmpmd5, sizeof(keymd5)); | ^~~~~~ | | | unsigned char * In file included from qHasharr.c:108: qDecoder.h:423:62: note: expected 'const char *' but argument is of type 'unsigned char *' 423 | extern char* qStrCpy(char *dst, size_t dstsize, const char *src, size_t nbytes); | ~~~~~~~~~~~~^~~ qHasharr.c: In function '_putData': qHasharr.c:609:18: warning: pointer targets in passing argument 1 of 'strncpy' differ in signedness [-Wpointer-sign] 609 | strncpy(tbl[idx].keymd5, keymd5, 16); | ~~~~~~~~^~~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from qHasharr.c:107: /usr/include/iso/string_iso.h:82:22: note: expected 'char * restrict' but argument is of type 'unsigned char *' 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ qHasharr.c:609:27: warning: pointer targets in passing argument 2 of 'strncpy' differ in signedness [-Wpointer-sign] 609 | strncpy(tbl[idx].keymd5, keymd5, 16); | ^~~~~~ | | | unsigned char * In file included from /usr/include/string.h:34, from qHasharr.c:107: /usr/include/iso/string_iso.h:82:44: note: expected 'const char * restrict' but argument is of type 'unsigned char *' 82 | extern char *strncpy(char *_RESTRICT_KYWD, const char *_RESTRICT_KYWD, size_t); | ^ qHasharr.c:609:2: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 609 | strncpy(tbl[idx].keymd5, keymd5, 16); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qHasharr.c -o qHasharr.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qQueue.o qQueue.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qQueue.c -fPIC -DPIC -o .libs/qQueue.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qQueue.c -o qQueue.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qObstack.o qObstack.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qObstack.c -fPIC -DPIC -o .libs/qObstack.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qObstack.c -o qObstack.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qConfig.o qConfig.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qConfig.c -fPIC -DPIC -o .libs/qConfig.o qConfig.c: In function 'qConfigParseFile': qConfig.c:99:38: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] 99 | snprintf(tmp, sizeof(tmp), "%s/%s", dir, buf); | ^ qConfig.c:99:5: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 99 | snprintf(tmp, sizeof(tmp), "%s/%s", dir, buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qConfig.c -o qConfig.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qLog.o qLog.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qLog.c -fPIC -DPIC -o .libs/qLog.o qLog.c: In function '_realOpen': qLog.c:176:51: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] 176 | snprintf(log->logpath, sizeof(log->logpath), "%s/%s", log->logbase, log->filename); | ^~ qLog.c:176:2: note: 'snprintf' output between 2 and 1280 bytes into a destination of size 1024 176 | snprintf(log->logpath, sizeof(log->logpath), "%s/%s", log->logbase, log->filename); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qLog.c -o qLog.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qString.o qString.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qString.c -fPIC -DPIC -o .libs/qString.o libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qString.c -o qString.o >/dev/null 2>&1 /home/pbulk/build/www/qDecoder/work/.cwrapper/bin/libtool --mode=compile gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c -o qFile.o qFile.c libtool: compile: gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -D_FORTIFY_SOURCE=2 -Wall -DHAVE_CONFIG_H -I./ -c qFile.c -fPIC -DPIC -o .libs/qFile.o qFile.c: In function 'qFileLoad': qFile.c:249:11: warning: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] 249 | if((fd = open(filepath, O_RDONLY, 0)) < 0) return NULL; | ^~~~ | popen qFile.c:249:26: error: 'O_RDONLY' undeclared (first use in this function) 249 | if((fd = open(filepath, O_RDONLY, 0)) < 0) return NULL; | ^~~~~~~~ qFile.c:249:26: note: each undeclared identifier is reported only once for each function it appears in qFile.c: In function 'qFileSave': qFile.c:403:42: error: 'O_CREAT' undeclared (first use in this function); did you mean 'FCREAT'? 403 | if(append == false) fd = open(filepath, O_CREAT|O_WRONLY|O_TRUNC, DEF_FILE_MODE); | ^~~~~~~ | FCREAT qFile.c:403:50: error: 'O_WRONLY' undeclared (first use in this function) 403 | if(append == false) fd = open(filepath, O_CREAT|O_WRONLY|O_TRUNC, DEF_FILE_MODE); | ^~~~~~~~ qFile.c:403:59: error: 'O_TRUNC' undeclared (first use in this function); did you mean 'FTRUNC'? 403 | if(append == false) fd = open(filepath, O_CREAT|O_WRONLY|O_TRUNC, DEF_FILE_MODE); | ^~~~~~~ | FTRUNC qFile.c:404:44: error: 'O_APPEND' undeclared (first use in this function); did you mean 'FAPPEND'? 404 | else fd = open(filepath, O_CREAT|O_WRONLY|O_APPEND, DEF_FILE_MODE); | ^~~~~~~~ | FAPPEND *** Error code 1 Stop. make[1]: stopped in /home/pbulk/build/www/qDecoder/work/qDecoder-9.0.1/src <=== src