=> Building x11/xmag build started at Wed Oct 5 12:53:36 PDT 2016 port directory: /usr/ports/x11/xmag 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/../10//usr/ports/x11/xmag/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=xmag-1.0.6 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/xmag XDG_CONFIG_HOME=/wrkdirs/x11/xmag HOME=/wrkdirs/x11/xmag 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/xmag XDG_CONFIG_HOME=/wrkdirs/x11/xmag HOME=/wrkdirs/x11/xmag 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/xmag" EXAMPLESDIR="share/examples/xmag" DATADIR="share/xmag" WWWDIR="www/xmag" ETCDIR="etc/xmag" --End PLIST_SUB-- --SUB_LIST-- PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/xmag DOCSDIR=/usr/local/share/doc/xmag EXAMPLESDIR=/usr/local/share/examples/xmag WWWDIR=/usr/local/www/xmag ETCDIR=/usr/local/etc/xmag --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--- =================================================== ===> License MIT accepted by the user =========================================================================== =================================================== ===> xmag-1.0.6 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 ===> xmag-1.0.6 depends on file: /usr/local/sbin/pkg - found ===> Returning to build of xmag-1.0.6 =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xmag-1.0.6 for building =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xmag-1.0.6 for building => SHA256 Checksum OK for xorg/app/xmag-1.0.6.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> License MIT accepted by the user ===> Fetching all distfiles required by xmag-1.0.6 for building ===> Extracting for xmag-1.0.6 => SHA256 Checksum OK for xorg/app/xmag-1.0.6.tar.bz2. =========================================================================== =================================================== =========================================================================== =================================================== ===> Patching for xmag-1.0.6 =========================================================================== =================================================== ===> xmag-1.0.6 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 ===> xmag-1.0.6 depends on package: pkgconf>=0.9.10 - found ===> Returning to build of xmag-1.0.6 ===> xmag-1.0.6 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 ===> xmag-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xorg-macros.pc - found ===> Returning to build of xmag-1.0.6 ===> xmag-1.0.6 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 ===> xmag-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> Returning to build of xmag-1.0.6 ===> xmag-1.0.6 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 ===> xmag-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found ===> Returning to build of xmag-1.0.6 =========================================================================== =================================================== =========================================================================== =================================================== ===> Configuring for xmag-1.0.6 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 make supports nested variables... yes checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for cc option to accept ISO C99... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... no checking pkg-config is at least version 0.9.0... yes checking build system type... x86_64-portbld-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 -Wmissing-noreturn... yes checking if cc supports -Wmissing-format-attribute... yes checking if cc supports -Wredundant-decls... yes checking if cc supports -Wlogical-op... yes checking if cc supports -Werror=implicit... yes checking if cc supports -Werror=nonnull... yes checking if cc supports -Werror=init-self... yes checking if cc supports -Werror=main... yes checking if cc supports -Werror=missing-braces... yes checking if cc supports -Werror=sequence-point... yes checking if cc supports -Werror=return-type... yes checking if cc supports -Werror=trigraphs... yes checking if cc supports -Werror=array-bounds... yes checking if cc supports -Werror=write-strings... yes checking if cc supports -Werror=address... yes checking if cc supports -Werror=int-to-pointer-cast... yes checking if cc supports -Werror=pointer-to-int-cast... yes checking if cc supports -pedantic... yes checking if cc supports -Werror... yes checking if cc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for nanosleep... yes checking for poll... (cached) yes checking for select... (cached) yes checking for library containing floor... -lm checking for library containing lrint... none required checking for lrint... yes checking for XMAG... 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 xmag-1.0.6 --- all --- /usr/bin/make all-recursive --- all-recursive --- Making all in man --- xmag.1 --- /usr/bin/sed -e 's|__vendorversion__|"xmag 1.0.6" "X Version 11"|' -e 's|__xorgversion__|"xmag 1.0.6" "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' < xmag.man > xmag.1 --- CutPaste.o --- --- RootWin.o --- --- Scale.o --- --- xmag.o --- --- Scale.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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MT Scale.o -MD -MP -MF .deps/Scale.Tpo -c -o Scale.o Scale.c --- xmag.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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MT xmag.o -MD -MP -MF .deps/xmag.Tpo -c -o xmag.o xmag.c --- CutPaste.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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MT CutPaste.o -MD -MP -MF .deps/CutPaste.Tpo -c -o CutPaste.o CutPaste.c --- RootWin.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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -MT RootWin.o -MD -MP -MF .deps/RootWin.Tpo -c -o RootWin.o RootWin.c RootWin.c:39:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "RootWindow", ^ --- xmag.o --- xmag.c:158:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"geometry", "Geometry", XtRString, sizeof(String), ^ xmag.c:158:16: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"geometry", "Geometry", XtRString, sizeof(String), ^ xmag.c:160:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mag", "Mag", XtRString, sizeof(String), ^ xmag.c:160:11: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"mag", "Mag", XtRString, sizeof(String), ^ xmag.c:162:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"source", "Source", XtRString, sizeof(String), ^ xmag.c:162:14: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"source", "Source", XtRString, sizeof(String), ^ xmag.c:164:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"title", XtCString, XtRString, sizeof(char *), ^ xmag.c:165:32: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] Offset(title), XtRString, "xmag"}, ^ xmag.c:170:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bd", "*borderColor", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:170:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bd", "*borderColor", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:171:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bg", "*background", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:171:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bg", "*background", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:172:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bw", "*borderWidth", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:172:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-bw", "*borderWidth", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:174:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-geometry", "*geometry", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:174:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-geometry", "*geometry", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:175:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-mag", "*mag", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:175:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-mag", "*mag", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:176:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-source", "*source", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:176:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-source", "*source", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:177:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-title", "*title", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:177:17: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"-title", "*title", XrmoptionSepArg, (XtPointer)NULL}, ^ xmag.c:185:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"close", CloseAP}, ^ xmag.c:186:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"set-colors", SetCmapPropsAP}, ^ xmag.c:187:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unset-colors", UnsetCmapPropsAP}, ^ xmag.c:188:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"new", NewAP}, ^ xmag.c:189:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"replace", ReplaceAP}, ^ xmag.c:190:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"popup-pixel", PopupPixelAP}, ^ xmag.c:191:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"update-pixel", UpdatePixelAP}, ^ xmag.c:192:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"popdown-pixel", PopdownPixelAP}, ^ xmag.c:193:4: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"select-region", SelectRegionAP} ^ xmag.c: In function 'Error': xmag.c:203:16: warning: declaration of 'dpy' shadows a global declaration [-Wshadow] Error(Display *dpy, XErrorEvent *err) ^ xmag.c:107:17: note: shadowed declaration is here static Display *dpy; ^ In file included from xmag.c:34:0: xmag.c: In function 'CloseAP': /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) )) ^ xmag.c:221:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'SetCmapPropsAP': /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) )) ^ xmag.c:240:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'UnsetCmapPropsAP': /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) )) ^ xmag.c:260:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'ReplaceAP': /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) )) ^ xmag.c:291:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'PopupPixelAP': /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) )) ^ xmag.c:313:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'UpdatePixelAP': /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) )) ^ xmag.c:361:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'PopdownPixelAP': /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) )) ^ xmag.c:393:3: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[0], XtNuserData, &data); n++; ^ xmag.c: In function 'PopupNewScale': /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) )) ^ xmag.c:998:3: note: in expansion of macro 'XtSetArg' XtSetArg(warg, XtNuserData, data); ^ xmag.c:1011:23: warning: cast from function call of type 'Pixel {aka long unsigned int}' to non-matching type 'void *' [-Wbad-function-cast] XtNforeground, (XtPointer)GetMaxIntensity(data), ^ xmag.c:1012:23: warning: cast from function call of type 'Pixel {aka long unsigned int}' to non-matching type 'void *' [-Wbad-function-cast] XtNbackground, (XtPointer)GetMinIntensity(data), ^ --- Scale.o --- In file included from ScaleP.h:36:0, from Scale.c:46: Scale.h:85:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNgravity "gravity" ^ Scale.c:70:2: note: in expansion of macro 'XtNgravity' {XtNgravity, XtCGravity, XtRGravity, sizeof(XtGravity), ^ Scale.h:86:20: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCGravity "Gravity" ^ Scale.c:70:14: note: in expansion of macro 'XtCGravity' {XtNgravity, XtCGravity, XtRGravity, sizeof(XtGravity), ^ Scale.h:79:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNautoscale "autoscale" ^ Scale.c:78:2: note: in expansion of macro 'XtNautoscale' {XtNautoscale, XtCAutoscale, XtRBoolean, sizeof(Boolean), ^ Scale.h:80:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAutoscale "Autoscale" ^ Scale.c:78:16: note: in expansion of macro 'XtCAutoscale' {XtNautoscale, XtCAutoscale, XtRBoolean, sizeof(Boolean), ^ Scale.h:81:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNproportional "proportional" ^ Scale.c:80:2: note: in expansion of macro 'XtNproportional' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^ Scale.h:82:25: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCProportional "Proportional" ^ Scale.c:80:19: note: in expansion of macro 'XtCProportional' {XtNproportional, XtCProportional, XtRBoolean, sizeof(Boolean), ^ Scale.h:76:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNscaleX "scaleX" ^ Scale.c:82:2: note: in expansion of macro 'XtNscaleX' {XtNscaleX, XtCScaleFactor, XtRString, sizeof(String), ^ Scale.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScaleFactor "ScaleFactor" ^ Scale.c:82:13: note: in expansion of macro 'XtCScaleFactor' {XtNscaleX, XtCScaleFactor, XtRString, sizeof(String), ^ Scale.h:77:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNscaleY "scaleY" ^ Scale.c:84:2: note: in expansion of macro 'XtNscaleY' {XtNscaleY, XtCScaleFactor, XtRString, sizeof(String), ^ Scale.h:78:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCScaleFactor "ScaleFactor" ^ Scale.c:84:13: note: in expansion of macro 'XtCScaleFactor' {XtNscaleY, XtCScaleFactor, XtRString, sizeof(String), ^ Scale.h:72:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNaspectRatio "aspectRatio" ^ Scale.c:86:2: note: in expansion of macro 'XtNaspectRatio' {XtNaspectRatio, XtCAspectRatio, XtRString, sizeof(String), ^ Scale.h:73:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCAspectRatio "AspectRatio" ^ Scale.c:86:18: note: in expansion of macro 'XtCAspectRatio' {XtNaspectRatio, XtCAspectRatio, XtRString, sizeof(String), ^ Scale.h:83:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNprecision "precision" ^ Scale.c:88:2: note: in expansion of macro 'XtNprecision' {XtNprecision, XtCPrecision, XtRString, sizeof(String), ^ Scale.h:84:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPrecision "Precision" ^ Scale.c:88:16: note: in expansion of macro 'XtCPrecision' {XtNprecision, XtCPrecision, XtRString, sizeof(String), ^ Scale.h:89:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNimage "image" ^ Scale.c:90:2: note: in expansion of macro 'XtNimage' {XtNimage, XtCImage, XtRImage, sizeof(XImage*), ^ Scale.h:90:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCImage "image" ^ Scale.c:90:12: note: in expansion of macro 'XtCImage' {XtNimage, XtCImage, XtRImage, sizeof(XImage*), ^ Scale.h:96:18: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRImage "Image" ^ Scale.c:90:22: note: in expansion of macro 'XtRImage' {XtNimage, XtCImage, XtRImage, sizeof(XImage*), ^ Scale.h:87:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNpasteBuffer "pasteBuffer" ^ Scale.c:92:2: note: in expansion of macro 'XtNpasteBuffer' {XtNpasteBuffer, XtCPasteBuffer, XtRBoolean, sizeof(Boolean), ^ Scale.h:88:24: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCPasteBuffer "PasteBuffer" ^ Scale.c:92:18: note: in expansion of macro 'XtCPasteBuffer' {XtNpasteBuffer, XtCPasteBuffer, XtRBoolean, sizeof(Boolean), ^ Scale.h:74:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNbufferSize "bufferSize" ^ Scale.c:94:2: note: in expansion of macro 'XtNbufferSize' {XtNbufferSize, XtCBufferSize, XtRCardinal, sizeof(Cardinal), ^ Scale.h:75:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCBufferSize "BufferSize" ^ Scale.c:94:17: note: in expansion of macro 'XtCBufferSize' {XtNbufferSize, XtCBufferSize, XtRCardinal, sizeof(Cardinal), ^ Scale.h:93:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNuserData "userData" ^ Scale.c:96:2: note: in expansion of macro 'XtNuserData' {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), ^ Scale.h:94:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCuserData "UserData" ^ Scale.c:96:15: note: in expansion of macro 'XtCuserData' {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), ^ Scale.h:95:21: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtRuserData "UserData" ^ Scale.c:96:28: note: in expansion of macro 'XtRuserData' {XtNuserData, XtCuserData, XtRuserData, sizeof(XtPointer), ^ Scale.h:98:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtNvisual "visual" ^ Scale.c:98:3: note: in expansion of macro 'XtNvisual' { XtNvisual, XtCvisual, XtRVisual, sizeof(Visual*), ^ Scale.h:100:19: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] #define XtCvisual "Visual" ^ Scale.c:98:14: note: in expansion of macro 'XtCvisual' { XtNvisual, XtCvisual, XtRVisual, sizeof(Visual*), ^ Scale.c:140:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"unscale", SWUnscale}, ^ Scale.c:141:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"autoscale", SWAutoscale}, ^ Scale.c:142:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"initial-size", SWInitialSize}, ^ Scale.c:143:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"paste", RequestSelection}, ^ Scale.c:144:2: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"cut", GrabSelection} ^ Scale.c:157:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] /* class_name */ "Scale", ^ Scale.c: In function 'SWGetImagePixel': Scale.c:536:14: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] *img_x = (Position) floor(x / sw->scale.scale_x); ^ Scale.c:537:14: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] *img_y = (Position) floor(y / sw->scale.scale_y); ^ Scale.c: In function 'Redisplay': Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ Scale.c:574:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_x = min(max((Position) floor((float) x ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:574:14: note: in expansion of macro 'max' img_x = min(max((Position) floor((float) x ^ Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:21: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ Scale.c:578:18: warning: cast from function call of type 'double' to non-matching type 'short int' [-Wbad-function-cast] img_y = min(max((Position) floor((float) y ^ Scale.c:56:39: note: in definition of macro 'min' #define min(x, y) ((x) > (y) ? (y) : (x)) ^ Scale.c:578:14: note: in expansion of macro 'max' img_y = min(max((Position) floor((float) y ^ Scale.c:587:10: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] (Dimension) ceil((float) width ^ Scale.c:589:10: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] (Dimension) ceil((float) height ^ Scale.c: In function 'TryResize': Scale.c:603:13: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] width = (Dimension) ^ Scale.c:606:14: warning: cast from function call of type 'double' to non-matching type 'short unsigned int' [-Wbad-function-cast] height = (Dimension) ^ --- CutPaste.o --- mv -f .deps/CutPaste.Tpo .deps/CutPaste.Po --- Scale.o --- In file included from /usr/local/include/X11/IntrinsicP.h:51:0, from Scale.c:40: Scale.c: In function 'SWSetImage': /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) )) ^ Scale.c:991:5: note: in expansion of macro 'XtSetArg' XtSetArg(wargs[n], XtNimage, (XtArgVal) image); n++; ^ --- RootWin.o --- mv -f .deps/RootWin.Tpo .deps/RootWin.Po --- Scale.o --- mv -f .deps/Scale.Tpo .deps/Scale.Po --- xmag.o --- mv -f .deps/xmag.Tpo .deps/xmag.Po --- xmag --- 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 -Wmissing-noreturn -Wmissing-format-attribute -Wredundant-decls -Wlogical-op -Werror=implicit -Werror=nonnull -Werror=init-self -Werror=main -Werror=missing-braces -Werror=sequence-point -Werror=return-type -Werror=trigraphs -Werror=array-bounds -Werror=write-strings -Werror=address -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -o xmag CutPaste.o RootWin.o Scale.o xmag.o -L/usr/local/lib -lXaw7 -lXmu -lXt -lX11 -lm =========================================================================== =================================================== ===> xmag-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xt.pc - found ===> xmag-1.0.6 depends on file: /usr/local/libdata/pkgconfig/xaw7.pc - found =========================================================================== =================================================== ===> Staging for xmag-1.0.6 ===> Generating temporary packing list Making install in man /bin/mkdir -p '/wrkdirs/x11/xmag/stage/usr/local/man/man1' install -m 0644 xmag.1 '/wrkdirs/x11/xmag/stage/usr/local/man/man1' /bin/mkdir -p '/wrkdirs/x11/xmag/stage/usr/local/bin' install -s -m 555 xmag '/wrkdirs/x11/xmag/stage/usr/local/bin' /bin/mkdir -p '/wrkdirs/x11/xmag/stage/usr/local/share/X11/app-defaults' install -m 0644 app-defaults/Xmag '/wrkdirs/x11/xmag/stage/usr/local/share/X11/app-defaults' ====> Compressing man pages (compress-man) =========================================================================== =================================================== ===> Building package for xmag-1.0.6 file sizes/checksums [6]: . done packing files [6]: . done packing directories [0]: . done =========================================================================== => Cleaning up wrkdir ===> Cleaning for xmag-1.0.6 build of x11/xmag ended at Wed Oct 5 12:53:49 PDT 2016 build time: 00:00:13