Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 819340 Details for
Bug 875014
media-sound/wavegain-1.3.1 - wavegain.c: error: call to undeclared function getpid; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
media-sound:wavegain-1.3.1:20221004-042612.log
media-sound:wavegain-1.3.1:20221004-042612.log (text/plain), 6.69 KB, created by
Toralf Förster
on 2022-10-04 16:36:38 UTC
(
hide
)
Description:
media-sound:wavegain-1.3.1:20221004-042612.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2022-10-04 16:36:38 UTC
Size:
6.69 KB
patch
obsolete
> * Package: media-sound/wavegain-1.3.1:0 > * Repository: gentoo > * Maintainer: sound@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking wavegain-1.3.1srcs.zip to /var/tmp/portage/media-sound/wavegain-1.3.1/work >>>> Source unpacked in /var/tmp/portage/media-sound/wavegain-1.3.1/work >>>> Preparing source in /var/tmp/portage/media-sound/wavegain-1.3.1/work/WaveGain-1.3.1 ... > * Applying wavegain-1.3.1-makefile.patch ... > [ ok ] > * Applying wavegain-1.3.1-fno-common.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/media-sound/wavegain-1.3.1/work/WaveGain-1.3.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/media-sound/wavegain-1.3.1/work/WaveGain-1.3.1 ... >make -j4 >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o audio.o audio.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o dither.o dither.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o gain_analysis.o gain_analysis.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o getopt1.o getopt1.c >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o getopt.o getopt.c >gain_analysis.c:128:18: warning: variable length array folded to constant array > as an extension [-Wgnu-folding-constant] >Float_t lstepbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; > ^ >gain_analysis.c:130:18: warning: variable length array folded to constant array > as an extension [-Wgnu-folding-constant] >Float_t loutbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; > ^ >gain_analysis.c:134:18: warning: variable length array folded to constant array > as an extension [-Wgnu-folding-constant] >Float_t rstepbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; > ^ >gain_analysis.c:136:18: warning: variable length array folded to constant array > as an extension [-Wgnu-folding-constant] >Float_t routbuf [MAX_SAMPLES_PER_WINDOW + MAX_ORDER]; > ^ >gain_analysis.c:148:18: warning: variable length array folded to constant array > as an extension [-Wgnu-folding-constant] >static Uint32_t A [(size_t)(STEPS_per_dB * MAX_dB)]; > ^ >gain_analysis.c:149:18: warning: variable length array folded to constant array > as an extension [-Wgnu-folding-constant] >static Uint32_t B [(size_t)(STEPS_per_dB * MAX_dB)]; > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o main.o main.c >audio.c:664:31: warning: passing 'char[8]' to parameter of type > 'unsigned char *' converts between pointers to integer types where one is > of the unique plain 'char' type and the other is not [-Wpointer-sign] > opt->gain_scale = READ_D64(buf_double); > ^~~~~~~~~~ >audio.c:189:35: note: passing argument to parameter 'cptr' here >double read_d64_le(unsigned char *cptr) > ^ >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o misc.o misc.c >main.c:181:26: warning: comparing a pointer to a null character constant; did > you mean to compare to NULL? [-Wpointer-compare] > if (file->filename == '\0') > ^~~~ > (void *)0 >main.c:194:26: warning: comparing a pointer to a null character constant; did > you mean to compare to NULL? [-Wpointer-compare] > if (file->filename == '\0') > ^~~~ > (void *)0 >main.c:199:22: warning: expression which evaluates to zero treated as a null > pointer constant of type 'const char *' [-Wnon-literal-null-conversion] > file->filename = '\0'; > ^~~~ >main.c:265:27: warning: comparing a pointer to a null character constant; did > you mean to compare to NULL? [-Wpointer-compare] > if (file->filename == '\0') > ^~~~ > (void *)0 >misc.c:42:18: warning: format string is not a string literal > (potentially insecure) [-Wformat-security] > fprintf(stderr, strerror(err_num)); > ^~~~~~~~~~~~~~~~~ >misc.c:42:18: note: treat the string as an argument to avoid this > fprintf(stderr, strerror(err_num)); > ^ > "%s", >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -c -o recurse.o recurse.c >4 warnings generated. >6 warnings generated. >1 warning generated. >clang -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -DHAVE_CONFIG_H -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 wavegain.c audio.o dither.o gain_analysis.o getopt1.o getopt.o main.o misc.o recurse.o -lm -o wavegain >wavegain.c:524:36: error: call to undeclared function 'getpid'; ISO C99 and > later do not support implicit function declarations > [-Werror,-Wimplicit-function-declaration] > srand(time(NULL) ^ getpid()); > ^ >1 error generated. >make: *** [<builtin>: wavegain] Error 1 > * ERROR: media-sound/wavegain-1.3.1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=media-sound/wavegain-1.3.1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=media-sound/wavegain-1.3.1::gentoo'`. > * The complete build log is located at '/var/log/portage/media-sound:wavegain-1.3.1:20221004-042612.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/wavegain-1.3.1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/media-sound/wavegain-1.3.1/temp/environment'. > * Working directory: '/var/tmp/portage/media-sound/wavegain-1.3.1/work/WaveGain-1.3.1' > * S: '/var/tmp/portage/media-sound/wavegain-1.3.1/work/WaveGain-1.3.1' >
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 875014
:
819328
|
819331
|
819334
|
819337
| 819340 |
819343