Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 884073 Details for
Bug 923647
net-libs/libdom-0.4.2 - bindings/xml/libxml_xmlparser.c:146:20: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
libdom-0.4.2:20240202-220114.log (text/plain), 8.26 KB, created by
ernsteiswuerfel
on 2024-02-02 22:05:50 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2024-02-02 22:05:50 UTC
Size:
8.26 KB
patch
obsolete
>[32m * [39;49;00mPackage: net-libs/libdom-0.4.2:0/0.4.2 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: mjo@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_musl kernel_linux xml >[32m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>>> Unpacking source... >>>> Unpacking libdom-0.4.2-src.tar.gz to /var/tmp/portage/net-libs/libdom-0.4.2/work >>>> Source unpacked in /var/tmp/portage/net-libs/libdom-0.4.2/work >>>> Preparing source in /var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2 ... >make -j7 -l6 PREFIX=/usr NSSHARED=/usr/share/netsurf-buildsystem LIBDIR=lib Q= CC=clang LD=ld.lld HOST_CC=$(CC) BUILD_CC=clang CXX=clang++ BUILD_CXX=clang++ CCOPT= CCNOOPT= CCDBG= LDDBG= AR=llvm-ar WARNFLAGS= COMPONENT_TYPE=lib-shared WITH_EXPAT_BINDING=no WITH_LIBXML_BINDING=yes >mkdir -p build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared >mkdir -p build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/coverage >touch build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/stamp > COMPILE: bindings/xml/libxml_xmlparser.c >clang -MMD -MP -std=c99 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/include/ -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/src -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/binding -Os -march=bdver2 -pipe -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -DNDEBUG -I/usr/include/libxml2 -D_POSIX_C_SOURCE -fPIC -DPIC -o build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/bindings_xml_libxml_xmlparser.o -c bindings/xml/libxml_xmlparser.c > COMPILE: bindings/hubbub/parser.c >clang -MMD -MP -std=c99 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/include/ -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/src -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/binding -Os -march=bdver2 -pipe -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -DNDEBUG -I/usr/include/libxml2 -D_POSIX_C_SOURCE -fPIC -DPIC -o build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/bindings_hubbub_parser.o -c bindings/hubbub/parser.c > COMPILE: src/core/string.c >clang -MMD -MP -std=c99 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/include/ -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/src -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/binding -Os -march=bdver2 -pipe -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -DNDEBUG -I/usr/include/libxml2 -D_POSIX_C_SOURCE -fPIC -DPIC -o build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/src_core_string.o -c src/core/string.c > COMPILE: src/core/node.c >clang -MMD -MP -std=c99 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/include/ -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/src -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/binding -Os -march=bdver2 -pipe -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -DNDEBUG -I/usr/include/libxml2 -D_POSIX_C_SOURCE -fPIC -DPIC -o build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/src_core_node.o -c src/core/node.c > COMPILE: src/core/element.c >clang -MMD -MP -std=c99 -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/include/ -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/src -I/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2/binding -Os -march=bdver2 -pipe -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -DNDEBUG -I/usr/include/libxml2 -D_POSIX_C_SOURCE -fPIC -DPIC -o build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/src_core_element.o -c src/core/element.c >[1mbindings/xml/libxml_xmlparser.c:146:20: [0m[0;1;31merror: [0m[1mcall to undeclared > library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not > support implicit function declarations [-Wimplicit-function-declaration][0m > 146 | return len > 0 ? malloc(len) : NULL;[0m > | [0;1;32m ^ >[0m[1mbindings/xml/libxml_xmlparser.c:146:20: [0m[0;1;30mnote: [0minclude the header > <stdlib.h> or explicitly provide a declaration for 'malloc'[0m >[1mbindings/xml/libxml_xmlparser.c:149:3: [0m[0;1;31merror: [0m[1mcall to undeclared library > function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit > function declarations [-Wimplicit-function-declaration][0m > 149 | free(ptr);[0m > | [0;1;32m ^ >[0m[1mbindings/xml/libxml_xmlparser.c:149:3: [0m[0;1;30mnote: [0minclude the header > <stdlib.h> or explicitly provide a declaration for 'free'[0m >[1mbindings/xml/libxml_xmlparser.c:153:9: [0m[0;1;31merror: [0m[1mcall to undeclared library > function 'realloc' with type 'void *(void *, unsigned long)'; ISO C99 and later do not > support implicit function declarations [-Wimplicit-function-declaration][0m > 153 | return realloc(ptr, len);[0m > | [0;1;32m ^ >[0m[1mbindings/xml/libxml_xmlparser.c:153:9: [0m[0;1;30mnote: [0minclude the header > <stdlib.h> or explicitly provide a declaration for 'realloc'[0m >[1mbindings/xml/libxml_xmlparser.c:326:9: [0m[0;1;35mwarning: [0m[1massigning to > 'xmlErrorPtr' (aka 'struct _xmlError *') from 'const xmlError *' (aka > 'const struct _xmlError *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers][0m > 326 | xmlerr = xmlCtxtGetLastError(parser->xml_ctx);[0m > | [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbindings/xml/libxml_xmlparser.c:358:9: [0m[0;1;35mwarning: [0m[1massigning to > 'xmlErrorPtr' (aka 'struct _xmlError *') from 'const xmlError *' (aka > 'const struct _xmlError *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers][0m > 358 | xmlerr = xmlCtxtGetLastError(parser->xml_ctx);[0m > | [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbindings/xml/libxml_xmlparser.c:442:9: [0m[0;1;35mwarning: [0m[1massigning to > 'xmlErrorPtr' (aka 'struct _xmlError *') from 'const xmlError *' (aka > 'const struct _xmlError *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers][0m > 442 | xmlerr = xmlCtxtGetLastError(parser->xml_ctx);[0m > | [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m[1mbindings/xml/libxml_xmlparser.c:519:9: [0m[0;1;35mwarning: [0m[1massigning to > 'xmlErrorPtr' (aka 'struct _xmlError *') from 'const xmlError *' (aka > 'const struct _xmlError *') discards qualifiers > [-Wincompatible-pointer-types-discards-qualifiers][0m > 519 | xmlerr = xmlCtxtGetLastError(parser->xml_ctx);[0m > | [0;1;32m ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >[0m4 warnings and 3 errors generated. >make: *** [/usr/share/netsurf-buildsystem/makefiles/Makefile.top:595: build-x86_64-gentoo-linux-musl-x86_64-gentoo-linux-musl-release-lib-shared/bindings_xml_libxml_xmlparser.o] Error 1 >make: *** Waiting for unfinished jobs.... > [31;01m*[0m ERROR: net-libs/libdom-0.4.2::gentoo failed (compile phase): > [31;01m*[0m emake failed > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=net-libs/libdom-0.4.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=net-libs/libdom-0.4.2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/net-libs/libdom-0.4.2:20240202-220114.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libdom-0.4.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/net-libs/libdom-0.4.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.2' > [31;01m*[0m S: '/var/tmp/portage/net-libs/libdom-0.4.2/work/libdom-0.4.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 923647
: 884073 |
884074
|
884127