Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Sep 2020 16:31:33 GMT
From:      pkg-fallout@FreeBSD.org
To:        oliver@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - head-i386-default][games/heretic] Failed for heretic-1.2_8 in build
Message-ID:  <202009221631.08MGVXX7046339@beefy17.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     oliver@FreeBSD.org
Last committer: zeising@FreeBSD.org
Ident:          $FreeBSD: head/games/heretic/Makefile 517008 2019-11-07 20:19:59Z zeising $
Log URL:        http://beefy17.nyi.freebsd.org/data/head-i386-default/p549547_s365984/logs/heretic-1.2_8.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=head-i386-default&build=p549547_s365984
Log:

=>> Building games/heretic
build started at Tue Sep 22 16:31:22 UTC 2020
port directory: /usr/ports/games/heretic
package name: heretic-1.2_8
building for: FreeBSD head-i386-default-job-08 13.0-CURRENT FreeBSD 13.0-CURRENT 1300115 i386
maintained by: oliver@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/heretic/Makefile 517008 2019-11-07 20:19:59Z zeising $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300100
Jail OSVERSION: 1300115
Job Id: 08




!!! Jail is newer than host. (Jail: 1300115, Host: 1300100) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300115
UNAME_v=FreeBSD 13.0-CURRENT 1300115
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for heretic-1.2_8:
     DOCS=on: Build and/or install documentation
     WAD=on: With shareware WAD
====> Graphics Selections: you have to select exactly one of them
     X11=on: X11 (graphics) support
     FASTX11=off: Use FastX11
     SDL=off: Simple Direct Media Layer support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
oliver@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/games/heretic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/heretic/work  HOME=/wrkdirs/usr/ports/games/heretic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/heretic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/games/heretic/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/heretic/work  HOME=/wrkdirs/usr/ports/games/heretic/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/heretic/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -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"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" DOCS="" NO_DOCS="@comment " FASTX11="@comment " NO_FASTX11="" SDL="@comment " NO_SDL="" WAD="" NO_WAD="@comment " X11="" NO_X11="@comment " OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/heretic"  EXAMPLESDIR="share/examples/heretic"  DATADIR="share/heretic"  WWWDIR="www/heretic"  ETCDIR="etc/heretic"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " FASTX11="@comment " NO_FASTX11="" SDL="@comment " NO_SDL="" WAD="" NO_WAD="@comment " X11="" NO_X11="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/heretic DOCSDIR=/usr/local/share/doc/heretic EXAMPLESDIR=/usr/local/share/examples/heretic  WWWDIR=/usr/local/www/heretic ETCDIR=/usr/local/etc/heretic
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.0 (git@github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-91-g6e042866c30) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300115
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   heretic-1.2_8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.15.5.txz
[head-i386-default-job-08] Installing pkg-1.15.5...
[head-i386-default-job-08] Extracting pkg-1.15.5: .......... done
===>   heretic-1.2_8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of heretic-1.2_8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by heretic-1.2_8 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by heretic-1.2_8 for building
=> SHA256 Checksum OK for glheretic-1.2.tar.gz.
=> SHA256 Checksum OK for heretic_share.wad.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by heretic-1.2_8 for building
===>  Extracting for heretic-1.2_8
=> SHA256 Checksum OK for glheretic-1.2.tar.gz.
=> SHA256 Checksum OK for heretic_share.wad.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for heretic-1.2_8
===>   Converting DOS text files to UNIX text files
===>  Applying FreeBSD patches for heretic-1.2_8 from /usr/ports/games/heretic/files
===========================================================================
<snip>
p_spec.c:1103:9: note: add parentheses around left hand side expression to silence this warning
          if ((!s2->lines[i]->flags & ML_TWOSIDED) ||
               ^
               (                   )
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c p_switch.c -o p_switch.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c p_telept.c -o p_telept.o
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c p_tick.c -o p_tick.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c p_user.c -o p_user.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_bsp.c -o r_bsp.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_data.c -o r_data.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_draw.c -o r_draw.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_plane.c -o r_plane.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_segs.c -o r_segs.o
r_segs.c:363:17: warning: taking the absolute value of unsigned type 'unsigned int' has no effect [-Wabsolute-value]
  offsetangle = abs(rw_normalangle-rw_angle1);
                ^
r_segs.c:363:17: note: remove the call to 'abs' since unsigned values cannot be negative
  offsetangle = abs(rw_normalangle-rw_angle1);
                ^~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_things.c -o r_things.o
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c r_main.c -o r_main.o
r_things.c:1040:12: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      -1024<<ANGLETOFINESHIFT)
      ~~~~~^
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c mn_menu.c -o mn_menu.o
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c sb_bar.c -o sb_bar.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c tables.c -o tables.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c v_video.c -o v_video.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c w_wad.c -o w_wad.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c z_zone.c -o z_zone.o
z_zone.c:279:23: warning: invalid conversion specifier 'Z' [-Wformat-invalid-specifier]
  printf("zone size: %Zi  location: %p\n", mainzone->size, mainzone);
                     ~^
z_zone.c:279:44: warning: format specifies type 'void *' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
  printf("zone size: %Zi  location: %p\n", mainzone->size, mainzone);
                                    ~~     ^~~~~~~~~~~~~~
                                    %zu
z_zone.c:279:60: warning: data argument not used by format string [-Wformat-extra-args]
  printf("zone size: %Zi  location: %p\n", mainzone->size, mainzone);
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
z_zone.c:285:29: warning: invalid conversion specifier 'Z' [-Wformat-invalid-specifier]
        printf("block:%p    size:%7Zi    user:%p    tag:%3i\n",
                                 ~~^
z_zone.c:286:10: warning: format specifies type 'void *' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
                block, block->size, block->user, block->tag);
                       ^~~~~~~~~~~
z_zone.c:286:23: warning: format specifies type 'int' but the argument has type 'void **' [-Wformat]
                block, block->size, block->user, block->tag);
                                    ^~~~~~~~~~~
z_zone.c:286:36: warning: data argument not used by format string [-Wformat-extra-args]
                block, block->size, block->user, block->tag);
                                                 ^
z_zone.c:311:27: warning: invalid conversion specifier 'Z' [-Wformat-invalid-specifier]
  fprintf(f, "zone size: %Zi  location: %p\n", mainzone->size, mainzone);
                         ~^
z_zone.c:311:48: warning: format specifies type 'void *' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
  fprintf(f, "zone size: %Zi  location: %p\n", mainzone->size, mainzone);
                                        ~~     ^~~~~~~~~~~~~~
                                        %zu
z_zone.c:311:64: warning: data argument not used by format string [-Wformat-extra-args]
  fprintf(f, "zone size: %Zi  location: %p\n", mainzone->size, mainzone);
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                  ^
z_zone.c:315:38: warning: invalid conversion specifier 'Z' [-Wformat-invalid-specifier]
      fprintf(f, "block:%p    size:%7Zi    user:%p    tag:%3i\n",
                                   ~~^
z_zone.c:316:16: warning: format specifies type 'void *' but the argument has type 'size_t' (aka 'unsigned int') [-Wformat]
               block, block->size, block->user, block->tag);
                      ^~~~~~~~~~~
z_zone.c:316:29: warning: format specifies type 'int' but the argument has type 'void **' [-Wformat]
               block, block->size, block->user, block->tag);
                                   ^~~~~~~~~~~
z_zone.c:316:42: warning: data argument not used by format string [-Wformat-extra-args]
               block, block->size, block->user, block->tag);
                                                ^
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c in_lude.c -o in_lude.o
14 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c info.c -o info.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c i_net.c -o i_net.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c i_system.c -o i_system.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c i_udp.c -o i_udp.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c i_main.c -o i_main.o
i_udp.c:140:36: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                (struct sockaddr *)&fromaddress, &fromlen);
                                                 ^~~~~~~~
/usr/include/sys/socket.h:674:96: note: passing argument to parameter here
ssize_t recvfrom(int, void *, size_t, int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                                               ^
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c soundclient/i_sound.c -o soundclient/i_sound.o
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c soundclient/soundst.c -o soundclient/soundst.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c soundclient/sounds.c -o soundclient/sounds.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c m_misc.c -o m_misc.o
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -c graphics/i_x11.c -o graphics/i_x11.o
graphics/i_x11.c:135:17: warning: 'XKeycodeToKeysym' is deprecated [-Wdeprecated-declarations]
    switch(rc = XKeycodeToKeysym(X_display, X_event.xkey.keycode, 0))
                ^
/usr/local/include/X11/Xlib.h:1686:1: note: 'XKeycodeToKeysym' has been explicitly marked deprecated here
_X_DEPRECATED
^
/usr/local/include/X11/Xfuncproto.h:136:40: note: expanded from macro '_X_DEPRECATED'
# define _X_DEPRECATED  __attribute__((deprecated))
                                       ^
graphics/i_x11.c:1003:34: warning: use of GNU old-style field designator extension [-Wgnu-designator]
  XSizeHints            hints = {flags : 0};
                                 ^~~~~~~
                                 .flags = 
graphics/i_x11.c:1155:35: warning: if statement has empty body [-Wempty-body]
            if (n & XValue || n & YValue);
                                         ^
graphics/i_x11.c:1155:35: note: put the semicolon on a separate line to silence this warning
gmake -C sndserv COPT.arch="-D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""'" sndserver
gmake[2]: Entering directory '/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2/sndserv'
cc -E -M -Wall -Wstrict-prototypes -D__32BIT__ -DHOMEDIR='"/usr/local/share/heretic"' -I/usr/include/sys *.c > .depend
cc -Wall -Wstrict-prototypes -D__32BIT__ -DHOMEDIR='"/usr/local/share/heretic"' -I/usr/include/sys -c soundsrv.c -o soundsrv.o
soundsrv.c:318:12: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
      if (!strcmp(v[i], "-quiet"))
           ^
soundsrv.c:318:12: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
soundsrv.c:515:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
      write(1, badbuff, 5);
      ^
soundsrv.c:527:7: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
      write(1, buff, 5);
      ^
soundsrv.c:620:9: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
                nrc = read(0, commandbuf, 1);
                      ^
soundsrv.c:689:6: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
                          write(fd, S_sfx[sndnum].data, lengths[sndnum]);
                          ^
soundsrv.c:690:6: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
                          close(fd);
                          ^
6 warnings generated.
cc -Wall -Wstrict-prototypes -D__32BIT__ -DHOMEDIR='"/usr/local/share/heretic"' -I/usr/include/sys -c sounds.c -o sounds.o
cc -Wall -Wstrict-prototypes -D__32BIT__ -DHOMEDIR='"/usr/local/share/heretic"' -I/usr/include/sys -c wadread.c -o wadread.o
wadread.c:131:12: warning: implicitly declaring library function 'toupper' with type 'int (int)' [-Wimplicit-function-declaration]
    *s++ = toupper(*s);
           ^
wadread.c:131:12: note: include the header <ctype.h> or explicitly provide a declaration for 'toupper'
wadread.c:131:7: warning: unsequenced modification and access to 's' [-Wunsequenced]
    *s++ = toupper(*s);
      ^             ~
wadread.c:154:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration]
            if (!access(fn, R_OK))
                 ^
wadread.c:165:11: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration]
            if (!access(fn, R_OK))
                 ^
wadread.c:183:26: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration]
                    if (!access(fn, R_OK))
                         ^
wadread.c:200:10: warning: implicit declaration of function 'access' is invalid in C99 [-Wimplicit-function-declaration]
    if (!access(wadname, R_OK))
         ^
wadread.c:231:3: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
  read(wadfile, &header, sizeof header);
  ^
wadread.c:284:2: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
        read(lumpinfo[i].handle, lump, lumpinfo[i].size);
        ^
wadread.c:348:3: warning: implicit declaration of function 'read' is invalid in C99 [-Wimplicit-function-declaration]
  read(wadfile, &header, sizeof header);
  ^
wadread.c:404:10: warning: implicit declaration of function 'getppid' is invalid in C99 [-Wimplicit-function-declaration]
    ppid=getppid();    /* heretic's pid */
         ^
10 warnings generated.
cc -Wall -Wstrict-prototypes -D__32BIT__ -DHOMEDIR='"/usr/local/share/heretic"' -I/usr/include/sys -c linux.c -o linux.o
linux.c:89:3: warning: implicit declaration of function 'write' is invalid in C99 [-Wimplicit-function-declaration]
  write(audio_fd, samples, samplecount*4);
  ^
linux.c:94:3: warning: implicit declaration of function 'close' is invalid in C99 [-Wimplicit-function-declaration]
  close(audio_fd);
  ^
2 warnings generated.
cc -Wall -Wstrict-prototypes -D__32BIT__ -DHOMEDIR='"/usr/local/share/heretic"' -I/usr/include/sys soundsrv.o sounds.o wadread.o linux.o -lm -o sndserver
cp sndserver ../
gmake[2]: Leaving directory '/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2/sndserv'
3 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -DUNIX -DHAVE_USLEEP -DHAVE_MATH_H -DLINUX_MOUSE -DUDP_PROTOCOL -DI_GGI_HERETIC -DNEED_SHMGETEVENTBASE -D__NEWVGALIB__  -D__32BIT__ -DHOMEDIR='"\"/usr/local/share/heretic\""' -I. -I.. -I/usr/local/include -I/usr/local/include -D__DOSOUND__ -DSNDSERV -Isoundclient -D__DOMUSIC__ -DMUSSERV   -L/usr/local/lib -lXext -lX11 am_map.o ct_chat.o d_main.o d_net.o f_finale.o g_game.o p_ceilng.o p_doors.o p_enemy.o p_floor.o p_inter.o p_lights.o p_map.o p_maputl.o p_mobj.o p_plats.o p_pspr.o p_setup.o p_sight.o p_spec.o p_switch.o p_telept.o  p_tick.o p_user.o r_bsp.o r_data.o r_draw.o r_plane.o r_segs.o r_things.o r_main.o mn_menu.o sb_bar.o tables.o v_video.o w_wad.o z_zone.o in_lude.o info.o i_net.o i_system.o i_udp.o i_main.o soundclient/i_sound.o soundclient/soundst.o soundclient/sounds.o m_misc.o \
graphics/i_x11.o -o xheretic
ld: error: duplicate symbol: FontABaseLump
>>> defined at f_finale.c
>>>            f_finale.o:(FontABaseLump)
>>> defined at mn_menu.c
>>>            mn_menu.o:(.bss+0xC)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:184: x11] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/heretic/work/glheretic-1.2'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/games/heretic



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009221631.08MGVXX7046339>