[package - 131powerpc64le-quarterly][emulators/x49gp] Failed for x49gp-20100425_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 04 Jan 2023 02:00:50 UTC
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:     shaun@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/foul2/data/131powerpc64le-quarterly/c5576c4d1186/logs/x49gp-20100425_7.log
Build URL:      https://pkg-status.freebsd.org/foul2/build.html?mastername=131powerpc64le-quarterly&build=c5576c4d1186
Log:

=>> Building emulators/x49gp
build started at Wed Jan  4 01:57:30 UTC 2023
port directory: /usr/ports/emulators/x49gp
package name: x49gp-20100425_7
building for: FreeBSD 131powerpc64le-quarterly-job-06 13.1-RELEASE FreeBSD 13.1-RELEASE powerpc
maintained by: shaun@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1301000
Job Id: 06

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE
UNAME_r=13.1-RELEASE
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-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/131powerpc64le-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=tmux-256color
PWD=/usr/local/poudriere/data/.m/131powerpc64le-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131powerpc64le-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131powerpc64le-quarterly/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 x49gp-20100425_7:
     GRAYSCALE=on: Apply patch for grayscale support
====> Options available for the single FIRMWARE: you have to select exactly one of them
     FIRMWARE_215=on: Calculator ROM firmware version 2.15
     FIRMWARE_209=off: Calculator ROM firmware version 2.09
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
shaun@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/x49gp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/x49gp/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/x49gp/work/.cache  HOME=/wrkdirs/usr/ports/emulators/x49gp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/x49gp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/x49gp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/emulators/x49gp/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/emulators/x49gp/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/emulators/x49gp/work/.cache  HOME=/wrkdirs/usr/ports/emulators/x49gp/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/emulators/x49gp/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/emulators/x49gp/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PR
 EFIX=/usr/local  LOCALBASE=/usr/local  CC="gcc11" CFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -fno-strict-aliasing "  CPP="cpp11" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 " LIBS=""  CXX="g++11" CXXFLAGS="-O2 -pipe  -fstack-protector-strong -Wl,-rpath=/usr/local/lib/gcc11  -Wl,-rpath=/usr/local/lib/gcc11 "  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--
GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/x49gp"  EXAMPLESDIR="share/examples/x49gp"  DATADIR="share/x49gp"  WWWDIR="www/x49gp"  ETCDIR="etc/x49gp"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/x49gp DOCSDIR=/usr/local/share/doc/x49gp EXAMPLESDIR=/usr/local/share/examples/x49gp  WWWDIR=/usr/local/www/x49gp ETCDIR=/usr/local/etc/x49gp
--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
#### /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 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64le-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64le-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-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_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: powerpc64le-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64le
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE
OSREL=13.1
OSVERSION=1301000
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)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  63493
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    >============================
===>   x49gp-20100425_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[131powerpc64le-quarterly-job-06] Installing pkg-1.18.4...
[131powerpc64le-quarterly-job-06] Extracting pkg-1.18.4: .......... done
===>   x49gp-20100425_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of x49gp-20100425_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
=> x49gp-20100425.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/shaun/x49gp-20100425.tar.gz
x49gp-20100425.tar.gz                                   12 MB 2386 kBps    05s
=> sdcard64.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/shaun/sdcard64.tar.gz
sdcard64.tar.gz                                         64 kB  159 MBps    00s
=> hp4950v215.zip doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch http://distcache.FreeBSD.org/local-distfiles/shaun/hp4950v215.zip
hp4950v215.zip                                        1701 kB  100 MBps    00s
===> Fetching all distfiles required by x49gp-20100425_7 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by x49gp-20100425_7 for building
=> SHA256 Checksum OK for x49gp-20100425.tar.gz.
=> SHA256 Checksum OK for sdcard64.tar.gz.
=> SHA256 Checksum OK for hp4950v215.zip.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by x49gp-20100425_7 for building
===>  Extracting for x49gp-20100425_7
=> SHA256 Checksum OK for x49gp-20100425.tar.gz.
=> SHA256 Checksum OK for sdcard64.tar.gz.
=> SHA256 Checksum OK for hp4950v215.zip.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for x49gp-20100425_7
===>  Applying extra patch /usr/ports/emulators/x49gp/files/grayscale.diff
===>  Applying FreeBSD patches for x49gp-20100425_7 from /usr/ports/emulators/x49gp/files
===========================================================================
<snip>
      |              ^~~~~~~~
s3c2410_arm.c:183:17: warning: array subscript 8 is above array bounds of 'uint32_t[5]' {aka 'unsigned int[5]'} [-Warray-bounds]
  183 |                 x49gp_module_set_u32(module, key, name, env->fiq_regs[i]);
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from s3c2410_arm.c:11:
qemu/qemu-git/target-arm/cpu.h:89:14: note: while referencing 'fiq_regs'
   89 |     uint32_t fiq_regs[5];
      |              ^~~~~~~~
s3c2410_arm.c: In function 's3c2410_arm_load':
s3c2410_arm.c:59:21: warning: array subscript 8 is above array bounds of 'uint32_t[5]' {aka 'unsigned int[5]'} [-Warray-bounds]
   59 |                 if (x49gp_module_get_u32(module, key, name,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   60 |                                          0, &env->usr_regs[i]))
      |                                          ~~~~~~~~~~~~~~~~~~~~~
In file included from s3c2410_arm.c:11:
qemu/qemu-git/target-arm/cpu.h:88:14: note: while referencing 'usr_regs'
   88 |     uint32_t usr_regs[5];
      |              ^~~~~~~~
s3c2410_arm.c:63:21: warning: array subscript 8 is above array bounds of 'uint32_t[5]' {aka 'unsigned int[5]'} [-Warray-bounds]
   63 |                 if (x49gp_module_get_u32(module, key, name,
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   64 |                                          0, &env->fiq_regs[i]))
      |                                          ~~~~~~~~~~~~~~~~~~~~~
In file included from s3c2410_arm.c:11:
qemu/qemu-git/target-arm/cpu.h:89:14: note: while referencing 'fiq_regs'
   89 |     uint32_t fiq_regs[5];
      |              ^~~~~~~~
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o ui.o -c ui.c
In file included from /usr/local/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /usr/local/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /usr/local/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /usr/local/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /usr/local/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /usr/local/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /usr/local/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /usr/local/include/gtk-2.0/gtk/gtk.h:33,
                 from ui.c:15:
/usr/local/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /usr/local/include/glib-2.0/gobject/gobject.h:26,
                 from /usr/local/include/glib-2.0/gobject/gbinding.h:31,
                 from /usr/local/include/glib-2.0/glib-object.h:24,
                 from /usr/local/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/local/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/local/include/glib-2.0/gio/gio.h:28,
                 from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/local/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/local/include/gtk-2.0/gtk/gtk.h:32,
                 from ui.c:15:
/usr/local/include/glib-2.0/gobject/gtype.h:700:1: note: declared here
  700 | {
      | ^
In file included from /usr/local/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /usr/local/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /usr/local/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /usr/local/include/gtk-2.0/gtk/gtk.h:126,
                 from ui.c:15:
/usr/local/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /usr/local/include/glib-2.0/glib/galloca.h:34,
                 from /usr/local/include/glib-2.0/glib.h:32,
                 from /usr/local/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/local/include/glib-2.0/glib-object.h:24,
                 from /usr/local/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/local/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/local/include/glib-2.0/gio/gio.h:28,
                 from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /usr/local/include/gtk-2.0/gdk/gdk.h:32,
                 from /usr/local/include/gtk-2.0/gtk/gtk.h:32,
                 from ui.c:15:
/usr/local/include/glib-2.0/glib/gtypes.h:576:8: note: declared here
  576 | struct _GTimeVal
      |        ^~~~~~~~~
ui.c: In function 'x49gp_ui_button_pixmaps_init':
ui.c:763:33: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations]
  763 |                                 src = gdk_pixbuf_new_from_inline(sizeof(button_round),
      |                                 ^~~
In file included from /usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34,
                 from /usr/local/include/gtk-2.0/gdk/gdkpixbuf.h:37,
                 from /usr/local/include/gtk-2.0/gdk/gdkcairo.h:28,
                 from /usr/local/include/gtk-2.0/gdk/gdk.h:33,
                 from /usr/local/include/gtk-2.0/gtk/gtk.h:32,
                 from ui.c:15:
/usr/local/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here
  298 | GdkPixbuf* gdk_pixbuf_new_from_inline   (gint          data_length,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~~
ui.c: In function 'x49gp_ui_text_size':
ui.c:1085:21: warning: variable 'text' set but not used [-Wunused-but-set-variable]
 1085 |         const char *text;
      |                     ^~~~
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o timer.o -c timer.c
timer.c: In function 'qemu_new_timer':
timer.c:156:16: warning: returning 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} from a function with incompatible return type 'QEMUTimer *' [-Wincompatible-pointer-types]
  156 |         return x49gp_new_timer((long) clock, cb, opaque);
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
timer.c: In function 'qemu_free_timer':
timer.c:162:33: warning: passing argument 1 of 'x49gp_free_timer' from incompatible pointer type [-Wincompatible-pointer-types]
  162 |         return x49gp_free_timer(ts);
      |                                 ^~
      |                                 |
      |                                 QEMUTimer *
timer.c:78:33: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} but argument is of type 'QEMUTimer *'
   78 | x49gp_free_timer(x49gp_timer_t *ts)
      |                  ~~~~~~~~~~~~~~~^~
timer.c: In function 'qemu_mod_timer':
timer.c:168:32: warning: passing argument 1 of 'x49gp_mod_timer' from incompatible pointer type [-Wincompatible-pointer-types]
  168 |         return x49gp_mod_timer(ts, expire_time);
      |                                ^~
      |                                |
      |                                QEMUTimer *
timer.c:104:32: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} but argument is of type 'QEMUTimer *'
  104 | x49gp_mod_timer(x49gp_timer_t *ts, int64_t expires)
      |                 ~~~~~~~~~~~~~~~^~
timer.c: In function 'qemu_del_timer':
timer.c:174:32: warning: passing argument 1 of 'x49gp_del_timer' from incompatible pointer type [-Wincompatible-pointer-types]
  174 |         return x49gp_del_timer(ts);
      |                                ^~
      |                                |
      |                                QEMUTimer *
timer.c:84:32: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} but argument is of type 'QEMUTimer *'
   84 | x49gp_del_timer(x49gp_timer_t *ts)
      |                 ~~~~~~~~~~~~~~~^~
timer.c: In function 'qemu_timer_pending':
timer.c:180:36: warning: passing argument 1 of 'x49gp_timer_pending' from incompatible pointer type [-Wincompatible-pointer-types]
  180 |         return x49gp_timer_pending(ts);
      |                                    ^~
      |                                    |
      |                                    QEMUTimer *
timer.c:127:36: note: expected 'x49gp_timer_t *' {aka 'struct x49gp_timer_s *'} but argument is of type 'QEMUTimer *'
  127 | x49gp_timer_pending(x49gp_timer_t *ts)
      |                     ~~~~~~~~~~~~~~~^~
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o tiny_font.o -c tiny_font.c
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o symbol.o -c symbol.c
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o gdbstub.o -c gdbstub.c
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o block.o -c block.c
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o block-vvfat.o -c block-vvfat.c
block-vvfat.c: In function 'fat_chksum':
block-vvfat.c:527:40: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations]
  527 |             +(unsigned char)entry->name[i];
      |                             ~~~~~~~~~~~^~~
block-vvfat.c:525:14: note: within this loop
  525 |     for(i=0;i<11;i++)
      |             ~^~~
block-vvfat.c: In function 'print_direntry':
block-vvfat.c:1332:36: warning: iteration 8 invokes undefined behavior [-Waggressive-loop-optimizations]
 1332 |             ADD_CHAR(direntry->name[i]);
      |                                    ^
block-vvfat.c:1321:35: note: in definition of macro 'ADD_CHAR'
 1321 | #define ADD_CHAR(c) {buffer[j] = (c); if (buffer[j] < ' ') buffer[j] = '°'; j++;}
      |                                   ^
block-vvfat.c:1331:18: note: within this loop
 1331 |         for(i=0;i<11;i++)
      |                 ~^~~
In function 'short2long_name',
    inlined from 'create_long_filename' at block-vvfat.c:443:16,
    inlined from 'create_short_and_long_name' at block-vvfat.c:632:16,
    inlined from 'read_directory' at block-vvfat.c:755:11,
    inlined from 'init_directories' at block-vvfat.c:941:9:
block-vvfat.c:434:26: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  434 |     dest[2*i]=dest[2*i+1]=0;
      |               ~~~~~~~~~~~^~
block-vvfat.c: In function 'init_directories':
block-vvfat.c:442:10: note: at offset 259 into destination object 'buffer' of size 258
  442 |     char buffer[258];
      |          ^~~~~~
In function 'short2long_name',
    inlined from 'create_long_filename' at block-vvfat.c:443:16,
    inlined from 'create_short_and_long_name' at block-vvfat.c:632:16,
    inlined from 'read_directory' at block-vvfat.c:755:11,
    inlined from 'init_directories' at block-vvfat.c:941:9:
block-vvfat.c:434:14: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
  434 |     dest[2*i]=dest[2*i+1]=0;
      |     ~~~~~~~~~^~~~~~~~~~~~~~
block-vvfat.c: In function 'init_directories':
block-vvfat.c:442:10: note: at offset 258 into destination object 'buffer' of size 258
  442 |     char buffer[258];
      |          ^~~~~~
In function 'create_short_and_long_name',
    inlined from 'read_directory' at block-vvfat.c:755:11,
    inlined from 'init_directories' at block-vvfat.c:941:9:
block-vvfat.c:643:5: warning: 'strncpy' output may be truncated copying between 0 and 8 bytes from a string of length 255 [-Wstringop-truncation]
  643 |     strncpy((char *) entry->name,filename,i);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o block-qcow.o -c block-qcow.c
gcc11 -O2 -Wall   -Iinclude -Ibitmaps -Iqemu/qemu-git/target-arm -Iqemu/qemu-git -Iqemu/qemu-git/fpu -Iqemu/qemu-git/arm-softmmu -DTARGET_ARM -DX49GP -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -DNEED_CPU_H -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/harfbuzz -I/usr/local/include/freetype2 -I/usr/local/include/libpng16 -I/usr/local/include/fribidi -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread  -o block-raw.o -c block-raw.c
gmake -C qemu/qemu-git -f Makefile-small
gmake[2]: Entering directory '/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code/qemu/qemu-git'
gcc11    -L/usr/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lharfbuzz -lfontconfig -lfreetype  -o x49gp main.o module.o flash.o sram.o s3c2410.o s3c2410_sram.o s3c2410_memc.o s3c2410_intc.o s3c2410_power.o s3c2410_lcd.o s3c2410_nand.o s3c2410_uart.o s3c2410_timer.o s3c2410_usbdev.o s3c2410_watchdog.o s3c2410_io_port.o s3c2410_rtc.o s3c2410_adc.o s3c2410_spi.o s3c2410_sdi.o s3c2410_arm.o ui.o timer.o tiny_font.o symbol.o gdbstub.o block.o block-vvfat.o block-qcow.o block-raw.o qemu/qemu-git/cutils.o qemu/qemu-git/arm-softmmu/exec.o qemu/qemu-git/arm-softmmu/translate-all.o qemu/qemu-git/arm-softmmu/cpu-exec.o qemu/qemu-git/arm-softmmu/translate.o qemu/qemu-git/arm-softmmu/fpu/softfloat.o qemu/qemu-git/arm-softmmu/op_helper.o qemu/qemu-git/arm-softmmu/helper.o qemu/qemu-git/arm-softmmu/disas.o qemu/qemu-git/arm-softmmu/i386-dis.o qemu/qemu-git/arm-softmmu/arm-dis.o qemu/q
 emu-git/arm-softmmu/tcg/tcg.o qemu/qemu-git/arm-softmmu/iwmmxt_helper.o qemu/qemu-git/arm-softmmu/neon_helper.o -lz -lm  
/usr/local/bin/ld: cannot find qemu/qemu-git/arm-softmmu/i386-dis.o: No such file or directory
collect2: error: ld returned 1 exit status
gmake[1]: *** [Makefile:183: x49gp] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/emulators/x49gp/work/x49gp/x49gp-code'
gmake: *** [Makefile:323: depend-and-build] Error 2
*** Error code 2

Stop.
make: stopped in /usr/ports/emulators/x49gp