=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/print/LPRng-core", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for LPRng-core-3.8.28nb5 if [ "UTILS" = po ] ; then \ for i in po/Makefile* ; do \ if [ -f "$i" ] ; then \ if grep '^mkinstalldirs.*=.*case' $i ; then \ echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \ perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \ fi \ fi \ done \ fi if [ "UTILS" != po -o "no" != "no" ] ; then \ cd UTILS; /opt/pkg/bin/gmake localedir=/opt/pkg/share/locale \ DESTDIR= all ; \ fi gmake[1]: Entering directory '/home/pbulk/work/print/LPRng-core/work/LPRng-3.8.28/UTILS' gmake[1]: Nothing to be done for 'all'. gmake[1]: Leaving directory '/home/pbulk/work/print/LPRng-core/work/LPRng-3.8.28/UTILS' if [ "src" = po ] ; then \ for i in po/Makefile* ; do \ if [ -f "$i" ] ; then \ if grep '^mkinstalldirs.*=.*case' $i ; then \ echo "fixing broken $i which causes wrong path to mkinstalldirs to be used"; \ perl -spi -e 's:^mkinstalldirs\s*=\s*.*:mkinstalldirs = \$(SHELL) \$(MKINSTALLDIRS):' $i; \ fi \ fi \ done \ fi if [ "src" != po -o "no" != "no" ] ; then \ cd src; /opt/pkg/bin/gmake localedir=/opt/pkg/share/locale \ DESTDIR= all ; \ fi gmake[1]: Entering directory '/home/pbulk/work/print/LPRng-core/work/LPRng-3.8.28/src' set -e ; \ rm -f lprng_certs ; \ sed \ -e "s,@OPENSSL.,/usr/bin/openssl," \ -e "s,@SSL_CA_FILE.,/etc/opt/pkg/lpd/ssl.ca/ca.crt," \ -e "s,@SSL_CA_KEY.,/etc/opt/pkg/lpd/ssl.ca/ca.key," \ -e "s,@SSL_CRL_FILE.,/etc/opt/pkg/lpd/ssl.crl/ssl.crl," \ -e "s,@SSL_SERVER_CERT.,/etc/opt/pkg/lpd/ssl.server/server.crt," \ -e "s,@SSL_SERVER_PASSWORD_FILE.,/etc/opt/pkg/lpd/ssl.server/server.pwd," \ -e "s,@SSL_CERTS_DIR.,/etc/opt/pkg/lpd/ssl.certs," \ lprng_certs.sh >lprng_certs chmod 755 lprng_certs set -e ; \ rm -f lprng_index_certs ; \ sed \ -e "s,@OPENSSL.,/usr/bin/openssl," \ -e "s,@SSL_CA_FILE.,/etc/opt/pkg/lpd/ssl.ca/ca.crt," \ -e "s,@SSL_CA_KEY.,/etc/opt/pkg/lpd/ssl.ca/ca.key," \ -e "s,@SSL_CRL_FILE.,/etc/opt/pkg/lpd/ssl.crl/ssl.crl," \ -e "s,@SSL_SERVER_CERT.,/etc/opt/pkg/lpd/ssl.server/server.crt," \ -e "s,@SSL_SERVER_PASSWORD_FILE.,/etc/opt/pkg/lpd/ssl.server/server.pwd," \ -e "s,@SSL_CERTS_DIR.,/etc/opt/pkg/lpd/ssl.certs," \ lprng_index_certs.sh >lprng_index_certs chmod 755 lprng_index_certs cp /dev/null defs.h echo "#define " CHOWN \"/usr/bin/chown\" >>defs.h echo "#define " CHGRP \"/usr/bin/chgrp\" >>defs.h echo "#define " PRINTCAP_PATH \"/etc/opt/pkg/printcap\" >>defs.h echo "#define " LPD_PRINTCAP_PATH \"/etc/opt/pkg/printcap\" >>defs.h echo "#define " LPD_PERMS_PATH \"/etc/opt/pkg/lpd/lpd.perms\" >>defs.h echo "#define " LPD_CONF_PATH \"/etc/opt/pkg/lpd/lpd.conf\" >>defs.h echo "#define " REQUIRE_CONFIGFILES \"1\" >>defs.h echo "#define " FILTER_PATH \"/opt/pkg/libexec/LPRng:/sbin:/usr/sbin:/bin:/usr/bin:/opt/pkg/sbin:/opt/pkg/bin:/usr/local/sbin:/usr/local/bin\" >>defs.h echo "#define " LD_LIBRARY_PATH \"/usr/lib:/opt/pkg/lib:/usr/local/lib\" >>defs.h echo "#define " LOCKFILE \"/var/run/lpd\" >>defs.h echo "#define " CLEAR \"/usr/bin/clear\" >>defs.h echo "#define " USERID \"daemon\" >>defs.h echo "#define " GROUPID \"daemon\" >>defs.h echo "#define " LOCALEDIR \"/opt/pkg/share/locale\" >>defs.h echo "#define " DONE_JOBS \"1\" >>defs.h echo "#define " DONE_JOBS_MAX_AGE \"0\" >>defs.h echo "#define " UNIXSOCKETPATH \"/var/run/lprng\" >>defs.h echo "#define " PRUTIL \"/usr/bin/pr\" >>defs.h echo "#define " OPENSSL \"/usr/bin/openssl\" >>defs.h echo "#define " SSL_CA_FILE \"/etc/opt/pkg/lpd/ssl.ca/ca.crt\" >>defs.h echo "#define " SSL_CA_KEY \"/etc/opt/pkg/lpd/ssl.ca/ca.key\" >>defs.h echo "#define " SSL_CRL_FILE \"/etc/opt/pkg/lpd/ssl.crl/ssl.crl\" >>defs.h echo "#define " SSL_CERTS_DIR \"/etc/opt/pkg/lpd/ssl.certs\" >>defs.h echo "#define " SSL_SERVER_CERT \"/etc/opt/pkg/lpd/ssl.server/server.crt\" >>defs.h echo "#define " SSL_SERVER_PASSWORD_FILE \"/etc/opt/pkg/lpd/ssl.server/server.pwd\" >>defs.h echo "#define " SD_DEFAULT \"/var/spool/lpd\" >>defs.h gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c -o lpc.o ./common/lpc.c /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/accounting.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/accounting.c -fPIC -DPIC -o .libs/accounting.o ./common/accounting.c: In function 'Do_accounting': ./common/accounting.c:191:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 191 | if( tempfd > 0 ) close(tempfd); tempfd = -1; | ^~ ./common/accounting.c:191:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 191 | if( tempfd > 0 ) close(tempfd); tempfd = -1; | ^~~~~~ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/accounting.c -o accounting.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/child.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/child.c -fPIC -DPIC -o .libs/child.o ./common/child.c: In function 'cleanup_USR1': ./common/child.c:218:1: warning: control reaches end of non-void function [-Wreturn-type] 218 | } | ^ ./common/child.c: In function 'cleanup_HUP': ./common/child.c:223:1: warning: control reaches end of non-void function [-Wreturn-type] 223 | } | ^ ./common/child.c: In function 'cleanup_INT': ./common/child.c:228:1: warning: control reaches end of non-void function [-Wreturn-type] 228 | } | ^ ./common/child.c: In function 'cleanup_QUIT': ./common/child.c:233:1: warning: control reaches end of non-void function [-Wreturn-type] 233 | } | ^ ./common/child.c: In function 'cleanup_TERM': ./common/child.c:238:1: warning: control reaches end of non-void function [-Wreturn-type] 238 | } | ^ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/child.c -o child.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/controlword.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/controlword.c -fPIC -DPIC -o .libs/controlword.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/controlword.c -o controlword.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/copyright.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/copyright.c -fPIC -DPIC -o .libs/copyright.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/copyright.c -o copyright.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/debug.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/debug.c -fPIC -DPIC -o .libs/debug.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/debug.c -o debug.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/errormsg.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/errormsg.c -fPIC -DPIC -o .libs/errormsg.o ./common/errormsg.c: In function 'send_to_logger': ./common/errormsg.c:905:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 905 | if(s) free(s); s = 0; | ^~ ./common/errormsg.c:905:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 905 | if(s) free(s); s = 0; | ^ ./common/errormsg.c:908:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 908 | if(t) free(t); t = 0; | ^~ ./common/errormsg.c:908:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 908 | if(t) free(t); t = 0; | ^ ./common/errormsg.c:911:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 911 | if( s ) free(s); s = 0; | ^~ ./common/errormsg.c:911:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 911 | if( s ) free(s); s = 0; | ^ ./common/errormsg.c:912:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 912 | if( t ) free(t); t = 0; | ^~ ./common/errormsg.c:912:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 912 | if( t ) free(t); t = 0; | ^ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/errormsg.c -o errormsg.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/fileopen.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/fileopen.c -fPIC -DPIC -o .libs/fileopen.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/fileopen.c -o fileopen.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/gethostinfo.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/gethostinfo.c -fPIC -DPIC -o .libs/gethostinfo.o ./common/gethostinfo.c: In function 'Clear_host_information': ./common/gethostinfo.c:44:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 44 | if( info->shorthost ) free(info->shorthost ); info->shorthost = 0; | ^~ ./common/gethostinfo.c:44:55: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 44 | if( info->shorthost ) free(info->shorthost ); info->shorthost = 0; | ^~~~ ./common/gethostinfo.c:45:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 45 | if( info->fqdn ) free(info->fqdn ); info->fqdn = 0; | ^~ ./common/gethostinfo.c:45:45: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 45 | if( info->fqdn ) free(info->fqdn ); info->fqdn = 0; | ^~~~ ./common/gethostinfo.c: In function 'Match_ipaddr_value': ./common/gethostinfo.c:625:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 625 | if(addr) free(addr); addr = 0; | ^~ ./common/gethostinfo.c:625:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 625 | if(addr) free(addr); addr = 0; | ^~~~ ./common/gethostinfo.c:626:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 626 | if(mask) free(mask); mask = 0; | ^~ ./common/gethostinfo.c:626:30: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 626 | if(mask) free(mask); mask = 0; | ^~~~ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/gethostinfo.c -o gethostinfo.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/getopt.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/getopt.c -fPIC -DPIC -o .libs/getopt.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/getopt.c -o getopt.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/getprinter.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/getprinter.c -fPIC -DPIC -o .libs/getprinter.o ./common/getprinter.c: In function 'Show_formatted_info': ./common/getprinter.c:403:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 403 | if(s) free(s); s = 0; | ^~ ./common/getprinter.c:403:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 403 | if(s) free(s); s = 0; | ^ ./common/getprinter.c:411:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 411 | if( s ) free(s); s =0; | ^~ ./common/getprinter.c:411:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 411 | if( s ) free(s); s =0; | ^ ./common/getprinter.c: In function 'Show_all_printcap_entries': ./common/getprinter.c:429:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 429 | if(s) free(s); s = 0; | ^~ ./common/getprinter.c:429:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 429 | if(s) free(s); s = 0; | ^ ./common/getprinter.c:438:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 438 | if( s ) free(s); s =0; | ^~ ./common/getprinter.c:438:26: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 438 | if( s ) free(s); s =0; | ^ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/getprinter.c -o getprinter.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/getqueue.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/getqueue.c -fPIC -DPIC -o .libs/getqueue.o ./common/getqueue.c: In function 'Get_fd_image_and_split': ./common/getqueue.c:234:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 234 | if( s ) free(s); s = 0; | ^~ ./common/getqueue.c:234:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 234 | if( s ) free(s); s = 0; | ^ ./common/getqueue.c: In function 'Get_file_image_and_split': ./common/getqueue.c:260:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 260 | if( s ) free(s); s = 0; | ^~ ./common/getqueue.c:260:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 260 | if( s ) free(s); s = 0; | ^ ./common/getqueue.c: In function 'Append_Z_value': ./common/getqueue.c:401:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 401 | if( t ) free(t); t = 0; | ^~ ./common/getqueue.c:401:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 401 | if( t ) free(t); t = 0; | ^ ./common/getqueue.c: In function 'Set_job_ticket_from_cf_info': ./common/getqueue.c:577:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 577 | if( datafile ) free(datafile); datafile=0; | ^~ ./common/getqueue.c:577:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 577 | if( datafile ) free(datafile); datafile=0; | ^~~~~~~~ ./common/getqueue.c:578:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 578 | if( names ) free(names); names=0; | ^~ ./common/getqueue.c:578:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 578 | if( names ) free(names); names=0; | ^~~~~ ./common/getqueue.c: In function 'Set_job_ticket_datafile_info': ./common/getqueue.c:632:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 632 | if( dataline ) free(dataline); dataline = 0; | ^~ ./common/getqueue.c:632:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 632 | if( dataline ) free(dataline); dataline = 0; | ^~~~~~~~ ./common/getqueue.c:633:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 633 | if( datafiles ) free(datafiles); datafiles = 0; | ^~ ./common/getqueue.c:633:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 633 | if( datafiles ) free(datafiles); datafiles = 0; | ^~~~~~~~~ ./common/getqueue.c: In function 'Set_job_ticket_file': ./common/getqueue.c:713:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 713 | if(u) free(u); u = 0; | ^~ ./common/getqueue.c:713:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 713 | if(u) free(u); u = 0; | ^ ./common/getqueue.c:714:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 714 | if(t) free(t); t = 0; | ^~ ./common/getqueue.c:714:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 714 | if(t) free(t); t = 0; | ^ ./common/getqueue.c:718:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 718 | if( outstr ) free( outstr ); outstr = 0; | ^~ ./common/getqueue.c:718:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 718 | if( outstr ) free( outstr ); outstr = 0; | ^~~~~~ ./common/getqueue.c: In function 'Get_job_ticket_file': ./common/getqueue.c:749:13: warning: the comparison will always evaluate as 'true' for the address of 'count' will never be NULL [-Waddress] 749 | if( &job->info.count ) { | ^ In file included from ./include/lp.h:50, from ./common/getqueue.c:29: ./include/linelist.h:24:13: note: 'count' declared here 24 | int count; /* number of entries */ | ^~~~~ ./common/getqueue.c: In function 'Set_spool_control': ./common/getqueue.c:829:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 829 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:829:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 829 | if(s) free(s); s = 0; | ^ ./common/getqueue.c:830:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 830 | if(t) free(t); t = 0; | ^~ ./common/getqueue.c:830:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 830 | if(t) free(t); t = 0; | ^ ./common/getqueue.c:836:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 836 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:836:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 836 | if(s) free(s); s = 0; | ^ ./common/getqueue.c:837:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 837 | if(t) free(t); t = 0; | ^~ ./common/getqueue.c:837:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 837 | if(t) free(t); t = 0; | ^ ./common/getqueue.c:845:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 845 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:845:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 845 | if(s) free(s); s = 0; | ^ ./common/getqueue.c:846:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 846 | if(t) free(t); t = 0; | ^~ ./common/getqueue.c:846:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 846 | if(t) free(t); t = 0; | ^ ./common/getqueue.c: In function 'Make_identifier': ./common/getqueue.c:1410:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1410 | if( id ) free(id); id = 0; | ^~ ./common/getqueue.c:1410:36: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1410 | if( id ) free(id); id = 0; | ^~ ./common/getqueue.c: In function 'Get_destination': ./common/getqueue.c:1615:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1615 | if(s) free( s ); s = 0; | ^~ ./common/getqueue.c:1615:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1615 | if(s) free( s ); s = 0; | ^ ./common/getqueue.c: In function 'Get_destination_by_name': ./common/getqueue.c:1637:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1637 | if(s) free( s ); s = 0; | ^~ ./common/getqueue.c:1637:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1637 | if(s) free( s ); s = 0; | ^ ./common/getqueue.c: In function 'Fix_datafile_infox': ./common/getqueue.c:1756:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1756 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:1756:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1756 | if(s) free(s); s = 0; | ^ ./common/getqueue.c: In function 'Fix_control': ./common/getqueue.c:1959:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1959 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:1959:24: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1959 | if(s) free(s); s = 0; | ^ ./common/getqueue.c:1976:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1976 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:1976:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1976 | if(s) free(s); s = 0; | ^ ./common/getqueue.c:2065:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2065 | if( temp ) free(temp); temp = 0; | ^~ ./common/getqueue.c:2065:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2065 | if( temp ) free(temp); temp = 0; | ^~~~ ./common/getqueue.c:2066:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2066 | if( datalines ) free(datalines); datalines = 0; | ^~ ./common/getqueue.c:2066:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2066 | if( datalines ) free(datalines); datalines = 0; | ^~~~~~~~~ ./common/getqueue.c:2102:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2102 | if(s) free(s); s = 0; | ^~ ./common/getqueue.c:2102:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2102 | if(s) free(s); s = 0; | ^ ./common/getqueue.c:2103:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2103 | if( f_name ) unlink(f_name); f_name = 0; | ^~ ./common/getqueue.c:2103:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2103 | if( f_name ) unlink(f_name); f_name = 0; | ^~~~~~ ./common/getqueue.c:2104:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2104 | if( c_name ) unlink(c_name); c_name = 0; | ^~ ./common/getqueue.c:2104:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2104 | if( c_name ) unlink(c_name); c_name = 0; | ^~~~~~ ./common/getqueue.c: In function 'Free_buf': ./common/getqueue.c:2153:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2153 | if( *buf ) free(*buf); *buf = 0; | ^~ ./common/getqueue.c:2153:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2153 | if( *buf ) free(*buf); *buf = 0; | ^ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/getqueue.c -o getqueue.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/globmatch.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/globmatch.c -fPIC -DPIC -o .libs/globmatch.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/globmatch.c -o globmatch.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/initialize.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/initialize.c -fPIC -DPIC -o .libs/initialize.o ./common/initialize.c: In function 'Setup_configuration': ./common/initialize.c:218:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 218 | if(s) free(s); s = 0; | ^~ ./common/initialize.c:218:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 218 | if(s) free(s); s = 0; | ^ ./common/initialize.c:261:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 261 | if( s ) free(s); s = 0; | ^~ ./common/initialize.c:261:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 261 | if( s ) free(s); s = 0; | ^ libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/initialize.c -o initialize.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/krb5_auth.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/krb5_auth.c -fPIC -DPIC -o .libs/krb5_auth.o libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/krb5_auth.c -o krb5_auth.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile gcc -I.. -I. -I./include -I./common -g -W -Wall -Werror -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Werror -Wno-unused -DHAVE_CONFIG_H -c ./common/linelist.c libtool: compile: gcc -I.. -I. -I./include -I./common -g -W -Wall -Wno-unused -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -g -W -Wall -Wno-unused -DHAVE_CONFIG_H -c ./common/linelist.c -fPIC -DPIC -o .libs/linelist.o ./common/linelist.c: In function 'Free_line_list': ./common/linelist.c:318:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 318 | if( l->list[i] ) free( l->list[i]); l->list[i] = 0; | ^~ ./common/linelist.c:318:61: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 318 | if( l->list[i] ) free( l->list[i]); l->list[i] = 0; | ^ ./common/linelist.c: In function 'Set_str_value': ./common/linelist.c:1053:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1053 | if(s) free(s); s = 0; | ^~ ./common/linelist.c:1053:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1053 | if(s) free(s); s = 0; | ^ ./common/linelist.c: In function 'Set_expanded_str_value': ./common/linelist.c:1081:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1081 | if(s) free(s); s = 0; | ^~ ./common/linelist.c:1081:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1081 | if(s) free(s); s = 0; | ^ ./common/linelist.c:1085:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1085 | if( value ) free(value); value = 0; | ^~ ./common/linelist.c:1085:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1085 | if( value ) free(value); value = 0; | ^~~~~ ./common/linelist.c: In function 'Set_casekey_str_value': ./common/linelist.c:1108:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1108 | if(s) free(s); s = 0; | ^~ ./common/linelist.c:1108:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1108 | if(s) free(s); s = 0; | ^ ./common/linelist.c: In function 'Expand_percent': ./common/linelist.c:2075:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2075 | if(u) free(u); u = 0; | ^~ ./common/linelist.c:2075:40: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2075 | if(u) free(u); u = 0; | ^ ./common/linelist.c: In function 'Expand_hash_values': ./common/linelist.c:2119:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2119 | if( s ) free(s); s = 0; | ^~ ./common/linelist.c:2119:42: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2119 | if( s ) free(s); s = 0; | ^ ./common/linelist.c: In function 'Setup_env_for_process': ./common/linelist.c:2263:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2263 | if(s) free(s); s = 0; | ^~ ./common/linelist.c:2263:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2263 | if(s) free(s); s = 0; | ^ ./common/linelist.c:2264:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2264 | if(t) free(t); t = 0; | ^~ ./common/linelist.c:2264:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2264 | if(t) free(t); t = 0; | ^ ./common/linelist.c:2265:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2265 | if(u) free(u); u = 0; | ^~ ./common/linelist.c:2265:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2265 | if(u) free(u); u = 0; | ^ ./common/linelist.c: In function 'Filter_file': ./common/linelist.c:2843:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2843 | if( input_fd < 0 ) close(innull_fd); innull_fd = -1; | ^~ ./common/linelist.c:2843:46: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2843 | if( input_fd < 0 ) close(innull_fd); innull_fd = -1; | ^~~~~~~~~ ./common/linelist.c:2844:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 2844 | if( output_fd < 0 ) close(outnull_fd); outnull_fd = -1; | ^~ ./common/linelist.c:2844:48: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 2844 | if( output_fd < 0 ) close(outnull_fd); outnull_fd = -1; | ^~~~~~~~~~ ./common/linelist.c: In function 'Fix_Z_opts': ./common/linelist.c:3127:25: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3127 | if( start ) free(start); start = 0; | ^~ ./common/linelist.c:3127:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3127 | if( start ) free(start); start = 0; | ^~~~~ ./common/linelist.c:3129:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3129 | if( str ) free(str); str = 0; | ^~ ./common/linelist.c:3129:38: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3129 | if( str ) free(str); str = 0; | ^~~ ./common/linelist.c:3169:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3169 | if(s) free(s); s = 0; | ^~ ./common/linelist.c:3169:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3169 | if(s) free(s); s = 0; | ^ ./common/linelist.c:3176:17: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3176 | if(s) free(s); s = 0; | ^~ ./common/linelist.c:3176:32: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3176 | if(s) free(s); s = 0; | ^ ./common/linelist.c: In function 'Fix_dollars': ./common/linelist.c:3272:41: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3272 | if( rest ) free(rest); rest = 0; | ^~ ./common/linelist.c:3272:64: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3272 | if( rest ) free(rest); rest = 0; | ^~~~ ./common/linelist.c:3396:33: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 3396 | if( rest ) free(rest); rest = 0; | ^~ ./common/linelist.c:3396:56: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 3396 | if( rest ) free(rest); rest = 0; | ^~~~ ./common/linelist.c: In function 'Do_work': ./common/linelist.c:3844:51: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(struct line_list *)' [-Wincompatible-pointer-types] 3844 | if( !safestrcasecmp(name,"logger") ) proc = Logger; | ^ In file included from ./common/linelist.c:21: ./include/lpd_logger.h:18:6: note: 'Logger' declared here 18 | void Logger( struct line_list *args ); | ^~~~~~ ./common/linelist.c:3845:53: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(struct line_list *)' [-Wincompatible-pointer-types] 3845 | else if( !safestrcasecmp(name,"all") ) proc = Service_all; | ^ In file included from ./common/linelist.c:22: ./include/lpd_dispatch.h:17:6: note: 'Service_all' declared here 17 | void Service_all( struct line_list *args ); | ^~~~~~~~~~~ ./common/linelist.c:3846:56: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(struct line_list *)' [-Wincompatible-pointer-types] 3846 | else if( !safestrcasecmp(name,"server") ) proc = Service_connection; | ^ ./include/lpd_dispatch.h:18:6: note: 'Service_connection' declared here 18 | void Service_connection( struct line_list *args ); | ^~~~~~~~~~~~~~~~~~ ./common/linelist.c:3847:55: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(struct line_list *)' [-Wincompatible-pointer-types] 3847 | else if( !safestrcasecmp(name,"queue") ) proc = Service_queue; | ^ In file included from ./common/linelist.c:23: ./include/lpd_jobs.h:41:6: note: 'Service_queue' declared here 41 | void Service_queue( struct line_list *args ); | ^~~~~~~~~~~~~ ./common/linelist.c:3848:57: error: assignment to 'void (*)(void)' from incompatible pointer type 'void (*)(struct line_list *)' [-Wincompatible-pointer-types] 3848 | else if( !safestrcasecmp(name,"printer") ) proc = Service_worker; | ^ ./include/lpd_jobs.h:34:6: note: 'Service_worker' declared here 34 | void Service_worker( struct line_list *args ); | ^~~~~~~~~~~~~~ ./common/linelist.c:3850:9: error: too many arguments to function 'proc'; expected 0, have 1 3850 | (proc)(args); | ^ ~~~~ gmake[1]: *** [Makefile:177: linelist.lo] Error 1 gmake[1]: Leaving directory '/home/pbulk/work/print/LPRng-core/work/LPRng-3.8.28/src' gmake: *** [Makefile:122: src] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/LPRng-core *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/print/LPRng-core