==============
=======================<phase: pkg-depends >============================
===> ctypes.sh-1.2 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.17.5_1.pkg
[main-armv6-default-job-10] Installing pkg-1.17.5_1...
[main-armv6-default-job-10] Extracting pkg-1.17.5_1: .......... done
===> ctypes.sh-1.2 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of ctypes.sh-1.2
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> License MIT accepted by the user
===> Fetching all distfiles required by ctypes.sh-1.2 for building
===========================================================================
=======================<phase: checksum >============================
===> License MIT accepted by the user
===> Fetching all distfiles required by ctypes.sh-1.2 for building
<snip>
checking for gcc... /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/cc accepts -g... yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... none needed
checking whether /nxb-bin/usr/bin/cc understands -c and -o together... yes
checking dependency style of /nxb-bin/usr/bin/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 /nxb-bin/usr/bin/cc... /nxb-bin/usr/bin/ld
checking if the linker (/nxb-bin/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 how to convert armv6-portbld-freebsd14.0 file names to
armv6-portbld-freebsd14.0 format... func_convert_file_noop
checking how to convert armv6-portbld-freebsd14.0 file names to toolchain
format... func_convert_file_noop
checking for /nxb-bin/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from /nxb-bin/usr/bin/cc object...
ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /nxb-bin/usr/bin/cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if /nxb-bin/usr/bin/cc supports -fno-rtti -fno-exceptions... yes
checking for /nxb-bin/usr/bin/cc option to produce PIC... -fPIC -DPIC
checking if /nxb-bin/usr/bin/cc PIC flag -fPIC -DPIC works... yes
checking if /nxb-bin/usr/bin/cc static flag -static works... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... yes
checking if /nxb-bin/usr/bin/cc supports -c -o file.o... (cached) yes
checking whether the /nxb-bin/usr/bin/cc linker (/nxb-bin/usr/bin/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd14.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for library containing dlopen... none required
checking for gelf_getehdr in -lelf... yes
checking for dwfl_version in -ldw... no
configure: WARNING: elfutils is not available, struct support will not be
available
checking pkg-config is at least version 0.9.0... yes
checking for FFI... yes
checking for ZLIB... yes
checking for dlfcn.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for limits.h... (cached) yes
checking for memory.h... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for unistd.h... (cached) yes
checking dwarf.h usability... yes
checking dwarf.h presence... yes
checking for dwarf.h... yes
checking libelf.h usability... yes
checking libelf.h presence... yes
checking for libelf.h... yes
checking link.h usability... yes
checking link.h presence... yes
checking for link.h... yes
checking elfutils/libdwfl.h usability... no
checking elfutils/libdwfl.h presence... no
checking for elfutils/libdwfl.h... no
configure: WARNING: a header needed for struct support was not found
checking for strchr... (cached) yes
checking for strdup... (cached) yes
checking for strrchr... (cached) yes
checking for strtol... (cached) yes
checking for strtoul... (cached) yes
checking for malloc... (cached) yes
checking for realloc... yes
checking for strtod... (cached) yes
checking for gelf_getehdr... yes
checking for dwfl_version... no
configure: WARNING: a function needed for struct support was not found
checking for dl_iterate_phdr... yes
checking for stdbool.h that conforms to C99... (cached) yes
checking for _Bool... (cached) yes
checking for gcc... (cached) /nxb-bin/usr/bin/cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether /nxb-bin/usr/bin/cc accepts -g... (cached) yes
checking for /nxb-bin/usr/bin/cc option to accept ISO C89... (cached) none
needed
checking whether /nxb-bin/usr/bin/cc understands -c and -o together... (cached)
yes
checking dependency style of /nxb-bin/usr/bin/cc... (cached) gcc3
checking for size_t... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking for obstacks... no
checking for the default library search path... /lib /usr/lib
checking what extension is used for runtime loadable modules... .so
checking for bash... /usr/local/bin/bash
checking for struct builtin.name... yes
checking whether a minimal bash plugin compiles... yes
checking loading simple plugin... yes
checking whether bash symbols are exported... yes
checking loading plugin with external references... yes
## ************************************************************************ ##
## !!! AUTOMATIC STRUCT SUPPORT IS DISABLED DUE TO MISSING DEPENDENCIES !!! ##
## ************************************************************************ ##
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating ctypes.sh
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
===========================================================================
=======================<phase: build >============================
===> Building for ctypes.sh-1.2
/nxb-bin/usr/bin/make all-recursive
Making all in src
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc
-DHAVE_CONFIG_H -I. -I.. -I../include -std=gnu99 -I/usr/local/include -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -MT ctypes_la-callback.lo
-MD -MP -MF .deps/ctypes_la-callback.Tpo -c -o ctypes_la-callback.lo `test -f
'callback.c' || echo './'`callback.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include
-std=gnu99 -I/usr/local/include -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -MT ctypes_la-callback.lo -MD -MP -MF
.deps/ctypes_la-callback.Tpo -c callback.c -fPIC -DPIC -o
.libs/ctypes_la-callback.o
callback.c:88:50: warning: result of comparison of constant -1 with expression
of type 'char' is always true [-Wtautological-constant-out-of-range-compare]
while ((opt = internal_getopt(list, "d:n:")) != -1) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~
1 warning generated.
mv -f .deps/ctypes_la-callback.Tpo .deps/ctypes_la-callback.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc
-DHAVE_CONFIG_H -I. -I.. -I../include -std=gnu99 -I/usr/local/include -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -MT ctypes_la-ctypes.lo
-MD -MP -MF .deps/ctypes_la-ctypes.Tpo -c -o ctypes_la-ctypes.lo `test -f
'ctypes.c' || echo './'`ctypes.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include
-std=gnu99 -I/usr/local/include -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -MT ctypes_la-ctypes.lo -MD -MP -MF
.deps/ctypes_la-ctypes.Tpo -c ctypes.c -fPIC -DPIC -o .libs/ctypes_la-ctypes.o
mv -f .deps/ctypes_la-ctypes.Tpo .deps/ctypes_la-ctypes.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc
-DHAVE_CONFIG_H -I. -I.. -I../include -std=gnu99 -I/usr/local/include -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -MT ctypes_la-types.lo -MD
-MP -MF .deps/ctypes_la-types.Tpo -c -o ctypes_la-types.lo `test -f 'types.c'
|| echo './'`types.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include
-std=gnu99 -I/usr/local/include -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -MT ctypes_la-types.lo -MD -MP -MF
.deps/ctypes_la-types.Tpo -c types.c -fPIC -DPIC -o .libs/ctypes_la-types.o
types.c:51:53: warning: format specifies type 'unsigned long' but the argument
has type 'size_t' (aka 'unsigned int') [-Wformat]
builtin_error("cannot handle size %lu", type->size);
~~~ ^~~~~~~~~~
%zu
types.c:79:41: warning: incompatible pointer types passing 'intmax_t *' (aka
'long long *') to parameter of type 'long *' [-Wincompatible-pointer-types]
if (check_parse_long(parameter, &n)) {
^~
./util.h:4:49: note: passing argument to parameter 'result' here
bool check_parse_long(const char *number, long *result);
^
2 warnings generated.
mv -f .deps/ctypes_la-types.Tpo .deps/ctypes_la-types.Plo
/bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc
-DHAVE_CONFIG_H -I. -I.. -I../include -std=gnu99 -I/usr/local/include -O2
-pipe -fstack-protector-strong -fno-strict-aliasing -MT ctypes_la-unpack.lo
-MD -MP -MF .deps/ctypes_la-unpack.Tpo -c -o ctypes_la-unpack.lo `test -f
'unpack.c' || echo './'`unpack.c
libtool: compile: /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I.. -I../include
-std=gnu99 -I/usr/local/include -O2 -pipe -fstack-protector-strong
-fno-strict-aliasing -MT ctypes_la-unpack.lo -MD -MP -MF
.deps/ctypes_la-unpack.Tpo -c unpack.c -fPIC -DPIC -o .libs/ctypes_la-unpack.o
unpack.c:26:21: error: static declaration of 'mempcpy' follows non-static
declaration
static inline void *mempcpy(void *dest, const void *src, size_t n)
^
/usr/include/string.h:70:7: note: previous declaration is here
void *mempcpy(void * __restrict, const void * __restrict, size_t);
^
unpack.c:83:25: warning: format specifies type 'unsigned long' but the argument
has type 'arrayind_t' (aka 'long long') [-Wformat]
element->ind);
^~~~~~~~~~~~
unpack.c:237:25: warning: format specifies type 'unsigned long' but the
argument has type 'arrayind_t' (aka 'long long') [-Wformat]
element->ind);
^~~~~~~~~~~~
2 warnings and 1 error generated.
*** Error code 1
Stop.
make[3]: stopped in /wrkdirs/usr/ports/devel/ctypes.sh/work/ctypes-sh-1.2/src
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/ctypes.sh/work/ctypes-sh-1.2
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/ctypes.sh/work/ctypes-sh-1.2
*** Error code 1
Stop.
make: stopped in /usr/ports/devel/ctypes.sh