Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 879601 Details for
Bug 920156
sys-apps/audio-entropyd-2.0.3-r1 - audio-entropyd.c: error: passing argument 5 of get_random_data from incompatible pointer type [-Wincompatible-point
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log
sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log (text/plain), 6.17 KB, created by
Toralf Förster
on 2023-12-16 14:00:29 UTC
(
hide
)
Description:
sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-16 14:00:29 UTC
Size:
6.17 KB
patch
obsolete
> * Package: sys-apps/audio-entropyd-2.0.3-r1:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking audio-entropyd-2.0.3.tgz to /var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work >>>> Source unpacked in /var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work >>>> Preparing source in /var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work/audio-entropyd-2.0.3 ... > * Applying audio-entropyd-2.0.1-uclibc.patch ... > [ ok ] > * Applying audio-entropyd-2.0.1-ldflags.patch ... > [ ok ] >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work/audio-entropyd-2.0.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work/audio-entropyd-2.0.3 ... >make -j4 >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -O2 -pipe -march=native -fno-diagnostics-color -DVERSION=\"2.0.3\" -c -o audio-entropyd.o audio-entropyd.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -O2 -pipe -march=native -fno-diagnostics-color -DVERSION=\"2.0.3\" -c -o error.o error.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -O2 -pipe -march=native -fno-diagnostics-color -DVERSION=\"2.0.3\" -c -o proc.o proc.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -O2 -pipe -march=native -fno-diagnostics-color -DVERSION=\"2.0.3\" -c -o val.o val.c >x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -O2 -pipe -march=native -fno-diagnostics-color -DVERSION=\"2.0.3\" -c -o RNGTEST.o RNGTEST.c >audio-entropyd.c: In function âsetparamsâ: >audio-entropyd.c:184:67: warning: pointer targets in passing argument 3 of âsnd_pcm_hw_params_set_rate_nearâ differ in signedness [-Wpointer-sign] > 184 | err = snd_pcm_hw_params_set_rate_near(chandle, ct_params, &sample_rate, 0); > | ^~~~~~~~~~~~ > | | > | int * > >In file included from /usr/include/alsa/asoundlib.h:56, > from audio-entropyd.c:30: >/usr/include/alsa/pcm.h:825:96: note: expected âunsigned int *â but argument is of type âint *â > 825 | (snd_pcm_t *pcm, snd_pcm_hw_params_t *params, unsigned int *val, int *dir); > | ~~~~~~~~~~~~~~^~~ > >audio-entropyd.c: In function âmain_loopâ: >audio-entropyd.c:234:96: error: passing argument 5 of âget_random_dataâ from incompatible pointer type [-Wincompatible-pointer-types] > 234 | , DEFAULT_CLICK_READ, DEFAULT_SAMPLE_RATE, &n_output_bytes, &output_buffer); > | ^~~~~~~~~~~~~~ > | | > | unsigned char ** > >audio-entropyd.c:73:106: note: expected âchar **â but argument is of type âunsigned char **â > 73 | p_samples, int process_samples, int *n_output_bytes, char **output_buffer); > | ~~~~~~~^~~~~~~~~~~~~ > >audio-entropyd.c:291:91: warning: pointer targets in passing argument 2 of âadd_to_kernel_entropyspoolâ differ in signedness [-Wpointer-sign] > 291 | cur_added = add_to_kernel_entropyspool(random_fd, output_buffer, n_output_bytes); > | ^~~~~~~~~~~~~ > | | > | unsigned char * > >audio-entropyd.c:74:50: note: expected âchar *â but argument is of type âunsigned char *â > 74 | int add_to_kernel_entropyspool(int handle, char *buffer, int nbytes); > | ~~~~~~^~~~~~ >audio-entropyd.c:310:112: error: passing argument 5 of âget_random_dataâ from incompatible pointer type [-Wincompatible-pointer-types] > 310 | , DEFAULT_CLICK_READ, DEFAULT_SAMPLE_RATE, &n_output_bytes, &output_buffer); > | ^~~~~~~~~~~~~~ > | | > | unsigned char ** > >audio-entropyd.c:73:106: note: expected âchar **â but argument is of type âunsigned char **â > 73 | p_samples, int process_samples, int *n_output_bytes, char **output_buffer); > | ~~~~~~~^~~~~~~~~~~~~ > >audio-entropyd.c:228:9: warning: ignoring return value of âfscanfâ declared with attribute âwarn_unused_resultâ [-Wunused-result] > 228 | fscanf(poolsize_fh, "%d", &max_bits); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >make: *** [<builtin>: audio-entropyd.o] Error 1 >make: *** Waiting for unfinished jobs.... > * ERROR: sys-apps/audio-entropyd-2.0.3-r1::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=sys-apps/audio-entropyd-2.0.3-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=sys-apps/audio-entropyd-2.0.3-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/sys-apps:audio-entropyd-2.0.3-r1:20231216-133031.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/temp/environment'. > * Working directory: '/var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work/audio-entropyd-2.0.3' > * S: '/var/tmp/portage/sys-apps/audio-entropyd-2.0.3-r1/work/audio-entropyd-2.0.3' >
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 920156
:
879595
|
879596
|
879597
|
879598
|
879599
|
879600
| 879601 |
879602