------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/pkgconf-1.6.3,1.txz Installing /packages/All/xorg-macros-1.19.2.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2019.2.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9,1.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXt-1.2.0,1.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXmu-1.1.3,1.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.1.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/libXaw-1.0.13_3,2.txz SUCCEEDED 00:00:03 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xman-1.1.5 for building SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xman-1.1.5 for building => SHA256 Checksum OK for xorg/app/xman-1.1.5.tar.bz2. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xman-1.1.5 for building ===> Extracting for xman-1.1.5 => SHA256 Checksum OK for xorg/app/xman-1.1.5.tar.bz2. Extracted Memory Use: 1.04M SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for xman-1.1.5 SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on package: pkgconf>=1.3.0_1 - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on package: pkgconf>=1.3.0_1 - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Configuring for xman-1.1.5 configure: loading site script /xports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for cc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-portbld-dragonfly5.9 checking host system type... x86_64-portbld-dragonfly5.9 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking if cc supports -Werror=unknown-warning-option... no checking if cc supports -Werror=unused-command-line-argument... no checking if cc supports -Wall... yes checking if cc supports -Wpointer-arith... yes checking if cc supports -Wmissing-declarations... yes checking if cc supports -Wformat=2... yes checking if cc supports -Wstrict-prototypes... yes checking if cc supports -Wmissing-prototypes... yes checking if cc supports -Wnested-externs... yes checking if cc supports -Wbad-function-cast... yes checking if cc supports -Wold-style-definition... yes checking if cc supports -Wdeclaration-after-statement... yes checking if cc supports -Wunused... yes checking if cc supports -Wuninitialized... yes checking if cc supports -Wshadow... yes checking if cc supports -Wmissing-noreturn... yes checking if cc supports -Wmissing-format-attribute... yes checking if cc supports -Wredundant-decls... yes checking if cc supports -Wlogical-op... yes checking if cc supports -Werror=implicit... yes checking if cc supports -Werror=nonnull... yes checking if cc supports -Werror=init-self... yes checking if cc supports -Werror=main... yes checking if cc supports -Werror=missing-braces... yes checking if cc supports -Werror=sequence-point... yes checking if cc supports -Werror=return-type... yes checking if cc supports -Werror=trigraphs... yes checking if cc supports -Werror=array-bounds... yes checking if cc supports -Werror=write-strings... yes checking if cc supports -Werror=address... yes checking if cc supports -Werror=int-to-pointer-cast... yes checking if cc supports -Werror=pointer-to-int-cast... yes checking if cc supports -pedantic... yes checking if cc supports -Werror... yes checking if cc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for groff... missing checking for mandb... no checking for mkstemp... (cached) yes checking for XMAN... yes checking for /etc/man.conf... no checking for /etc/man.config... no checking for /etc/manpath.config... no checking for /usr/share/misc/man.conf... no checking for APPDEFS... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands SUCCEEDED 00:00:06 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for xman-1.1.5 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- xman.1 --- /usr/bin/sed -e 's|__vendorversion__|"xman 1.1.5" "X Version 11"|' -e 's|__xorgversion__|"xman 1.1.5" "X Version 11"|' -e 's|__xservername__|Xorg|g' -e 's|__xconfigfile__|xorg.conf|g' -e 's|__projectroot__|/usr/local|g' -e 's|__apploaddir__|/usr/local/share/X11/app-defaults|g' -e 's|__appmansuffix__|1|g' -e 's|__drivermansuffix__|4|g' -e 's|__adminmansuffix__|8|g' -e 's|__libmansuffix__|3|g' -e 's|__miscmansuffix__|7|g' -e 's|__filemansuffix__|5|g' < xman.man > xman.1 --- buttons.o --- --- globals.o --- --- handler.o --- --- help.o --- --- main.o --- --- man.o --- --- misc.o --- --- ScrollByL.o --- --- search.o --- --- tkfuncs.o --- --- buttons.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT buttons.o -MD -MP -MF .deps/buttons.Tpo -c -o buttons.o buttons.c --- globals.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT globals.o -MD -MP -MF .deps/globals.Tpo -c -o globals.o globals.c --- handler.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT handler.o -MD -MP -MF .deps/handler.Tpo -c -o handler.o handler.c --- help.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT help.o -MD -MP -MF .deps/help.Tpo -c -o help.o help.c --- main.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c In file included from man.h:73, from globals.h:34, from main.c:37: --- man.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT man.o -MD -MP -MF .deps/man.Tpo -c -o man.o man.c --- misc.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT misc.o -MD -MP -MF .deps/misc.Tpo -c -o misc.o misc.c --- ScrollByL.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT ScrollByL.o -MD -MP -MF .deps/ScrollByL.Tpo -c -o ScrollByL.o ScrollByL.c --- search.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c --- main.o --- defs.h:52:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define DIRECTORY_NORMAL "fixed" /* The default dir font */ ^~~~~~~ main.c:49:42: note: in expansion of macro 'DIRECTORY_NORMAL' Offset(fonts.directory), XtRString, DIRECTORY_NORMAL}, ^~~~~~~~~~~~~~~~ main.c:51:45: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(both_shown_initial), XtRString, "False"}, ^~~~~~~ main.c:53:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(directory_height), XtRString, "150"}, ^~~~~ In file included from man.h:73, from globals.h:34, from main.c:37: defs.h:47:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XMAN_CURSOR "left_ptr" /* Top level cursor. */ ^~~~~~~~~~ main.c:55:38: note: in expansion of macro 'XMAN_CURSOR' Offset(cursors.top), XtRString, XMAN_CURSOR}, ^~~~~~~~~~~ defs.h:48:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define HELP_CURSOR "left_ptr" /* The help cursor. */ ^~~~~~~~~~ main.c:57:39: note: in expansion of macro 'HELP_CURSOR' Offset(cursors.help), XtRString, HELP_CURSOR}, ^~~~~~~~~~~ defs.h:49:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MANPAGE_CURSOR "left_ptr" /* The manpage cursor. */ ^~~~~~~~~~ main.c:59:42: note: in expansion of macro 'MANPAGE_CURSOR' Offset(cursors.manpage), XtRString, MANPAGE_CURSOR}, ^~~~~~~~~~~~~~ defs.h:50:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define SEARCH_ENTRY_CURSOR "question_arrow" /* The search text widget ^~~~~~~~~~~~~~~~ main.c:61:47: note: in expansion of macro 'SEARCH_ENTRY_CURSOR' Offset(cursors.search_entry), XtRString, SEARCH_ENTRY_CURSOR}, ^~~~~~~~~~~~~~~~~~~ main.c:63:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(cursors.fg_color), XtRString, "XtDefaultForeground"}, ^~~~~~~~~~~~~~~~~~~~~ main.c:65:43: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(cursors.bg_color), XtRString, "XtDefaultBackground"}, ^~~~~~~~~~~~~~~~~~~~~ : warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] main.c:69:36: note: in expansion of macro 'HELPFILE' Offset(help_file), XtRString, HELPFILE}, ^~~~~~~~ main.c:71:41: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(top_box_active), XtRString, "True"}, ^~~~~~ main.c:75:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(title), XtRString, "xman"}, ^~~~~~ main.c:77:33: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(iconic), XtRString, "False"}, ^~~~~~~ main.c:103:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-geometry", "*topBox.geometry", XrmoptionSepArg, (caddr_t) NULL}, ^~~~~~~~~~~ main.c:103:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-geometry", "*topBox.geometry", XrmoptionSepArg, (caddr_t) NULL}, ^~~~~~~~~~~~~~~~~~ main.c:104:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-help", "help", XrmoptionNoArg, (caddr_t) "True"}, ^~~~~~~ main.c:104:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-help", "help", XrmoptionNoArg, (caddr_t) "True"}, ^~~~~~ main.c:105:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"=", "*topBox.geometry", XrmoptionIsArg, (caddr_t) NULL}, ^~~ main.c:105:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"=", "*topBox.geometry", XrmoptionIsArg, (caddr_t) NULL}, ^~~~~~~~~~~~~~~~~~ main.c:106:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-pagesize", "*manualBrowser.geometry", XrmoptionSepArg, (caddr_t) NULL}, ^~~~~~~~~~~ main.c:106:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-pagesize", "*manualBrowser.geometry", XrmoptionSepArg, (caddr_t) NULL}, ^~~~~~~~~~~~~~~~~~~~~~~~~ main.c:107:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-notopbox", "topBox", XrmoptionNoArg, (caddr_t) "False"}, ^~~~~~~~~~~ main.c:107:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-notopbox", "topBox", XrmoptionNoArg, (caddr_t) "False"}, ^~~~~~~~ main.c:108:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-helpfile", "helpFile", XrmoptionSepArg, (caddr_t) NULL}, ^~~~~~~~~~~ main.c:108:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-helpfile", "helpFile", XrmoptionSepArg, (caddr_t) NULL}, ^~~~~~~~~~ main.c:109:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bothshown", "bothShown", XrmoptionNoArg, (caddr_t) "True"}, ^~~~~~~~~~~~ main.c:109:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bothshown", "bothShown", XrmoptionNoArg, (caddr_t) "True"}, ^~~~~~~~~~~ main.c:110:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-title", "title", XrmoptionSepArg, (caddr_t) "xman"}, ^~~~~~~~ main.c:110:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-title", "title", XrmoptionSepArg, (caddr_t) "xman"}, ^~~~~~~ main.c:111:6: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-iconic", "iconic", XrmoptionNoArg, (caddr_t) "True"}, ^~~~~~~~~ main.c:111:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-iconic", "iconic", XrmoptionNoArg, (caddr_t) "True"}, ^~~~~~~~ --- help.o --- mv -f .deps/help.Tpo .deps/help.Po --- vendor.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT vendor.o -MD -MP -MF .deps/vendor.Tpo -c -o vendor.o vendor.c --- tkfuncs.o --- cc -DHAVE_CONFIG_H -I. -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -MT tkfuncs.o -MD -MP -MF .deps/tkfuncs.Tpo -c -o tkfuncs.o tkfuncs.c --- buttons.o --- In file included from man.h:37, from globals.h:34, from buttons.c:37: buttons.c: In function 'MakeDirectoryBox': /usr/local/include/X11/Intrinsic.h:1161:46: warning: cast from function call of type 'char **' to non-matching type 'long int' [-Wbad-function-cast] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ buttons.c:599:5: note: in expansion of macro 'XtSetArg' XtSetArg(arglist[num_args], XtNlist, CreateList(section)); ^~~~~~~~ --- main.o --- mv -f .deps/main.Tpo .deps/main.Po --- handler.o --- handler.c: In function 'SaveFormattedPage': handler.c:357:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] "Error while executing the command '%s'.\n", cmdbuf); ^~ ~~~~~~ handler.c:356:13: note: 'snprintf' output between 39 and 1062 bytes into a destination of size 1024 snprintf(error_buf, sizeof(error_buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Error while executing the command '%s'.\n", cmdbuf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- misc.o --- misc.c: In function 'UncompressNamed': misc.c:432:55: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 984 [-Wformat-truncation=] "Error while uncompressing, command was: %s", cmdbuf); ^~ ~~~~~~ misc.c:431:5: note: 'snprintf' output between 41 and 1064 bytes into a destination of size 1024 snprintf(error_buf, sizeof(error_buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Error while uncompressing, command was: %s", cmdbuf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- tkfuncs.o --- mv -f .deps/tkfuncs.Tpo .deps/tkfuncs.Po --- ScrollByL.o --- ScrollByL.c:71:37: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(foreground), XtRString, "XtDefaultForeground"}, ^~~~~~~~~~~~~~~~~~~~~ In file included from ScrollByLP.h:37, from ScrollByL.c:42: ScrollByL.h:50:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MANPAGE_NORMAL "*-new century schoolbook-medium-r-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:50:26: note: in definition of macro 'MANPAGE_NORMAL' #define MANPAGE_NORMAL "*-new century schoolbook-medium-r-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:51:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MANPAGE_BOLD "*-new century schoolbook-bold-r-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:51:26: note: in definition of macro 'MANPAGE_BOLD' #define MANPAGE_BOLD "*-new century schoolbook-bold-r-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:52:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MANPAGE_ITALIC "*-new century schoolbook-bold-i-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:52:26: note: in definition of macro 'MANPAGE_ITALIC' #define MANPAGE_ITALIC "*-new century schoolbook-bold-i-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:53:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define MANPAGE_SYMBOL "*-symbol-medium-r-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ScrollByL.h:53:26: note: in definition of macro 'MANPAGE_SYMBOL' #define MANPAGE_SYMBOL "*-symbol-medium-r-normal--*-120-*" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- vendor.o --- mv -f .deps/vendor.Tpo .deps/vendor.Po --- misc.o --- misc.c: In function 'Format': misc.c:865:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s.%s", filename, BZIP2_EXTENSION); ^~ misc.c:865:9: note: 'snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(input, sizeof(input), "%s.%s", filename, BZIP2_EXTENSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:880:44: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s.%s", filename, LZMA_EXTENSION); ^~ misc.c:880:9: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024 snprintf(input, sizeof(input), "%s.%s", filename, LZMA_EXTENSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:897:36: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, BUFSIZ, "%s/%s%s/%s", path, MAN, section + len_man, ^~ misc.c:897:5: note: 'snprintf' output 6 or more bytes (assuming 2052) into a destination of size 1024 snprintf(filename, BUFSIZ, "%s/%s%s/%s", path, MAN, section + len_man, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ page); ~~~~~ misc.c:928:40: warning: '%s' directive output may be truncated writing 1 byte into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s.%s", filename, COMPRESSION_EXTENSION); ^~ misc.c:928:5: note: 'snprintf' output between 3 and 1026 bytes into a destination of size 1024 snprintf(input, sizeof(input), "%s.%s", filename, COMPRESSION_EXTENSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:939:44: warning: '%s' directive output may be truncated writing 2 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s.%s", filename, GZIP_EXTENSION); ^~ misc.c:939:9: note: 'snprintf' output between 4 and 1027 bytes into a destination of size 1024 snprintf(input, sizeof(input), "%s.%s", filename, GZIP_EXTENSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:954:44: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s.%s", filename, BZIP2_EXTENSION); ^~ misc.c:954:9: note: 'snprintf' output between 5 and 1028 bytes into a destination of size 1024 snprintf(input, sizeof(input), "%s.%s", filename, BZIP2_EXTENSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:968:44: warning: '%s' directive output may be truncated writing 4 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s.%s", filename, LZMA_EXTENSION); ^~ misc.c:968:9: note: 'snprintf' output between 6 and 1029 bytes into a destination of size 1024 snprintf(input, sizeof(input), "%s.%s", filename, LZMA_EXTENSION); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:984:40: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(input, sizeof(input), "%s/%s%s.%s/%s", path, ^~ misc.c:984:5: note: 'snprintf' output 8 or more bytes (assuming 2054) into a destination of size 1024 snprintf(input, sizeof(input), "%s/%s%s.%s/%s", path, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ MAN, section + len_man, COMPRESSION_EXTENSION, page); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:990:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s.%s/%s", path, CAT, section + len_cat, ^~ ~~~~ misc.c:989:9: note: 'snprintf' output 8 or more bytes (assuming 2054) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s.%s/%s", path, CAT, section + len_cat, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPRESSION_EXTENSION, page); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:973:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ^~ ~~~~ misc.c:972:13: note: 'snprintf' output 11 or more bytes (assuming 2057) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZMA_EXTENSION); ~~~~~~~~~~~~~~~ misc.c:959:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ^~ ~~~~ misc.c:958:13: note: 'snprintf' output 10 or more bytes (assuming 2056) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BZIP2_EXTENSION); ~~~~~~~~~~~~~~~~ misc.c:945:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ^~ ~~~~ misc.c:944:13: note: 'snprintf' output 9 or more bytes (assuming 2055) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ GZIP_EXTENSION); ~~~~~~~~~~~~~~~ misc.c:933:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ^~ ~~~~ misc.c:932:9: note: 'snprintf' output 8 or more bytes (assuming 2054) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ COMPRESSION_EXTENSION); ~~~~~~~~~~~~~~~~~~~~~~ misc.c:904:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s", path, CAT, section + len_cat, page); ^~ ~~~~ misc.c:903:9: note: 'snprintf' output 6 or more bytes (assuming 2052) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s", path, CAT, section + len_cat, page); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:886:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ^~ ~~~~ misc.c:885:13: note: 'snprintf' output 11 or more bytes (assuming 2057) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ LZMA_EXTENSION); ~~~~~~~~~~~~~~~ misc.c:871:23: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ^~ ~~~~ misc.c:870:13: note: 'snprintf' output 10 or more bytes (assuming 2056) into a destination of size 80 snprintf(man_globals->save_file, sizeof(man_globals->save_file), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s/%s%s/%s.%s", path, CAT, section + len_cat, page, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BZIP2_EXTENSION); ~~~~~~~~~~~~~~~~ misc.c:582:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1021 [-Wformat-truncation=] snprintf(cmdbuf, sizeof(cmdbuf), "cd %s ; %s %s %s >> %s %s", path, TBL, ^~ ~~~~ misc.c:582:5: note: 'snprintf' output between 56 and 2181 bytes into a destination of size 1024 snprintf(cmdbuf, sizeof(cmdbuf), "cd %s ; %s %s %s >> %s %s", path, TBL, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filename, FORMAT, man_globals->tempfile, "2> /dev/null"); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:596:67: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 976 [-Wformat-truncation=] "Something went wrong trying to run the command: %s", cmdbuf); ^~ ~~~~~~ misc.c:595:9: note: 'snprintf' output between 49 and 1072 bytes into a destination of size 1024 snprintf(error_buf, sizeof(error_buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Something went wrong trying to run the command: %s", cmdbuf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- globals.o --- mv -f .deps/globals.Tpo .deps/globals.Po --- buttons.o --- mv -f .deps/buttons.Tpo .deps/buttons.Po --- misc.o --- misc.c: In function 'FindManualFile': misc.c:221:46: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s/%s", ^~ misc.c:221:5: note: 'snprintf' output 6 or more bytes (assuming 2052) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s/%s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ path, CAT, section + len_cat, page); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:238:46: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~ misc.c:238:5: note: 'snprintf' output 8 or more bytes (assuming 2054) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section + len_cat, page, COMPRESSION_EXTENSION); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:251:50: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~ misc.c:251:9: note: 'snprintf' output 9 or more bytes (assuming 2055) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section + len_cat, page, GZIP_EXTENSION); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:266:50: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~ misc.c:266:9: note: 'snprintf' output 10 or more bytes (assuming 2056) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section + len_cat, page, BZIP2_EXTENSION); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:274:50: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~ misc.c:274:9: note: 'snprintf' output 11 or more bytes (assuming 2057) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s/%s.%s", path, CAT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section + len_cat, page, LZMA_EXTENSION); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ misc.c:301:46: warning: '%s' directive output may be truncated writing 3 bytes into a region of size between 0 and 1023 [-Wformat-truncation=] snprintf(filename, sizeof(filename), "%s/%s%s.%s/%s", path, CAT, ^~ misc.c:301:5: note: 'snprintf' output 8 or more bytes (assuming 2054) into a destination of size 1024 snprintf(filename, sizeof(filename), "%s/%s%s.%s/%s", path, CAT, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ section + len_cat, COMPRESSION_EXTENSION, page); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ --- search.o --- In file included from search.c:33: search.c: In function 'DoSearch': vendor.h:134:26: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1017 [-Wformat-truncation=] # define APROPOS_FORMAT ("man -M %s -k %s | pr -h Apropos >> %s") ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:213:42: note: in expansion of macro 'APROPOS_FORMAT' snprintf(cmdbuf, sizeof(cmdbuf), APROPOS_FORMAT, path, search_string, ^~~~~~~~~~~~~~ search.c:213:9: note: 'snprintf' output 32 or more bytes (assuming 2078) into a destination of size 1024 snprintf(cmdbuf, sizeof(cmdbuf), APROPOS_FORMAT, path, search_string, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mantmp); ~~~~~~~ search.c:219:58: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 989 [-Wformat-truncation=] "Something went wrong trying to run %s\n", cmdbuf); ^~ ~~~~~~ search.c:218:13: note: 'snprintf' output between 37 and 1060 bytes into a destination of size 1024 snprintf(error_buf, sizeof(error_buf), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "Something went wrong trying to run %s\n", cmdbuf); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c:268:19: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 80 [-Wformat-truncation=] "%s", label); ^~ ~~~~~ search.c:267:9: note: 'snprintf' output between 1 and 1024 bytes into a destination of size 80 snprintf(man_globals->manpage_title, sizeof(man_globals->manpage_title), ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s", label); ~~~~~~~~~~~~ --- misc.o --- mv -f .deps/misc.Tpo .deps/misc.Po --- search.o --- mv -f .deps/search.Tpo .deps/search.Po --- handler.o --- mv -f .deps/handler.Tpo .deps/handler.Po --- man.o --- mv -f .deps/man.Tpo .deps/man.Po --- ScrollByL.o --- mv -f .deps/ScrollByL.Tpo .deps/ScrollByL.Po --- xman --- cc -Wall -Wpointer-arith -Wmissing-declarations -Wformat=2 -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -Wunused -Wuninitialized -Wshadow -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -I/usr/local/include -D_THREAD_SAFE -D_CONST_X_STRING -D_BSD_SOURCE -DHELPFILE=\"/usr/local/share/X11/xman.help\" -pipe -O2 -fno-strict-aliasing -o xman buttons.o globals.o handler.o help.o main.o man.o misc.o ScrollByL.o search.o tkfuncs.o vendor.o -L/usr/local/lib -lXaw7 -lXt -lX11 SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for xman-1.1.5 ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/x11.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xman-1.1.5 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Generating temporary packing list Making install in man /bin/mkdir -p '/construction/x11/xman/stage/usr/local/man/man1' install -m 0644 xman.1 '/construction/x11/xman/stage/usr/local/man/man1' /bin/mkdir -p '/construction/x11/xman/stage/usr/local/bin' install -s -m 555 xman '/construction/x11/xman/stage/usr/local/bin' /bin/mkdir -p '/construction/x11/xman/stage/usr/local/share/X11/app-defaults' install -m 0644 app-defaults/Xman '/construction/x11/xman/stage/usr/local/share/X11/app-defaults' /bin/mkdir -p '/construction/x11/xman/stage/usr/local/share/X11' install -m 0644 xman.help '/construction/x11/xman/stage/usr/local/share/X11' ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for xman-1.1.5 file sizes/checksums [4]: 0% file sizes/checksums [4]: 100% packing files [4]: 0% packing files [4]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:01 TOTAL TIME 00:00:14