Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 816298 Details for
Bug 874390
app-accessibility/nfbtrans-7.74-r2 - nfbtrans.c: error: call to undeclared function strnset; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-accessibility:nfbtrans-7.74-r2:20221002-223532.log
app-accessibility:nfbtrans-7.74-r2:20221002-223532.log (text/plain), 11.15 KB, created by
Toralf Förster
on 2022-10-03 07:54:21 UTC
(
hide
)
Description:
app-accessibility:nfbtrans-7.74-r2:20221002-223532.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-03 07:54:21 UTC
Size:
11.15 KB
patch
obsolete
> * Package: app-accessibility/nfbtrans-7.74-r2:0 > * Repository: gentoo > * Maintainer: williamh@gentoo.org accessibility@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking nfbtr774.zip to /var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work >>>> Source unpacked in /var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work >>>> Preparing source in /var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work ... > * Applying nfbtrans-7.74-gentoo-fix.patch ... > [ ok ] > * Applying nfbtrans-7.74-getline-fix.patch ... > [ ok ] > * Applying nfbtrans-7.74-respect-ldflags.patch ... > [ ok ] >make -j4 lowercase >rm *.ASM NFBTRANS *.EXE *.BAT >mv README.TXT readme.txt >mv NFBTRANS.C nfbtrans.c >mv NFBPATCH.C nfbpatch.c >mv NFBTRANS.FMT nfbtrans.fmt >mv NFBTRANS.CNF nfbtrans.cnf >mv MAKEDOC makedoc >chmod 755 makedoc >mv BRAILLE.TAB braille.tab >mv BACK.TAB back.tab >mv TABLES.ZIP tables.zip >mv TVFREQS.FMT tvfreqs.fmt >mv ENGLISH.DIC english.dic >mv SPELL.DAT spell.dat >mv MENU.CNF menu.cnf >mv BCOMP.C bcomp.c >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work ... >make -j4 CC=clang LIBS= 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' all >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -c -o nfbtrans.o nfbtrans.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DLINUX -c -o nfbpatch.o nfbpatch.c >nfbpatch.c:175:6: warning: a function definition without a prototype is > deprecated in all versions of C and is not supported in C2x > [-Wdeprecated-non-prototype] >long filelength(descriptor) > ^ >nfbpatch.c:191: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 beep(count) > ^ >nfbpatch.c:243: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 delay_unix(period) > ^ >nfbtrans.c:698:9: error: call to undeclared function 'strnset'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > strnset(field, '*', i); > ^ >nfbtrans.c:786:9: warning: logical not is only applied to the left hand side of > this comparison [-Wlogical-not-parentheses] > if (!toc_page.roman > 0) > ^ ~ >nfbtrans.c:786:9: note: add parentheses after the '!' to evaluate the comparison > first > if (!toc_page.roman > 0) > ^ > ( ) >nfbtrans.c:786:9: note: add parentheses around left hand side expression to > silence this warning > if (!toc_page.roman > 0) > ^ > ( ) >nfbtrans.c:1299:45: error: call to undeclared library function 'tolower' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > hyphen_dic_line[j] = (char) tolower(hyphen_dic_line[j]); > ^ >nfbtrans.c:1299:45: note: include the header <ctype.h> or explicitly provide a > declaration for 'tolower' >nfbtrans.c:1605:9: error: call to undeclared library function 'isupper' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (isupper(words[i]) && show_caps) > ^ >nfbtrans.c:1605:9: note: include the header <ctype.h> or explicitly provide a > declaration for 'isupper' >nfbtrans.c:1615:9: error: call to undeclared library function 'islower' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (islower(words[i]) && show_lower) > ^ >nfbtrans.c:1615:9: note: include the header <ctype.h> or explicitly provide a > declaration for 'islower' >nfbtrans.c:1653:18: error: call to undeclared library function 'toupper' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > c = (char) toupper(words[tilpos]); /* the character after the ~ */ > ^ >nfbtrans.c:1653:18: note: include the header <ctype.h> or explicitly provide a > declaration for 'toupper' >nfbtrans.c:1766:15: error: call to undeclared library function 'isalpha' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (isalpha(words[tilpos - 2])) > ^ >nfbtrans.c:1766:15: note: include the header <ctype.h> or explicitly provide a > declaration for 'isalpha' >nfbtrans.c:1990:13: error: call to undeclared library function 'isdigit' with > type 'int (int)'; ISO C99 and later do not support implicit function > declarations [-Werror,-Wimplicit-function-declaration] > if (isdigit(words[tilpos - 1])) > ^ >nfbtrans.c:1990:13: note: include the header <ctype.h> or explicitly provide a > declaration for 'isdigit' >nfbtrans.c:2596:22: error: call to undeclared function 'read'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > bytes_in_buf = read(inf_des, iobuf, (unsigned int) BUFSIZE); > ^ >nfbtrans.c:2596:22: 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, > ^ >nfbtrans.c:2784:5: warning: add explicit braces to avoid dangling else > [-Wdangling-else] > else > ^ >nfbtrans.c:2891:11: error: call to undeclared function 'strcmpi'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (strcmpi(temp, toc_line) == 0) > ^ >nfbtrans.c:2891:11: note: did you mean 'strcmp'? >/usr/include/string.h:156:12: note: 'strcmp' declared here >extern int strcmp (const char *__s1, const char *__s2) > ^ >nfbtrans.c:2939:7: error: call to undeclared function 'strnset'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > strnset(words, dash, l); > ^ >nfbtrans.c:2990:7: warning: add explicit braces to avoid dangling else > [-Wdangling-else] > else > ^ >nfbtrans.c:3666:9: warning: add explicit braces to avoid dangling else > [-Wdangling-else] > else > ^ >nfbtrans.c:3678:9: warning: add explicit braces to avoid dangling else > [-Wdangling-else] > else > ^ >nfbtrans.c:3695:15: error: call to undeclared function 'strcmpi'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (strcmpi(ptr, "1st") == 0 || strcmpi(ptr, "2nd") == 0 || > ^ >3 warnings generated. >nfbtrans.c:3937:8: error: call to undeclared function 'strcmpi'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > if (!strcmpi(field, "LINE")) > ^ >nfbtrans.c:4187:5: error: call to undeclared function 'lseek'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > lseek(inf_des, 0l, 0); /* start from beginning for each copy */ > ^ >nfbtrans.c:4187:5: note: did you mean 'fseek'? >/usr/include/stdio.h:713:12: note: 'fseek' declared here >extern int fseek (FILE *__stream, long int __off, int __whence); > ^ >nfbtrans.c:4205:15: error: call to undeclared function 'strcmpi'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > while (!strcmpi(b->match[type17_table_entry], word_buf[0])) > ^ >nfbtrans.c:4401:5: error: call to undeclared function 'close'; ISO C99 and later > do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(inf_des);/* close linked file */ > ^ >nfbtrans.c:4432:7: error: call to undeclared function 'unlink'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > unlink(outf_name); > ^ >nfbtrans.c:4507:7: error: call to undeclared function 'unlink'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > unlink(stat_file); > ^ >nfbtrans.c:5133:25: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > fprintf(tempfile, date_string); > ^~~~~~~~~~~ >nfbtrans.c:5133:25: note: treat the string as an argument to avoid this > fprintf(tempfile, date_string); > ^ > "%s", >nfbtrans.c:5159:3: error: call to undeclared function 'unlink'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > unlink(end_table_ptr + 1024); > ^ >nfbtrans.c:5344:26: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > fprintf(hyp_dic_ptr, date_string); > ^~~~~~~~~~~ >nfbtrans.c:5344:26: note: treat the string as an argument to avoid this > fprintf(hyp_dic_ptr, date_string); > ^ > "%s", >nfbtrans.c:5834:17: warning: expression which evaluates to zero treated as a > null pointer constant of type 'char *' [-Wnon-literal-null-conversion] > l2[j] = '\0'; > ^~~~ >nfbtrans.c:5863:11: error: call to undeclared function 'close'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > close(inf_des); > ^ >fatal error: too many errors emitted, stopping now [-ferror-limit=] >8 warnings and 20 errors generated. >make: *** [<builtin>: nfbtrans.o] Error 1 > * ERROR: app-accessibility/nfbtrans-7.74-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-accessibility/nfbtrans-7.74-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-accessibility/nfbtrans-7.74-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/app-accessibility:nfbtrans-7.74-r2:20221002-223532.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/temp/environment'. > * Working directory: '/var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work' > * S: '/var/tmp/portage/app-accessibility/nfbtrans-7.74-r2/work' >
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 874390
:
816295
| 816298 |
816301
|
816304
|
816307
|
816310