* 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 splitdebug 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 -j3 ( 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 chmod 755 load cat warn-auto.sh cdbmake-12.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > cdbmake-12 chmod 755 compile cat warn-auto.sh cdbmake-sv.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > cdbmake-sv chmod 755 cdbmake-12 cat warn-auto.sh rts.sh \ | sed s}HOME}"`head -n 1 conf-home`"}g \ > rts chmod 755 rts chmod 755 cdbmake-sv ./compile testzero.c ./compile install.c testzero.c:17:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 17 | main(int argc,char **argv) | ^~~~ testzero.c: In function ‘main’: testzero.c:22:15: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 22 | if (!*argv) _exit(0); | ^~~~~ testzero.c:22:15: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] testzero.c:23:17: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] 23 | if (!*++argv) _exit(0); | ^~~~~ testzero.c:34:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] 34 | _exit(0); | ^~~~~ install.c: In function ‘h’: install.c:20:7: warning: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration] 20 | if (mkdir(home,0700) == -1) | ^~~~~ install.c:23:7: warning: implicit declaration of function ‘chown’ [-Wimplicit-function-declaration] 23 | if (chown(home,uid,gid) == -1) | ^~~~~ install.c:25:7: warning: implicit declaration of function ‘chmod’ [-Wimplicit-function-declaration] 25 | if (chmod(home,mode) == -1) | ^~~~~ install.c: In function ‘d’: install.c:36:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 36 | if (chdir(home) == -1) | ^~~~~ install.c: In function ‘c’: install.c:63:7: warning: implicit declaration of function ‘fchdir’ [-Wimplicit-function-declaration] 63 | if (fchdir(fdsourcedir) == -1) | ^~~~~~ install.c:88:3: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 88 | close(fdin); | ^~~~~ install.c:91:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] 91 | if (fsync(fdout) == -1) | ^~~~~ install.c: At top level: install.c:140:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 140 | main() | ^~~~ install.c: In function ‘main’: install.c:146:3: warning: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration] 146 | umask(077); | ^~~~~ ./compile hier.c ./compile auto-str.c hier.c: In function ‘hier’: hier.c:5:3: warning: implicit declaration of function ‘h’ [-Wimplicit-function-declaration] 5 | h(auto_home,-1,-1,02755); | ^ hier.c:6:3: warning: implicit declaration of function ‘d’ [-Wimplicit-function-declaration] 6 | d(auto_home,"bin",-1,-1,02755); | ^ hier.c:8:3: warning: implicit declaration of function ‘c’ [-Wimplicit-function-declaration] 8 | c(auto_home,"bin","cdbget",-1,-1,0755); | ^ ./compile instcheck.c auto-str.c:8:6: warning: conflicting types for built-in function ‘puts’; expected ‘int(const char *)’ [-Wbuiltin-declaration-mismatch] 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’ [-Wimplicit-int] 14 | main(argc,argv) | ^~~~ ./compile cdbget.c ( 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 instcheck.c: In function ‘d’: instcheck.c:59:7: warning: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration] 59 | if (chdir(home) == -1) | ^~~~~ instcheck.c: At top level: instcheck.c:104:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 104 | main() | ^~~~ ./compile cdb.c chmod 755 makelib cdbget.c:26:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 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 ./compile byte_copy.c seek_set.c: In function ‘seek_set’: seek_set.c:7:7: warning: implicit declaration of function ‘lseek’ [-Wimplicit-function-declaration] 7 | { if (lseek(fd,(off_t) pos,SET) == -1) return -1; return 0; } | ^~~~~ ./compile byte_cr.c seek_cur.c: In function ‘seek_cur’: seek_cur.c:7:10: warning: implicit declaration of function ‘lseek’ [-Wimplicit-function-declaration] 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 ./compile cdbdump.c cdbmake.c:39:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 39 | main(int argc,char **argv) | ^~~~ cdbmake.c: In function ‘main’: cdbmake.c:104:7: warning: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration] 104 | if (fsync(fd) == -1) die_write(); | ^~~~~ cdbmake.c:105:7: warning: implicit declaration of function ‘close’ [-Wimplicit-function-declaration] 105 | if (close(fd) == -1) die_write(); /* NFS silliness */ | ^~~~~ cdbmake.c:106:7: warning: implicit declaration of function ‘rename’ [-Wimplicit-function-declaration] 106 | if (rename(fntmp,fn) == -1) | ^~~~~~ cdbmake.c:109:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 109 | _exit(0); | ^~~~~ cdbmake.c:109:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] ./compile cdbstats.c cdbdump.c:61:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 61 | main() | ^~~~ cdbdump.c: In function ‘main’: cdbdump.c:82:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 82 | _exit(0); | ^~~~~ cdbdump.c:82:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] alloc.c:3:14: warning: conflicting types for built-in function ‘malloc’; expected ‘void *(long unsigned int)’ [-Wbuiltin-declaration-mismatch] 3 | extern char *malloc(); | ^~~~~~ alloc.c:3:1: note: ‘malloc’ is declared in header ‘’ 2 | #include "error.h" +++ |+#include 3 | extern char *malloc(); ./compile cdbtest.c ./makelib cdb.a cdb.o cdb_hash.o cdb_make.o cdbstats.c: In function ‘putnum’: cdbstats.c:58:13: warning: implicit declaration of function ‘str_len’ [-Wimplicit-function-declaration] 58 | put(label,str_len(label)); | ^~~~~~~ cdbstats.c: At top level: cdbstats.c:71:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 71 | main() | ^~~~ cdbstats.c: In function ‘main’: cdbstats.c:124:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 124 | _exit(0); | ^~~~~ cdbstats.c:124:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] ./makelib buffer.a strerr_sys.o buffer.o buffer_put.o \ buffer_2.o strerr_die.o buffer_get.o buffer_copy.o \ buffer_1.o buffer_0.o buffer_1s.o cdbtest.c: In function ‘putnum’: cdbtest.c:54:13: warning: implicit declaration of function ‘str_len’ [-Wimplicit-function-declaration] 54 | put(label,str_len(label)); | ^~~~~~~ cdbtest.c: At top level: cdbtest.c:69:1: warning: return type defaults to ‘int’ [-Wimplicit-int] 69 | main() | ^~~~ cdbtest.c: In function ‘main’: cdbtest.c:118:3: warning: implicit declaration of function ‘_exit’ [-Wimplicit-function-declaration] 118 | _exit(0); | ^~~~~ cdbtest.c:118:3: warning: incompatible implicit declaration of built-in function ‘_exit’ [-Wbuiltin-declaration-mismatch] ./makelib unix.a error.o open_read.o open_trunc.o \ error_str.o seek_set.o seek_cur.o ./makelib byte.a byte_copy.o byte_cr.o str_len.o \ fmt_ulong.o uint32_unpack.o byte_diff.o uint32_pack.o \ scan_ulong.o ./makelib alloc.a alloc.o ./load cdbget cdb.a buffer.a unix.a byte.a ./load cdbdump buffer.a unix.a byte.a ./load cdbstats cdb.a buffer.a unix.a byte.a ./load cdbtest cdb.a buffer.a unix.a byte.a ./load testzero cdb.a alloc.a buffer.a unix.a byte.a ./load auto-str buffer.a unix.a byte.a ./load cdbmake cdb.a alloc.a buffer.a unix.a byte.a ./auto-str auto_home `head -n 1 conf-home` > auto_home.c ./compile auto_home.c /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cdbmake.o: in function `main': cdbmake.c:(.text+0x1cb): undefined reference to `get' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cdbmake.c:(.text+0x1f7): undefined reference to `get' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cdbmake.c:(.text+0x265): undefined reference to `get' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cdbmake.c:(.text+0x300): undefined reference to `get' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cdbmake.c:(.text+0x393): undefined reference to `get' /usr/lib/gcc/x86_64-pc-linux-gnu/11.1.0/../../../../x86_64-pc-linux-gnu/bin/ld: cdbmake.o:cdbmake.c:(.text+0x3ac): more undefined references to `get' follow collect2: error: ld returned 1 exit status make: *** [Makefile:124: cdbmake] Error 1 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/portage/dev-db:cdb-0.75-r4:20210608-095850.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'