[package - main-amd64-default][multimedia/smpeg2] Failed for smpeg2-2.0.0_4 in configure

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 09 Sep 2023 01:26:33 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/peb032111a352_s9c80d66ec1/logs/smpeg2-2.0.0_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=peb032111a352_s9c80d66ec1
Log:

=>> Building multimedia/smpeg2
build started at Sat Sep  9 01:26:30 UTC 2023
port directory: /usr/ports/multimedia/smpeg2
package name: smpeg2-2.0.0_4
building for: FreeBSD main-amd64-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500000 amd64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1500000
Jail OSVERSION: 1500000
Job Id: 05

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500000
UNAME_v=FreeBSD 15.0-CURRENT 1500000
UNAME_r=15.0-CURRENT
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/main-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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 smpeg2-2.0.0_4:
     PLAYMPEG=off: Build plaympeg binary (conficts with smpeg)
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--enable-mmx --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/smpeg2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/smpeg2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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--
SDL2_CONFIG=/usr/local/bin/sdl2-config XDG_DATA_HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work/.cache  HOME=/wrkdirs/usr/ports/multimedia/smpeg2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/multimedia/smpeg2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/multimedia/smpeg2/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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  -Wno-error=narrowing -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-Dregister="  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=narrowing -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--
PLAYMPEG="@comment " NO_PLAYMPEG="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/smpeg2"  EXAMPLESDIR="share/examples/smpeg2"  DATADIR="share/smpeg2"  WWWDIR="www/smpeg2"  ETCDIR="etc/smpeg2"
--End PLIST_SUB--

--SUB_LIST--
PLAYMPEG="@comment " NO_PLAYMPEG="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/smpeg2 DOCSDIR=/usr/local/share/doc/smpeg2 EXAMPLESDIR=/usr/local/share/examples/smpeg2  WWWDIR=/usr/local/www/smpeg2 ETCDIR=/usr/local/etc/smpeg2
--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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.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" "-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 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: x86_64-unknown-freebsd15.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=15.0-CURRENT
OSREL=15.0
OSVERSION=1500000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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 smpeg2 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT LGPL20+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   smpeg2-2.0.0_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.6.pkg
[main-amd64-default-job-05] Installing pkg-1.20.6...
[main-amd64-default-job-05] Extracting pkg-1.20.6: .......... done
===>   smpeg2-2.0.0_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of smpeg2-2.0.0_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The smpeg2 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT LGPL20+ accepted by the user
===> Fetching all distfiles required by smpeg2-2.0.0_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The smpeg2 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>
More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT LGPL20+ accepted by the user
===> Fetching all distfiles required by smpeg2-2.0.0_4 for building
=> SHA256 Checksum OK for smpeg2-2.0.0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>   NOTICE:

The smpeg2 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://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT LGPL20+ accepted by the user
===> Fetching all distfiles required by smpeg2-2.0.0_4 for building
===>  Extracting for smpeg2-2.0.0_4
=> SHA256 Checksum OK for smpeg2-2.0.0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for smpeg2-2.0.0_4
===========================================================================
=======================<phase: build-depends  >============================
===>   smpeg2-2.0.0_4 depends on file: /usr/local/bin/sdl2-config - not found
===>   Installing existing package /packages/All/sdl2-2.28.3.pkg
[main-amd64-default-job-05] Installing sdl2-2.28.3...
[main-amd64-default-job-05] `-- Installing libXScrnSaver-1.2.4...
[main-amd64-default-job-05] |   `-- Installing libX11-1.8.6_1,1...
[main-amd64-default-job-05] |   | `-- Installing libxcb-1.15_1...
[main-amd64-default-job-05] |   |   `-- Installing libXau-1.0.9...
[main-amd64-default-job-05] |   |   `-- Extracting libXau-1.0.9: .......... done
[main-amd64-default-job-05] |   |   `-- Installing libXdmcp-1.1.3...
[main-amd64-default-job-05] |   |   | `-- Installing xorgproto-2022.1_1...
[main-amd64-default-job-05] |   |   | `-- Extracting xorgproto-2022.1_1: .......... done
[main-amd64-default-job-05] |   |   `-- Extracting libXdmcp-1.1.3: ......... done
[main-amd64-default-job-05] |   | `-- Extracting libxcb-1.15_1: .......... done
[main-amd64-default-job-05] |   `-- Extracting libX11-1.8.6_1,1: .......... done
[main-amd64-default-job-05] |   `-- Installing libXext-1.3.4,1...
[main-amd64-default-job-05] |   `-- Extracting libXext-1.3.4,1: .......... done
[main-amd64-default-job-05] `-- Extracting libXScrnSaver-1.2.4: .......... done
[main-amd64-default-job-05] `-- Installing libXcursor-1.2.0...
[main-amd64-default-job-05] |   `-- Installing libXfixes-6.0.0...
[main-amd64-default-job-05] |   `-- Extracting libXfixes-6.0.0: .......... done
[main-amd64-default-job-05] |   `-- Installing libXrender-0.9.10_2...
[main-amd64-default-job-05] |   `-- Extracting libXrender-0.9.10_2: .......... done
[main-amd64-default-job-05] `-- Extracting libXcursor-1.2.0: .......... done
[main-amd64-default-job-05] `-- Installing libXi-1.8,1...
[main-amd64-default-job-05] `-- Extracting libXi-1.8,1: .......... done
[main-amd64-default-job-05] `-- Installing libXrandr-1.5.2...
[main-amd64-default-job-05] `-- Extracting libXrandr-1.5.2: .......... done
[main-amd64-default-job-05] `-- Installing libglvnd-1.6.0_2...
[main-amd64-default-job-05] `-- Extracting libglvnd-1.6.0_2: .......... done
[main-amd64-default-job-05] `-- Installing libinotify-20211018...
[main-amd64-default-job-05] `-- Extracting libinotify-20211018: .......... done
[main-amd64-default-job-05] `-- Installing libxkbcommon-1.5.0...
[main-amd64-default-job-05] |   `-- Installing libxml2-2.10.4...
[main-amd64-default-job-05] |   | `-- Installing readline-8.2.1...
[main-amd64-default-job-05] |   |   `-- Installing indexinfo-0.3.1...
[main-amd64-default-job-05] |   |   `-- Extracting indexinfo-0.3.1: .... done
[main-amd64-default-job-05] |   | `-- Extracting readline-8.2.1: .......... done
[main-amd64-default-job-05] |   `-- Extracting libxml2-2.10.4: .......... done
[main-amd64-default-job-05] |   `-- Installing wayland-1.22.0...
[main-amd64-default-job-05] |   | `-- Installing expat-2.5.0...
[main-amd64-default-job-05] |   | `-- Extracting expat-2.5.0: .......... done
[main-amd64-default-job-05] |   | `-- Installing libepoll-shim-0.0.20230411...
[main-amd64-default-job-05] |   | `-- Extracting libepoll-shim-0.0.20230411: .......... done
[main-amd64-default-job-05] |   | `-- Installing libffi-3.4.4...
[main-amd64-default-job-05] |   | `-- Extracting libffi-3.4.4: .......... done
[main-amd64-default-job-05] |   `-- Extracting wayland-1.22.0: .......... done
[main-amd64-default-job-05] |   `-- Installing xkeyboard-config-2.34_2...
[main-amd64-default-job-05] |   `-- Extracting xkeyboard-config-2.34_2: .......... done
[main-amd64-default-job-05] `-- Extracting libxkbcommon-1.5.0: .......... done
[main-amd64-default-job-05] `-- Installing mesa-libs-22.3.7_2...
[main-amd64-default-job-05] |   `-- Installing libXdamage-1.1.6...
[main-amd64-default-job-05] |   `-- Extracting libXdamage-1.1.6: ......... done
[main-amd64-default-job-05] |   `-- Installing libXxf86vm-1.1.4_3...
[main-amd64-default-job-05] |   `-- Extracting libXxf86vm-1.1.4_3: .......... done
[main-amd64-default-job-05] |   `-- Installing libdrm-2.4.116,1...
[main-amd64-default-job-05] |   | `-- Installing libpciaccess-0.17...
[main-amd64-default-job-05] |   | `-- Extracting libpciaccess-0.17: ........ done
[main-amd64-default-job-05] |   `-- Extracting libdrm-2.4.116,1: .......... done
[main-amd64-default-job-05] |   `-- Installing libunwind-20211201_2...
[main-amd64-default-job-05] |   `-- Extracting libunwind-20211201_2: .......... done
[main-amd64-default-job-05] |   `-- Installing libxshmfence-1.3.2...
[main-amd64-default-job-05] |   `-- Extracting libxshmfence-1.3.2: ......... done
[main-amd64-default-job-05] |   `-- Installing zstd-1.5.5...
[main-amd64-default-job-05] |   | `-- Installing liblz4-1.9.4,1...
[main-amd64-default-job-05] |   | `-- Extracting liblz4-1.9.4,1: .......... done
[main-amd64-default-job-05] |   `-- Extracting zstd-1.5.5: .......... done
[main-amd64-default-job-05] `-- Extracting mesa-libs-22.3.7_2: .......... done
[main-amd64-default-job-05] `-- Installing vulkan-loader-1.3.263...
[main-amd64-default-job-05] `-- Extracting vulkan-loader-1.3.263: ....... done
[main-amd64-default-job-05] Extracting sdl2-2.28.3: .......... done
=====
Message from libinotify-20211018:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from wayland-1.22.0:

--
Wayland requires XDG_RUNTIME_DIR to be defined to a path that will
contain "wayland-%d" unix(4) sockets. This is usually handled by
consolekit2 (via ck-launch-session) or pam_xdg (via login).
=====
Message from libxkbcommon-1.5.0:

--
If arrow keys don't work under X11 switch to legacy rules e.g.,

For sh/bash/ksh/zsh run and (optionally) add into ~/.profile:
  export XKB_DEFAULT_RULES=xorg

For csh/tcsh run and (optionally) add into ~/.login:
  setenv XKB_DEFAULT_RULES xorg
===>   smpeg2-2.0.0_4 depends on file: /usr/local/bin/sdl2-config - found
===>   Returning to build of smpeg2-2.0.0_4
===========================================================================
=======================<phase: lib-depends    >============================
===>   smpeg2-2.0.0_4 depends on shared library: libSDL2.so - found (/usr/local/lib/libSDL2.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for smpeg2-2.0.0_4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/multimedia/smpeg2/work/smpeg2-2.0.0/acinclude/libtool.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/multimedia/smpeg2/work/smpeg2-2.0.0/configure
configure: loading site script /usr/ports/Templates/config.site
checking build system type... amd64-portbld-freebsd15.0
checking host system type... amd64-portbld-freebsd15.0
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
/wrkdirs/usr/ports/multimedia/smpeg2/work/smpeg2-2.0.0/missing: Unknown `--is-lightweight' option
Try `/wrkdirs/usr/ports/multimedia/smpeg2/work/smpeg2-2.0.0/missing --help' for more information
configure: WARNING: 'missing' script is too old or missing
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm
checking the name lister (/usr/bin/nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 524288
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from cc object... ok
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
sed: No error: 0
checking for sys/types.h... eval: ${+...}: Bad substitution
===>  Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach the
"/wrkdirs/usr/ports/multimedia/smpeg2/work/smpeg2-2.0.0/config.log" including
the output of the failure of your make command. Also, it might be a good idea
to provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/smpeg2