Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 808351 Details for
Bug 870886
media-libs/fidlib-0.9.10-r1 - firun.c: error: call to undeclared function read; ISO C99 and later do
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-libs:fidlib-0.9.10-r1:20220917-160509.log
media-libs:fidlib-0.9.10-r1:20220917-160509.log (text/plain), 4.44 KB, created by
Toralf Förster
on 2022-09-17 16:58:17 UTC
(
hide
)
Description:
media-libs:fidlib-0.9.10-r1:20220917-160509.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-09-17 16:58:17 UTC
Size:
4.44 KB
patch
obsolete
> * Package: media-libs/fidlib-0.9.10-r1:0 > * Repository: gentoo > * Maintainer: proaudio@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking fidlib-0.9.10.tgz to /var/tmp/portage/media-libs/fidlib-0.9.10-r1/work >>>> Source unpacked in /var/tmp/portage/media-libs/fidlib-0.9.10-r1/work >>>> Preparing source in /var/tmp/portage/media-libs/fidlib-0.9.10-r1/work/fidlib-0.9.10 ... > * Applying fidlib-0.9.10-extern.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-libs/fidlib-0.9.10-r1/work/fidlib-0.9.10 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-libs/fidlib-0.9.10-r1/work/fidlib-0.9.10 ... > * clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -DT_LINUX -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname,libfidlib.so.0 -fPIC -shared fidlib.c -lm -o libfidlib.so.0 >In file included from fidlib.c:2296: >./fidrf_cmdlist.h:79:11: warning: initializing 'uchar *' (aka 'unsigned char *') > with an expression of type 'char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > uchar *cmd= ((RunBuf*)fbuf)->cmd; > ^ ~~~~~~~~~~~~~~~~~~~~ >./fidrf_cmdlist.h:231:11: warning: assigning to 'uchar *' > (aka 'unsigned char *') from 'char *' converts between pointers to integer > types where one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > cmd_tmp= ALLOC_ARR(cmd_max= filt_cnt + 4, char); > ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >2 warnings generated. > * clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 firun.c -lm ./libfidlib.so.0 -o firun >firun.c:281:15: error: call to undeclared function 'read'; ISO C99 and later do > not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > int rv= read(0, inend, inbufend-inend); > ^ >firun.c:281:15: 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, > ^ >firun.c:332:19: warning: passing 'uchar *' (aka 'unsigned char *') to parameter > of type 'const char *' converts between pointers to integer types where > one is of the unique plain 'char' type and the other is not > [-Wpointer-sign] > val= strtod(inp, (char**)&tmp); > ^~~ >/usr/include/stdlib.h:118:46: note: passing argument to parameter '__nptr' here >extern double strtod (const char *__restrict __nptr, > ^ >1 warning and 1 error generated. > * ERROR: media-libs/fidlib-0.9.10-r1::gentoo failed (compile phase): > * Failed to run command: clang -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 firun.c -lm ./libfidlib.so.0 -o firun > * > * Call stack: > * ebuild.sh, line 122: Called src_compile > * environment, line 1878: Called edo 'clang' '-pipe' '-march=native' '-fno-diagnostics-color' '-O2' '-D_GLIBCXX_ASSERTIONS' '-Werror=implicit-function-declaration' '-Werror=implicit-int' '-Wl,-O1' '-Wl,--as-needed' '-Wl,--defsym=__gentoo_check_ldflags__=0' 'firun.c' '-lm' './libfidlib.so.0' '-o' 'firun' > * environment, line 956: Called die > * The specific snippet of code: > * "$@" || die -n "Failed to run command: $@" > * > * If you need support, post the output of `emerge --info '=media-libs/fidlib-0.9.10-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-libs/fidlib-0.9.10-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-libs:fidlib-0.9.10-r1:20220917-160509.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-libs/fidlib-0.9.10-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-libs/fidlib-0.9.10-r1/temp/environment'. > * Working directory: '/var/tmp/portage/media-libs/fidlib-0.9.10-r1/work/fidlib-0.9.10' > * S: '/var/tmp/portage/media-libs/fidlib-0.9.10-r1/work/fidlib-0.9.10' >
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 870886
:
808339
|
808342
|
808345
|
808348
| 808351 |
808354