Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 818980 Details for
Bug 874963
dev-db/cdb-0.75-r4 - hier.c: error: call to undeclared function h; ISO C99 and later do not
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-db:cdb-0.75-r4:20221004-053554.log
dev-db:cdb-0.75-r4:20221004-053554.log (text/plain), 8.46 KB, created by
Toralf Förster
on 2022-10-04 16:28:41 UTC
(
hide
)
Description:
dev-db:cdb-0.75-r4:20221004-053554.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:28:41 UTC
Size:
8.46 KB
patch
obsolete
> * Package: dev-db/cdb-0.75-r4:0 > * Repository: gentoo > * Maintainer: hattya@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * 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 ... > * Applying cdb-errno.patch ... > [ ok ] > * Applying cdb-inline.patch ... > [ ok ] > * Applying cdb-stdint.patch ... > [ 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 >chmod 755 cdbmake-12 >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 >./compile testzero.c >chmod 755 cdbmake-sv >chmod 755 rts >./compile install.c >./compile hier.c >hier.c:5:3: error: call to undeclared function 'h'; ISO C99 and later do not > support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > h(auto_home,-1,-1,02755); > ^ >hier.c:6:3: error: call to undeclared function 'd'; ISO C99 and later do not > support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > d(auto_home,"bin",-1,-1,02755); > ^ >hier.c:8:3: error: call to undeclared function 'c'; ISO C99 and later do not > support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > c(auto_home,"bin","cdbget",-1,-1,0755); > ^ >3 errors generated. >install.c:20:7: error: call to undeclared function 'mkdir'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (mkdir(home,0700) == -1) > ^ >install.c:23:7: error: call to undeclared function 'chown'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chown(home,uid,gid) == -1) > ^ >install.c:25:7: error: call to undeclared function 'chmod'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chmod(home,mode) == -1) > ^ >install.c:14:6: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >void h(home,uid,gid,mode) > ^ >install.c:36:7: error: call to undeclared function 'chdir'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chdir(home) == -1) > ^ >install.c:38:7: error: call to undeclared function 'mkdir'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (mkdir(subdir,0700) == -1) > ^ >install.c:41:7: error: call to undeclared function 'chown'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chown(subdir,uid,gid) == -1) > ^ >install.c:43:7: error: call to undeclared function 'chmod'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chmod(subdir,mode) == -1) > ^ >install.c:29:6: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >void d(home,subdir,uid,gid,mode) > ^ >install.c:63:7: error: call to undeclared function 'fchdir'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (fchdir(fdsourcedir) == -1) > ^ >install.c:71:7: error: call to undeclared function 'chdir'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chdir(home) == -1) > ^ >install.c:88:3: error: call to undeclared function 'close'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(fdin); > ^ >make: *** [Makefile:188: hier.o] Error 1 >install.c:91:7: error: call to undeclared function 'fsync'; ISO C99 andmake: *** Waiting for unfinished jobs.... > later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (fsync(fdout) == -1) > ^ >install.c:96:7: error: call to undeclared function 'chown'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chown(file,uid,gid) == -1) > ^ >install.c:98:7: error: call to undeclared function 'chmod'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chmod(file,mode) == -1) > ^ >install.c:52:6: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >void c(home,subdir,file,uid,gid,mode) > ^ >install.c:113:7: error: call to undeclared function 'chdir'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chdir(home) == -1) > ^ >install.c:129:7: error: call to undeclared function 'fsync'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (fsync(fdout) == -1) > ^ >install.c:131:7: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (close(fdout) == -1) /* NFS silliness */ > ^ >install.c:134:7: error: call to undeclared function 'chown'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chown(file,uid,gid) == -1) > ^ >install.c:136:7: error: call to undeclared function 'chmod'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (chmod(file,mode) == -1) > ^ >install.c:102:6: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >void z(home,subdir,file,len,uid,gid,mode) > ^ >install.c:140:1: error: type specifier missing, defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >main() >^ >int >fatal error: testzero.ctoo: many17 :errors1 :emitted, error: stoppingtype nowspecifier [-ferror-limit=]missing, > defaults to 'int'; ISO C99 and > later do not support implicit int [-Werror,-Wimplicit-int] >main(int argc,char **argv) >^ >int >4 warnings and 20 errors generated. >testzero.c:22:15: error: call to undeclared library function '_exit' with type > 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support > implicit function declarations [-Werror,-Wimplicit-function-declaration] > if (!*argv) _exit(0); > ^ >testzero.c:22:15: note: include the header <unistd.h> or explicitly provide a > declaration for '_exit' >2 errors generated. >make: *** [Makefile:196: install.o] Error 1 >make: *** [Makefile:299: testzero.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/dev-db:cdb-0.75-r4:20221004-053554.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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 874963
:
818977
| 818980 |
818983
|
818986
|
818989
|
818992
|
883569
|
886548