=> Building x11/xload build started at Sun Oct 9 16:16:25 PDT 2016 port directory: /usr/ports/x11/xload building for: DragonFly pkgbox64.dragonflybsd.org 4.7-DEVELOPMENT DragonFly v4.7.0.78.g7d868-DEVELOPMENT #7: Mon Aug 1 22:25:32 PDT 2016 root@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 maintained by: x11@FreeBSD.org ident warning: no id keywords in /build/boomdata/data/.m/Release46-default/ref/../06//usr/ports/x11/xload/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400600 ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/Release46-default/ref PATH=/usr/local/libexec/poudriere:/sbin:/bin:/usr/sbin:/usr/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/sbin:/usr/local/bin:/usr/pkg/xorg/bin:/usr/X11R6/bin:/root/bin:/sbin:/usr/sbin POUDRIERE_BUILD_TYPE=bulk PKGNAME=xload-1.1.2 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/Release46-default/ref/.p/pool MASTERNAME=Release46-default TERM=cons25 USER=root HOME=/root POUDRIERE_VERSION=3.1-pre LOCALBASE=/usr/local PACKAGE_BUILDING=yes ---End Environment--- ---Begin OPTIONS List--- ---End OPTIONS List--- --CONFIGURE_ARGS-- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} --End CONFIGURE_ARGS-- --CONFIGURE_ENV-- PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/x11/xload XDG_CONFIG_HOME=/wrkdirs/x11/xload HOME=/wrkdirs/x11/xload TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 --End CONFIGURE_ENV-- --MAKE_ENV-- XDG_DATA_HOME=/wrkdirs/x11/xload XDG_CONFIG_HOME=/wrkdirs/x11/xload HOME=/wrkdirs/x11/xload TMPDIR="/tmp" NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES CCVER=gcc50 PREFIX=/usr/local LOCALBASE=/usr/local LIBDIR="/usr/lib" NOPROFILE=1 CC="cc" CFLAGS="-pipe -O2 -fno-strict-aliasing" CPP="cpp" CPPFLAGS="" LDFLAGS="" LIBS="" CXX="c++" CXXFLAGS=" -pipe -O2 -fno-strict-aliasing" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -m 555" BSD_INSTALL_LIB="install -s -m 444" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" --End MAKE_ENV-- --PLIST_SUB-- OSREL=4.6 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xload" EXAMPLESDIR="share/examples/xload" DATADIR="share/xload" WWWDIR="www/xload" ETCDIR="etc/xload" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xload DOCSDIR=/usr/local/share/doc/xload EXAMPLESDIR=/usr/local/share/examples/xload WWWDIR=/usr/local/www/xload ETCDIR=/usr/local/etc/xload --End SUB_LIST-- ---Begin make.conf--- NO_BACKUP=yes USE_PACKAGE_DEPENDS=yes PKG_CREATE_VERBOSE=yes BATCH=yes WRKDIRPREFIX=/wrkdirs PORT_DBDIR=/options PORTSDIR=/usr/ports PACKAGES=/packages DISTDIR=/distfiles MAKE_JOBS_NUMBER=5 ---End make.conf--- =================================================== ===> License MIT accepted by the user =========================================================================== =================================================== ===> xload-1.1.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.8.7_3.txz Installing pkg-1.8.7_3... Extracting pkg-1.8.7_3: .......... done ===> xload-1.1.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xload-1.1.2 =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xload-1.1.2 for building =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xload-1.1.2 for building => SHA256 Checksum OK for xorg/app/xload-1.1.2.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xload-1.1.2 for building ===> Extracting for xload-1.1.2 => SHA256 Checksum OK for xorg/app/xload-1.1.2.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for xload-1.1.2 =========================================================================== =================================================== ===> xload-1.1.2 depends on package: pkgconf>=0.9.10 - not found ===> Installing existing package /packages/All/pkgconf-1.0.1.txz Installing pkgconf-1.0.1... Extracting pkgconf-1.0.1: .......... done ===> xload-1.1.2 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of xload-1.1.2 ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - not found ===> Installing existing package /packages/All/xorg-macros-1.19.0.txz Installing xorg-macros-1.19.0... Extracting xorg-macros-1.19.0: ... done ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of xload-1.1.2 ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xt.pc - not found ===> Installing existing package /packages/All/libXt-1.1.5,1.txz Installing libXt-1.1.5,1... `-- Installing xproto-7.0.28... `-- Extracting xproto-7.0.28: .......... done `-- Installing libSM-1.2.2_3,1... | `-- Installing libICE-1.0.9_1,1... | `-- Extracting libICE-1.0.9_1,1: .......... done `-- Extracting libSM-1.2.2_3,1: .......... done `-- Installing libX11-1.6.3,1... | `-- Installing kbproto-1.0.7... | `-- Extracting kbproto-1.0.7: .......... done | `-- Installing libXdmcp-1.1.2... | `-- Extracting libXdmcp-1.1.2: ......... done | `-- Installing libxcb-1.11.1... | | `-- Installing libxml2-2.9.4... | | `-- Extracting libxml2-2.9.4: .......... done | | `-- Installing libpthread-stubs-0.3_6... | | `-- Extracting libpthread-stubs-0.3_6: ..... done | | `-- Installing libXau-1.0.8_3... | | `-- Extracting libXau-1.0.8_3: .......... done | `-- Extracting libxcb-1.11.1: .......... done `-- Extracting libX11-1.6.3,1: .......... done Extracting libXt-1.1.5,1: .......... done ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xload-1.1.2 ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - not found ===> Installing existing package /packages/All/libXaw-1.0.13,2.txz Installing libXaw-1.0.13,2... `-- Installing libXpm-3.5.11_4... | `-- Installing libXext-1.3.3_1,1... | | `-- Installing xextproto-7.3.0... | | `-- Extracting xextproto-7.3.0: .......... done | `-- Extracting libXext-1.3.3_1,1: .......... done | `-- Installing gettext-runtime-0.19.8.1... | | `-- Installing indexinfo-0.2.5... | | `-- Extracting indexinfo-0.2.5: .... done | `-- Extracting gettext-runtime-0.19.8.1: .......... done `-- Extracting libXpm-3.5.11_4: .......... done `-- Installing libXmu-1.1.2_3,1... `-- Extracting libXmu-1.1.2_3,1: .......... done `-- Installing printproto-1.0.5... `-- Extracting printproto-1.0.5: .... done `-- Installing libXp-1.0.3,1... `-- Extracting libXp-1.0.3,1: .......... done Extracting libXaw-1.0.13,2: .......... done ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of xload-1.1.2 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for xload-1.1.2 configure: loading site script /usr/ports/Templates/config.site 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 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 for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... yes checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /bin/sh: cannot open /wrkdirs/x11/xload/missing: No such file or directory configure: WARNING: 'missing' script is too old or missing 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 for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of cc... gcc3 checking whether to enable maintainer-specific portions of Makefiles... no checking for cc option to accept ISO C99... none needed 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-dragonfly4.6 checking host system type... x86_64-portbld-dragonfly4.6 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 -Wcast-qual... 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 -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 library containing gettext... no checking where to install localized messages... nowhere checking for getloadavg... yes checking sys/loadavg.h usability... no checking sys/loadavg.h presence... no checking for sys/loadavg.h... no checking for XLOAD... yes 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 =========================================================================== =================================================== ===> Building for xload-1.1.2 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- xload.1 --- /usr/bin/sed -e 's|__vendorversion__|"xload 1.1.2" "X Version 11"|' -e 's|__xorgversion__|"xload 1.1.2" "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' < xload.man > xload.1 --- get_load.o --- --- get_rload.o --- --- xload.o --- --- get_load.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 -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -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 -pipe -O2 -fno-strict-aliasing -MT get_load.o -MD -MP -MF .deps/get_load.Tpo -c -o get_load.o get_load.c --- get_rload.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 -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -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 -pipe -O2 -fno-strict-aliasing -MT get_rload.o -MD -MP -MF .deps/get_rload.Tpo -c -o get_rload.o get_rload.c --- xload.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 -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -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 -pipe -O2 -fno-strict-aliasing -MT xload.o -MD -MP -MF .deps/xload.Tpo -c -o xload.o xload.c --- get_rload.o --- mv -f .deps/get_rload.Tpo .deps/get_rload.Po --- get_load.o --- mv -f .deps/get_load.Tpo .deps/get_load.Po --- xload.o --- xload.c:100:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-scale", "*load.minScale", XrmoptionSepArg, NULL}, ^ xload.c:100:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-scale", "*load.minScale", XrmoptionSepArg, NULL}, ^ xload.c:101:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-update", "*load.update", XrmoptionSepArg, NULL}, ^ xload.c:101:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-update", "*load.update", XrmoptionSepArg, NULL}, ^ xload.c:102:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-hl", "*load.highlight", XrmoptionSepArg, NULL}, ^ xload.c:102:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-hl", "*load.highlight", XrmoptionSepArg, NULL}, ^ xload.c:103:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-highlight", "*load.highlight", XrmoptionSepArg, NULL}, ^ xload.c:103:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-highlight", "*load.highlight", XrmoptionSepArg, NULL}, ^ xload.c:104:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-label", "*label.label", XrmoptionSepArg, NULL}, ^ xload.c:104:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-label", "*label.label", XrmoptionSepArg, NULL}, ^ xload.c:105:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-nolabel", "*showLabel", XrmoptionNoArg, "False"}, ^ xload.c:105:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-nolabel", "*showLabel", XrmoptionNoArg, "False"}, ^ xload.c:105:60: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-nolabel", "*showLabel", XrmoptionNoArg, "False"}, ^ xload.c:106:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-lights", "*useLights", XrmoptionNoArg, "True"}, ^ xload.c:106:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-lights", "*useLights", XrmoptionNoArg, "True"}, ^ xload.c:106:52: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-lights", "*useLights", XrmoptionNoArg, "True"}, ^ xload.c:107:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-jumpscroll", "*load.jumpScroll", XrmoptionSepArg, NULL}, ^ xload.c:107:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-jumpscroll", "*load.jumpScroll", XrmoptionSepArg, NULL}, ^ xload.c:108:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-remote", "*remote", XrmoptionSepArg, NULL}, ^ xload.c:108:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-remote", "*remote", XrmoptionSepArg, NULL}, ^ xload.c:119:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"showLabel", XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from xload.c:68:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ xload.c:119:17: note: in expansion of macro 'XtCBoolean' {"showLabel", XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ xload.c:119:29: note: in expansion of macro 'XtRBoolean' {"showLabel", XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ xload.c:120:26: note: in expansion of macro 'XtRImmediate' Offset(show_label), XtRImmediate, (XtPointer) TRUE}, ^ xload.c:121:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"useLights", XtCBoolean, XtRBoolean, sizeof(Boolean), ^ In file included from xload.c:68:0: /usr/local/include/X11/StringDefs.h:585:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCBoolean ((char*)&XtStrings[920]) ^ xload.c:121:17: note: in expansion of macro 'XtCBoolean' {"useLights", XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ xload.c:121:29: note: in expansion of macro 'XtRBoolean' {"useLights", XtCBoolean, XtRBoolean, sizeof(Boolean), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ xload.c:122:25: note: in expansion of macro 'XtRImmediate' Offset(use_lights), XtRImmediate, (XtPointer) FALSE}, ^ xload.c:123:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"remote", XtCString, XtRString, sizeof(XtRString), ^ In file included from xload.c:68:0: /usr/local/include/X11/StringDefs.h:732:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtCString ((char*)&XtStrings[1416]) ^ xload.c:123:14: note: in expansion of macro 'XtCString' {"remote", XtCString, XtRString, sizeof(XtRString), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xload.c:123:25: note: in expansion of macro 'XtRString' {"remote", XtCString, XtRString, sizeof(XtRString), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ xload.c:123:43: note: in expansion of macro 'XtRString' {"remote", XtCString, XtRString, sizeof(XtRString), ^ /usr/local/include/X11/StringDefs.h:837:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRImmediate ((char*)&XtStrings[1695]) ^ xload.c:124:21: note: in expansion of macro 'XtRImmediate' Offset(remote), XtRImmediate, (XtPointer) FALSE}, ^ xload.c:133:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "quit", quit }, ^ In file included from xload.c:68:0: xload.c: In function 'main': /usr/local/include/X11/StringDefs.h:843:17: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRInt ((char*)&XtStrings[1718]) ^ xload.c:228:59: note: in expansion of macro 'XtRInt' found = XtConvertAndStore(toplevel, type, &db_value, XtRInt, ^ In file included from xload.c:66:0: /usr/local/include/X11/Shell.h:197:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNiconPixmap ((char*)&XtShellStrings[18]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xload.c:245:25: note: in expansion of macro 'XtNiconPixmap' XtSetArg (args[0], XtNiconPixmap, &icon_pixmap); ^ /usr/local/include/X11/Shell.h:197:24: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNiconPixmap ((char*)&XtShellStrings[18]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xload.c:248:24: note: in expansion of macro 'XtNiconPixmap' XtSetArg(args[0], XtNiconPixmap, ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xload.c:263:29: note: in expansion of macro 'XtNlabel' XtSetArg (args[0], XtNlabel, &label); ^ /usr/local/include/X11/StringDefs.h:435:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNlabel ((char*)&XtStrings[429]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ xload.c:268:25: note: in expansion of macro 'XtNlabel' XtSetArg (args[0], XtNlabel, host); ^ xload.c:172:17: warning: unused variable 'domaindir' [-Wunused-variable] const char *domaindir; ^ mv -f .deps/xload.Tpo .deps/xload.Po --- xload --- 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 -Wcast-qual -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -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 -pipe -O2 -fno-strict-aliasing -o xload get_load.o get_rload.o xload.o -L/usr/local/lib -lXaw7 -lXmu -lXt -lX11 =========================================================================== =================================================== ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xload-1.1.2 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===> Staging for xload-1.1.2 ===> Generating temporary packing list Making install in man /bin/mkdir -p '/wrkdirs/x11/xload/stage/usr/local/man/man1' install -m 0644 xload.1 '/wrkdirs/x11/xload/stage/usr/local/man/man1' /bin/mkdir -p '/wrkdirs/x11/xload/stage/usr/local/bin' install -s -m 555 xload '/wrkdirs/x11/xload/stage/usr/local/bin' /bin/mkdir -p '/wrkdirs/x11/xload/stage/usr/local/share/X11/app-defaults' install -m 0644 app-defaults/XLoad '/wrkdirs/x11/xload/stage/usr/local/share/X11/app-defaults' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for xload-1.1.2 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for xload-1.1.2 build of x11/xload ended at Sun Oct 9 16:16:36 PDT 2016 build time: 00:00:10