=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/devel/bglibs", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] ===> Building for bglibs-2.04nb5 cat warn-auto.sh choose.sh >choose ( echo '#!/bin/sh'; \ echo 'source=$1; shift'; \ echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \ echo exec `head -n 1 conf-cc` -I. "-I'include/bglibs'" "-I'include'" '-o ${base}.o -c $source ${1+"$@"}'; \ ) >compile chmod 755 choose chmod 755 compile ( echo '#!/bin/sh';\ echo 'main="$1"; shift';\ echo exec `head -n 1 conf-ld` -L. '-o "$main" "$main.o" ${1+"$@"}'; \ ) >load chmod 755 load ( ( ./compile sys/trysystime.c >/dev/null 2>&1 && \ echo '#include ' ); \ ( ./compile sys/trytime.c >/dev/null 2>&1 && \ echo '#include ' ) ) >systime.h -n Checking for -ldl: no -n Checking for -lrt: rm -f sys/trysystime.o sys/trytime.o ( if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \ echo '#!/bin/sh'; \ echo 'lib="$1"; shift';\ echo 'rm -f "$lib"';\ echo libtool --mode=link --silent $tag `head -n 1 conf-ld` '-o "$lib" -rpath' `head -n 1 conf-lib` -version-info `head -n 1 LIBVERSION` '${1+"$@"}';\ ) >makeshlib no ( if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \ echo '#!/bin/sh'; \ echo 'source=$1; shift'; \ echo 'base=`echo "$source" | sed -e s:\\\\.c$::`'; \ echo exec libtool --mode=compile --silent $tag `head -n 1 conf-cc` -I. "-I'include/bglibs'" "-I'include'" '-o ${base}.lo -c $source ${1+"$@"}'; \ ) >ltcompile chmod 755 makeshlib ( echo "#! /opt/pkg/bin/perl"; \ echo "# WARNING: This file was auto-generated. Do not edit!"; \ echo ) >perl-head.pl chmod 755 ltcompile ( if libtool --tag=CC --help >/dev/null 2>&1; then tag='--tag=CC'; fi; \ echo '#!/bin/sh';\ echo 'main="$1"; shift';\ echo exec libtool --mode=link --silent $tag `head -n 1 conf-ld` -L. '-o "$main" "$main.o" ${1+"$@"}' ; \ ) >ltload ( set -e; \ cat sysdeps-head.h; \ ./choose c attribute; \ ./choose cl daylight; \ ./choose c deprecated; \ ./choose clr ulong32; \ ./choose clr ulong64; \ ./choose clr endian; \ ./choose c dirent; \ ./choose c direntino; \ ./choose c direnttype; \ ./choose cl dl `cat dl.lib`; \ ./choose c ipv6; \ ./choose cl vfork; \ ./choose cl getpeereid; \ ./choose cl flock; \ ./choose cl peercred; \ ./choose cl sendfile; \ ./choose cl sigaction; \ ./choose cl sigprocmask; \ ./choose cl spnam; \ ./choose cl userpw; \ ./choose cl waitp; \ ./choose c zlib; \ ./choose clr poll; \ ./choose c sysselect; \ ./choose cl setenv; \ ./choose c timespec; \ ./choose cl clockgettime `cat rt.lib`; \ ./choose cl unsetenv; \ ./choose clr unaligned; \ ./choose cl mkfifo; \ ./choose clr namedpipebug; \ ./choose c inline; \ ./choose c noreturn; \ cat sysdeps-tail.h; \ ) >sysdeps.h chmod 755 ltload ./ltcompile pwcmp/module.c ./ltcompile adt/adt_sp.c ./ltcompile adt/ghash_add.c ./ltcompile adt/ghash_foreach.c ./ltcompile adt/ghash_free.c ./ltcompile adt/ghash_get.c ./ltcompile adt/ghash_init.c ./ltcompile adt/ghash_insert.c ./ltcompile adt/ghash_iter.c ./ltcompile adt/ghash_rebuild.c ./ltcompile adt/ghash_rehash.c ./ltcompile adt/ghash_remove.c ./ltcompile adt/ghash_search.c ./ltcompile adt/ghash_set.c ./ltcompile adt/gqueue_pop.c ./ltcompile adt/gqueue_push.c ./ltcompile adt/gqueue_top.c ./ltcompile adt/gstack_pop.c ./ltcompile adt/gstack_push.c ./ltcompile adt/gstack_top.c ./ltcompile adt/hashb.c ./ltcompile adt/hashs.c ./ltcompile base64/asc2bin.c ./ltcompile base64/bin2asc.c In file included from include/bglibs/str.h:5, from include/bglibs/base64.h:4, from base64/asc2bin.c:1: ./sysdeps.h:86:12: error: conflicting types for 'select'; have 'int(void)' 86 | extern int select(); | ^~~~~~ In file included from /usr/include/sys/types.h:687, from ./sysdeps.h:5: /usr/include/sys/select.h:144:12: note: previous declaration of 'select' with type 'int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)' 144 | extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, | ^~~~~~ In file included from include/bglibs/str.h:5, from include/bglibs/base64.h:4, from base64/bin2asc.c:1: ./sysdeps.h:86:12: error: conflicting types for 'select'; have 'int(void)' 86 | extern int select(); | ^~~~~~ In file included from /usr/include/sys/types.h:687, from ./sysdeps.h:5: /usr/include/sys/select.h:144:12: note: previous declaration of 'select' with type 'int(int, fd_set * restrict, fd_set * restrict, fd_set * restrict, struct timeval * restrict)' 144 | extern int select(int, fd_set *_RESTRICT_KYWD, fd_set *_RESTRICT_KYWD, | ^~~~~~ gmake: *** [Makefile:75: base64/asc2bin.lo] Error 1 gmake: *** Waiting for unfinished jobs.... gmake: *** [Makefile:78: base64/bin2asc.lo] Error 1 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/bglibs *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/bglibs