Skip to content

Instantly share code, notes, and snippets.

@nipsy
Created December 29, 2024 21:37
Show Gist options
  • Select an option

  • Save nipsy/53da223192a3c1e258ddd5d6f480d531 to your computer and use it in GitHub Desktop.

Select an option

Save nipsy/53da223192a3c1e258ddd5d6f480d531 to your computer and use it in GitHub Desktop.
xpilot-ng-build-failure.log
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/w1x3v7ckw3nkinjal831dnhpxyiq4yiv-xpilot-ng-4.7.3.tar.gz
source root is xpilot-ng-4.7.3
setting SOURCE_DATE_EPOCH to timestamp 1267838440 of file xpilot-ng-4.7.3/configure
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Updating Autotools / GNU config script to a newer upstream version: ./config/config.sub
Updating Autotools / GNU config script to a newer upstream version: ./config/config.guess
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
patching script interpreter paths in ./configure
./configure: interpreter directive changed from "#! /bin/sh" to "/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/sh"
configure flags: --disable-dependency-tracking --prefix=/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking whether make sets $(MAKE)... (cached) yes
checking for ranlib... ranlib
checking for a BSD-compatible install... /nix/store/4s9rah4cwaxflicsk5cndnknqlk9n4p3-coreutils-9.5/bin/install -c
checking for cos in -lm... yes
checking for gzopen in -lz... yes
checking for XML_ParserCreate in -lexpat... yes
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for xf86misc extensions... yes
checking for sdl-config... /nix/store/rlkmvg3nljvwrspb62w7f45630yypdq4-SDL-1.2.15-dev/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for SDL_ttf... yes
checking for SDL_image... yes
checking for OpenGL support... yes
checking whether time.h and sys/time.h may both be included... yes
checking for grep that handles long lines and -e... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep
checking for egrep... /nix/store/aap6cq56amx4mzbyxp2wpgsf1kqjcr1f-gnugrep-3.11/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking arpa/nameser.h usability... yes
checking arpa/nameser.h presence... yes
checking for arpa/nameser.h... yes
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking bstring.h usability... no
checking bstring.h presence... no
checking for bstring.h... no
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking net/if.h usability... yes
checking net/if.h presence... yes
checking for net/if.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking netinet/tcp.h usability... yes
checking netinet/tcp.h presence... yes
checking for netinet/tcp.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking resolv.h usability... yes
checking resolv.h presence... yes
checking for resolv.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/filio.h usability... no
checking sys/filio.h presence... no
checking for sys/filio.h... no
checking sys/fcntl.h usability... yes
checking sys/fcntl.h presence... yes
checking for sys/fcntl.h... yes
checking sys/inttypes.h usability... no
checking sys/inttypes.h presence... no
checking for sys/inttypes.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/lock.h usability... no
checking sys/lock.h presence... no
checking for sys/lock.h... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/sockio.h usability... no
checking sys/sockio.h presence... no
checking for sys/sockio.h... no
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking X11/X.h usability... yes
checking X11/X.h presence... yes
checking for X11/X.h... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Xos.h usability... yes
checking X11/Xos.h presence... yes
checking for X11/Xos.h... yes
checking X11/Xutil.h usability... yes
checking X11/Xutil.h presence... yes
checking for X11/Xutil.h... yes
checking X11/keysym.h usability... yes
checking X11/keysym.h presence... yes
checking for X11/keysym.h... yes
checking X11/Xatom.h usability... yes
checking X11/Xatom.h presence... yes
checking for X11/Xatom.h... yes
checking X11/Xmd.h usability... yes
checking X11/Xmd.h presence... yes
checking for X11/Xmd.h... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for mode_t... yes
checking return type of signal handlers... void
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for socklen_t... yes
checking for working memcmp... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for function prototypes... yes
checking whether setvbuf arguments are reversed... no
checking whether lstat dereferences a symlink specified with a trailing slash... yes
checking whether stat accepts an empty string... no
checking for strftime... yes
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for alarm... yes
checking for floor... yes
checking for gethostbyaddr... yes
checking for gethostbyname... (cached) yes
checking for gethostname... yes
checking for gettimeofday... yes
checking for inet_ntoa... yes
checking for isascii... yes
checking for memchr... yes
checking for memmove... yes
checking for memset... yes
checking for mkdir... yes
checking for pow... yes
checking for rint... yes
checking for select... yes
checking for socket... yes
checking for sqrt... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strncasecmp... yes
checking for strpbrk... yes
checking for strrchr... yes
checking for strspn... yes
checking for strstr... yes
checking for strtol... yes
checking for strtoul... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating README
config.status: creating contrib/Makefile
config.status: creating contrib/xpngcc/Makefile
config.status: creating doc/Makefile
config.status: creating doc/man/Makefile
config.status: creating lib/Makefile
config.status: creating lib/fonts/Makefile
config.status: creating lib/maps/Makefile
config.status: creating lib/textures/Makefile
config.status: creating lib/sound/Makefile
config.status: creating src/Makefile
config.status: creating src/common/Makefile
config.status: creating src/common/version.h
config.status: creating src/common/NT/Makefile
config.status: creating src/common/NT/bindist/Makefile
config.status: creating src/client/Makefile
config.status: creating src/client/items/Makefile
config.status: creating src/client/sdl/Makefile
config.status: creating src/client/x11/Makefile
config.status: creating src/client/NT/Makefile
config.status: creating src/client/NT/res/Makefile
config.status: creating src/server/Makefile
config.status: creating src/replay/Makefile
config.status: creating src/replay/tools/Makefile
config.status: creating src/mapedit/Makefile
config.status: creating config.h
config.status: executing depfiles commands
Running phase: buildPhase
@nix { "action": "setPhase", "phase": "buildPhase" }
build flags: SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash
make all-recursive
make[1]: Entering directory '/build/xpilot-ng-4.7.3'
Making all in src
make[2]: Entering directory '/build/xpilot-ng-4.7.3/src'
Making all in common
make[3]: Entering directory '/build/xpilot-ng-4.7.3/src/common'
Making all in NT
make[4]: Entering directory '/build/xpilot-ng-4.7.3/src/common/NT'
Making all in bindist
make[5]: Entering directory '/build/xpilot-ng-4.7.3/src/common/NT/bindist'
make[5]: Nothing to be done for 'all'.
make[5]: Leaving directory '/build/xpilot-ng-4.7.3/src/common/NT/bindist'
make[5]: Entering directory '/build/xpilot-ng-4.7.3/src/common/NT'
make[5]: Nothing to be done for 'all-am'.
make[5]: Leaving directory '/build/xpilot-ng-4.7.3/src/common/NT'
make[4]: Leaving directory '/build/xpilot-ng-4.7.3/src/common/NT'
make[4]: Entering directory '/build/xpilot-ng-4.7.3/src/common'
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c arraylist.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c checknames.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c config.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c error.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c list.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c math.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c net.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c portability.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c randommt.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c shipshape.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c socklib.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c strcasecmp.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c strdup.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c strlcpy.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -g -O2 -c xpmemory.c
rm -f libxpcommon.a
ar cru libxpcommon.a arraylist.o checknames.o config.o error.o list.o math.o net.o portability.o randommt.o shipshape.o socklib.o strcasecmp.o strdup.o strlcpy.o xpmemory.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libxpcommon.a
make[4]: Leaving directory '/build/xpilot-ng-4.7.3/src/common'
make[3]: Leaving directory '/build/xpilot-ng-4.7.3/src/common'
Making all in server
make[3]: Entering directory '/build/xpilot-ng-4.7.3/src/server'
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c alliance.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c asteroid.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c cannon.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c cell.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c cmdline.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c collision.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c command.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c contact.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c event.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c fileparser.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c frame.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c gravity.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c id.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c item.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c laser.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c map.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c metaserver.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c modifiers.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c netserver.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c object.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c objpos.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c option.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c parser.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c player.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c polygon.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c race.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c rank.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c recwrap.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c robot.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c robotdef.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c rules.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c saudio.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c sched.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c score.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c server.c
server.c: In function 'Server_info':
server.c:569:48: warning: '%-19s' directive output may be truncated writing between 19 and 79 bytes into a region of size 77 []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-truncation-Wformat-truncation=]8;;]
569 | snprintf(lblstr, sizeof(lblstr), "%c%c %-19s%03d%6.0f",
| ^~~~~
570 | pl->mychar, pl->team == TEAM_NOT_SET ? ' ' : (pl->team + '0'),
571 | name, pl->pl_life, Get_Score(pl));
| ~~~~
In file included from /nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/stdio.h:970,
from ../../src/common/xpcommon.h:51,
from xpserver.h:32,
from server.c:31:
In function 'snprintf',
inlined from 'Server_info' at server.c:569:2:
/nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 32 and 404 bytes into a destination of size 80
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 |  __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 |  __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c ship.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c shot.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c showtime.c
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c srecord.c
srecord.c: In function 'Get_recording_data':
srecord.c:206:9: warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-result-Wunused-result]8;;]
206 | fread(bufs[i].start, 1, len, recf1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -I. -I../.. -DCONF_DATADIR=\"/nix/store/4njcxjmakf04gbsdv9bqykvcdcmmb310-xpilot-ng-4.7.3/share/xpilot-ng/\" -I../../src/common -g -O2 -c suibotdef.c
suibotdef.c: In function 'Wall_in_between_points':
suibotdef.c:360:5: error: implicit declaration of function 'Move_point'; did you mean 'Move_init'? []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;]
360 | Move_point(&mv, &answer);
| ^~~~~~~~~~
| Move_init
suibotdef.c: In function 'Get_object_proximity':
suibotdef.c:408:5: error: 'return' with no value, in function returning non-void []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-return-mismatch-Wreturn-mismatch]8;;]
408 | return;
| ^~~~~~
suibotdef.c:382:13: note: declared here
382 | static bool Get_object_proximity(player_t *pl, object_t *shot, double sqmaxdist,int maxtime, object_proximity_t *object_proximity){
| ^~~~~~~~~~~~~~~~~~~~
suibotdef.c: In function 'Robot_attack_player':
suibotdef.c:875:25: warning: format '%i' expects argument of type 'int', but argument 2 has type 'double' []8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wformat-Wformat=]8;;]
875 | printf("no: dir= %i\n",direction);
| ~^ ~~~~~~~~~
| | |
| int double
| %f
make[3]: *** [Makefile:345: suibotdef.o] Error 1
make[3]: Leaving directory '/build/xpilot-ng-4.7.3/src/server'
make[2]: *** [Makefile:223: all-recursive] Error 1
make[2]: Leaving directory '/build/xpilot-ng-4.7.3/src'
make[1]: *** [Makefile:287: all-recursive] Error 1
make[1]: Leaving directory '/build/xpilot-ng-4.7.3'
make: *** [Makefile:207: all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment