Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713126 - app-emulation/ski-1.3.2-r3 : dos.c: fatal error: termio.h: No such file or directory
Summary: app-emulation/ski-1.3.2-r3 : dos.c: fatal error: termio.h: No such file or di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-18 08:31 UTC by Toralf Förster
Modified: 2020-03-21 11:23 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.91 KB, text/plain)
2020-03-18 08:31 UTC, Toralf Förster
Details
app-emulation:ski-1.3.2-r3:20200317-225315.log.bz2 (app-emulation:ski-1.3.2-r3:20200317-225315.log.bz2,112.99 KB, application/x-bzip)
2020-03-18 08:31 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,48.03 KB, text/plain)
2020-03-18 08:31 UTC, Toralf Förster
Details
environment (environment,59.75 KB, text/plain)
2020-03-18 08:31 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.37 KB, application/x-bzip)
2020-03-18 08:31 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,26.64 KB, application/x-bzip)
2020-03-18 08:31 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,131.17 KB, application/x-bzip)
2020-03-18 08:31 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-03-18 08:31:39 UTC
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..     -I./decoder -I./encoder -I../src/encoder -I../src/decoder  -DSKI_DATA_DIR=\/usr/share/ski\   -O2 -pipe -march=native -fno-common -falign-functions=32:25:16  -DLINUX -D_GNU_SOURCE -D__norcsid -fno-strict-aliasing -Wall -Wunused -c -o dos.lo dos.c
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I.. -I./decoder -I./encoder -I../src/encoder -I../src/decoder -DSKI_DATA_DIR=\/usr/share/ski\ -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -DLINUX -D_GNU_SOURCE -D__norcsid -fno-strict-aliasing -Wall -Wunused -c dos.c -o dos.o
dos.c:42:10: fatal error: termio.h: No such file or directory
   42 | #include <termio.h>
      |          ^~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 17 Mar 2020 21:38:32 +0000
emerge -qpvO app-emulation/ski
[ebuild  N    ] app-emulation/ski-1.3.2-r3  USE="-motif"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 08:31:42 UTC
Created attachment 621188 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 08:31:45 UTC
Created attachment 621190 [details]
app-emulation:ski-1.3.2-r3:20200317-225315.log.bz2
Comment 3 Toralf Förster gentoo-dev 2020-03-18 08:31:47 UTC
Created attachment 621192 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-18 08:31:50 UTC
Created attachment 621194 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-18 08:31:53 UTC
Created attachment 621196 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-18 08:31:56 UTC
Created attachment 621198 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-18 08:31:58 UTC
Created attachment 621200 [details]
temp.tbz2
Comment 8 Sergei Trofimovich (RETIRED) gentoo-dev 2020-03-19 23:40:43 UTC
$ qfile /usr/include/termio.h
sys-libs/glibc: /usr/include/termio.h

$ qfile /usr/include/termios.h
sys-libs/musl: /usr/include/termios.h

TIL.

"""
$ cat /usr/include/termio.h
/* Compatible <termio.h> for old `struct termio' ioctl interface.
   This is obsolete; use the POSIX.1 `struct termios' interface
   defined in <termios.h> instead.  */

#include <termios.h>
#include <sys/ioctl.h>
"""
Comment 9 Larry the Git Cow gentoo-dev 2020-03-21 11:23:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cd409c94313006f3dd86bd0f1559e63245da1ba3

commit cd409c94313006f3dd86bd0f1559e63245da1ba3
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-03-21 11:22:24 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-03-21 11:23:19 +0000

    profiles/features/musl/package.mask: mask app-emulation/ski
    
    Needs a port no musl. Uses glibc-specific termio and __getppid.
    
    Reported-by: Toralf Förster
    Closes: https://bugs.gentoo.org/713126
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 profiles/features/musl/package.mask | 4 ++++
 1 file changed, 4 insertions(+)