=> Building x11/viewres build started at Wed Oct 5 18:19:34 PDT 2016 port directory: /usr/ports/x11/viewres 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/bleeding-edge-default/ref/../02//usr/ports/x11/viewres/Makefile Makefile ident: Poudriere version: 3.1-pre Host OSVERSION: 400700 Jail OSVERSION: 400702 !!! Jail is newer than host. (Jail: 400702, Host: 400700) !!! !!! This is not supported. !!! !!! Host kernel must be same or newer than jail. !!! !!! Expect build failures. !!! ---Begin Environment--- STATUS=1 SAVED_TERM=screen MASTERMNT=/build/boomdata/data/.m/bleeding-edge-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=viewres-1.0.4 OLDPWD=/root/boom PWD=/build/boomdata/data/.m/bleeding-edge-default/ref/.p/pool MASTERNAME=bleeding-edge-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/viewres XDG_CONFIG_HOME=/wrkdirs/x11/viewres HOME=/wrkdirs/x11/viewres 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/viewres XDG_CONFIG_HOME=/wrkdirs/x11/viewres HOME=/wrkdirs/x11/viewres 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.7 PREFIX=%D LOCALBASE=/usr/local RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib PROFILE="@comment " DOCSDIR="share/doc/viewres" EXAMPLESDIR="share/examples/viewres" DATADIR="share/viewres" WWWDIR="www/viewres" ETCDIR="etc/viewres" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/viewres DOCSDIR=/usr/local/share/doc/viewres EXAMPLESDIR=/usr/local/share/examples/viewres WWWDIR=/usr/local/www/viewres ETCDIR=/usr/local/etc/viewres --End SUB_LIST-- ---Begin make.conf--- USE_PACKAGE_DEPENDS=yes BATCH=yes WRKDIRPREFIX=/wrkdirs 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--- =================================================== =========================================================================== =================================================== ===> viewres-1.0.4 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 ===> viewres-1.0.4 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of viewres-1.0.4 =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by viewres-1.0.4 for building =========================================================================== =================================================== ===> Fetching all distfiles required by viewres-1.0.4 for building => SHA256 Checksum OK for xorg/app/viewres-1.0.4.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Fetching all distfiles required by viewres-1.0.4 for building ===> Extracting for viewres-1.0.4 => SHA256 Checksum OK for xorg/app/viewres-1.0.4.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for viewres-1.0.4 =========================================================================== =================================================== ===> viewres-1.0.4 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 ===> viewres-1.0.4 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of viewres-1.0.4 ===> viewres-1.0.4 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 ===> viewres-1.0.4 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of viewres-1.0.4 ===> viewres-1.0.4 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 ===> viewres-1.0.4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of viewres-1.0.4 ===> viewres-1.0.4 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 ===> viewres-1.0.4 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of viewres-1.0.4 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for viewres-1.0.4 configure: loading site script /usr/ports/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 to enable maintainer-specific portions of Makefiles... no 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 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-dragonfly4.7 checking host system type... x86_64-portbld-dragonfly4.7 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 for VIEWRES... yes 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 viewres-1.0.4 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- viewres.1 --- /usr/bin/sed -e 's|__vendorversion__|"viewres 1.0.4" "X Version 11"|' -e 's|__xorgversion__|"viewres 1.0.4" "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' < viewres.man > viewres.1 --- viewres.o --- cc -DHAVE_CONFIG_H -I. -I/usr/local/include -D_THREAD_SAFE -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 -pipe -O2 -fno-strict-aliasing -MT viewres.o -MD -MP -MF .deps/viewres.Tpo -c -o viewres.o viewres.c In file included from viewres.c:34:0: /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ viewres.c:96:34: note: in expansion of macro 'XtNsensitive' static Arg sensitiveargs[2] = {{ XtNsensitive, (XtArgVal) FALSE }, ^ /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ viewres.c:97:13: note: in expansion of macro 'XtNsensitive' { XtNsensitive, (XtArgVal) TRUE }}; ^ viewres.c:107:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-top", "*topObject", XrmoptionSepArg, (XPointer) NULL }, ^ viewres.c:107:15: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-top", "*topObject", XrmoptionSepArg, (XPointer) NULL }, ^ viewres.c:108:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-variable", "*showVariable", XrmoptionNoArg, (XPointer) "on" }, ^ viewres.c:108:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-variable", "*showVariable", XrmoptionNoArg, (XPointer) "on" }, ^ viewres.c:108:53: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] { "-variable", "*showVariable", XrmoptionNoArg, (XPointer) "on" }, ^ viewres.c:109:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-vertical", "*Tree.Gravity", XrmoptionNoArg, (XPointer) "north" } ^ viewres.c:109:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "-vertical", "*Tree.Gravity", XrmoptionNoArg, (XPointer) "north" } ^ viewres.c:109:53: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] { "-vertical", "*Tree.Gravity", XrmoptionNoArg, (XPointer) "north" } ^ viewres.c:123:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "topObject", "TopObject", XtRString, sizeof(char *), ^ viewres.c:123:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "topObject", "TopObject", XtRString, sizeof(char *), ^ In file included from viewres.c:34:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ viewres.c:123:33: note: in expansion of macro 'XtRString' { "topObject", "TopObject", XtRString, sizeof(char *), ^ /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ viewres.c:124:22: note: in expansion of macro 'XtRString' Offset(top_object), XtRString, (XtPointer) "object" }, ^ viewres.c:124:33: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] Offset(top_object), XtRString, (XtPointer) "object" }, ^ viewres.c:125:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showVariable", "ShowVariable", XtRBoolean, sizeof(Boolean), ^ viewres.c:125:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "showVariable", "ShowVariable", XtRBoolean, sizeof(Boolean), ^ In file included from viewres.c:34:0: /usr/local/include/X11/StringDefs.h:786:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRBoolean ((char*)&XtStrings[1561]) ^ viewres.c:125:39: note: in expansion of macro 'XtRBoolean' { "showVariable", "ShowVariable", 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]) ^ viewres.c:126:25: note: in expansion of macro 'XtRImmediate' Offset(show_variable), XtRImmediate, (XtPointer) FALSE }, ^ viewres.c:165:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Quit", ActionQuit }, ^ viewres.c:166:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "SetLabelType", ActionSetLableType }, ^ viewres.c:167:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "SetOrientation", ActionSetOrientation }, ^ viewres.c:168:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Select", ActionSelect }, ^ viewres.c:169:7: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] { "Resources", ActionResources }, ^ In file included from viewres.c:47:0: /usr/local/include/X11/Xaw/Toggle.h:94:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^ viewres.c:226:31: note: in expansion of macro 'XtNstate' static Arg false_args[1] = {{ XtNstate, (XtArgVal) FALSE }}; ^ /usr/local/include/X11/Xaw/Toggle.h:94:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNstate "state" ^ viewres.c:227:30: note: in expansion of macro 'XtNstate' static Arg true_args[1] = {{ XtNstate, (XtArgVal) TRUE }}; ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from viewres.c:35: viewres.c: In function 'create_resource_lw': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:473:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNnumberStrings, 3 * d->nnew); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:474:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNlist, d->resource_labels); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:475:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNdefaultColumns, 3); n++; ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:476:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNforceColumns, TRUE); n++; ^ In file included from viewres.c:34:0: viewres.c: In function 'update_selection_items': /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ viewres.c:488:29: note: in expansion of macro 'XtNsensitive' static Arg args[1] = {{ XtNsensitive, (XtArgVal) FALSE }}; ^ viewres.c: In function 'select_callback': viewres.c:620:18: warning: declaration of 'node' shadows a previous local [-Wshadow] XmuWidgetNode *node = selected_list.elements[i]; ^ viewres.c:593:20: note: shadowed declaration is here XmuWidgetNode *node; ^ viewres.c:658:18: warning: declaration of 'node' shadows a previous local [-Wshadow] XmuWidgetNode *node = selected_list.elements[i]; ^ viewres.c:593:20: note: shadowed declaration is here XmuWidgetNode *node; ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from viewres.c:35: viewres.c: In function 'panner_callback': /usr/local/include/X11/StringDefs.h:570:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNx ((char*)&XtStrings[885]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:736:24: note: in expansion of macro 'XtNx' XtSetArg (args[0], XtNx, -rep->slider_x); ^ /usr/local/include/X11/StringDefs.h:573:15: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNy ((char*)&XtStrings[887]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:737:24: note: in expansion of macro 'XtNy' XtSetArg (args[1], XtNy, -rep->slider_y); ^ viewres.c: In function 'porthole_callback': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:753:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNsliderX, rep->slider_x); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:754:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[1], XtNsliderY, rep->slider_y); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:756:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[2], XtNsliderWidth, rep->slider_width); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:757:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[3], XtNsliderHeight, rep->slider_height); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:758:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[4], XtNcanvasWidth, rep->canvas_width); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:759:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[5], XtNcanvasHeight, rep->canvas_height); ^ viewres.c: In function 'build_tree': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:780:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[n], XtNtreeParent, super); n++; ^ /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) )) ^ viewres.c:784:24: note: in expansion of macro 'XtNlabel' XtSetArg (args[n], XtNlabel, (options.show_variable ? ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:786:24: note: in expansion of macro 'XtNcallback' XtSetArg (args[n], XtNcallback, callback_rec); n++; ^ viewres.c: In function 'set_node_labels': /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) )) ^ viewres.c:809:24: note: in expansion of macro 'XtNlabel' XtSetArg (args[0], XtNlabel, (options.show_variable ? ^ In file included from viewres.c:34:0: viewres.c: In function 'oneof_sensitive': /usr/local/include/X11/StringDefs.h:510:23: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNsensitive ((char*)&XtStrings[711]) ^ viewres.c:822:30: note: in expansion of macro 'XtNsensitive' static Arg args[1] = { { XtNsensitive, (XtArgVal) NULL } }; ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from viewres.c:35: viewres.c: In function 'set_orientation_menu': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:856:2: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNgravity, grav); ^ viewres.c: In function 'main': viewres.c:888:18: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] &argc, argv, (char **) fallback_resources, ^ In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from viewres.c:35: /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:913:24: note: in expansion of macro 'XtNwidth' XtSetArg (args[0], XtNwidth, 1); ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:914:24: note: in expansion of macro 'XtNheight' XtSetArg (args[1], XtNheight, 1); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:935:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNmenuName, "viewMenu"); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:940:24: note: in expansion of macro 'XtNcallback' XtSetArg (args[0], XtNcallback, callback_rec); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:968:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNmenuName, "selectMenu"); ^ /usr/local/include/X11/StringDefs.h:351:22: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNcallback ((char*)&XtStrings[136]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:973:24: note: in expansion of macro 'XtNcallback' XtSetArg (args[0], XtNcallback, callback_rec); ^ /usr/local/include/X11/StringDefs.h:333:30: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNbackgroundPixmap ((char*)&XtStrings[63]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1000:24: note: in expansion of macro 'XtNbackgroundPixmap' XtSetArg (args[0], XtNbackgroundPixmap, None); /* faster updates */ ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1006:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNreportCallback, callback_rec); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1023:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNgravity, &grav); ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1041:24: note: in expansion of macro 'XtNwidth' XtSetArg (args[0], XtNwidth, &canvasWidth); ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1042:24: note: in expansion of macro 'XtNheight' XtSetArg (args[1], XtNheight, &canvasHeight); ^ /usr/local/include/X11/StringDefs.h:564:19: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNwidth ((char*)&XtStrings[872]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1045:24: note: in expansion of macro 'XtNwidth' XtSetArg (args[0], XtNwidth, &sliderWidth); ^ /usr/local/include/X11/StringDefs.h:384:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtNheight ((char*)&XtStrings[234]) ^ /usr/local/include/X11/Intrinsic.h:1152:28: note: in definition of macro 'XtSetArg' ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1046:24: note: in expansion of macro 'XtNheight' XtSetArg (args[1], XtNheight, &sliderHeight); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1049:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[0], XtNcanvasWidth, canvasWidth); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1050:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[1], XtNcanvasHeight, canvasHeight); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1051:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[2], XtNsliderWidth, sliderWidth); ^ /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1052:5: note: in expansion of macro 'XtSetArg' XtSetArg (args[3], XtNsliderHeight, sliderHeight); ^ viewres.c: In function 'ActionSetOrientation': /usr/local/include/X11/Intrinsic.h:1152:25: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] ((void)( (arg).name = (n), (arg).value = (XtArgVal)(d) )) ^ viewres.c:1123:2: note: in expansion of macro 'XtSetArg' XtSetArg (arg, XtNgravity, &oldgrav); ^ In file included from viewres.c:34:0: /usr/local/include/X11/StringDefs.h:876:20: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRString ((char*)&XtStrings[1797]) ^ viewres.c:1140:33: note: in expansion of macro 'XtRString' XtConvertAndStore (treeWidget, XtRString, &fromval, ^ /usr/local/include/X11/StringDefs.h:957:21: warning: cast discards 'const' qualifier from pointer target type [-Wcast-qual] #define XtRGravity ((char*)&XtStrings[2042]) ^ viewres.c:1141:7: note: in expansion of macro 'XtRGravity' XtRGravity, &toval); ^ mv -f .deps/viewres.Tpo .deps/viewres.Po --- viewres --- cc -I/usr/local/include -D_THREAD_SAFE -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 -pipe -O2 -fno-strict-aliasing -o viewres viewres.o -L/usr/local/lib -lXaw7 -lXmu -lXt -lX11 =========================================================================== =================================================== ===> viewres-1.0.4 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> viewres-1.0.4 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===> Staging for viewres-1.0.4 ===> Generating temporary packing list Making install in man test -z "/usr/local/man/man1" || /bin/mkdir -p "/wrkdirs/x11/viewres/stage/usr/local/man/man1" install -m 0644 viewres.1 '/wrkdirs/x11/viewres/stage/usr/local/man/man1' test -z "/usr/local/bin" || /bin/mkdir -p "/wrkdirs/x11/viewres/stage/usr/local/bin" install -s -m 555 viewres '/wrkdirs/x11/viewres/stage/usr/local/bin' test -z "/usr/local/share/X11/app-defaults" || /bin/mkdir -p "/wrkdirs/x11/viewres/stage/usr/local/share/X11/app-defaults" install -m 0644 app-defaults/Viewres app-defaults/Viewres-color '/wrkdirs/x11/viewres/stage/usr/local/share/X11/app-defaults' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for viewres-1.0.4 file sizes/checksums [4]: . done packing files [4]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for viewres-1.0.4 build of x11/viewres ended at Wed Oct 5 18:19:45 PDT 2016 build time: 00:00:11