=> Building x11/xload Started : Friday, 20 APR 2018 at 11:26:12 UTC Platform: 5.3-DEVELOPMENT DragonFly v5.3.0.81.g32506c-DEVELOPMENT #29: Tue Apr 10 08:49:52 PDT 2018 marino@pkgbox64.dragonflybsd.org:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64 -------------------------------------------------- -- Environment -------------------------------------------------- UNAME_r=5.0-SYNTH UNAME_m=x86_64 UNAME_p=x86_64 UNAME_v=DragonFly 5.0-SYNTH UNAME_s=DragonFly PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SSL_NO_VERIFY_PEER=1 TERM=dumb PKG_CACHEDIR=/var/cache/pkg8 PKG_DBDIR=/var/db/pkg8 PORTSDIR=/xports LANG=C HOME=/root USER=root -------------------------------------------------- -- Options -------------------------------------------------- -------------------------------------------------- -- CONFIGURE_ENV -------------------------------------------------- PKG_CONFIG=pkgconf XDG_DATA_HOME=/construction/x11/xload XDG_CONFIG_HOME=/construction/x11/xload HOME=/construction/x11/xload TMPDIR="/tmp" PATH=/construction/x11/xload/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CCVER=gcc50 CONFIG_SITE=/xports/Templates/config.site lt_cv_sys_max_cmd_len=262144 -------------------------------------------------- -- CONFIGURE_ARGS -------------------------------------------------- --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS} -------------------------------------------------- -- MAKE_ENV -------------------------------------------------- XDG_DATA_HOME=/construction/x11/xload XDG_CONFIG_HOME=/construction/x11/xload HOME=/construction/x11/xload TMPDIR="/tmp" PATH=/construction/x11/xload/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin 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 0644" BSD_INSTALL_SCRIPT="install -m 555" BSD_INSTALL_DATA="install -m 0644" BSD_INSTALL_MAN="install -m 444" -------------------------------------------------- -- MAKE_ARGS -------------------------------------------------- DESTDIR=/construction/x11/xload/stage -------------------------------------------------- -- PLIST_SUB -------------------------------------------------- PORTDOCS="" PORTEXAMPLES="" OSREL=5.0 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/xload" EXAMPLESDIR="share/examples/xload" DATADIR="share/xload" WWWDIR="www/xload" ETCDIR="etc/xload" -------------------------------------------------- -- 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 -------------------------------------------------- -- /etc/make.conf -------------------------------------------------- SYNTHPROFILE=Release-5.0 USE_PACKAGE_DEPENDS_ONLY=yes PACKAGE_BUILDING=yes BATCH=yes PKG_CREATE_VERBOSE=yes PORTSDIR=/xports DISTDIR=/distfiles WRKDIRPREFIX=/construction PORT_DBDIR=/options PACKAGES=/packages MAKE_JOBS_NUMBER_LIMIT=5 LICENSES_ACCEPTED= NONE HAVE_COMPAT_IA32_KERN= CONFIGURE_MAX_CMD_LEN=262144 _SMP_CPUS=8 UID=0 ARCH=x86_64 OPSYS=DragonFly DFLYVERSION=500000 OSVERSION=9999999 OSREL=5.0 _OSRELEASE=5.0-SYNTH -------------------------------------------------------------------------------- -- Phase: check-sanity -------------------------------------------------------------------------------- ===> License MIT accepted by the user -------------------------------------------------------------------------------- -- Phase: pkg-depends -------------------------------------------------------------------------------- ===> xload-1.1.2 depends on file: /usr/local/sbin/pkg - not found ===> Installing existing package /packages/All/pkg-1.10.5.txz Installing pkg-1.10.5... Extracting pkg-1.10.5: .......... done ===> xload-1.1.2 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xload-1.1.2 -------------------------------------------------------------------------------- -- Phase: fetch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: fetch -------------------------------------------------------------------------------- ===> License MIT accepted by the user ===> Fetching all distfiles required by xload-1.1.2 for building -------------------------------------------------------------------------------- -- Phase: checksum -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: extract-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: extract -------------------------------------------------------------------------------- ===> 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. -------------------------------------------------------------------------------- -- Phase: patch-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: patch -------------------------------------------------------------------------------- ===> Patching for xload-1.1.2 -------------------------------------------------------------------------------- -- Phase: build-depends -------------------------------------------------------------------------------- ===> xload-1.1.2 depends on package: pkgconf>=1.3.0_1 - not found ===> Installing existing package /packages/All/pkgconf-1.4.2,1.txz Installing pkgconf-1.4.2,1... Extracting pkgconf-1.4.2,1: .......... done ===> xload-1.1.2 depends on package: pkgconf>=1.3.0_1 - 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.1.txz Installing xorg-macros-1.19.1... Extracting xorg-macros-1.19.1: ...... 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 libSM-1.2.2_3,1... | `-- Installing libICE-1.0.9_1,1... | | `-- Installing xproto-7.0.31... | | `-- Extracting xproto-7.0.31: .......... done | `-- Extracting libICE-1.0.9_1,1: .......... done `-- Extracting libSM-1.2.2_3,1: .......... done `-- Installing libX11-1.6.5,1... | `-- Installing kbproto-1.0.7... | `-- Extracting kbproto-1.0.7: .......... done | `-- Installing libXau-1.0.8_3... | `-- Extracting libXau-1.0.8_3: .......... done | `-- Installing libXdmcp-1.1.2... | `-- Extracting libXdmcp-1.1.2: ......... done | `-- Installing libxcb-1.12_2... | | `-- Installing libpthread-stubs-0.4... | | `-- Extracting libpthread-stubs-0.4: .... done | | `-- Installing libxml2-2.9.7... | | `-- Extracting libxml2-2.9.7: .......... done | `-- Extracting libxcb-1.12_2: .......... done `-- Extracting libX11-1.6.5,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 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 libXmu-1.1.2_3,1... `-- Extracting libXmu-1.1.2_3,1: .......... done `-- Installing libXp-1.0.3,1... | `-- Installing printproto-1.0.5... | `-- Extracting printproto-1.0.5: .... done `-- Extracting libXp-1.0.3,1: .......... done `-- Installing libXpm-3.5.12... | `-- Installing gettext-runtime-0.19.8.1_1... | | `-- Installing indexinfo-0.3.1... | | `-- Extracting indexinfo-0.3.1: .... done | `-- Extracting gettext-runtime-0.19.8.1_1: .......... done `-- Extracting libXpm-3.5.12: .......... 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 -------------------------------------------------------------------------------- -- Phase: lib-depends -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- Phase: configure -------------------------------------------------------------------------------- ===> Configuring for xload-1.1.2 configure: loading site script /xports/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 /construction/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-dragonfly5.0 checking host system type... x86_64-portbld-dragonfly5.0 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 -------------------------------------------------------------------------------- -- Phase: build -------------------------------------------------------------------------------- ===> 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 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; ^ --- get_load.o --- mv -f .deps/get_load.Tpo .deps/get_load.Po --- xload.o --- mv -f .deps/xload.Tpo .deps/xload.Po --- get_rload.o --- mv -f .deps/get_rload.Tpo .deps/get_rload.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 -------------------------------------------------------------------------------- -- Phase: run-depends -------------------------------------------------------------------------------- ===> 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 -------------------------------------------------------------------------------- -- Phase: stage -------------------------------------------------------------------------------- ===> Staging for xload-1.1.2 ===> Generating temporary packing list Making install in man /bin/mkdir -p '/construction/x11/xload/stage/usr/local/man/man1' install -m 0644 xload.1 '/construction/x11/xload/stage/usr/local/man/man1' /bin/mkdir -p '/construction/x11/xload/stage/usr/local/bin' install -s -m 555 xload '/construction/x11/xload/stage/usr/local/bin' /bin/mkdir -p '/construction/x11/xload/stage/usr/local/share/X11/app-defaults' install -m 0644 app-defaults/XLoad '/construction/x11/xload/stage/usr/local/share/X11/app-defaults' ====> Compressing man pages (compress-man) -------------------------------------------------------------------------------- -- Phase: package -------------------------------------------------------------------------------- ===> Building package for xload-1.1.2 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done -------------------------------------------------- -- Termination -------------------------------------------------- Finished: Friday, 20 APR 2018 at 11:26:21 UTC Duration: 00:00:09