* Package:    dev-db/cdb-0.75-r4:0
 * Repository: gentoo
 * Maintainer: hattya@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux
 * FEATURES:   network-sandbox preserve-libs sandbox 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 ...
  [ ok ]
  [ ok ]
  [ 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 -j2 
( cat warn-auto.sh; \
echo 'main="$1"; shift'; \
echo exec "`head -n 1 conf-ld`" \
'-o "$main" "$main".o ${1+"$@"}' \
) > load
chmod 755 load
( cat warn-auto.sh; \
echo exec "`head -n 1 conf-cc`" '-c ${1+"$@"}' \
) > compile
chmod 755 compile
cat warn-auto.sh cdbmake-12.sh \
| sed s}HOME}"`head -n 1 conf-home`"}g \
> cdbmake-12
chmod 755 cdbmake-12
( 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-sv.sh \
| sed s}HOME}"`head -n 1 conf-home`"}g \
> cdbmake-sv
chmod 755 cdbmake-sv
cat warn-auto.sh rts.sh \
| sed s}HOME}"`head -n 1 conf-home`"}g \
> rts
chmod 755 rts
./compile testzero.c
testzero.c:17:1: error: return type defaults to ‘int’ [-Wimplicit-int]
   17 | main(int argc,char **argv)
      | ^~~~
testzero.c: In function ‘main’:
testzero.c:22:15: error: 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);
      |   ^~~~~
make: *** [Makefile:299: testzero.o] Error 1
make: *** Waiting for unfinished jobs....
./compile install.c
install.c: In function ‘h’:
install.c:20:7: error: implicit declaration of function ‘mkdir’ [-Wimplicit-function-declaration]
   20 |   if (mkdir(home,0700) == -1)
      |       ^~~~~
install.c:23:7: error: implicit declaration of function ‘chown’ [-Wimplicit-function-declaration]
   23 |   if (chown(home,uid,gid) == -1)
      |       ^~~~~
install.c:25:7: error: implicit declaration of function ‘chmod’ [-Wimplicit-function-declaration]
   25 |   if (chmod(home,mode) == -1)
      |       ^~~~~
install.c: In function ‘d’:
install.c:36:7: error: implicit declaration of function ‘chdir’ [-Wimplicit-function-declaration]
   36 |   if (chdir(home) == -1)
      |       ^~~~~
install.c: In function ‘c’:
install.c:63:7: error: implicit declaration of function ‘fchdir’ [-Wimplicit-function-declaration]
   63 |   if (fchdir(fdsourcedir) == -1)
      |       ^~~~~~
install.c:88:3: error: implicit declaration of function ‘close’ [-Wimplicit-function-declaration]
   88 |   close(fdin);
      |   ^~~~~
install.c:91:7: error: implicit declaration of function ‘fsync’ [-Wimplicit-function-declaration]
   91 |   if (fsync(fdout) == -1)
      |       ^~~~~
install.c: At top level:
install.c:140:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  140 | main()
      | ^~~~
install.c: In function ‘main’:
install.c:146:3: error: implicit declaration of function ‘umask’ [-Wimplicit-function-declaration]
  146 |   umask(077);
      |   ^~~~~
make: *** [Makefile:196: install.o] Error 1
 * 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/build/dev-db/cdb-0.75-r4:20241126-001437.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'