On Sun 06/05/2018 23:01, Gleydson Soares wrote:
> update to wget-1.9.5. This update addresses a vunerability CVE-2018-0494,
> along with
> several bug fixes.
>
> builds and runs fine, @amd64
> OK?
I'm unable to run 'make test', log is enclosed. On 1.9.4 'make test'
runs fine.
make check-recursive
Making check in lib
make check-recursive
Making check in src
make libunittest.a
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-connect.o -MD -MP -MF
.deps/libunittest_a-connect.Tpo -c -o libunittest_a-connect.o `test -f
'connect.c' || echo './'`connect.c
mv -f .deps/libunittest_a-connect.Tpo .deps/libunittest_a-connect.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-convert.o -MD -MP -MF
.deps/libunittest_a-convert.Tpo -c -o libunittest_a-convert.o `test -f
'convert.c' || echo './'`convert.c
mv -f .deps/libunittest_a-convert.Tpo .deps/libunittest_a-convert.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-cookies.o -MD -MP -MF
.deps/libunittest_a-cookies.Tpo -c -o libunittest_a-cookies.o `test -f
'cookies.c' || echo './'`cookies.c
mv -f .deps/libunittest_a-cookies.Tpo .deps/libunittest_a-cookies.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-ftp.o -MD -MP -MF
.deps/libunittest_a-ftp.Tpo -c -o libunittest_a-ftp.o `test -f 'ftp.c' || echo
'./'`ftp.c
mv -f .deps/libunittest_a-ftp.Tpo .deps/libunittest_a-ftp.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-css_.o -MD -MP -MF
.deps/libunittest_a-css_.Tpo -c -o libunittest_a-css_.o `test -f 'css_.c' ||
echo './'`css_.c
mv -f .deps/libunittest_a-css_.Tpo .deps/libunittest_a-css_.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-css-url.o -MD -MP -MF
.deps/libunittest_a-css-url.Tpo -c -o libunittest_a-css-url.o `test -f
'css-url.c' || echo './'`css-url.c
mv -f .deps/libunittest_a-css-url.Tpo .deps/libunittest_a-css-url.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-ftp-basic.o -MD -MP -MF
.deps/libunittest_a-ftp-basic.Tpo -c -o libunittest_a-ftp-basic.o `test -f
'ftp-basic.c' || echo './'`ftp-basic.c
mv -f .deps/libunittest_a-ftp-basic.Tpo .deps/libunittest_a-ftp-basic.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-ftp-ls.o -MD -MP -MF
.deps/libunittest_a-ftp-ls.Tpo -c -o libunittest_a-ftp-ls.o `test -f 'ftp-ls.c'
|| echo './'`ftp-ls.c
mv -f .deps/libunittest_a-ftp-ls.Tpo .deps/libunittest_a-ftp-ls.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-hash.o -MD -MP -MF
.deps/libunittest_a-hash.Tpo -c -o libunittest_a-hash.o `test -f 'hash.c' ||
echo './'`hash.c
mv -f .deps/libunittest_a-hash.Tpo .deps/libunittest_a-hash.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-host.o -MD -MP -MF
.deps/libunittest_a-host.Tpo -c -o libunittest_a-host.o `test -f 'host.c' ||
echo './'`host.c
mv -f .deps/libunittest_a-host.Tpo .deps/libunittest_a-host.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-hsts.o -MD -MP -MF
.deps/libunittest_a-hsts.Tpo -c -o libunittest_a-hsts.o `test -f 'hsts.c' ||
echo './'`hsts.c
mv -f .deps/libunittest_a-hsts.Tpo .deps/libunittest_a-hsts.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-html-parse.o -MD -MP -MF
.deps/libunittest_a-html-parse.Tpo -c -o libunittest_a-html-parse.o `test -f
'html-parse.c' || echo './'`html-parse.c
mv -f .deps/libunittest_a-html-parse.Tpo .deps/libunittest_a-html-parse.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-html-url.o -MD -MP -MF
.deps/libunittest_a-html-url.Tpo -c -o libunittest_a-html-url.o `test -f
'html-url.c' || echo './'`html-url.c
mv -f .deps/libunittest_a-html-url.Tpo .deps/libunittest_a-html-url.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-http.o -MD -MP -MF
.deps/libunittest_a-http.Tpo -c -o libunittest_a-http.o `test -f 'http.c' ||
echo './'`http.c
mv -f .deps/libunittest_a-http.Tpo .deps/libunittest_a-http.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-init.o -MD -MP -MF
.deps/libunittest_a-init.Tpo -c -o libunittest_a-init.o `test -f 'init.c' ||
echo './'`init.c
mv -f .deps/libunittest_a-init.Tpo .deps/libunittest_a-init.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-log.o -MD -MP -MF
.deps/libunittest_a-log.Tpo -c -o libunittest_a-log.o `test -f 'log.c' || echo
'./'`log.c
mv -f .deps/libunittest_a-log.Tpo .deps/libunittest_a-log.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-main.o -MD -MP -MF
.deps/libunittest_a-main.Tpo -c -o libunittest_a-main.o `test -f 'main.c' ||
echo './'`main.c
mv -f .deps/libunittest_a-main.Tpo .deps/libunittest_a-main.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-netrc.o -MD -MP -MF
.deps/libunittest_a-netrc.Tpo -c -o libunittest_a-netrc.o `test -f 'netrc.c' ||
echo './'`netrc.c
mv -f .deps/libunittest_a-netrc.Tpo .deps/libunittest_a-netrc.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-progress.o -MD -MP -MF
.deps/libunittest_a-progress.Tpo -c -o libunittest_a-progress.o `test -f
'progress.c' || echo './'`progress.c
mv -f .deps/libunittest_a-progress.Tpo .deps/libunittest_a-progress.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-ptimer.o -MD -MP -MF
.deps/libunittest_a-ptimer.Tpo -c -o libunittest_a-ptimer.o `test -f 'ptimer.c'
|| echo './'`ptimer.c
mv -f .deps/libunittest_a-ptimer.Tpo .deps/libunittest_a-ptimer.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-recur.o -MD -MP -MF
.deps/libunittest_a-recur.Tpo -c -o libunittest_a-recur.o `test -f 'recur.c' ||
echo './'`recur.c
mv -f .deps/libunittest_a-recur.Tpo .deps/libunittest_a-recur.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-res.o -MD -MP -MF
.deps/libunittest_a-res.Tpo -c -o libunittest_a-res.o `test -f 'res.c' || echo
'./'`res.c
mv -f .deps/libunittest_a-res.Tpo .deps/libunittest_a-res.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-retr.o -MD -MP -MF
.deps/libunittest_a-retr.Tpo -c -o libunittest_a-retr.o `test -f 'retr.c' ||
echo './'`retr.c
retr.c:571:19: warning: format specifies type 'unsigned long' but the argument
has type 'off_t' (aka 'long long') [-Wformat]
gzstream.total_in, sum_read));
^~~~~~~~~~~~~~~~~
./wget.h:128:54: note: expanded from macro 'DEBUGP'
#define DEBUGP(args) do { IF_DEBUG { debug_logprintf args; } } while (0)
^~~~
1 warning generated.
mv -f .deps/libunittest_a-retr.Tpo .deps/libunittest_a-retr.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-spider.o -MD -MP -MF
.deps/libunittest_a-spider.Tpo -c -o libunittest_a-spider.o `test -f 'spider.c'
|| echo './'`spider.c
mv -f .deps/libunittest_a-spider.Tpo .deps/libunittest_a-spider.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-url.o -MD -MP -MF
.deps/libunittest_a-url.Tpo -c -o libunittest_a-url.o `test -f 'url.c' || echo
'./'`url.c
mv -f .deps/libunittest_a-url.Tpo .deps/libunittest_a-url.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-warc.o -MD -MP -MF
.deps/libunittest_a-warc.Tpo -c -o libunittest_a-warc.o `test -f 'warc.c' ||
echo './'`warc.c
mv -f .deps/libunittest_a-warc.Tpo .deps/libunittest_a-warc.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-utils.o -MD -MP -MF
.deps/libunittest_a-utils.Tpo -c -o libunittest_a-utils.o `test -f 'utils.c' ||
echo './'`utils.c
mv -f .deps/libunittest_a-utils.Tpo .deps/libunittest_a-utils.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-exits.o -MD -MP -MF
.deps/libunittest_a-exits.Tpo -c -o libunittest_a-exits.o `test -f 'exits.c' ||
echo './'`exits.c
mv -f .deps/libunittest_a-exits.Tpo .deps/libunittest_a-exits.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-build_info.o -MD -MP -MF
.deps/libunittest_a-build_info.Tpo -c -o libunittest_a-build_info.o `test -f
'build_info.c' || echo './'`build_info.c
mv -f .deps/libunittest_a-build_info.Tpo .deps/libunittest_a-build_info.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-iri.o -MD -MP -MF
.deps/libunittest_a-iri.Tpo -c -o libunittest_a-iri.o `test -f 'iri.c' || echo
'./'`iri.c
mv -f .deps/libunittest_a-iri.Tpo .deps/libunittest_a-iri.Po
cc -DHAVE_CONFIG_H -DSYSTEM_WGETRC=\"/etc/wgetrc\"
-DLOCALEDIR=\"/usr/local/share/locale\" -I. -DTESTING "-I../lib" "-I../lib"
-I/usr/local/include -I/usr/local/include -DHAVE_LIBSSL -I/usr/local/include
-DNDEBUG -O2 -pipe -MT libunittest_a-version.o -MD -MP -MF
.deps/libunittest_a-version.Tpo -c -o libunittest_a-version.o `test -f
'version.c' || echo './'`version.c
mv -f .deps/libunittest_a-version.Tpo .deps/libunittest_a-version.Po
rm -f libunittest.a
ar cr libunittest.a libunittest_a-connect.o libunittest_a-convert.o
libunittest_a-cookies.o libunittest_a-ftp.o libunittest_a-css_.o
libunittest_a-css-url.o libunittest_a-ftp-basic.o libunittest_a-ftp-ls.o
libunittest_a-hash.o libunittest_a-host.o libunittest_a-hsts.o
libunittest_a-html-parse.o libunittest_a-html-url.o libunittest_a-http.o
libunittest_a-init.o libunittest_a-log.o libunittest_a-main.o
libunittest_a-netrc.o libunittest_a-progress.o libunittest_a-ptimer.o
libunittest_a-recur.o libunittest_a-res.o libunittest_a-retr.o
libunittest_a-spider.o libunittest_a-url.o libunittest_a-warc.o
libunittest_a-utils.o libunittest_a-exits.o libunittest_a-build_info.o
libunittest_a-iri.o libunittest_a-build_info.o libunittest_a-version.o
ftp-opie.o openssl.o http-ntlm.o
ranlib libunittest.a
Making check in doc
Making check in po
Making check in util
Making check in fuzz
make wget_css_fuzzer wget_cookie_fuzzer wget_ftpls_fuzzer wget_html_fuzzer
wget_netrc_fuzzer wget_options_fuzzer wget_robots_fuzzer wget_url_fuzzer
cc -DHAVE_CONFIG_H -I. -I../src -I../src -I. -I../lib -I../lib
-DSRCDIR=\"/tmp/ports/pobj/wget-1.19.5/wget-1.19.5/fuzz\" -DTEST_RUN
-I/usr/local/include -Wno-unused-parameter -Wno-pedantic -I/usr/local/include
-DHAVE_LIBSSL -I/usr/local/include -DNDEBUG -O2 -pipe -MT wget_css_fuzzer.o
-MD -MP -MF .deps/wget_css_fuzzer.Tpo -c -o wget_css_fuzzer.o wget_css_fuzzer.c
wget_css_fuzzer.c:95:9: error: expression is not assignable
stderr = fopen("/dev/null", "w");
~~~~~~ ^
wget_css_fuzzer.c:106:9: error: expression is not assignable
stderr = bak;
~~~~~~ ^
2 errors generated.
*** Error 1 in fuzz (Makefile:1800 'wget_css_fuzzer.o')
*** Error 1 in fuzz (Makefile:2111 'check-am')
*** Error 1 in . (Makefile:1529 'check-recursive')
*** Error 1 in /tmp/ports/pobj/wget-1.19.5/wget-1.19.5 (Makefile:1796 'check')