Cook: mandoc 1.14.4 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): zlib-dev-1.2.11-any Extracting source archive "mandoc-1.14.4.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Applying patch shared-libmandoc.patch patching file Makefile Hunk #1 succeeded at 351 (offset 4 lines). Hunk #2 succeeded at 380 (offset 4 lines). Hunk #3 succeeded at 419 (offset 4 lines). Hunk #4 succeeded at 496 (offset 4 lines). Applying patch pager.patch patching file main.c Hunk #1 succeeded at 1187 (offset 145 lines). Hunk #2 succeeded at 1208 (offset 145 lines). Applying patch libmandoc.a.patch patching file Makefile Applying patch permissions.patch patching file Makefile file config.log: writing... file configure.local: reading... selected CFLAGS="-march=i486 -Os -pipe -mindirect-branch=thunk" (manual) tested noop-static: yes selected STATIC="-static" tested dirent-namlen: no tested be32toh: yes tested be32toh-DSYS_ENDIAN: no tested EFTYPE: no tested err: yes tested getline: yes tested getsubopt: yes tested isblank: yes tested mkdtemp: yes tested ntohl: yes tested O_DIRECTORY: yes tested PATH_MAX: yes tested pledge: no tested sandbox_init: no tested progname: no tested reallocarray: yes tested recallocarray: no tested rewb-bsd: no tested rewb-sysv: yes tested strcasestr: yes tested stringlist: no tested strlcat: no tested strlcpy: no tested strndup: yes tested strptime: yes tested strsep: yes tested strtonum: no tested vasprintf: yes tested fts-DFTS_COMPARE_CONST: yes tested UTF8_LOCALE: HAVE_UTF8_LOCALE=en_US.UTF-8 (manual) tested wchar-DUTF8_LOCALE="en_US.UTF-8": no tested nanosleep: yes tested recvmsg: yes tested cmsg: yes tested ohash-lutil: no selected LDADD=" -lz" file config.h: written file Makefile.local: written cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o eqn_html.o eqn_html.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o html.o html.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o man_html.o man_html.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_html.o mdoc_html.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o roff_html.o roff_html.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tbl_html.o tbl_html.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o eqn_term.o eqn_term.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o man_term.o man_term.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_term.o mdoc_term.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o roff_term.o roff_term.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o term.o term.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o term_ascii.o term_ascii.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o term_ps.o term_ps.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o term_tab.o term_tab.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tbl_term.o tbl_term.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o dbm.o dbm.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o dbm_map.o dbm_map.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mansearch.o mansearch.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o dba.o dba.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o dba_array.o dba_array.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o dba_read.o dba_read.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o dba_write.o dba_write.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mandocdb.o mandocdb.c mandocdb.c: In function 'treescan': mandocdb.c:587:6: warning: passing argument 3 of 'fts_open' from incompatible pointer type [-Wincompatible-pointer-types] fts_compare); ^~~~~~~~~~~ In file included from mandocdb.c:33: /usr/include/fts.h:184:6: note: expected 'int (*)(const FTSENT **, const FTSENT **)' {aka 'int (*)(const struct _ftsent **, const struct _ftsent **)'} but argument is of type 'int (*)(const FTSENT * const*, const FTSENT * const*)' {aka 'int (*)(const struct _ftsent * const*, const struct _ftsent * const*)'} FTS *fts_open (char * const *, int, ^~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o main.o main.c main.c: In function 'main': main.c:519:11: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] (void)chdir(conf.manpath.paths[resp->ipath]); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:521:11: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] (void)fchdir(startdir); ^~~~~~~~~~~~~~~~ main.c:569:9: warning: ignoring return value of 'fchdir', declared with attribute warn_unused_result [-Wunused-result] (void)fchdir(startdir); ^~~~~~~~~~~~~~~~ cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o manpath.o manpath.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_man.o mdoc_man.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_markdown.o mdoc_markdown.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o out.o out.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tag.o tag.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tree.o tree.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_err.o compat_err.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_fts.o compat_fts.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_getline.o compat_getline.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_getsubopt.o compat_getsubopt.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_isblank.o compat_isblank.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_mkdtemp.o compat_mkdtemp.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_ohash.o compat_ohash.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_progname.o compat_progname.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_reallocarray.o compat_reallocarray.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_recallocarray.o compat_recallocarray.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_strcasestr.o compat_strcasestr.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_strlcat.o compat_strlcat.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_strlcpy.o compat_strlcpy.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_strndup.o compat_strndup.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_strsep.o compat_strsep.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_strtonum.o compat_strtonum.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_vasprintf.o compat_vasprintf.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o man.o man.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o man_macro.o man_macro.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o man_validate.o man_validate.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o att.o att.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o lib.o lib.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc.o mdoc.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_argv.o mdoc_argv.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_macro.o mdoc_macro.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_state.o mdoc_state.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mdoc_validate.o mdoc_validate.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o st.o st.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o eqn.o eqn.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o roff.o roff.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o roff_validate.o roff_validate.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tbl.o tbl.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tbl_data.o tbl_data.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tbl_layout.o tbl_layout.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o tbl_opts.o tbl_opts.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o chars.o chars.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mandoc.o mandoc.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mandoc_aux.o mandoc_aux.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mandoc_ohash.o mandoc_ohash.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o mandoc_xr.o mandoc_xr.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o msec.o msec.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o preconv.o preconv.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o read.o read.c cc -shared -o libmandoc.so compat_err.o compat_fts.o compat_getline.o compat_getsubopt.o compat_isblank.o compat_mkdtemp.o compat_ohash.o compat_progname.o compat_reallocarray.o compat_recallocarray.o compat_strcasestr.o compat_strlcat.o compat_strlcpy.o compat_strndup.o compat_strsep.o compat_strtonum.o compat_vasprintf.o man.o man_macro.o man_validate.o att.o lib.o mdoc.o mdoc_argv.o mdoc_macro.o mdoc_state.o mdoc_validate.o st.o eqn.o roff.o roff_validate.o tbl.o tbl_data.o tbl_layout.o tbl_opts.o chars.o mandoc.o mandoc_aux.o mandoc_ohash.o mandoc_xr.o msec.o preconv.o read.o -lz cc -o mandoc eqn_html.o html.o man_html.o mdoc_html.o roff_html.o tbl_html.o eqn_term.o man_term.o mdoc_term.o roff_term.o term.o term_ascii.o term_ps.o term_tab.o tbl_term.o dbm.o dbm_map.o mansearch.o dba.o dba_array.o dba_read.o dba_write.o mandocdb.o main.o manpath.o mdoc_man.o mdoc_markdown.o out.o tag.o tree.o -L. -lmandoc -lz cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o demandoc.o demandoc.c cc -o demandoc demandoc.o libmandoc.so -lz cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o soelim.o soelim.c cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o compat_stringlist.o compat_stringlist.c cc -o soelim soelim.o compat_err.o compat_getline.o compat_progname.o compat_reallocarray.o compat_stringlist.o cc -march=i486 -Os -pipe -mindirect-branch=thunk -fPIC -D_GLIBCXX_USE_C99_MATH=1 -c -o cgi.o cgi.c cgi.c: In function 'resp_copy': cgi.c:343:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(STDOUT_FILENO, buf, sz); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ar rs libmandoc.a compat_err.o compat_fts.o compat_getline.o compat_getsubopt.o compat_isblank.o compat_mkdtemp.o compat_ohash.o compat_progname.o compat_reallocarray.o compat_recallocarray.o compat_strcasestr.o compat_strlcat.o compat_strlcpy.o compat_strndup.o compat_strsep.o compat_strtonum.o compat_vasprintf.o man.o man_macro.o man_validate.o att.o lib.o mdoc.o mdoc_argv.o mdoc_macro.o mdoc_state.o mdoc_validate.o st.o eqn.o roff.o roff_validate.o tbl.o tbl_data.o tbl_layout.o tbl_opts.o chars.o mandoc.o mandoc_aux.o mandoc_ohash.o mandoc_xr.o msec.o preconv.o read.o ar: creating libmandoc.a cc -static -o man.cgi eqn_html.o html.o man_html.o mdoc_html.o roff_html.o tbl_html.o dbm.o dbm_map.o mansearch.o cgi.o out.o libmandoc.a -lz /usr/bin/ld: cannot find -lz collect2: error: ld returned 1 exit status make: *** [Makefile:506: man.cgi] Error 1 Build dependencies to remove: 1 Removing: zlib-dev Debug information ret1. ================================================================================ Cook date: 2020-09-12 22:37 Wasted time : 23s 184:collect2: error: ld returned 1 exit status ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================