media-source/alsa-utils-1.0.17 fails to build with minimal use flag Reproducible: Always Steps to Reproduce: 1.USE="minimal" emerge alsa-utils Actual Results: Build fails with error, checking build.log shows many errors in names.c:288-368 with undecleared,pointer to integer without cast Expected Results: it working
Please attach the build log, and show 'emerge --info' output for your system
Created attachment 171284 [details] build.log
Comment on attachment 171284 [details] build.log >>>> Unpacking source... >>>> Unpacking alsa-utils-1.0.17.tar.bz2 to /var/tmp/portage/media-sound/alsa-utils-1.0.17/work > [32;01m*[0m Applying alsa-utils-1.0.11_rc2-nls.patch ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Applying alsa-utils-1.0.11_rc5-alsaconf-redirect.patch ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Applying alsa-utils-1.0.14-alsaconf-modules-update.patch ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Applying alsa-utils-1.0.17-seq.patch ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running eautoreconf in '/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17' ... > [32;01m*[0m Running aclocal -I m4 -I m4 ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running autoconf ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running autoheader ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m > [32;01m*[0m Running automake --add-missing --copy --foreign ... >[A[92C [34;01m[ [32;01mok[34;01m ][0m >>>> Source unpacked. >>>> Compiling source in /var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17 ... > * econf: updating alsa-utils-1.0.17/config.guess with /usr/share/gnuconfig/config.guess > * econf: updating alsa-utils-1.0.17/config.sub with /usr/share/gnuconfig/config.sub >./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-nls --disable-sequencer --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu >checking for a BSD-compatible install... /usr/bin/install -c >checking whether build environment is sane... yes >checking for a thread-safe mkdir -p... /bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether NLS is requested... yes >checking for msgfmt... /usr/bin/msgfmt >checking for gmsgfmt... /usr/bin/gmsgfmt >checking for xgettext... /usr/bin/xgettext >checking for msgmerge... /usr/bin/msgmerge >checking for style of include used by make... GNU >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking for C compiler default output file name... a.out >checking whether the C compiler works... yes >checking whether we are cross compiling... no >checking for suffix of executables... >checking for suffix of object files... o >checking whether we are using the GNU C compiler... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 >checking build system type... x86_64-pc-linux-gnu >checking host system type... x86_64-pc-linux-gnu >checking for ld used by GCC... /usr/x86_64-pc-linux-gnu/bin/ld >checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes >checking for shared library run path origin... done >checking for CFPreferencesCopyAppValue... no >checking for CFLocaleCopyCurrent... no >checking for GNU gettext in libc... yes >checking whether to use NLS... yes >checking where the gettext function comes from... libc >checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc >checking whether we are using the GNU C compiler... (cached) yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes >checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed >checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3 >checking for a BSD-compatible install... /usr/bin/install -c >checking whether ln -s works... yes >checking for ALSA CFLAGS... >checking for ALSA LDFLAGS... -lasound -lm -ldl -lpthread >checking for libasound headers version >= 1.0.16... found. >checking for snd_ctl_open in -lasound... yes >checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E >checking for grep that handles long lines and -e... /bin/grep >checking for egrep... /bin/grep -E >checking for ANSI C header files... yes >checking for ncurses5-config... yes >checking for an ANSI C-conforming const... yes >checking for inline... inline >checking whether time.h and sys/time.h may both be included... yes >checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no >checking for special C compiler options needed for large files... no >checking for _FILE_OFFSET_BITS value needed for large files... no >configure: creating ./config.status >config.status: creating Makefile >config.status: creating alsactl/Makefile >config.status: creating alsamixer/Makefile >config.status: creating amidi/Makefile >config.status: creating amixer/Makefile >config.status: creating m4/Makefile >config.status: creating po/Makefile.in >config.status: creating alsaconf/alsaconf >config.status: creating alsaconf/Makefile >config.status: creating alsaconf/po/Makefile >config.status: WARNING: 'alsaconf/po/Makefile.in' seems to ignore the --datarootdir setting >config.status: creating aplay/Makefile >config.status: creating include/Makefile >config.status: creating iecset/Makefile >config.status: creating utils/Makefile >config.status: creating utils/alsa-utils.spec >config.status: creating seq/Makefile >config.status: creating seq/aconnect/Makefile >config.status: creating seq/aplaymidi/Makefile >config.status: creating seq/aseqdump/Makefile >config.status: creating seq/aseqnet/Makefile >config.status: creating speaker-test/Makefile >config.status: creating speaker-test/samples/Makefile >config.status: creating include/aconfig.h >config.status: executing po-directories commands >config.status: creating po/POTFILES >config.status: creating po/Makefile >config.status: executing depfiles commands >make -j3 >Making all in include >make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/include' >cd .. && /bin/sh /var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/missing --run autoheader >rm -f stamp-h1 >touch aconfig.h.in >cd .. && /bin/sh ./config.status include/aconfig.h >config.status: creating include/aconfig.h >config.status: include/aconfig.h is unchanged >make all-am >make[2]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/include' >make[2]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/include' >make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/include' >Making all in alsactl >make[1]: Entering directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/alsactl' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -mtune=generic -mmmx -msse -msse2 -minline-stringops-dynamically -O2 -MT alsactl.o -MD -MP -MF .deps/alsactl.Tpo -c -o alsactl.o alsactl.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -mtune=generic -mmmx -msse -msse2 -minline-stringops-dynamically -O2 -MT state.o -MD -MP -MF .deps/state.Tpo -c -o state.o state.c >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../include -mtune=generic -mmmx -msse -msse2 -minline-stringops-dynamically -O2 -MT names.o -MD -MP -MF .deps/names.Tpo -c -o names.o names.c >mv -f .deps/alsactl.Tpo .deps/alsactl.Po >names.c: In function 'probe_rawmidi_virtual': >names.c:288: error: 'snd_rawmidi_t' undeclared (first use in this function) >names.c:288: error: (Each undeclared identifier is reported only once >names.c:288: error: for each function it appears in.) >names.c:288: error: 'rawmidi1' undeclared (first use in this function) >names.c:288: error: 'rawmidi2' undeclared (first use in this function) >names.c:294: error: 'SND_RAWMIDI_NONBLOCK' undeclared (first use in this function) >names.c: In function 'probe_rawmidi_card': >names.c:318: error: 'snd_rawmidi_info_t' undeclared (first use in this function) >names.c:318: error: 'info1' undeclared (first use in this function) >names.c:318: error: 'info2' undeclared (first use in this function) >names.c:335: error: 'SND_RAWMIDI_STREAM_OUTPUT' undeclared (first use in this function) >names.c:339: error: 'SND_RAWMIDI_STREAM_INPUT' undeclared (first use in this function) >names.c:345: warning: assignment makes pointer from integer without a cast >names.c:346: warning: assignment makes pointer from integer without a cast >names.c:353: warning: assignment makes pointer from integer without a cast >names.c:354: warning: assignment makes pointer from integer without a cast >names.c:366: warning: assignment makes pointer from integer without a cast >names.c:368: warning: assignment makes pointer from integer without a cast >make[1]: *** [names.o] Error 1 >make[1]: *** Waiting for unfinished jobs.... >mv -f .deps/state.Tpo .deps/state.Po >make[1]: Leaving directory `/var/tmp/portage/media-sound/alsa-utils-1.0.17/work/alsa-utils-1.0.17/alsactl' >make: *** [all-recursive] Error 1 > [31;01m*[0m > [31;01m*[0m ERROR: media-sound/alsa-utils-1.0.17 failed. > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 49: Called src_compile > [31;01m*[0m environment, line 2596: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m emake || die "make failed" > [31;01m*[0m The die message: > [31;01m*[0m make failed > [31;01m*[0m > [31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant. > [31;01m*[0m A complete build log is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.17/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-sound/alsa-utils-1.0.17/temp/environment'. > [31;01m*[0m ></PRE></BODY></HTML>
*** This bug has been marked as a duplicate of bug 234184 ***