media-sound/audio-entropyd-2.0.1 can't build without media-libs/alsa-lib Reproducible: Always Steps to Reproduce: 1.emerge media-sound/audio-entropyd-2.0.1 Actual Results: >>> Emerging (1 of 1) media-sound/audio-entropyd-2.0.1 * audio-entropyd-2.0.1.tgz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking audio-entropyd-2.0.1.tgz to /var/tmp/portage/media-sound/audio-entropyd-2.0.1/work * Applying audio-entropyd-2.0.1-uclibc.patch ... [ ok ] * Applying audio-entropyd-2.0.1-ldflags.patch ... [ ok ] >>> Source unpacked in /var/tmp/portage/media-sound/audio-entropyd-2.0.1/work >>> Compiling source in /var/tmp/portage/media-sound/audio-entropyd-2.0.1/work/audio-entropyd-2.0.1 ... make --jobs=5 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -O2 -pipe -march=native -DVERSION=\"2.0.1\" -c -o audio-entropyd.o audio-entropyd.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -O2 -pipe -march=native -DVERSION=\"2.0.1\" -c -o error.o error.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -O2 -pipe -march=native -DVERSION=\"2.0.1\" -c -o proc.o proc.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -O2 -pipe -march=native -DVERSION=\"2.0.1\" -c -o val.o val.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -Wall -Wno-conversion -Waggregate-return -Wstrict-prototypes -g -O2 -pipe -march=native -DVERSION=\"2.0.1\" -c -o RNGTEST.o RNGTEST.c audio-entropyd.c:30:28: error: alsa/asoundlib.h: No such file or directory audio-entropyd.c:66: error: expected ‘)’ before ‘*’ token audio-entropyd.c:158: error: expected ‘)’ before ‘*’ token audio-entropyd.c: In function ‘main_loop’: audio-entropyd.c:228: warning: passing argument 5 of ‘get_random_data’ from incompatible pointer type audio-entropyd.c:265: warning: pointer targets in passing argument 2 of ‘add_to_kernel_entropyspool’ differ in signedness audio-entropyd.c:283: warning: passing argument 5 of ‘get_random_data’ from incompatible pointer type audio-entropyd.c: In function ‘get_random_data’: audio-entropyd.c:328: error: ‘snd_pcm_t’ undeclared (first use in this function) audio-entropyd.c:328: error: (Each undeclared identifier is reported only once audio-entropyd.c:328: error: for each function it appears in.) audio-entropyd.c:328: error: ‘chandle’ undeclared (first use in this function) audio-entropyd.c:333: warning: implicit declaration of function ‘snd_pcm_open’ audio-entropyd.c:333: error: ‘SND_PCM_STREAM_CAPTURE’ undeclared (first use in this function) audio-entropyd.c:334: warning: implicit declaration of function ‘snd_strerror’ audio-entropyd.c:337: warning: implicit declaration of function ‘setparams’ audio-entropyd.c:341: warning: implicit declaration of function ‘snd_pcm_frames_to_bytes’ audio-entropyd.c:352: error: ‘snd_pcm_sframes_t’ undeclared (first use in this function) audio-entropyd.c:352: error: expected ‘;’ before ‘garbage_frames_read’ audio-entropyd.c:354: error: ‘garbage_frames_read’ undeclared (first use in this function) audio-entropyd.c:355: warning: implicit declaration of function ‘snd_pcm_recover’ audio-entropyd.c:365: error: expected ‘;’ before ‘frames_read’ audio-entropyd.c:367: error: ‘frames_read’ undeclared (first use in this function) audio-entropyd.c:384: warning: implicit declaration of function ‘snd_pcm_close’ audio-entropyd.c:391: error: ‘SND_PCM_FORMAT_S16_BE’ undeclared (first use in this function) make: *** [audio-entropyd.o] Error 1 * * ERROR: media-sound/audio-entropyd-2.0.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2274: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/audio-entropyd-2.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/audio-entropyd-2.0.1/temp/environment'. * >>> Failed to emerge media-sound/audio-entropyd-2.0.1, Log file: >>> '/var/tmp/portage/media-sound/audio-entropyd-2.0.1/temp/build.log' * Messages for package media-sound/audio-entropyd-2.0.1: * * ERROR: media-sound/audio-entropyd-2.0.1 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2274: Called die * The specific snippet of code: * emake CC="$(tc-getCC)" || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/media-sound/audio-entropyd-2.0.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/audio-entropyd-2.0.1/temp/environment'. *
fixed, thanks