=> "/opt/local/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-trunk-x86_64/security/dirb", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for dirb-2.20nb13 --- ./config.h.in --- cd . && /usr/bin/bash /tmp/work/security/dirb/work/dirb/missing --run autoheader WARNING: 'autoheader' is missing on your system. You should only need it if you modified 'acconfig.h' or 'configure.ac'. You might want to install the Autoconf and GNU m4 packages. Grab them from any GNU archive site. rm -f stamp-h1 touch ./config.h.in --- stamp-h1 --- cd . && /usr/bin/bash ./config.status config.h config.status: creating config.h config.status: config.h is unchanged --- config.h --- --- all --- /opt/local/bin/bmake all-recursive --- all-recursive --- Making all in src --- crea_wordlist.o --- --- dirb.o --- --- crea_wordlist.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT crea_wordlist.o -MD -MP -MF ".deps/crea_wordlist.Tpo" -c -o crea_wordlist.o crea_wordlist.c; then mv -f ".deps/crea_wordlist.Tpo" ".deps/crea_wordlist.Po"; else rm -f ".deps/crea_wordlist.Tpo"; exit 1; fi --- dirb.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT dirb.o -MD -MP -MF ".deps/dirb.Tpo" -c -o dirb.o dirb.c; then mv -f ".deps/dirb.Tpo" ".deps/dirb.Po"; else rm -f ".deps/dirb.Tpo"; exit 1; fi --- crea_wordlist.o --- crea_wordlist.c: In function 'crea_wordlist_fich': crea_wordlist.c:125:17: warning: variable 'efinal' set but not used [-Wunused-but-set-variable] 125 | struct words *efinal; | ^~~~~~ crea_wordlist.c: In function 'crea_extslist': crea_wordlist.c:197:17: warning: variable 'efinal' set but not used [-Wunused-but-set-variable] 197 | struct words *efinal; | ^~~~~~ crea_wordlist.c: In function 'crea_wordlist': crea_wordlist.c:80:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 80 | strncpy(current->word, cbuffer, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ crea_wordlist.c: In function 'crea_wordlist_fich': crea_wordlist.c:159:5: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 159 | strncpy(ecurrent->word, cbuffer, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- get_url.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT get_url.o -MD -MP -MF ".deps/get_url.Tpo" -c -o get_url.o get_url.c; then mv -f ".deps/get_url.Tpo" ".deps/get_url.Po"; else rm -f ".deps/get_url.Tpo"; exit 1; fi --- lanza_ataque.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT lanza_ataque.o -MD -MP -MF ".deps/lanza_ataque.Tpo" -c -o lanza_ataque.o lanza_ataque.c; then mv -f ".deps/lanza_ataque.Tpo" ".deps/lanza_ataque.Po"; else rm -f ".deps/lanza_ataque.Tpo"; exit 1; fi In file included from lanza_ataque.c:9: http_codes.h:56:20: warning: 'code2message' defined but not used [-Wunused-variable] 56 | static struct code code2message[] = { | ^~~~~~~~~~~~ --- get_url.o --- get_url.c: In function 'get_url': get_url.c:60:5: warning: 'strncpy' output truncated before terminating nul copying 6 bytes from a string of the same length [-Wstringop-truncation] 60 | strncpy(host_header, "Host: ", 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- lanza_ataque.o --- lanza_ataque.c: In function 'lanza_ataque': lanza_ataque.c:156:5: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 156 | strncpy(tested_word, wordlist->word, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:167:5: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 167 | strncpy(options.current_dir, url_base, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:168:5: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 168 | strncpy(options.current_word, tested_word, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:185:5: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 185 | strncpy(tested_url, url_base, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:296:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 296 | strncpy(tested_url2, tested_estruct.url, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:255:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 255 | strncpy(location_temp, tested_estruct.location, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:268:11: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 268 | strncpy(tested_url2, tested_estruct.url, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ lanza_ataque.c:90:9: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 90 | strncpy(url_base, dirlist_current->word, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- get_url.o --- In file included from global.h:17, from dirb.h:9, from get_url.c:9: /tmp/work/security/dirb/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ get_url.c:53:5: note: in expansion of macro 'curl_easy_setopt' 53 | curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 1); | ^~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ get_url.c:54:5: note: in expansion of macro 'curl_easy_setopt' 54 | curl_easy_setopt(curl, CURLOPT_TIMEOUT, TIMEOUT); | ^~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ get_url.c:88:7: note: in expansion of macro 'curl_easy_setopt' 88 | curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0); | ^~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ get_url.c:89:7: note: in expansion of macro 'curl_easy_setopt' 89 | curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0); | ^~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/typecheck-gcc.h:50:13: warning: call to 'Wcurl_easy_setopt_err_long' declared with attribute warning: curl_easy_setopt expects a long argument [-Wattribute-warning] 50 | Wcurl_easy_setopt_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ get_url.c:90:7: note: in expansion of macro 'curl_easy_setopt' 90 | curl_easy_setopt(curl, CURLOPT_SSLVERSION, 3); | ^~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/typecheck-gcc.h:172:13: warning: call to 'Wcurl_easy_getinfo_err_long' declared with attribute warning: curl_easy_getinfo expects a pointer to long [-Wattribute-warning] 172 | Wcurl_easy_getinfo_err_long(); \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /tmp/work/security/dirb/work/.buildlink/include/curl/curl.h:54:7: note: in definition of macro 'CURL_IGNORE_DEPRECATION' 54 | statements \ | ^~~~~~~~~~ get_url.c:96:5: note: in expansion of macro 'curl_easy_getinfo' 96 | curl_easy_getinfo(curl, CURLINFO_HTTP_CODE, &estructura.codigo_http); | ^~~~~~~~~~~~~~~~~ --- calculanec.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT calculanec.o -MD -MP -MF ".deps/calculanec.Tpo" -c -o calculanec.o calculanec.c; then mv -f ".deps/calculanec.Tpo" ".deps/calculanec.Po"; else rm -f ".deps/calculanec.Tpo"; exit 1; fi calculanec.c: In function 'calcula_nec': calculanec.c:91:3: warning: 'strncat' output may be truncated copying between 0 and 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | strncat(rand_url1, exts_current->word, STRING_SIZE-1-strlen(rand_url1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ calculanec.c:162:11: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 162 | strncpy(mynec->location, nec1.location, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ calculanec.c:180:3: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 180 | strncpy(mynec->server, nec1.server, STRING_SIZE-1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- utils.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT utils.o -MD -MP -MF ".deps/utils.Tpo" -c -o utils.o utils.c; then mv -f ".deps/utils.Tpo" ".deps/utils.Po"; else rm -f ".deps/utils.Tpo"; exit 1; fi --- options.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT options.o -MD -MP -MF ".deps/options.Tpo" -c -o options.o options.c; then mv -f ".deps/options.Tpo" ".deps/options.Po"; else rm -f ".deps/options.Tpo"; exit 1; fi --- utils.o --- utils.c: In function 'location_cmp': utils.c:158:59: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 158 | if(options.debuging>4) printf("[++++] location_cmp() A[%d]: '%s'\n", strlen(A), uri_decode(A)); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld utils.c:169:59: warning: format '%d' expects argument of type 'int', but argument 2 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 169 | if(options.debuging>4) printf("[++++] location_cmp() B[%d]: '%s'\n", strlen(B), uri_decode(B)); | ~^ ~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld utils.c:173:69: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=] 173 | if(options.debuging>4) printf("[++++] location_cmp() RESULT: %d (%d)\n", result, strlen(A)>strlen(B) ? strlen(A) : strlen(B)); | ~^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | | int size_t {aka long unsigned int} | %ld utils.c: In function 'barra': utils.c:39:5: warning: 'strncat' specified bound 1 equals source length [-Wstringop-overflow=] 39 | strncat(barr, "\x2f", 1); | ^~~~~~~~~~~~~~~~~~~~~~~~ --- resume.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT resume.o -MD -MP -MF ".deps/resume.Tpo" -c -o resume.o resume.c; then mv -f ".deps/resume.Tpo" ".deps/resume.Po"; else rm -f ".deps/resume.Tpo"; exit 1; fi resume.c: In function 'dump': resume.c:27:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 27 | if(options.debuging>2) printf("[++] dump() Dumping Session State AT %s", asctime(ptr)); fflush(stdout); | ^~ resume.c:27:91: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 27 | if(options.debuging>2) printf("[++] dump() Dumping Session State AT %s", asctime(ptr)); fflush(stdout); | ^~~~~~ --- dirb --- gcc -Wall -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -o dirb -Wl,-R/opt/local/lib -L/opt/local/lib -lcurl crea_wordlist.o dirb.o get_url.o lanza_ataque.o calculanec.o utils.o options.o resume.o -lcurl cp dirb ../ Making all in gendict_src --- gendict.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT gendict.o -MD -MP -MF ".deps/gendict.Tpo" -c -o gendict.o gendict.c; then mv -f ".deps/gendict.Tpo" ".deps/gendict.Po"; else rm -f ".deps/gendict.Tpo"; exit 1; fi --- gendict --- gcc -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -o gendict gendict.o -lcurl cp gendict ../ Making all in web2dic --- html2dic.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -MT html2dic.o -MD -MP -MF ".deps/html2dic.Tpo" -c -o html2dic.o html2dic.c; then mv -f ".deps/html2dic.Tpo" ".deps/html2dic.Po"; else rm -f ".deps/html2dic.Tpo"; exit 1; fi --- html2dic --- gcc -Wall -g -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/local/include -DLDAP_DEPRECATED -I/usr/include -I/opt/local/include/libxml2 -L/opt/local/lib -Wl,-R/opt/local/lib -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64 -liconv -lintl -o html2dic html2dic.o -lcurl --- config.h ---