[package - 123i386-default][x11-wm/afterstep-stable] Failed for afterstep-2.2.12_7 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 03 Jul 2022 09:46:40 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:     glewis@FreeBSD.org
Log URL:        http://beefy5.nyi.freebsd.org/data/123i386-default/b2bfaa3cf348/logs/afterstep-2.2.12_7.log
Build URL:      http://beefy5.nyi.freebsd.org/build.html?mastername=123i386-default&build=b2bfaa3cf348
Log:

=>> Building x11-wm/afterstep-stable
build started at Sun Jul  3 09:46:06 UTC 2022
port directory: /usr/ports/x11-wm/afterstep-stable
package name: afterstep-2.2.12_7
building for: FreeBSD 123i386-default-job-04 12.3-RELEASE-p5 FreeBSD 12.3-RELEASE-p5 i386
maintained by: glewis@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400050
Jail OSVERSION: 1203000
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p5
UNAME_r=12.3-RELEASE-p5
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-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/123i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123i386-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---
---End OPTIONS List---

--MAINTAINER--
glewis@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-ascp  --enable-i18n  --disable-send-postcard-to-developer  --with-helpcommand="xterm -e man"  --x-includes="/usr/local/include"  --with-jpeg-includes="/usr/local/include"  --with-png-includes="/usr/local/include"  --with-gif --disable-savewindows --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/.cache  HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
HOME=- XDG_DATA_HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/.cache  HOME=/wrkdirs/usr/ports/x11-wm/afterstep-stable/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-wm/afterstep-stable/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 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--
GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" GNOME="@comment " OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/afterstep"  EXAMPLESDIR="share/examples/afterstep"  DATADIR="share/afterstep"  WWWDIR="www/afterstep"  ETCDIR="etc/afterstep"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/afterstep DOCSDIR=/usr/local/share/doc/afterstep EXAMPLESDIR=/usr/local/share/examples/afterstep  WWWDIR=/usr/local/www/afterstep ETCDIR=/usr/local/etc/afterstep
--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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 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 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: i386-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p5
OSREL=12.3
OSVERSION=1203000
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   afterstep-2.2.12_7 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[123i386-default-job-04] Installing pkg-1.18.3...
[123i386-default-job-04] Extracting pkg-1.18.3: .......... done
===>   afterstep-2.2.12_7 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of afterstep-2.2.12_7
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by afterstep-2.2.12_7 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by afterstep-2.2.12_7 for building
=> SHA256 Checksum OK for AfterStep-2.2.12.tar.bz2.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by afterstep-2.2.12_7 for building
===>  Extracting for afterstep-2.2.12_7
=> SHA256 Checksum OK for AfterStep-2.2.12.tar.bz2.
cp -f /usr/ports/x11-wm/afterstep-stable/files/monitor_bsd.xpm  /wrkdirs/usr/ports/x11-wm/afterstep-stable/work/afterstep-devel-2.2.12/afterstep/desktop/icons/xml/monitor-bsd.xpm
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for afterstep-2.2.12_7
===>  Applying FreeBSD patches for afterstep-2.2.12_7 from /usr/ports/x11-wm/afterstep-stable/files
No such line 8442 in input file, ignoring
===========================================================================
=======================<phase: build-depends  >============================
===>   afterstep-2.2.12_7 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_2.pkg
[123i386-default-job-04] Installing gmake-4.3_2...
[123i386-default-job-04] `-- Installing gettext-runtime-0.21...
[123i386-default-job-04] |   `-- Installing indexinfo-0.3.1...
[123i386-default-job-04] |   `-- Extracting indexinfo-0.3.1: .... done
[123i386-default-job-04] `-- Extracting gettext-runtime-0.21: .......... done
[123i386-default-job-04] Extracting gmake-4.3_2: .......... done
===>   afterstep-2.2.12_7 depends on package: gmake>=4.3 - found
===>   Returning to build of afterstep-2.2.12_7
===>   afterstep-2.2.12_7 depends on package: pkgconf>=1.3.0_1 - not found
===>   Installing existing package /packages/All/pkgconf-1.8.0,1.pkg
[123i386-default-job-04] Installing pkgconf-1.8.0,1...
[123i386-default-job-04] Extracting pkgconf-1.8.0,1: .......... done
===>   afterstep-2.2.12_7 depends on package: pkgconf>=1.3.0_1 - found
===>   Returning to build of afterstep-2.2.12_7
===>   afterstep-2.2.12_7 depends on file: /usr/local/libdata/pkgconfig/ice.pc - not found
<snip>
checking whether char is unsigned... no
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for zlib.h... (cached) yes
checking for png_get_sRGB in png.h... yes
checking using built-in UNGIF library... yes
checking tiffio.h usability... yes
checking tiffio.h presence... yes
checking for tiffio.h... yes
checking pkg-config is at least version 0.9.0... yes
checking for SVG... yes
checking headers required by TTF support... ./configure: freetype-config: not found
none found
You have to install FreeType libary in order to be able to use TTF fonts.
checking libAfterBase headers in ../libAfterBase... yes
configure: creating ./config.status
config.status: creating apps/Makefile
config.status: creating aftershow/Makefile
config.status: creating Makefile
config.status: creating afterbase.h
config.status: creating afterimage-libs
config.status: creating afterimage-config
config.status: creating config.h
configure: WARNING: unrecognized options: --with-x-includes, --enable-trace
checking whether byte ordering is bigendian... no
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... (cached) yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for stdlib.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking whether environ is declared... no
checking for snd_pcm_open in -lasound... no
checking alsa/asoundlib.h usability... no
checking alsa/asoundlib.h presence... no
checking for alsa/asoundlib.h... no
checking for XineramaQueryScreens in -lXinerama... yes
checking for initscr in -lncurses... yes
checking for readline in -lreadline... no
checking for gnome-session... no
checking for dbus-1 >= 0.22... yes
checking DBUS1_CFLAGS... -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include 
checking DBUS1_LIBS... -L/usr/local/lib -ldbus-1 
checking libAfterImage external libraries... -L/usr/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lintl -lcairo -ltiff -lX11 -L/usr/local/lib -lSM -lICE -lXext -ljpeg -lpng -lz -lm
checking preferred image format... png
checking for gtk+-2.0 >= 2.0.0... yes
checking GTK_CFLAGS... -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 
checking GTK_LIBS... -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 
checking for glib-2.0 >= 2.0.0... yes
checking GLIB_CFLAGS... -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include 
checking GLIB_LIBS... -L/usr/local/lib -lglib-2.0 -lintl 
checking for gio-2.0 >= 2.0.0... yes
checking GIOLIB_CFLAGS... -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -pthread 
checking GIOLIB_LIBS... -L/usr/local/lib -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lintl 
checking for GSettings... yes
checking for backtrace in -lexecinfo... yes
checking target system type... i386-portbld-freebsd12.3
configure: creating ./config.status
config.status: creating autoconf/Makefile.defines
config.status: creating autoconf/Makefile.common
config.status: creating autoconf/Makefile.common.lib
config.status: creating src/ascp/Makefile
config.status: creating src/ascp/fltk/Makefile
config.status: creating src/ascp/gtk/Makefile
config.status: creating src/tools/ASFileBrowser/Makefile
config.status: creating src/tools/ASRun/Makefile
config.status: creating src/tools/ASWallpaper/Makefile
config.status: creating src/ASMount/Makefile
config.status: creating src/asetroot/Makefile
config.status: creating src/Animate/Makefile
config.status: creating src/ASConfig/Makefile
config.status: creating src/ASDocGen/Makefile
config.status: creating src/Arrange/Makefile
config.status: creating src/Banner/Banner.sh
config.status: creating src/Banner/Makefile
config.status: creating src/Clean/Makefile
config.status: creating src/Form/Makefile
config.status: creating src/Gnome/Makefile
config.status: creating src/Ident/Makefile
config.status: creating src/Pager/Makefile
config.status: creating src/Script/Makefile
config.status: creating src/Script/Widgets/Makefile
config.status: creating src/Scroll/Makefile
config.status: creating src/Sound2/Makefile
config.status: creating src/Wharf/Makefile
config.status: creating src/WinCommand/Makefile
config.status: creating src/WinList2/Makefile
config.status: creating src/WinTabs/Makefile
config.status: creating src/Gadget/Makefile
config.status: creating src/test/Makefile
config.status: creating libASGTK/asgtk-config
config.status: creating libASGTK/Makefile
config.status: creating configure.h
config.status: creating Makefile
config.status: creating AfterStep.spec
config.status: creating AfterStep.desktop
config.status: creating afterstep/Makefile
config.status: creating doc/Makefile
config.status: creating doc/afterstepdoc
config.status: creating libAfterStep/afterstep-config
config.status: creating libAfterStep/Makefile
config.status: creating libAfterConf/Makefile
config.status: creating src/afterstep/Makefile
config.status: creating tools/Makefile
config.status: creating tools/installastheme.pl
config.status: creating tools/makeastheme.pl
config.status: creating tools/postcard.sh
config.status: creating afterstep/applications/modules.desktop
config.status: creating afterstep/base
config.status: creating afterstep/sound
config.status: creating afterstep/autoexec
config.status: creating afterstep/pager
config.status: creating afterstep/start/.include
config.status: creating afterstep/start/3_run
config.status: creating afterstep/start/1_Desktop/Feel/.include
config.status: creating afterstep/start/1_Desktop/Color_Scheme/.include
config.status: creating afterstep/start/1_Desktop/Look/.include
config.status: creating afterstep/start/1_Desktop/Theme/.include
config.status: creating afterstep/start/1_Desktop/Pictures/AfterStep_Images/.include
config.status: creating afterstep/start/1_Desktop/Pictures/User_Backgrounds/.include
config.status: creating config.h

AfterStep 2.2.12 IS NOW HOPEFULLY CONFIGURED:

Just run : make ; make install

Please consult INSTALL file for additional configuration steps
required for your favorite desktop environment.

Other make targets you may find usefull :

make install.data       - installs all the images, fonts, etc.
make install.config     - installs config files only
make install.menu       - installs startmenu files
make install.data_html  - catalogues installed data files
make install.bin        - installs only binaries
make install.lib        - installs libraries only
make clean
make distclean

===========================================================================
=======================<phase: build          >============================
===>  Building for afterstep-2.2.12_7
gmake[1]: Entering directory '/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/afterstep-devel-2.2.12'
gmake[2]: Entering directory '/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/afterstep-devel-2.2.12/libAfterBase'
Compiling with :cc -DNO_DEBUG_OUTPUT -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -fPIC -DNO_DEBUG_OUTPUT -pipe -fstack-protector-strong -fno-strict-aliasing -std=gnu89 -fPIC  -I/usr/local/include  
 ashash.c
 aslist.c
 asvector.c
 audit.c
 fs.c
 layout.c
 mystring.c
 os.c
 output.c
output.c:222:68: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                fprintf( stderr, "%s:%2.2li.%5.5li:%s:%s:%d>", ApplicationName, tv.tv_sec-startup_time, tv.tv_usec/10, file, func, line );
                                     ~~~~~~                                     ^~~~~~~~~~~~~~~~~~~~~~
                                     %2.2i
output.c:224:65: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
                fprintf( stderr, "%s:%2.2li.%5.5li:%s:%s>", ApplicationName, tv.tv_sec-startup_time, tv.tv_usec/10, file, func );
                                     ~~~~~~                                  ^~~~~~~~~~~~~~~~~~~~~~
                                     %2.2i
2 warnings generated.
 parse.c
parse.c:939:163: warning: for loop has empty body [-Wempty-body]
                for (ptr = (char*)str + 1 ; *ptr && !isspace(*ptr) && *ptr != '+' && *ptr != '-' && *ptr != '*' && *ptr != '!' && *ptr != '/' && *ptr != ')' ; ptr++);
                                                                                                                                                                     ^
parse.c:939:163: note: put the semicolon on a separate line to silence this warning
1 warning generated.
 regexp.c
regexp.c:105:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
            if ((c == (unsigned char)*(reserved++)))
                 ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
regexp.c:105:20: note: remove extraneous parentheses around the comparison to silence this warning
            if ((c == (unsigned char)*(reserved++)))
                ~  ^                              ~
regexp.c:105:20: note: use '=' to turn this equality comparison into an assignment
            if ((c == (unsigned char)*(reserved++)))
                   ^~
                   =
1 warning generated.
 safemalloc.c
 selfdiag.c
selfdiag.c:101:13: error: use of undeclared identifier '_DYNAMIC'
        for (dyn = _DYNAMIC; dyn != NULL && dyn->d_tag != DT_NULL; ++dyn)
                   ^
1 error generated.
gmake[2]: *** [Makefile:313: selfdiag.o] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/afterstep-devel-2.2.12/libAfterBase'
gmake[1]: *** [Makefile:177: all] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/x11-wm/afterstep-stable/work/afterstep-devel-2.2.12'
*** Error code 1

Stop.
make: stopped in /usr/ports/x11-wm/afterstep-stable