libtool: compile: x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"alsa-oss\" -DPACKAGE_TARNAME=\"alsa-oss\" -DPACKAGE_VERSION=\"1.1.6\" "-DPACKAGE_STRING=\"alsa-oss 1.1.6\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"alsa-oss\" -DVERSION=\"1.1.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBASOUND=1 -I. -I/var/tmp/portage/media-libs/alsa-oss-1.1.6/work/alsa-oss-1.1.6/alsa -O2 -pipe -march=native -c /var/tmp/portage/media-libs/alsa-oss-1.1.6/work/alsa-oss-1.1.6/alsa/alsa-oss.c -fPIC -DPIC -o .libs/alsa-oss.o In file included from /var/tmp/portage/media-libs/alsa-oss-1.1.6/work/alsa-oss-1.1.6/alsa/alsa-oss.c:736: /var/tmp/portage/media-libs/alsa-oss-1.1.6/work/alsa-oss-1.1.6/alsa/stdioemu.c:40:10: fatal error: libio.h: No such file or directory #include <libio.h> ^~~~~~~~~ compilation terminated. ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_20181021-022516 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.2.0 * Available Python interpreters, in order of preference: [1] python3.7 [2] python3.6 [3] python2.7 (fallback) Available Ruby profiles: [1] ruby23 (with Rubygems) * emerge -qpvO media-libs/alsa-oss [ebuild N ] media-libs/alsa-oss-1.1.6 USE="-static-libs" ABI_X86="(64) -32 (-x32)"
Created attachment 552720 [details] emerge-info.txt
Created attachment 552722 [details] emerge-history.txt
Created attachment 552724 [details] environment
Created attachment 552726 [details] etc.portage.tbz2
Created attachment 552728 [details] logs.tbz2
Created attachment 552730 [details] media-libs:alsa-oss-1.1.6:20181024-014611.log
Created attachment 552732 [details] temp.tbz2
I can confirm this bug. Its due to libio.h removal from glibc-2.28. https://wiki.gentoo.org/wiki/Glibc_2.28_porting_notes/libio_h_removal
Created attachment 556976 [details, diff] patch to fix alsa-oss buld with glibc-2.28
Created attachment 556978 [details] new ebuild with line added for glibc-2.28 patch
ive attached a patch to fix the failure with libio.h/glibc-2.28 as well as a revbumped ebuild with the patch line added. builds properly for me now on ~amd64.
FYI this is fixed [1] in 1.1.18... in fact it seems to be the only change between 1.1.16 and 1.1.18. I'd suggest we turn this into a stablereq bug. [1] https://git.alsa-project.org/?p=alsa-oss.git;a=commitdiff;h=8564df1c8d114de6ddbc082004c2a74719a46717