Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 669520 - media-libs/alsa-oss-1.1.6 : /.../stdioemu.c:40:10: fatal error: libio.h: No such file or directory
Summary: media-libs/alsa-oss-1.1.6 : /.../stdioemu.c:40:10: fatal error: libio.h: No s...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo ALSA team
URL:
Whiteboard:
Keywords:
Depends on: 683092
Blocks:
  Show dependency tree
 
Reported: 2018-10-24 17:28 UTC by Toralf Förster
Modified: 2019-04-11 12:32 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2018-10-24 17:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,175.28 KB, text/plain)
2018-10-24 17:28 UTC, Toralf Förster
Details
environment (environment,73.95 KB, text/plain)
2018-10-24 17:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.36 KB, application/x-bzip)
2018-10-24 17:28 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.26 KB, application/x-bzip)
2018-10-24 17:28 UTC, Toralf Förster
Details
media-libs:alsa-oss-1.1.6:20181024-014611.log (media-libs:alsa-oss-1.1.6:20181024-014611.log,15.50 KB, text/plain)
2018-10-24 17:28 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,23.38 KB, application/x-bzip)
2018-10-24 17:28 UTC, Toralf Förster
Details
patch to fix alsa-oss buld with glibc-2.28 (alsa-oss-glibc-2.28-libio.h.patch,323 bytes, patch)
2018-12-03 03:28 UTC, jeremy mills
Details | Diff
new ebuild with line added for glibc-2.28 patch (alsa-oss-1.1.6-r1.ebuild,966 bytes, text/plain)
2018-12-03 03:30 UTC, jeremy mills
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-10-24 17:28:40 UTC
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)"
Comment 1 Toralf Förster gentoo-dev 2018-10-24 17:28:42 UTC
Created attachment 552720 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-10-24 17:28:45 UTC
Created attachment 552722 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-10-24 17:28:48 UTC
Created attachment 552724 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-10-24 17:28:50 UTC
Created attachment 552726 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-10-24 17:28:53 UTC
Created attachment 552728 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-10-24 17:28:56 UTC
Created attachment 552730 [details]
media-libs:alsa-oss-1.1.6:20181024-014611.log
Comment 7 Toralf Förster gentoo-dev 2018-10-24 17:28:58 UTC
Created attachment 552732 [details]
temp.tbz2
Comment 8 jeremy mills 2018-12-02 11:48:38 UTC
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
Comment 9 jeremy mills 2018-12-03 03:28:58 UTC
Created attachment 556976 [details, diff]
patch to fix alsa-oss buld with glibc-2.28
Comment 10 jeremy mills 2018-12-03 03:30:17 UTC
Created attachment 556978 [details]
new ebuild with line added for glibc-2.28 patch
Comment 11 jeremy mills 2018-12-03 03:32:12 UTC
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.
Comment 12 Ben Kohler gentoo-dev 2019-04-10 13:58:44 UTC
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