* Package: dev-libs/bglibs-2.04 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking bglibs-2.04.tar.gz to /var/tmp/portage/dev-libs/bglibs-2.04/work >>> Source unpacked in /var/tmp/portage/dev-libs/bglibs-2.04/work >>> Preparing source in /var/tmp/portage/dev-libs/bglibs-2.04/work/bglibs-2.04 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-libs/bglibs-2.04/work/bglibs-2.04 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-libs/bglibs-2.04/work/bglibs-2.04 ... make -j1 cat warn-auto.sh choose.sh >choose chmod 755 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 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 rm -f sys/trysystime.o sys/trytime.o Checking for -ldl: yes Checking for -lrt: yes ( 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 ( 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 chmod 755 makeshlib ( 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 ltcompile ./ltcompile pwcmp/module.c ./makeshlib libpwcmp-module.la pwcmp/module.lo ./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 ./ltcompile base64/decode_line.c ./ltcompile base64/decode_part.c ./ltcompile base64/encode_line.c ./ltcompile base64/encode_part.c ./ltcompile cdb/cdb.c ./ltcompile cdb/cdbhash.c ./ltcompile cdb/find.c ./ltcompile cdb/get.c ./ltcompile cdb/getnext.c ./ltcompile cdb/make.c ./ltcompile cdb/read.c ./compile crc-gentab.c ./ltcompile fmt/lcase.c ./ltcompile fmt/ucase.c ./ltcompile fmt/unum.c ./ltcompile iobuf/iobuf_timeout.c ./ltcompile iobuf/obuf_flush.c ./ltcompile iobuf/obuf_pad.c ./ltcompile iobuf/obuf_put3s.c ./ltcompile iobuf/obuf_put5s.c ./ltcompile iobuf/obuf_putc.c ./ltcompile iobuf/obuf_putunumw.c ./ltcompile iobuf/obuf_stderr.c ./ltcompile iobuf/obuf_stdout.c ./ltcompile iobuf/obuf_write.c ./ltcompile msg/common.c ./ltcompile msg/die.c ./ltcompile sys/iopoll.c ./load crc-gentab fmt/lcase.o fmt/ucase.o fmt/unum.o iobuf/iobuf_timeout.o iobuf/obuf_flush.o iobuf/obuf_pad.o iobuf/obuf_put3s.o iobuf/obuf_put5s.o iobuf/obuf_putc.o iobuf/obuf_putunumw.o iobuf/obuf_stderr.o iobuf/obuf_stdout.o iobuf/obuf_write.o msg/common.o msg/die.o sys/iopoll.o -static ./crc-gentab crc16_arc 16 0x8005 reflected >crc/crc16_arc_table.c ./ltcompile crc/crc16_arc_table.c ./crc-gentab crc16_ccitt 16 0x1021 normal >crc/crc16_ccitt_table.c ./ltcompile crc/crc16_ccitt_table.c ./crc-gentab crc16_xmodem 16 0x8408 reflected >crc/crc16_xmodem_table.c ./ltcompile crc/crc16_xmodem_table.c ./crc-gentab crc32 32 0x04C11DB7 reflected >crc/crc32_table.c ./ltcompile crc/crc32_table.c ./crc-gentab crc32c 32 0x1EDC6F41 reflected >crc/crc32c_table.c ./ltcompile crc/crc32c_table.c ./crc-gentab crc64 64 0x42F0E1EBA9EA3693 normal >crc/crc64_table.c ./ltcompile crc/crc64_table.c ./ltcompile crc/gcrc16fwd.c ./ltcompile crc/gcrc16rfl.c ./ltcompile crc/gcrc32fwd.c ./ltcompile crc/gcrc32rfl.c ./ltcompile crc/gcrc64fwd.c ./ltcompile crc/gcrc64rfl.c ./ltcompile crypto/hmac-md5.c ./ltcompile crypto/hmac-sha1.c ./ltcompile crypto/hmac-sha256.c ./ltcompile crypto/hmac-sha384.c ./ltcompile crypto/hmac-sha512.c ./ltcompile crypto/hmac.c ./ltcompile crypto/md4.c ./ltcompile crypto/md5-crypt.c ./ltcompile crypto/md5.c ./ltcompile crypto/sha1.c ./ltcompile crypto/sha256.c ./ltcompile crypto/sha384.c ./ltcompile crypto/sha512.c ./ltcompile crypto/surf.c ./ltcompile crypto/surfrand.c ./ltcompile dict/add.c ./ltcompile dict/dicthash.c ./ltcompile dict/foreach.c ./ltcompile dict/free.c ./ltcompile dict/get.c ./ltcompile dict/init.c ./ltcompile dict/load_list.c ./ltcompile dict/load_map.c ./ltcompile dict/str_free.c ./ltcompile fmt/char.c ./ltcompile fmt/chars.c ./ltcompile fmt/multi.c ./ltcompile fmt/pad.c ./ltcompile fmt/sdec.c ./ltcompile fmt/sign_pad.c ./ltcompile fmt/slldec.c ./ltcompile fmt/sllnum.c ./ltcompile fmt/snum.c ./ltcompile fmt/udec.c ./ltcompile fmt/uhexl.c ./ltcompile fmt/uhexu.c ./ltcompile fmt/ulldec.c ./ltcompile fmt/ullhexl.c ./ltcompile fmt/ullhexu.c ./ltcompile fmt/ullnum.c ./ltcompile iobuf/ibuf_copytofd.c ./ltcompile iobuf/ibuf_getc.c ./ltcompile iobuf/ibuf_getnetstring.c ./ltcompile iobuf/ibuf_gets.c ./ltcompile iobuf/ibuf_getstr.c ./ltcompile iobuf/ibuf_getstr_crlf.c ./ltcompile iobuf/ibuf_getu.c ./ltcompile iobuf/ibuf_init.c ./ltcompile iobuf/ibuf_open.c ./ltcompile iobuf/ibuf_openreadclose.c ./ltcompile iobuf/ibuf_peek.c ./ltcompile iobuf/ibuf_read.c ./ltcompile iobuf/ibuf_readall.c ./ltcompile iobuf/ibuf_refill.c iobuf/ibuf_refill.c: In function ‘ibuf_refill’: iobuf/ibuf_refill.c:21:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 21 | write(1, errmsg, sizeof errmsg); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ltcompile iobuf/ibuf_seek.c ./ltcompile iobuf/ibuf_status.c ./ltcompile iobuf/ibuf_stdin.c ./ltcompile iobuf/ibuf_tell.c ./ltcompile iobuf/iobuf_close.c ./ltcompile iobuf/iobuf_copy.c ./ltcompile iobuf/iobuf_init.c ./ltcompile iobuf/obuf_close.c ./ltcompile iobuf/obuf_copyfromfd.c ./ltcompile iobuf/obuf_digits.c ./ltcompile iobuf/obuf_endl.c ./ltcompile iobuf/obuf_init.c ./ltcompile iobuf/obuf_open.c ./ltcompile iobuf/obuf_put2s.c ./ltcompile iobuf/obuf_put4s.c ./ltcompile iobuf/obuf_put6s.c ./ltcompile iobuf/obuf_put7s.c ./ltcompile iobuf/obuf_putf.c ./ltcompile iobuf/obuf_putnetstring.c ./ltcompile iobuf/obuf_putns.c ./ltcompile iobuf/obuf_putsflush.c ./ltcompile iobuf/obuf_putsllnumw.c ./ltcompile iobuf/obuf_putsnumw.c ./ltcompile iobuf/obuf_putullnumw.c ./ltcompile iobuf/obuf_seek.c ./ltcompile iobuf/obuf_sign_pad.c ./ltcompile iobuf/obuf_sync.c ./ltcompile misc/random.c ./ltcompile misc/strtou.c ./ltcompile misc/ucspi.c ./ltcompile misc/utoa.c ./ltcompile misc/utoa2.c ./ltcompile msg/commonf.c ./ltcompile msg/debug.c ./ltcompile msg/debug_bits.c ./ltcompile msg/debug_init.c ./ltcompile msg/debugf.c ./ltcompile msg/dief.c ./ltcompile msg/error.c ./ltcompile msg/errorf.c ./ltcompile msg/oom.c ./ltcompile msg/show_pid.c ./ltcompile msg/warn.c ./ltcompile msg/warnf.c ./ltcompile msg/wrap_alloc.c ./ltcompile msg/wrap_chdir.c ./ltcompile msg/wrap_exit.c ./ltcompile msg/wrap_str.c ./ltcompile net/accept4.c ./ltcompile net/accept6.c ./ltcompile net/acceptu.c ./ltcompile net/bind4.c ./ltcompile net/bind6.c ./ltcompile net/bindu.c ./ltcompile net/broadcast.c ./ltcompile net/connect4.c ./ltcompile net/connect4_timeout.c ./ltcompile net/connect6.c ./ltcompile net/connect6_timeout.c ./ltcompile net/connected.c net/connected.c: In function ‘socket_connected’: net/connected.c:32:5: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result] 32 | read(sock,&ch,1); | ^~~~~~~~~~~~~~~~ ./ltcompile net/connectu.c ./ltcompile net/connectu_timeout.c ./ltcompile net/cork.c ./ltcompile net/dns_domain_fromdot.c ./ltcompile net/dns_domain.c ./ltcompile net/dns_domain_todot.c ./ltcompile net/dns_fmt.c ./ltcompile net/dns_ip4.c ./ltcompile net/dns_ip6.c ./ltcompile net/dns_mx.c ./ltcompile net/dns_name_packet.c ./ltcompile net/dns_name4.c ./ltcompile net/dns_name4_domain.c ./ltcompile net/dns_name6.c ./ltcompile net/dns_name6_domain.c ./ltcompile net/dns_packet.c ./ltcompile net/dns_qualify.c ./ltcompile net/dns_random.c ./ltcompile net/dns_resolvconfip.c ./ltcompile net/dns_resolvconfrewrite.c ./ltcompile net/dns_resolve.c ./ltcompile net/dns_result.c ./ltcompile net/dns_rotate.c ./ltcompile net/dns_sort.c ./ltcompile net/dns_transmit.c ./ltcompile net/dns_txt.c ./ltcompile net/getaddr4.c ./ltcompile net/getaddr6.c ./ltcompile net/ipv4_addr.c ./ltcompile net/ipv4_format.c ./ltcompile net/ipv4_scan.c ./ltcompile net/ipv6_addr.c ./ltcompile net/ipv6_format.c ./ltcompile net/ipv6_scan.c ./ltcompile net/linger.c ./ltcompile net/listen.c ./ltcompile net/notcpdelay.c ./ltcompile net/pairdgm.c ./ltcompile net/pairstr.c ./ltcompile net/recv4.c ./ltcompile net/recv6.c ./ltcompile net/recvfd.c ./ltcompile net/recvu.c ./ltcompile net/resolve_calldns.c ./ltcompile net/resolve_ipv4addr.c ./ltcompile net/resolve_ipv4name.c ./ltcompile net/reuse.c ./ltcompile net/send4.c ./ltcompile net/send6.c ./ltcompile net/sendfd.c ./ltcompile net/sendu.c ./ltcompile net/shutdown.c ./ltcompile net/tcp4.c ./ltcompile net/tcp6.c ./ltcompile net/udp4.c ./ltcompile net/udp6.c ./ltcompile net/uncork.c ./ltcompile net/unixdgm.c ./ltcompile net/unixstr.c ./ltcompile path/contains.c ./ltcompile path/fnmatch.c ./ltcompile path/match.c ./ltcompile path/merge.c ./ltcompile path/mkdirs.c ./ltcompile path/mktemp.c ./ltcompile str/alloc.c ./ltcompile str/buildmap.c ./ltcompile str/case_end.c ./ltcompile str/case_glob.c ./ltcompile str/case_match.c ./ltcompile str/case_start.c ./ltcompile str/cat.c ./ltcompile str/cat2s.c ./ltcompile str/cat3s.c ./ltcompile str/cat4s.c ./ltcompile str/cat5s.c ./ltcompile str/cat6s.c ./ltcompile str/catf.c ./ltcompile str/catiw.c ./ltcompile str/catiwll.c ./ltcompile str/catns.c ./ltcompile str/catsllnum.c ./ltcompile str/catsnum.c ./ltcompile str/catullnum.c ./ltcompile str/catunum.c ./ltcompile str/catuw.c ./ltcompile str/catuwll.c ./ltcompile str/catxw.c ./ltcompile str/catxwll.c ./ltcompile str/cmp.c ./ltcompile str/copy.c ./ltcompile str/copy2s.c ./ltcompile str/copy3s.c ./ltcompile str/copy4s.c ./ltcompile str/copy5s.c ./ltcompile str/copy6s.c ./ltcompile str/copyf.c ./ltcompile str/copyns.c ./ltcompile str/count.c ./ltcompile str/countof.c ./ltcompile str/cut.c ./ltcompile str/diff.c ./ltcompile str/digits.c ./ltcompile str/end.c ./ltcompile str/env_find.c ./ltcompile str/env_from_array.c ./ltcompile str/env_from_string.c ./ltcompile str/env_get.c ./ltcompile str/env_make_array.c ./ltcompile str/env_put.c ./ltcompile str/env_set.c ./ltcompile str/env_unset.c ./ltcompile str/findnext.c ./ltcompile str/findnextof.c ./ltcompile str/findprev.c ./ltcompile str/findprevof.c ./ltcompile str/free.c ./ltcompile str/glob.c ./ltcompile str/init.c ./ltcompile str/iter_advance.c ./ltcompile str/iter_start.c ./ltcompile str/iter_valid.c ./ltcompile str/join.c ./ltcompile str/lower.c ./ltcompile str/lstrip.c ./ltcompile str/match.c ./ltcompile str/rstrip.c ./ltcompile str/sort.c ./ltcompile str/splice.c ./ltcompile str/start.c ./ltcompile str/subst.c ./ltcompile str/truncate.c ./ltcompile str/upper.c ./ltcompile str/xlate.c ./ltcompile sys/clock_gettime.c ./ltcompile sys/getpeereid.c ./ltcompile sys/setenv.c ./ltcompile sys/unsetenv.c ./ltcompile uint16/get.c ./ltcompile uint16/pack.c ./ltcompile uint16/unpack.c ./ltcompile uint32/get_lsb.c ./ltcompile uint32/get_msb.c ./ltcompile uint32/pack_lsb.c ./ltcompile uint32/pack_msb.c ./ltcompile uint32/unpack_lsb.c ./ltcompile uint32/unpack_msb.c ./ltcompile uint64/get_lsb.c ./ltcompile uint64/get_msb.c ./ltcompile uint64/pack_lsb.c ./ltcompile uint64/pack_msb.c ./ltcompile uint64/unpack_lsb.c ./ltcompile uint64/unpack_msb.c ./ltcompile unix/cloexec_off.c ./ltcompile unix/cloexec_on.c ./ltcompile unix/fcntl_fd_off.c ./ltcompile unix/fcntl_fd_on.c ./ltcompile unix/fcntl_fl_off.c ./ltcompile unix/fcntl_fl_on.c ./ltcompile unix/nonblock_off.c ./ltcompile unix/nonblock_on.c ./ltcompile unix/selfpipe.c unix/selfpipe.c: In function ‘selfpipe_catch_signal’: unix/selfpipe.c:19:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 19 | write(fds[1], &c, 1); | ^~~~~~~~~~~~~~~~~~~~ ./ltcompile unix/sig_alarm.c ./ltcompile unix/sig_all.c ./ltcompile unix/sig_block.c ./ltcompile unix/sig_bug.c ./ltcompile unix/sig_catch.c ./ltcompile unix/sig_child.c ./ltcompile unix/sig_hup.c ./ltcompile unix/sig_int.c ./ltcompile unix/sig_misc.c ./ltcompile unix/sig_pipe.c ./ltcompile unix/sig_quit.c ./ltcompile unix/sig_suspend.c ./ltcompile unix/sig_term.c ./ltcompile unix/signalfd.c unix/signalfd.c: In function ‘signalfd_handler’: unix/signalfd.c:14:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 14 | write(fds[1], &signum, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ./ltcompile unix/trigger_pull.c unix/trigger_pull.c: In function ‘trigger_pull’: unix/trigger_pull.c:11:5: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 11 | write(fd, "", 1); | ^~~~~~~~~~~~~~~~ ./ltcompile unix/trigger_set.c ./makeshlib libbg.la adt/adt_sp.lo adt/ghash_add.lo adt/ghash_foreach.lo adt/ghash_free.lo adt/ghash_get.lo adt/ghash_init.lo adt/ghash_insert.lo adt/ghash_iter.lo adt/ghash_rebuild.lo adt/ghash_rehash.lo adt/ghash_remove.lo adt/ghash_search.lo adt/ghash_set.lo adt/gqueue_pop.lo adt/gqueue_push.lo adt/gqueue_top.lo adt/gstack_pop.lo adt/gstack_push.lo adt/gstack_top.lo adt/hashb.lo adt/hashs.lo base64/asc2bin.lo base64/bin2asc.lo base64/decode_line.lo base64/decode_part.lo base64/encode_line.lo base64/encode_part.lo cdb/cdb.lo cdb/cdbhash.lo cdb/find.lo cdb/get.lo cdb/getnext.lo cdb/make.lo cdb/read.lo crc/crc16_arc_table.lo crc/crc16_ccitt_table.lo crc/crc16_xmodem_table.lo crc/crc32_table.lo crc/crc32c_table.lo crc/crc64_table.lo crc/gcrc16fwd.lo crc/gcrc16rfl.lo crc/gcrc32fwd.lo crc/gcrc32rfl.lo crc/gcrc64fwd.lo crc/gcrc64rfl.lo crypto/hmac-md5.lo crypto/hmac-sha1.lo crypto/hmac-sha256.lo crypto/hmac-sha384.lo crypto/hmac-sha512.lo crypto/hmac.lo crypto/md4.lo crypto/md5-crypt.lo crypto/md5.lo crypto/sha1.lo crypto/sha256.lo crypto/sha384.lo crypto/sha512.lo crypto/surf.lo crypto/surfrand.lo dict/add.lo dict/dicthash.lo dict/foreach.lo dict/free.lo dict/get.lo dict/init.lo dict/load_list.lo dict/load_map.lo dict/str_free.lo fmt/char.lo fmt/chars.lo fmt/lcase.lo fmt/multi.lo fmt/pad.lo fmt/sdec.lo fmt/sign_pad.lo fmt/slldec.lo fmt/sllnum.lo fmt/snum.lo fmt/ucase.lo fmt/udec.lo fmt/uhexl.lo fmt/uhexu.lo fmt/ulldec.lo fmt/ullhexl.lo fmt/ullhexu.lo fmt/ullnum.lo fmt/unum.lo iobuf/ibuf_copytofd.lo iobuf/ibuf_getc.lo iobuf/ibuf_getnetstring.lo iobuf/ibuf_gets.lo iobuf/ibuf_getstr.lo iobuf/ibuf_getstr_crlf.lo iobuf/ibuf_getu.lo iobuf/ibuf_init.lo iobuf/ibuf_open.lo iobuf/ibuf_openreadclose.lo iobuf/ibuf_peek.lo iobuf/ibuf_read.lo iobuf/ibuf_readall.lo iobuf/ibuf_refill.lo iobuf/ibuf_seek.lo iobuf/ibuf_status.lo iobuf/ibuf_stdin.lo iobuf/ibuf_tell.lo iobuf/iobuf_close.lo iobuf/iobuf_copy.lo iobuf/iobuf_init.lo iobuf/iobuf_timeout.lo iobuf/obuf_close.lo iobuf/obuf_copyfromfd.lo iobuf/obuf_digits.lo iobuf/obuf_endl.lo iobuf/obuf_flush.lo iobuf/obuf_init.lo iobuf/obuf_open.lo iobuf/obuf_pad.lo iobuf/obuf_put2s.lo iobuf/obuf_put3s.lo iobuf/obuf_put4s.lo iobuf/obuf_put5s.lo iobuf/obuf_put6s.lo iobuf/obuf_put7s.lo iobuf/obuf_putc.lo iobuf/obuf_putf.lo iobuf/obuf_putnetstring.lo iobuf/obuf_putns.lo iobuf/obuf_putsflush.lo iobuf/obuf_putsllnumw.lo iobuf/obuf_putsnumw.lo iobuf/obuf_putullnumw.lo iobuf/obuf_putunumw.lo iobuf/obuf_seek.lo iobuf/obuf_sign_pad.lo iobuf/obuf_stderr.lo iobuf/obuf_stdout.lo iobuf/obuf_sync.lo iobuf/obuf_write.lo misc/random.lo misc/strtou.lo misc/ucspi.lo misc/utoa.lo misc/utoa2.lo msg/common.lo msg/commonf.lo msg/debug.lo msg/debug_bits.lo msg/debug_init.lo msg/debugf.lo msg/die.lo msg/dief.lo msg/error.lo msg/errorf.lo msg/oom.lo msg/show_pid.lo msg/warn.lo msg/warnf.lo msg/wrap_alloc.lo msg/wrap_chdir.lo msg/wrap_exit.lo msg/wrap_str.lo net/accept4.lo net/accept6.lo net/acceptu.lo net/bind4.lo net/bind6.lo net/bindu.lo net/broadcast.lo net/connect4.lo net/connect4_timeout.lo net/connect6.lo net/connect6_timeout.lo net/connected.lo net/connectu.lo net/connectu_timeout.lo net/cork.lo net/dns_domain_fromdot.lo net/dns_domain.lo net/dns_domain_todot.lo net/dns_fmt.lo net/dns_ip4.lo net/dns_ip6.lo net/dns_mx.lo net/dns_name_packet.lo net/dns_name4.lo net/dns_name4_domain.lo net/dns_name6.lo net/dns_name6_domain.lo net/dns_packet.lo net/dns_qualify.lo net/dns_random.lo net/dns_resolvconfip.lo net/dns_resolvconfrewrite.lo net/dns_resolve.lo net/dns_result.lo net/dns_rotate.lo net/dns_sort.lo net/dns_transmit.lo net/dns_txt.lo net/getaddr4.lo net/getaddr6.lo net/ipv4_addr.lo net/ipv4_format.lo net/ipv4_scan.lo net/ipv6_addr.lo net/ipv6_format.lo net/ipv6_scan.lo net/linger.lo net/listen.lo net/notcpdelay.lo net/pairdgm.lo net/pairstr.lo net/recv4.lo net/recv6.lo net/recvfd.lo net/recvu.lo net/resolve_calldns.lo net/resolve_ipv4addr.lo net/resolve_ipv4name.lo net/reuse.lo net/send4.lo net/send6.lo net/sendfd.lo net/sendu.lo net/shutdown.lo net/tcp4.lo net/tcp6.lo net/udp4.lo net/udp6.lo net/uncork.lo net/unixdgm.lo net/unixstr.lo path/contains.lo path/fnmatch.lo path/match.lo path/merge.lo path/mkdirs.lo path/mktemp.lo str/alloc.lo str/buildmap.lo str/case_end.lo str/case_glob.lo str/case_match.lo str/case_start.lo str/cat.lo str/cat2s.lo str/cat3s.lo str/cat4s.lo str/cat5s.lo str/cat6s.lo str/catf.lo str/catiw.lo str/catiwll.lo str/catns.lo str/catsllnum.lo str/catsnum.lo str/catullnum.lo str/catunum.lo str/catuw.lo str/catuwll.lo str/catxw.lo str/catxwll.lo str/cmp.lo str/copy.lo str/copy2s.lo str/copy3s.lo str/copy4s.lo str/copy5s.lo str/copy6s.lo str/copyf.lo str/copyns.lo str/count.lo str/countof.lo str/cut.lo str/diff.lo str/digits.lo str/end.lo str/env_find.lo str/env_from_array.lo str/env_from_string.lo str/env_get.lo str/env_make_array.lo str/env_put.lo str/env_set.lo str/env_unset.lo str/findnext.lo str/findnextof.lo str/findprev.lo str/findprevof.lo str/free.lo str/glob.lo str/init.lo str/iter_advance.lo str/iter_start.lo str/iter_valid.lo str/join.lo str/lower.lo str/lstrip.lo str/match.lo str/rstrip.lo str/sort.lo str/splice.lo str/start.lo str/subst.lo str/truncate.lo str/upper.lo str/xlate.lo sys/clock_gettime.lo sys/getpeereid.lo sys/iopoll.lo sys/setenv.lo sys/unsetenv.lo uint16/get.lo uint16/pack.lo uint16/unpack.lo uint32/get_lsb.lo uint32/get_msb.lo uint32/pack_lsb.lo uint32/pack_msb.lo uint32/unpack_lsb.lo uint32/unpack_msb.lo uint64/get_lsb.lo uint64/get_msb.lo uint64/pack_lsb.lo uint64/pack_msb.lo uint64/unpack_lsb.lo uint64/unpack_msb.lo unix/cloexec_off.lo unix/cloexec_on.lo unix/fcntl_fd_off.lo unix/fcntl_fd_on.lo unix/fcntl_fl_off.lo unix/fcntl_fl_on.lo unix/nonblock_off.lo unix/nonblock_on.lo unix/selfpipe.lo unix/sig_alarm.lo unix/sig_all.lo unix/sig_block.lo unix/sig_bug.lo unix/sig_catch.lo unix/sig_child.lo unix/sig_hup.lo unix/sig_int.lo unix/sig_misc.lo unix/sig_pipe.lo unix/sig_quit.lo unix/sig_suspend.lo unix/sig_term.lo unix/signalfd.lo unix/trigger_pull.lo unix/trigger_set.lo copying selected object files to avoid basename conflicts... ./ltcompile vmailmgr/req_arg.c ./ltcompile vmailmgr/req_init.c ./ltcompile vmailmgr/req_write.c ./ltcompile vmailmgr/resp_read.c ./ltcompile vmailmgr/vpwentry_export.c ./ltcompile vmailmgr/vpwentry_free.c ./ltcompile vmailmgr/vpwentry_import.c ./makeshlib libvmailmgr.la vmailmgr/req_arg.lo vmailmgr/req_init.lo vmailmgr/req_write.lo vmailmgr/resp_read.lo vmailmgr/vpwentry_export.lo vmailmgr/vpwentry_free.lo vmailmgr/vpwentry_import.lo ./ltcompile cli/main.c ./ltcompile cli/help.c ./makeshlib libbg-cli.la cli/main.lo cli/help.lo ./ltcompile pwcmp/client.c ./ltcompile pwcmp/hex_encode.c ./makeshlib libpwcmp.la pwcmp/client.lo pwcmp/hex_encode.lo ( set -e; PATH="/bin:/usr/bin:/usr/local/bin:$PATH"; export PATH; \ perl=`which perl`; \ echo "#! $perl"; \ echo "# WARNING: This file was auto-generated. Do not edit!"; \ echo ) >perl-head.pl cat perl-head.pl cli-generate.pl >cli-generate chmod 755 cli-generate ./cli-generate -h bg-installer.cli >bg-installer-cli.h ./compile bg-installer.c ( 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 chmod 755 ltload ./cli-generate -c bg-installer.cli >bg-installer-cli.c ./compile bg-installer-cli.c ./ltload bg-installer libbg-cli.la libbg.la bg-installer-cli.o -lbg-cli -static ./cli-generate -m bg-installer.cli >bg-installer.1 >>> Source compiled. >>> Test phase: dev-libs/bglibs-2.04 * Running selftests make -j1 selftests ./compile selftest-cmp.c ./ltload selftest-cmp libbg.la sh selftests.sh Creating temporary directory selftests.sh.tmp.83 Testing crc/gcrc16fwd.c Testing crc/gcrc16rfl.c Testing crc/gcrc32rfl.c Testing crc/gcrc64fwd.c Testing crypto/hmac-md5.c Testing crypto/hmac-sha1.c Testing crypto/hmac-sha256.c Testing crypto/hmac-sha384.c Testing crypto/hmac-sha512.c Testing crypto/md4.c Testing crypto/md5.c Testing crypto/sha1.c Testing crypto/sha256.c Testing crypto/sha384.c Testing crypto/sha512.c Testing crypto/surf.c Testing crypto/surfrand.c Testing fmt/char.c Testing fmt/chars.c Testing fmt/multi.c Testing fmt/sign_pad.c Testing fmt/sllnum.c Testing fmt/snum.c Testing fmt/ullnum.c Testing fmt/unum.c Testing iobuf/ibuf_getc.c Testing iobuf/ibuf_getnetstring.c Testing iobuf/ibuf_gets.c Testing iobuf/ibuf_getstr_crlf.c Testing iobuf/iobuf_init.c Testing iobuf/obuf_put2s.c Testing iobuf/obuf_put3s.c Testing iobuf/obuf_put4s.c Testing iobuf/obuf_put5s.c Testing iobuf/obuf_put6s.c Testing iobuf/obuf_put7s.c Testing iobuf/obuf_putf.c Testing iobuf/obuf_putns.c Testing iobuf/obuf_putsllnumw.c Testing iobuf/obuf_putsnumw.c Testing iobuf/obuf_putullnumw.c Testing iobuf/obuf_putunumw.c Testing iobuf/obuf_sign_pad.c Testing iobuf/obuf_write.c iobuf/obuf_write.c: In function ‘selftest’: iobuf/obuf_write.c:65:28: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 65 | obuf_puts(&buf, "0123"); write(1,"brk\n",4); | ^~~~~~~~~~~~~~~~~~ iobuf/obuf_write.c:66:32: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 66 | obuf_puts(&buf, "456789\n"); write(1,"brk\n",4); | ^~~~~~~~~~~~~~~~~~ iobuf/obuf_write.c:68:38: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 68 | obuf_write(&buf, "01234567\n", 9); write(1,"brk\n",4); | ^~~~~~~~~~~~~~~~~~ Testing misc/strtou.c Testing misc/ucspi.c Testing misc/utoa.c Testing misc/utoa2.c Testing msg/common.c Testing msg/commonf.c Testing msg/wrap_alloc.c Testing msg/wrap_chdir.c Testing msg/wrap_str.c Testing net/connect4.c Testing net/dns_domain_fromdot.c Testing net/dns_domain_todot.c Testing net/dns_ip4.c Testing net/dns_ip6.c Testing net/dns_mx.c Testing net/dns_name4.c Testing net/dns_name6.c Testing net/dns_qualify.c Testing net/dns_resolvconfip.c Testing net/dns_resolvconfrewrite.c Testing net/dns_txt.c Testing net/ipv4_format.c Testing net/ipv4_scan.c Testing net/ipv6_format.c Testing net/ipv6_scan.c Testing net/resolve_ipv4addr.c selftests.sh: line 27: 1968 Segmentation fault ./test > ./test.out 2>&1 =====> Test output <===== =====> Test failed! <===== Testing net/resolve_ipv4name.c Testing net/tcp4.c Testing path/fnmatch.c Testing path/match.c Testing path/merge.c Testing str/alloc.c Testing str/case_end.c Testing str/case_glob.c Testing str/case_match.c Testing str/case_start.c Testing str/cat2s.c Testing str/cat3s.c Testing str/cat4s.c Testing str/cat5s.c Testing str/cat6s.c Testing str/catf.c Testing str/catns.c Testing str/copy.c Testing str/copy2s.c Testing str/copy3s.c Testing str/copy4s.c Testing str/copy5s.c Testing str/copy6s.c Testing str/copyf.c Testing str/copyns.c Testing str/end.c Testing str/env_find.c Testing str/env_from_array.c Testing str/env_from_string.c Testing str/env_get.c Testing str/env_make_array.c Testing str/env_put.c Testing str/env_set.c Testing str/env_unset.c Testing str/findnext.c Testing str/findnextof.c Testing str/findprev.c Testing str/findprevof.c Testing str/free.c Testing str/glob.c Testing str/init.c Testing str/join.c Testing str/match.c Testing str/splice.c Testing str/start.c Testing str/xlate.c Testing unix/selfpipe.c unix/selfpipe.c: In function ‘selfpipe_catch_signal’: unix/selfpipe.c:19:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 19 | write(fds[1], &c, 1); | ^~~~~~~~~~~~~~~~~~~~ Testing unix/signalfd.c unix/signalfd.c: In function ‘signalfd_handler’: unix/signalfd.c:14:3: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result] 14 | write(fds[1], &signum, 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ Cleaning up selftests.sh.tmp.83 make: *** [Makefile:898: selftests] Error 1 * ERROR: dev-libs/bglibs-2.04::gentoo failed (test phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-libs/bglibs-2.04::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-libs/bglibs-2.04::gentoo'`. * The complete build log is located at '/var/log/portage/dev-libs:bglibs-2.04:20190604-203606.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-libs/bglibs-2.04/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-libs/bglibs-2.04/temp/environment'. * Working directory: '/var/tmp/portage/dev-libs/bglibs-2.04/work/bglibs-2.04' * S: '/var/tmp/portage/dev-libs/bglibs-2.04/work/bglibs-2.04'