Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 883496 Details for
Bug 923170
app-text/xml2doc-20030510-r2 - defs.c: error: implicit declaration of function malloc [-Wimplicit-function-declaration]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
app-text:xml2doc-20030510-r2:20240128-205926.log
app-text:xml2doc-20030510-r2:20240128-205926.log (text/plain), 16.58 KB, created by
Toralf Förster
on 2024-01-28 21:11:00 UTC
(
hide
)
Description:
app-text:xml2doc-20030510-r2:20240128-205926.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-01-28 21:11:00 UTC
Size:
16.58 KB
patch
obsolete
> * Package: app-text/xml2doc-20030510-r2:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking xml2doc-20030510.tgz to /var/tmp/portage/app-text/xml2doc-20030510-r2/work >>>> Source unpacked in /var/tmp/portage/app-text/xml2doc-20030510-r2/work >>>> Preparing source in /var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc ... > * Applying xml2doc-pointer_fix.patch ... > [ ok ] > * Applying xml2doc-20030510-makefile.patch ... > [ ok ] > * Applying xml2doc-20030510-gcc10-no-common.patch ... > [ ok ] > * Running eautoreconf in '/var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc' ... > * Running 'aclocal --system-acdir=/var/tmp/portage/app-text/xml2doc-20030510-r2/temp/aclocal' ... > [ ok ] > * Moving configure.in to configure.ac (bug #426262) > * Running 'autoconf --force' ... > [ ok ] > * Running elibtoolize in: xml2doc/ >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc ... > * econf: updating xml2doc/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating xml2doc/config.sub with /usr/share/gnuconfig/config.sub >./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 --datarootdir=/usr/share --docdir=/usr/share/doc/xml2doc-20030510-r2 --htmldir=/usr/share/doc/xml2doc-20030510-r2/html --libdir=/usr/lib64 --disable-pdf >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >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 x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking for library containing strerror... none required >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >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 stdio.h... (cached) yes >checking for libxml/parser.h... no >checking for time.h... yes >checking whether make sets $(MAKE)... yes >checking for xmlParseFile in -lxml2... yes >checking for pdflib.h... no >checking whether make sets $(MAKE)... (cached) yes >checking for pdflib.h... (cached) no >configure: WARNING: Ruls no >configure: WARNING: Building without PDF support >configure: creating ./config.status >config.status: creating Makefile >config.status: creating src/Makefile >config.status: creating doc/Makefile >config.status: creating examples/Makefile > >Build options: > Version 20030510 > Install prefix /usr > PDF output no > Debug version no > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc ... >make -j4 >Building xml2doc >make -C src/ build >make[1]: Entering directory '/var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc/src' >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include -DVERSION=\"20030510\" -x c -fshort-enums -c -o main.o main.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include -DVERSION=\"20030510\" -x c -fshort-enums -c -o defs.o defs.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include -DVERSION=\"20030510\" -x c -fshort-enums -c -o parse.o parse.c >x86_64-pc-linux-gnu-gcc -O3 -pipe -march=native -fno-diagnostics-color -Wall -c -I/usr/pkg/include/libxml2 -I/usr/include/libxml2 -I. -I/usr/pkg/include -I/usr/local/include -DVERSION=\"20030510\" -x c -fshort-enums -c -o parse_include.o parse_include.c >defs.c: In function 'defs_init': >defs.c:10:42: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] > 10 | DocS.add.colors=(struct_colors *)malloc(1); > | ^~~~~~ >defs.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'malloc' > 1 | #include "defs.h" > +++ |+#include <stdlib.h> > 2 | >defs.c:10:42: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] > 10 | DocS.add.colors=(struct_colors *)malloc(1); > | ^~~~~~ >defs.c:10:42: note: include '<stdlib.h>' or provide a declaration of 'malloc' >defs.c: In function 'defs_default': >main.c: In function 'main': >defs.c:31:11: warning: pointer targets in initialization of 'xmlChar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] > 31 | "Times-Roman", // *fnt > | ^~~~~~~~~~~~~ >defs.c:31:11: note: (near initialization for '(anonymous).fnt') >defs.c:32:11: warning: pointer targets in initialization of 'xmlChar *' {aka 'unsigned char *'} from 'char *' differ in signedness [-Wpointer-sign] > 32 | "./", // *path > | ^~~~ >defs.c:32:11: note: (near initialization for '(anonymous).path') >main.c:28:26: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] > 28 | Doc=(DocStruct *)malloc(sizeof(DocStruct)); > | ^~~~~~ >main.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'malloc' > 1 | #include "main.h" > +++ |+#include <stdlib.h> > 2 | >main.c:28:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] > 28 | Doc=(DocStruct *)malloc(sizeof(DocStruct)); > | ^~~~~~ >main.c:28:26: note: include '<stdlib.h>' or provide a declaration of 'malloc' >defs.c: In function 'defs_upload': >defs.c:58:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] > 58 | exit(1); > | ^~~~ >defs.c:58:17: note: include '<stdlib.h>' or provide a declaration of 'exit' >defs.c:58:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] >defs.c:58:17: note: include '<stdlib.h>' or provide a declaration of 'exit' >defs.c:60:25: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] > 60 | Doc=(DocStruct*)realloc(Doc,sizeof(DocStruct)*(n+1)); > | ^~~~~~~ >defs.c:60:25: note: include '<stdlib.h>' or provide a declaration of 'realloc' >main.c:48:27: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] > 48 | exit(1); > | ^~~~ >main.c:48:27: note: include '<stdlib.h>' or provide a declaration of 'exit' >main.c:48:27: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] >main.c:48:27: note: include '<stdlib.h>' or provide a declaration of 'exit' >defs.c:60:25: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] >defs.c:60:25: note: include '<stdlib.h>' or provide a declaration of 'realloc' >defs.c: In function 'defs_init': >defs.c:13:1: warning: control reaches end of non-void function [-Wreturn-type] > 13 | } > | ^ >parse.c: In function 'parse': >parse.c:26:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 26 | if (!strcmp("default",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >In file included from defs.h:5, > from parse.c:1: >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:29:47: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 29 | if (!strcmp("reset",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:32:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 32 | if (!strcmp("info",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:35:46: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 35 | if (!strcmp("page",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:38:49: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 38 | if (!strcmp("include",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:41:45: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 41 | if (!strcmp("add",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:44:45: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 44 | if (!strcmp("eof",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:47:45: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 47 | if (strcmp("text",Doc[n].cur->name) && > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:48:48: warning: pointer targets in passing argument 2 of 'strcmp' differ in signedness [-Wpointer-sign] > 48 | strcmp("comment",Doc[n].cur->name)) { > | ~~~~~~~~~~^~~~~~ > | | > | const xmlChar * {aka const unsigned char *} >/usr/include/string.h:156:50: note: expected 'const char *' but argument is of type 'const xmlChar *' {aka 'const unsigned char *'} > 156 | extern int strcmp (const char *__s1, const char *__s2) > | ~~~~~~~~~~~~^~~~ >parse.c:50:25: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] > 50 | exit(1); > | ^~~~ >parse.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit' > 1 | #include "defs.h" > +++ |+#include <stdlib.h> > 2 | >parse.c:50:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] > 50 | exit(1); > | ^~~~ >parse.c:50:25: note: include '<stdlib.h>' or provide a declaration of 'exit' >parse_include.c: In function 'parse_include': >parse_include.c:7:41: warning: pointer targets in passing argument 2 of 'xmlGetProp' differ in signedness [-Wpointer-sign] > 7 | if (( str=xmlGetProp(Doc[n].cur,"src") )) > | ^~~~~ > | | > | char * >In file included from /usr/include/libxml2/libxml/parser.h:15, > from defs.h:12, > from parse_include.c:1: >/usr/include/libxml2/libxml/tree.h:1067:57: note: expected 'const xmlChar *' {aka 'const unsigned char *'} but argument is of type 'char *' > 1067 | const xmlChar *name); > | ~~~~~~~~~~~~~~~^~~~ >parse_include.c:14:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] > 14 | exit(1); > | ^~~~ >parse_include.c:2:1: note: include '<stdlib.h>' or provide a declaration of 'exit' > 1 | #include "defs.h" > +++ |+#include <stdlib.h> > 2 | >parse_include.c:14:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] > 14 | exit(1); > | ^~~~ >parse_include.c:14:17: note: include '<stdlib.h>' or provide a declaration of 'exit' >make[1]: *** [<builtin>: main.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >make[1]: *** [<builtin>: defs.o] Error 1 >make[1]: *** [<builtin>: parse_include.o] Error 1 >make[1]: *** [<builtin>: parse.o] Error 1 >make[1]: Leaving directory '/var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc/src' >make: *** [Makefile:11: build] Error 2 > * ERROR: app-text/xml2doc-20030510-r2::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=app-text/xml2doc-20030510-r2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=app-text/xml2doc-20030510-r2::gentoo'`. > * The complete build log is located at '/var/log/portage/app-text:xml2doc-20030510-r2:20240128-205926.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/xml2doc-20030510-r2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/app-text/xml2doc-20030510-r2/temp/environment'. > * Working directory: '/var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc' > * S: '/var/tmp/portage/app-text/xml2doc-20030510-r2/work/xml2doc' >
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 923170
:
883495
| 883496 |
883497
|
883498
|
883499
|
883500
|
883501
|
883502
|
883503