Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Feb 2021 03:03:30 GMT
From:      pkg-fallout@FreeBSD.org
To:        pkg-fallout@FreeBSD.org
Subject:   [package - 130releng-i386-default][games/sdlroids] Failed for sdlroids-1.3.4_18 in build
Message-ID:  <202102170303.11H33Unl016394@beefy15.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:     ports@FreeBSD.org
Last committer: tobik@FreeBSD.org
Ident:          $FreeBSD: head/games/sdlroids/Makefile 517046 2019-11-08 10:47:01Z tobik $
Log URL:        http://beefy15.nyi.freebsd.org/data/130releng-i386-default/565379/logs/sdlroids-1.3.4_18.log
Build URL:      http://beefy15.nyi.freebsd.org/build.html?mastername=130releng-i386-default&build=565379
Log:

=>> Building games/sdlroids
build started at Wed Feb 17 03:03:21 UTC 2021
port directory: /usr/ports/games/sdlroids
package name: sdlroids-1.3.4_18
building for: FreeBSD 130releng-i386-default-job-04 13.0-BETA2 FreeBSD 13.0-BETA2 1300139 i386
maintained by: ports@FreeBSD.org
Makefile ident:      $FreeBSD: head/games/sdlroids/Makefile 517046 2019-11-08 10:47:01Z tobik $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400000
Jail OSVERSION: 1300139
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-BETA2 1300139
UNAME_r=13.0-BETA2
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130releng-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-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 sdlroids-1.3.4_18:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--datadir=/usr/local/share --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/sdlroids/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sdlroids/work  HOME=/wrkdirs/usr/ports/games/sdlroids/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sdlroids/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
SDL_CONFIG=/usr/local/bin/sdl-config XDG_DATA_HOME=/wrkdirs/usr/ports/games/sdlroids/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/games/sdlroids/work  HOME=/wrkdirs/usr/ports/games/sdlroids/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/games/sdlroids/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 -std=gnu89 "  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="" OSREL=13.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/sdlroids"  EXAMPLESDIR="share/examples/sdlroids"  DATADIR="share/sdlroids"  WWWDIR="www/sdlroids"  ETCDIR="etc/sdlroids"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/sdlroids DOCSDIR=/usr/local/share/doc/sdlroids EXAMPLESDIR=/usr/local/share/examples/sdlroids  WWWDIR=/usr/local/www/sdlroids ETCDIR=/usr/local/etc/sdlroids
--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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) 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.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: i386-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=13.0-BETA2
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---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   >============================
===>   NOTICE:

The sdlroids port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   sdlroids-1.3.4_18 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.2.txz
[130releng-i386-default-job-04] Installing pkg-1.16.2...
[130releng-i386-default-job-04] Extracting pkg-1.16.2: .......... done
===>   sdlroids-1.3.4_18 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of sdlroids-1.3.4_18
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The sdlroids port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by sdlroids-1.3.4_18 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The sdlroids port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:
<snip>
[130releng-i386-default-job-04] |   |   | `-- Installing libpthread-stubs-0.4...
[130releng-i386-default-job-04] |   |   | `-- Extracting libpthread-stubs-0.4: .... done
[130releng-i386-default-job-04] |   |   `-- Extracting libxcb-1.14_1: .......... done
[130releng-i386-default-job-04] |   | `-- Extracting libX11-1.6.12,1: .......... done
[130releng-i386-default-job-04] |   | `-- Installing libXdamage-1.1.5...
[130releng-i386-default-job-04] |   |   `-- Installing libXfixes-5.0.3_2...
[130releng-i386-default-job-04] |   |   `-- Extracting libXfixes-5.0.3_2: .......... done
[130releng-i386-default-job-04] |   | `-- Extracting libXdamage-1.1.5: ......... done
[130releng-i386-default-job-04] |   | `-- Installing libXext-1.3.4,1...
[130releng-i386-default-job-04] |   | `-- Extracting libXext-1.3.4,1: .......... done
[130releng-i386-default-job-04] |   | `-- Installing libXrandr-1.5.2...
[130releng-i386-default-job-04] |   |   `-- Installing libXrender-0.9.10_2...
[130releng-i386-default-job-04] |   |   `-- Extracting libXrender-0.9.10_2: .......... done
[130releng-i386-default-job-04] |   | `-- Extracting libXrandr-1.5.2: .......... done
[130releng-i386-default-job-04] |   | `-- Installing libXxf86vm-1.1.4_3...
[130releng-i386-default-job-04] |   | `-- Extracting libXxf86vm-1.1.4_3: .......... done
[130releng-i386-default-job-04] |   | `-- Installing libdrm-2.4.104,1...
[130releng-i386-default-job-04] |   |   `-- Installing libpciaccess-0.16...
[130releng-i386-default-job-04] |   |   | `-- Installing pciids-20210131...
[130releng-i386-default-job-04] |   |   | `-- Extracting pciids-20210131: ..... done
[130releng-i386-default-job-04] |   |   `-- Extracting libpciaccess-0.16: ......... done
[130releng-i386-default-job-04] |   | `-- Extracting libdrm-2.4.104,1: .......... done
[130releng-i386-default-job-04] |   | `-- Installing libunwind-20201110...
[130releng-i386-default-job-04] |   | `-- Extracting libunwind-20201110: .......... done
[130releng-i386-default-job-04] |   | `-- Installing libxshmfence-1.3...
[130releng-i386-default-job-04] |   | `-- Extracting libxshmfence-1.3: ......... done
[130releng-i386-default-job-04] |   | `-- Installing wayland-1.19.0...
[130releng-i386-default-job-04] |   |   `-- Installing libepoll-shim-0.0.20201229...
[130releng-i386-default-job-04] |   |   `-- Extracting libepoll-shim-0.0.20201229: .......... done
[130releng-i386-default-job-04] |   |   `-- Installing libffi-3.3_1...
[130releng-i386-default-job-04] |   |   `-- Extracting libffi-3.3_1: .......... done
[130releng-i386-default-job-04] |   |   `-- Installing libxml2-2.9.10_3...
[130releng-i386-default-job-04] |   |   `-- Extracting libxml2-2.9.10_3: .......... done
[130releng-i386-default-job-04] |   | `-- Extracting wayland-1.19.0: .......... done
[130releng-i386-default-job-04] |   | `-- Installing zstd-1.4.8...
[130releng-i386-default-job-04] |   |   `-- Installing liblz4-1.9.3,1...
[130releng-i386-default-job-04] |   |   `-- Extracting liblz4-1.9.3,1: .......... done
[130releng-i386-default-job-04] |   | `-- Extracting zstd-1.4.8: .......... done
[130releng-i386-default-job-04] |   `-- Extracting mesa-libs-20.2.3: .......... done
[130releng-i386-default-job-04] `-- Extracting libGLU-9.0.1: ...... done
[130releng-i386-default-job-04] Extracting sdl-1.2.15_15,2: .......... done
=====
Message from aalib-1.4.r5_13:

--
===>   NOTICE:

The aalib port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
=====
Message from sdl-1.2.15_15,2:

--
Your SDL library has been built with libvgl support, which means that you
 can run almost any SDL application straight on your console (VESA 2.0
 compatible videocard is required).

 To do this you have to load the vesa kernel module or enable it in your
 kernel, and set environment variable "SDL_VIDEODRIVER=vgl".
===>   sdlroids-1.3.4_18 depends on file: /usr/local/bin/sdl-config - found
===>   Returning to build of sdlroids-1.3.4_18
===========================================================================
=======================<phase: lib-depends    >============================
===>   sdlroids-1.3.4_18 depends on shared library: libSDL_mixer.so - not found
===>   Installing existing package /packages/All/sdl_mixer-1.2.12_12.txz
[130releng-i386-default-job-04] Installing sdl_mixer-1.2.12_12...
[130releng-i386-default-job-04] `-- Installing flac-1.3.3...
[130releng-i386-default-job-04] |   `-- Installing libogg-1.3.4,4...
[130releng-i386-default-job-04] |   `-- Extracting libogg-1.3.4,4: .......... done
[130releng-i386-default-job-04] `-- Extracting flac-1.3.3: .......... done
[130releng-i386-default-job-04] `-- Installing libmikmod-3.3.11.1_1...
[130releng-i386-default-job-04] `-- Extracting libmikmod-3.3.11.1_1: .......... done
[130releng-i386-default-job-04] `-- Installing libvorbis-1.3.7_2,3...
[130releng-i386-default-job-04] `-- Extracting libvorbis-1.3.7_2,3: .......... done
[130releng-i386-default-job-04] `-- Installing smpeg-0.4.4_15...
[130releng-i386-default-job-04] `-- Extracting smpeg-0.4.4_15: .......... done
[130releng-i386-default-job-04] `-- Installing timidity-0.2i_1...
[130releng-i386-default-job-04] `-- Extracting timidity-0.2i_1: .......... done
[130releng-i386-default-job-04] Extracting sdl_mixer-1.2.12_12: ......... done
=====
Message from timidity-0.2i_1:

--
===>   NOTICE:

The timidity port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   sdlroids-1.3.4_18 depends on shared library: libSDL_mixer.so - found (/usr/local/lib/libSDL_mixer.so)
===>   Returning to build of sdlroids-1.3.4_18
===>   sdlroids-1.3.4_18 depends on shared library: libSDL.so - found (/usr/local/lib/libSDL.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for sdlroids-1.3.4_18
loading site script /usr/ports/Templates/config.site
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether gmake sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
checking for working autoheader... missing
checking for working makeinfo... missing
checking for gnutar... no
checking for gtar... no
checking for tar... tar
checking for gcc... cc
checking whether the C compiler (cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89    -fstack-protector-strong ) works... yes
checking whether the C compiler (cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89    -fstack-protector-strong ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cpp
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether gmake sets ${MAKE}... (cached) yes
checking for sdl-config... /usr/local/bin/sdl-config
checking for SDL - version >= 1.1.0... yes
checking for Mix_OpenAudio in -lSDL_mixer... yes
checking for sin in -lm... yes
checking for ANSI C header files... (cached) yes
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for SDL_mixer.h... yes
checking for SDL/SDL_mixer.h... yes
checking for fcntl.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking for syslog.h... yes
checking for windows.h... no
checking for working const... yes
checking for inline... inline
checking for strtol... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for syslog... yes
checking for getenv... (cached) yes
checking for setenv... (cached) yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating sdlroids.6
creating sdlroids.spec
creating sdlroids-mdk.spec
creating sdlroids.rc
creating config.h
===========================================================================
=======================<phase: build          >============================
===>  Building for sdlroids-1.3.4_18
gmake[1]: Entering directory '/wrkdirs/usr/ports/games/sdlroids/work/sdlroids-1.3.4'
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c hyperoid.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c roidsupp.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c sdlsound.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c sdl.c
sdl.c:211:7: warning: cast from 'Uint8 *' (aka 'unsigned char *') to 'Uint16 *' (aka 'unsigned short *') increases required alignment from 1 to 2 [-Wcast-align]
    *((Uint16 *)(bits)) = (Uint16)pixel;
      ^~~~~~~~~~~~~~~~
sdl.c:225:7: warning: cast from 'Uint8 *' (aka 'unsigned char *') to 'Uint32 *' (aka 'unsigned int *') increases required alignment from 1 to 4 [-Wcast-align]
    *((Uint32 *)(bits)) = (Uint32)pixel;
      ^~~~~~~~~~~~~~~~
sdl.c:196:20: warning: unused function '_sdl_drawpixel' [-Wunused-function]
inline static void _sdl_drawpixel(int x, int y, int r, int g, int b)
                   ^
3 warnings generated.
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c petopt.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c getargs.c
cc -DHAVE_CONFIG_H -I. -I. -I. -Wall 	-Wcast-align -DDATADIR=\"/usr/local/share/sdlroids/\"    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -c rand.c
cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -std=gnu89  -I/usr/local/include/SDL -I/usr/local/include -D_REENTRANT -D_THREAD_SAFE -fstack-protector-strong  -o sdlroids  hyperoid.o roidsupp.o sdlsound.o sdl.o petopt.o getargs.o rand.o  -lm -lSDL_mixer  -L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -pthread
ld: error: duplicate symbol: flagargs
>>> defined at hyperoid.c
>>>            hyperoid.o:(flagargs)
>>> defined at sdl.c
>>>            sdl.o:(.bss+0x0)

ld: error: duplicate symbol: flagargs
>>> defined at hyperoid.c
>>>            hyperoid.o:(flagargs)
>>> defined at getargs.c
>>>            getargs.o:(.bss+0x0)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:229: sdlroids] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/games/sdlroids/work/sdlroids-1.3.4'
*** Error code 1

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



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