* Package: dev-db/cdb-0.75-r4 * 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 cdb-0.75.tar.gz to /var/tmp/portage/dev-db/cdb-0.75-r4/work >>> Source unpacked in /var/tmp/portage/dev-db/cdb-0.75-r4/work >>> Preparing source in /var/tmp/portage/dev-db/cdb-0.75-r4/work/cdb-0.75 ... * Applying cdb-0.75-errno.diff ... [ ok ] * Applying cdb-0.75-stdint.diff ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-db/cdb-0.75-r4/work/cdb-0.75 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-db/cdb-0.75-r4/work/cdb-0.75 ... make -j4 ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo exec "`head -n 1 conf-ld`" \ '-o "$main" "$main".o ${1+"$@"}' \ ) > load ( cat warn-auto.sh; \ echo exec "`head -n 1 conf-cc`" '-c ${1+"$@"}' \ ) > compile ( cat warn-auto.sh; \ echo CC=\'`head -n 1 conf-cc`\'; \ echo LD=\'`head -n 1 conf-ld`\'; \ cat find-systype.sh; \ ) | sh > systype cat warn-auto.sh cdbmake-12.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > cdbmake-12 chmod 755 load chmod 755 compile cat warn-auto.sh cdbmake-sv.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > cdbmake-sv cat warn-auto.sh rts.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > rts chmod 755 cdbmake-12 ./compile testzero.c chmod 755 cdbmake-sv ./compile install.c chmod 755 rts ./compile hier.c testzero.c:17:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 17 | main(int argc,char **argv) | ^~~~ testzero.c: In function ‘main’: testzero.c:22:15: warning: implicit declaration of function ‘_exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 22 | if (!*argv) _exit(0); | ^~~~~ testzero.c:22:15: warning: incompatible implicit declaration of built-in function ‘_exit’ testzero.c:23:17: warning: incompatible implicit declaration of built-in function ‘_exit’ 23 | if (!*++argv) _exit(0); | ^~~~~ testzero.c:34:3: warning: incompatible implicit declaration of built-in function ‘_exit’ 34 | _exit(0); | ^~~~~ hier.c: In function ‘hier’: install.c: In function ‘h’: install.c:20:7: warning: implicit declaration of function ‘mkdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 20 | if (mkdir(home,0700) == -1) | ^~~~~ hier.c:5:3: warning: implicit declaration of function ‘h’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 5 | h(auto_home,-1,-1,02755); | ^ install.c:23:7: warning: implicit declaration of function ‘chown’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 23 | if (chown(home,uid,gid) == -1) | ^~~~~ hier.c:6:3: warning: implicit declaration of function ‘d’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 6 | d(auto_home,"bin",-1,-1,02755); | ^ install.c:25:7: warning: implicit declaration of function ‘chmod’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 25 | if (chmod(home,mode) == -1) | ^~~~~ hier.c:8:3: warning: implicit declaration of function ‘c’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 8 | c(auto_home,"bin","cdbget",-1,-1,0755); | ^ install.c: In function ‘d’: install.c:36:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 36 | if (chdir(home) == -1) | ^~~~~ install.c: In function ‘c’: install.c:63:7: warning: implicit declaration of function ‘fchdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 63 | if (fchdir(fdsourcedir) == -1) | ^~~~~~ install.c:88:3: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 88 | close(fdin); | ^~~~~ install.c:91:7: warning: implicit declaration of function ‘fsync’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 91 | if (fsync(fdout) == -1) | ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 140 | main() | ^~~~ install.c: In function ‘main’: install.c:146:3: warning: implicit declaration of function ‘umask’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 146 | umask(077); | ^~~~~ ./compile auto-str.c ./compile instcheck.c auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 8 | void puts(s) | ^~~~ auto-str.c:4:1: note: ‘puts’ is declared in header ‘’ 3 | #include "exit.h" +++ |+#include 4 | auto-str.c:14:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 14 | main(argc,argv) | ^~~~ instcheck.c: In function ‘d’: instcheck.c:59:7: warning: implicit declaration of function ‘chdir’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 59 | if (chdir(home) == -1) | ^~~~~ instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 104 | main() | ^~~~ ./compile cdbget.c ./compile cdb.c cdbget.c:26:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 26 | main(int argc,char **argv) | ^~~~ ./compile cdb_hash.c ./compile cdb_make.c ./compile strerr_sys.c ./compile buffer.c ./compile buffer_put.c ./compile buffer_2.c ./compile strerr_die.c ./compile buffer_get.c ./compile buffer_copy.c ./compile buffer_1.c ./compile buffer_0.c ./compile buffer_1s.c ./compile error.c ./compile open_read.c ./compile open_trunc.c ./compile error_str.c ./compile seek_set.c ./compile seek_cur.c seek_set.c: In function ‘seek_set’: seek_set.c:7:7: warning: implicit declaration of function ‘lseek’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ ./compile byte_copy.c ./compile byte_cr.c seek_cur.c: In function ‘seek_cur’: seek_cur.c:7:10: warning: implicit declaration of function ‘lseek’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 7 | { return lseek(fd,(off_t) 0,CUR); } | ^~~~~ ./compile str_len.c ./compile fmt_ulong.c ./compile uint32_unpack.c ./compile byte_diff.c ./compile uint32_pack.c ./compile scan_ulong.c ./compile cdbmake.c ./compile alloc.c cdbmake.c:39:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 39 | main(int argc,char **argv) | ^~~~ cdbmake.c: In function ‘main’: cdbmake.c:104:7: warning: implicit declaration of function ‘fsync’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 104 | if (fsync(fd) == -1) die_write(); | ^~~~~ cdbmake.c:105:7: warning: implicit declaration of function ‘close’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 105 | if (close(fd) == -1) die_write(); /* NFS silliness */ | ^~~~~ cdbmake.c:106:7: warning: implicit declaration of function ‘rename’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 106 | if (rename(fntmp,fn) == -1) | ^~~~~~ cdbmake.c:109:3: warning: implicit declaration of function ‘_exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 109 | _exit(0); | ^~~~~ cdbmake.c:109:3: warning: incompatible implicit declaration of built-in function ‘_exit’ ./compile cdbdump.c ./compile cdbstats.c alloc.c:3:14: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wbuiltin-declaration-mismatch-Wbuiltin-declaration-mismatch]8;;] 3 | extern char *malloc(); | ^~~~~~ alloc.c:3:1: note: ‘malloc’ is declared in header ‘’ 2 | #include "error.h" +++ |+#include 3 | extern char *malloc(); cdbdump.c:61:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 61 | main() | ^~~~ cdbdump.c: In function ‘main’: cdbdump.c:82:3: warning: implicit declaration of function ‘_exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 82 | _exit(0); | ^~~~~ cdbdump.c:82:3: warning: incompatible implicit declaration of built-in function ‘_exit’ ./compile cdbtest.c cdbstats.c: In function ‘putnum’: cdbstats.c:58:13: warning: implicit declaration of function ‘str_len’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 58 | put(label,str_len(label)); | ^~~~~~~ cdbstats.c: At top level: cdbstats.c:71:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 71 | main() | ^~~~ cdbstats.c: In function ‘main’: cdbstats.c:124:3: warning: implicit declaration of function ‘_exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 124 | _exit(0); | ^~~~~ cdbstats.c:124:3: warning: incompatible implicit declaration of built-in function ‘_exit’ cdbtest.c: In function ‘putnum’: cdbtest.c:54:13: warning: implicit declaration of function ‘str_len’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 54 | put(label,str_len(label)); | ^~~~~~~ cdbtest.c: At top level: cdbtest.c:69:1: warning: return type defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 69 | main() | ^~~~ cdbtest.c: In function ‘main’: cdbtest.c:118:3: warning: implicit declaration of function ‘_exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 118 | _exit(0); | ^~~~~ cdbtest.c:118:3: warning: incompatible implicit declaration of built-in function ‘_exit’ ( cat warn-auto.sh; \ echo 'main="$1"; shift'; \ echo 'rm -f "$main"'; \ echo 'ar cr "$main" ${1+"$@"}'; \ case "`cat systype`" in \ sunos-5.*) ;; \ unix_sv*) ;; \ irix64-*) ;; \ irix-*) ;; \ dgux-*) ;; \ hp-ux-*) ;; \ sco*) ;; \ *) echo 'ranlib "$main"' ;; \ esac \ ) > makelib chmod 755 makelib ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o ./makelib: line 5: ar: command not found ./makelib: line 6: ranlib: command not found make: *** [Makefile:91: cdb.a] Error 127 make: *** Waiting for unfinished jobs.... * ERROR: dev-db/cdb-0.75-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=dev-db/cdb-0.75-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-db/cdb-0.75-r4::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-db/cdb-0.75-r4:20200512-014323.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/cdb-0.75-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/cdb-0.75-r4/temp/environment'. * Working directory: '/var/tmp/portage/dev-db/cdb-0.75-r4/work/cdb-0.75' * S: '/var/tmp/portage/dev-db/cdb-0.75-r4/work/cdb-0.75' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r2, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 3763128 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Tue, 12 May 2020 06:35:13 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p1) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.2-r2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.2.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS