Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 816289 Details for
Bug 874387
media-libs/compface-1.5.2 - cmain.c: error: call to undeclared function write; ISO C99 and later do
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-libs:compface-1.5.2:20221002-221828.log
media-libs:compface-1.5.2:20221002-221828.log (text/plain), 14.33 KB, created by
Toralf Förster
on 2022-10-03 07:54:05 UTC
(
hide
)
Description:
media-libs:compface-1.5.2:20221002-221828.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 07:54:05 UTC
Size:
14.33 KB
patch
obsolete
> * Package: media-libs/compface-1.5.2: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 compface-1.5.2.tar.gz to /var/tmp/portage/media-libs/compface-1.5.2/work >>>> Source unpacked in /var/tmp/portage/media-libs/compface-1.5.2/work >>>> Preparing source in /var/tmp/portage/media-libs/compface-1.5.2/work/compface-1.5.2 ... > * Applying compface-gentoo.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/media-libs/compface-1.5.2/work/compface-1.5.2' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/media-libs/compface-1.5.2/temp/aclocal' ... > [ ok ] > * Running 'autoconf --force' ... > [ ok ] > * Running elibtoolize in: compface-1.5.2/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-libs/compface-1.5.2/work/compface-1.5.2 ... > * econf: updating compface-1.5.2/config.sub with /usr/share/gnuconfig/config.sub > * econf: updating compface-1.5.2/config.guess with /usr/share/gnuconfig/config.guess >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/compface-1.5.2 --htmldir=/usr/share/doc/compface-1.5.2/html --libdir=/usr/lib64 >checking whether make sets $(MAKE)... yes >checking for x86_64-pc-linux-gnu-gcc... clang >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether clang accepts -g... yes >checking for clang option to enable C11 features... none needed >checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib >checking for a BSD-compatible install... /usr/lib/portage/python3.10/ebuild-helpers/xattr/install -c >checking whether ln -s works... yes >checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for errno.h... yes >checking for fcntl.h... yes >checking for strings.h... (cached) yes >checking for strerror... yes >configure: creating ./config.status >config.status: creating Makefile >config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting >>>> Source configured. >'/var/tmp/portage/media-libs/compface-1.5.2/temp/clang14.log' -> '/var/tmp/clang/media-libs/compface-1.5.2/clang14.log' >'/var/tmp/portage/media-libs/compface-1.5.2/temp/clang15.log' -> '/var/tmp/clang/media-libs/compface-1.5.2/clang15.log' >>>> Compiling source in /var/tmp/portage/media-libs/compface-1.5.2/work/compface-1.5.2 ... >make -j4 >clang -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int cmain.c >clang -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int compface.c >clang -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int arith.c >clang -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_ERRNO_H=1 -DHAVE_FCNTL_H=1 -DHAVE_STRINGS_H=1 -DHAVE_STRERROR=1 -DHAVE_CONFIG_H -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int file.c >cmain.c:64:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >main(argc, argv) >^ >cmain.c:78:7: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ERROR > ^ >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >cmain.c:78:7: note: did you mean 'fwrite'? >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >/usr/include/stdio.h:681:15: note: 'fwrite' declared here >extern size_t fwrite (const void *__restrict __ptr, size_t __size, > ^ >cmain.c:89:11: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ERROR > ^ >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >cmain.c:101:11: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ERROR > ^ >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >cmain.c:109:17: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ERROR > ^ >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >cmain.c:112:17: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ERROR > ^ >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >cmain.c:115:17: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > WARN > ^ >cmain.c:61:47: note: expanded from macro 'WARN' >#define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} > ^ >cmain.c:64:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >main(argc, argv) >^ >cmain.c:134:14: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if ((len = write(outfile, s, t - s)) == -1) > ^ >cmain.c:155:15: error: call to undeclared function 'read'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > while (len = read(infile, t, FACEBUFLEN - count)) > ^ >cmain.c:155:15: note: did you mean 'fread'? >/usr/include/stdio.h:675:15: note: 'fread' declared here >extern size_t fread (void *__restrict __ptr, size_t __size, > ^ >cmain.c:155:13: warning: using the result of an assignment as a condition > without parentheses [-Wparentheses] > while (len = read(infile, t, FACEBUFLEN - count)) > ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >cmain.c:155:13: note: place parentheses around the assignment to silence this > warning > while (len = read(infile, t, FACEBUFLEN - count)) > ^ > ( ) >cmain.c:155:13: note: use '==' to turn this assignment into an equality > comparison > while (len = read(infile, t, FACEBUFLEN - count)) > ^ > == >cmain.c:162:4: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > ERROR > ^ >cmain.c:56:11: note: expanded from macro 'ERROR' > (void)write(2, fbuf, strlen(fbuf)); exit(1);} > ^ >cmain.c:169:4: error: call to undeclared function 'write'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > WARN > ^ >cmain.c:61:47: note: expanded from macro 'WARN' >#define WARN {(void)strcat(fbuf, "\n"); (void)write(2, fbuf, strlen(fbuf));} > ^ >cmain.c:178:7: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >char *strerrorwrap(err) > ^ >4 warnings and 10 errors generated. >arith.c:23file.c:26:1: warning: a function definition without a prototype is deprecated in > all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] >BigRead(fbuf) >^ >file.c:42:1: warning: a function definition without a prototype is deprecated: in > 1all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] >BigWrite(fbuf) >^ >file.c:75:1: warning: a function definition without a prototype is deprecated in > all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] >ReadFace(fbuf) >^ >make: *** [Makefile:95: cmain.o] Error 1 >make: *** Waiting for unfinished jobs.... >file.c:132:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >WriteFace(fbuf) >^ >compface.c:25:1: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >compface(fbuf) >^ >: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >RevPush(p) >^ >arith.c:32:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >BigPush(p) >^ >arith.c:43:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >BigPop(p) >^ >arith.c:94:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >BigDiv(a, r) >^ >arith.c:95:15: warning: promoted type 'int' of K&R function parameter is not > compatible with the parameter type 'unsigned char' declared in a previous > prototype [-Wknr-promoted-parameter] >register WORD a, *r; > ^ >./compface.h:154:29: note: previous declaration is here >void BigDiv P((unsigned char, unsigned char *)) ; > ^ >arith.c:138:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >BigMul(a) >^ >arith.c:139:15: warning: promoted type 'int' of K&R function parameter is not > compatible with the parameter type 'unsigned char' declared in a previous > prototype [-Wknr-promoted-parameter] >register WORD a; > ^ >./compface.h:155:29: note: previous declaration is here >void BigMul P((unsigned char)) ; > ^ >arith.c:212:1: warning: a function definition without a prototype is deprecated > in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >BigAdd(a) >^ >arith.c:213:6: warning: promoted type 'int' of K&R function parameter is not > compatible with the parameter type 'unsigned char' declared in a previous > prototype [-Wknr-promoted-parameter] >WORD a; > ^ >./compface.h:152:29: note: previous declaration is here >void BigAdd P((unsigned char)) ; > ^ >1 warning generated. >4 warnings generated. >9 warnings generated. > * ERROR: media-libs/compface-1.5.2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-libs/compface-1.5.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-libs/compface-1.5.2::gentoo'`. > * The complete build log is located at '/var/log/portage/media-libs:compface-1.5.2:20221002-221828.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/compface-1.5.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-libs/compface-1.5.2/temp/environment'. > * Working directory: '/var/tmp/portage/media-libs/compface-1.5.2/work/compface-1.5.2' > * S: '/var/tmp/portage/media-libs/compface-1.5.2/work/compface-1.5.2' >
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 874387
:
816271
|
816274
|
816277
|
816280
|
816283
|
816286
| 816289 |
816292