Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 809737 Details for
Bug 871084
games-mud/tf-5.0_beta8_p8 - malloc.c: error: call to undeclared library function malloc with type
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
games-mud:tf-5.0_beta8_p8:20220917-203204.log
games-mud:tf-5.0_beta8_p8:20220917-203204.log (text/plain), 14.07 KB, created by
Toralf Förster
on 2022-09-17 20:34:05 UTC
(
hide
)
Description:
games-mud:tf-5.0_beta8_p8:20220917-203204.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 20:34:05 UTC
Size:
14.07 KB
patch
obsolete
> * Package: games-mud/tf-5.0_beta8_p8:0 > * Repository: gentoo > * Maintainer: games@gentoo.org > * USE: abi_x86_64 amd64 atcp elibc_glibc gmcp ipv6 kernel_linux option102 ssl userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking tf-50b8.tar.gz to /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work >>>> Unpacking tf5_5.0beta8-8.debian.tar.xz to /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work >>>> Unpacking tf-allrootpatch.txt to /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work >unpack tf-allrootpatch.txt: file format not recognized. Ignoring. >>>> Unpacking tf-allsrcpatch.txt to /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work >unpack tf-allsrcpatch.txt: file format not recognized. Ignoring. >>>> Source unpacked in /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work >>>> Preparing source in /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8 ... > * Applying patches from /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/debian/patches ... > * 0001-Add-DESTDIR-support.patch ... > [ ok ] > * 0002-Correct-use-of-va_list.patch ... > [ ok ] > * 0003-Minor-man-page-fixes.patch ... > [ ok ] > * 0004-Support-GnuTLS-via-OpenSSL-compat-library.patch ... > [ ok ] > * 0005-Make-the-build-reproducible.patch ... > [ ok ] > * 0006-Fix-library-install-path.patch ... > [ ok ] > * 0007-Fix-spelling-errors.patch ... > [ ok ] > * 0008-Fix-duplicate-world_decl-definitions.patch ... > [ ok ] > * 0009-Fix-spelling-error-in-manual-page.patch ... > [ ok ] > * Applying tf-allrootpatch.txt ... > [ ok ] > * Applying tf-allsrcpatch.txt ... > [ ok ] > * Applying tf-50_beta8-pcre.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8 ... >./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 --libdir=/usr/lib64 --enable-atcp --enable-gmcp --enable-option102 --enable-ssl --enable-inet6 --enable-manpage --enable-termcap=tinfo >configure: Configuring TinyFugue version 5.0 beta 8 >configure: >configure: Core dumps disabled. >checking for x86_64-pc-linux-gnu-gcc... clang >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether clang accepts -g... yes >checking for clang option to accept ANSI C... none needed >checking how to run the C preprocessor... clang -E >checking for egrep... grep -E >checking whether clang needs -traditional... no >checking whether make sets $(MAKE)... yes >checking for ranlib... ranlib >checking for ANSI C header files... no >checking for sys/types.h... yes >checking for sys/stat.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for memory.h... yes >checking for strings.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for unistd.h... yes >checking for short... yes >checking size of short... 2 >checking for int... yes >checking size of int... 4 >checking for long... yes >checking size of long... 8 >checking for inline... yes >checking for library containing select... none required >checking for library containing gethostbyname... none required >checking for main in -linet... no >checking for main in -lnet... yes >checking for library containing connect... none required >checking for library containing setlocale... none required >checking for libcrypto and libssl... yes >checking for ssl kerberos dependency... no >checking openssl/ssl.h usability... yes >checking openssl/ssl.h presence... yes >checking for openssl/ssl.h... yes >checking for library containing tgetent... -ltinfo >checking for library containing sqrt... -lm >checking for inflate in -lz... yes >checking for pcre_compile in -lpcre... yes >checking for ANSI C header files... (cached) no >checking for unistd.h... (cached) yes >checking for memory.h... (cached) yes >checking sys/select.h usability... yes >checking sys/select.h presence... yes >checking for sys/select.h... yes >checking for sys/wait.h that is POSIX.1 compatible... yes >checking locale.h usability... yes >checking locale.h presence... yes >checking for locale.h... yes >checking pwd.h usability... yes >checking pwd.h presence... yes >checking for pwd.h... yes >checking zlib.h usability... yes >checking zlib.h presence... yes >checking for zlib.h... yes >checking netinet/in.h usability... yes >checking netinet/in.h presence... yes >checking for netinet/in.h... yes >checking arpa/inet.h usability... yes >checking arpa/inet.h presence... yes >checking for arpa/inet.h... yes >checking netdb.h usability... yes >checking netdb.h presence... yes >checking for netdb.h... yes >checking whether struct sockaddr has sa_len... no >checking termios.h usability... yes >checking termios.h presence... yes >checking for termios.h... yes >checking return type of signal handlers... void >checking for pid_t... yes >checking for size_t... yes >checking for time_t... yes >checking for socklen_t... yes >checking for strftime... yes >checking for h_errno... no >checking for strstr... yes >checking for strtol... yes >checking for bcopy... yes >checking for bzero... yes >checking for connect... yes >checking for fileno... yes >checking for getcwd... yes >checking for gethostname... yes >checking for gethostbyname... yes >checking for getipnodebyname... no >checking for getpwnam... yes >checking for gettimeofday... yes >checking for getwd... yes >checking for hstrerror... yes >checking for index... yes >checking for inet_aton... yes >checking for getaddrinfo... yes >checking for gai_strerror... yes >checking for kill... yes >checking for memcpy... yes >checking for memset... yes >checking for raise... yes >checking for setlocale... yes >checking for setrlimit... yes >checking for sigaction... yes >checking for srand... yes >checking for srandom... yes >checking for strcasecmp... yes >checking for strchr... yes >checking for strcmpi... no >checking for strcspn... yes >checking for strerror... yes >checking for stricmp... no >checking for strtod... yes >checking for tzset... yes >checking for waitpid... yes >checking for IPv6 address structure... in6_addr >checking location of mail directory... /var/spool/mail >configure: creating ./config.status >config.status: creating Makefile >config.status: creating unix/vars.mak >config.status: creating src/tfdefs.h >config.status: creating src/tfconfig.h >config.status: executing default commands >configure: >##################################################### >## prefix: /usr >## exec_prefix: ${prefix} >## bindir: ${exec_prefix}/bin >## datadir: /usr/share >## executable: ${bindir}/tf >## library: ${datadir}/tf-lib >## >## TinyFugue configuration successful. >## Use "make" to build. > >>>> Source configured. >'/var/tmp/portage/games-mud/tf-5.0_beta8_p8/temp/clang14.log' -> '/var/tmp/clang/games-mud/tf-5.0_beta8_p8/clang14.log' >'/var/tmp/portage/games-mud/tf-5.0_beta8_p8/temp/clang15.log' -> '/var/tmp/clang/games-mud/tf-5.0_beta8_p8/clang15.log' >>>> Compiling source in /var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8 ... >make -j4 >make[1]: Entering directory '/var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8/src' >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o attr.o attr.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o command.o command.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o dstring.o dstring.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o expand.o expand.c >command.c:603:31: warning: adding 'int' to a string does not append to the > string [-Wstring-plus-int] > Macro *addworld = find_macro("addworld"); > ^~~~~~~~~~~~~~~~~~~~~~ >./macro.h:41:53: note: expanded from macro 'find_macro' >#define find_macro(name) find_hashed_macro(name, macro_hash(name)) > ^~~~~~~~~~~~~~~~ >./macro.h:40:45: note: expanded from macro 'macro_hash' > (!name ? 0 : (*name == '#') ? atoi(name + 1) : hash_string(name)) > ~~~~~^~~ >command.c:603:31: note: use array indexing to silence this warning >./macro.h:41:53: note: expanded from macro 'find_macro' >#define find_macro(name) find_hashed_macro(name, macro_hash(name)) > ^ >./macro.h:40:45: note: expanded from macro 'macro_hash' > (!name ? 0 : (*name == '#') ? atoi(name + 1) : hash_string(name)) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o expr.o expr.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o help.o help.c >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o history.o history.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o keyboard.o keyboard.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o macro.o macro.c >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o main.o main.c >macro.c:235:63: warning: adding 'int' to a string does not append to the string > [-Wstring-plus-int] > startopt(CS(args), "usSp#c#b:B:E:t:w:h:a:f:P:T:FiIn#1m:q" + > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ >macro.c:235:63: note: use array indexing to silence this warning > startopt(CS(args), "usSp#c#b:B:E:t:w:h:a:f:P:T:FiIn#1m:q" + > ^ > & [ >clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DDATADIR=/usr/share -c -o malloc.o malloc.c >malloc.c:15:1: error: unknown type name 'caddr_t'; did you mean '__caddr_t'? >caddr_t mmalloc_base = NULL; >^~~~~~~ >__caddr_t >/usr/include/bits/types.h:204:15: note: '__caddr_t' declared here >typedef char *__caddr_t; > ^ >malloc.c:21:15: error: call to undeclared library function 'malloc' with type > 'void *(unsigned long)'; ISO C99 and later do not support implicit > function declarations [-Werror,-Wimplicit-function-declaration] > reserve = MALLOC(1024*16); > ^ >./malloc.h:46:22: note: expanded from macro 'MALLOC' >#define MALLOC(size) dmalloc(NULL, (size), __FILE__, __LINE__) > ^ >./malloc.h:61:40: note: expanded from macro 'dmalloc' ># define dmalloc(md, size, file, line) mmalloc(md, size) > ^ >./malloc.h:37:29: note: expanded from macro 'mmalloc' ># define mmalloc(md, size) malloc(size) > ^ >malloc.c:21:15: note: include the header <stdlib.h> or explicitly provide a > declaration for 'malloc' >./malloc.h:46:22: note: expanded from macro 'MALLOC' >#define MALLOC(size) dmalloc(NULL, (size), __FILE__, __LINE__) > ^ >./malloc.h:61:40: note: expanded from macro 'dmalloc' ># define dmalloc(md, size, file, line) mmalloc(md, size) > ^ >./malloc.h:37:29: note: expanded from macro 'mmalloc' ># define mmalloc(md, size) malloc(size) > ^ >malloc.c:54:21: error: call to undeclared library function 'realloc' with type > 'void *(void *, unsigned long)'; ISO C99 and later do not support implicit > function declarations [-Werror,-Wimplicit-function-declaration] > memory = (void*)drealloc(md, ptr, size, file, line); > ^ >./malloc.h:64:6: note: expanded from macro 'drealloc' > mrealloc(md, (void*)(ptr), (size)) > ^ >./malloc.h:39:34: note: expanded from macro 'mrealloc' ># define mrealloc(md, ptr, size) realloc(ptr, size) > ^ >malloc.c:54:21: note: include the header <stdlib.h> or explicitly provide a > declaration for 'realloc' >./malloc.h:64:6: note: expanded from macro 'drealloc' > mrealloc(md, (void*)(ptr), (size)) > ^ >./malloc.h:39:34: note: expanded from macro 'mrealloc' ># define mrealloc(md, ptr, size) realloc(ptr, size) > ^ >3 errors generated. >make[1]: *** [<builtin>: malloc.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >1 warning generated. >make[1]: Leaving directory '/var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8/src' >make: *** [Makefile:18: files] Error 2 > * ERROR: games-mud/tf-5.0_beta8_p8::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=games-mud/tf-5.0_beta8_p8::gentoo'`, > * the complete build log and the output of `emerge -pqv '=games-mud/tf-5.0_beta8_p8::gentoo'`. > * The complete build log is located at '/var/log/portage/games-mud:tf-5.0_beta8_p8:20220917-203204.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-mud/tf-5.0_beta8_p8/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/games-mud/tf-5.0_beta8_p8/temp/environment'. > * Working directory: '/var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8' > * S: '/var/tmp/portage/games-mud/tf-5.0_beta8_p8/work/tf-50b8' >
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 871084
:
809722
|
809725
|
809728
|
809731
|
809734
| 809737 |
809740
|
809743