* 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: *** [: 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'