Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 822208 Details for
Bug 875707
app-misc/boxes-1.1.2-r3 - tools.c: error: implicit declaration of function calloc [-Werror=implicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-misc:boxes-1.1.2-r3:20221006-052437.log
app-misc:boxes-1.1.2-r3:20221006-052437.log (text/plain), 6.46 KB, created by
Toralf Förster
on 2022-10-06 20:13:34 UTC
(
hide
)
Description:
app-misc:boxes-1.1.2-r3:20221006-052437.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-06 20:13:34 UTC
Size:
6.46 KB
patch
obsolete
> * Package: app-misc/boxes-1.1.2-r3:0 > * Repository: gentoo > * Maintainer: shell-tools@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking boxes-1.1.2.tar.gz to /var/tmp/portage/app-misc/boxes-1.1.2-r3/work >>>> Source unpacked in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work >>>> Preparing source in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2 ... >make -j4 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Lregexp' >sed -e 's/--BVERSION--/1.1.2/; s/--GLOBALCONF--/\/usr\/share\/boxes/' src/boxes.h.in > src/boxes.h >sed -e 's/--BVERSION--/1.1.2/; s/--GLOBALCONF--/\/usr\/share\/boxes/' doc/boxes.1.in > doc/boxes.1 >| For compilation info please refer to the boxes compilation FAQ >| at https://github.com/ascii-boxes/boxes/wiki/FAQ#q-5-compilation >make -C src BOXES_PLATFORM=unix build >make[1]: Entering directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' >make BOXES_PLATFORM=unix ALL_OBJ="parser.o lex.yy.o boxes.o tools.o shape.o generate.o remove.o" CFLAGS_ADDTL="-O " STRIP=false flags_unix boxes >make[2]: Entering directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' >make[2]: Nothing to be done for 'flags_unix'. >bison -o parser.c -d parser.y >bison -o parser.c -d parser.y >flex -t lexer.l > lexer.tmp.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o boxes.o boxes.c >echo #include "config.h" > lex.yy.c > >cat lexer.tmp.c >> lex.yy.c >rm lexer.tmp.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o tools.o tools.c >boxes.c: In function âlist_stylesâ: >boxes.c:1012:57: warning: format â%dâ expects argument of type âintâ, but argument 3 has type âsize_tâ {aka âlong unsigned intâ} [-Wformat=] > 1012 | fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", > | ~^ > | | > | int > | %ld > 1013 | d->minwidth, d->minheight); > | ~~~~~~~~~~~ > | | > | size_t {aka long unsigned int} >boxes.c:1012:62: warning: format â%dâ expects argument of type âintâ, but argument 4 has type âsize_tâ {aka âlong unsigned intâ} [-Wformat=] > 1012 | fprintf (opt.outfile, "Minimum Box Dimensions: %d x %d (width x height)\n", > | ~^ > | | > | int > | %ld > 1013 | d->minwidth, d->minheight); > | ~~~~~~~~~~~~ > | | > | size_t {aka long unsigned int} > >tools.c: In function âexpand_tabs_intoâ: >tools.c:271:28: error: implicit declaration of function âcallocâ [-Werror=implicit-function-declaration] > 271 | *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); > | ^~~~~~ >tools.c:36:1: note: include â<stdlib.h>â or provide a declaration of âcallocâ > 35 | #include "tools.h" > +++ |+#include <stdlib.h> > 36 | >tools.c:271:28: warning: incompatible implicit declaration of built-in function âcallocâ [-Wbuiltin-declaration-mismatch] > 271 | *tabpos = (size_t *) calloc ((*tabpos_len) + 1, sizeof(size_t)); > | ^~~~~~ >tools.c:271:28: note: include â<stdlib.h>â or provide a declaration of âcallocâ >tools.c: In function âtabbify_indentâ: >tools.c:399:23: error: implicit declaration of function âmallocâ [-Werror=implicit-function-declaration] > 399 | result = (char *) malloc (indentspc_len + 1); > | ^~~~~~ >tools.c:399:23: note: include â<stdlib.h>â or provide a declaration of âmallocâ >tools.c:399:23: warning: incompatible implicit declaration of built-in function âmallocâ [-Wbuiltin-declaration-mismatch] >tools.c:399:23: note: include â<stdlib.h>â or provide a declaration of âmallocâ >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o shape.o shape.c >x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Iregexp -I. -ansi -std=c99 -Werror=implicit-function-declaration -Werror=implicit-int -c -o generate.o generate.c >cc1: some warnings being treated as errors >make[2]: *** [<builtin>: tools.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >make[2]: Leaving directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' >make[1]: *** [Makefile:49: build] Error 2 >make[1]: Leaving directory '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2/src' >make: *** [Makefile:37: build] Error 2 > * ERROR: app-misc/boxes-1.1.2-r3::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-misc/boxes-1.1.2-r3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-misc/boxes-1.1.2-r3::gentoo'`. > * The complete build log is located at '/var/log/portage/app-misc:boxes-1.1.2-r3:20221006-052437.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-misc/boxes-1.1.2-r3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-misc/boxes-1.1.2-r3/temp/environment'. > * Working directory: '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.2' > * S: '/var/tmp/portage/app-misc/boxes-1.1.2-r3/work/boxes-1.1.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 875707
:
822205
| 822208 |
822211
|
822214
|
822217
|
822220