Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 691908

Summary: app-misc/ttyrec-1.0.8-r2 : ttyrec.c:60:10: fatal error: stropts.h: No such file or directory
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Patrice Clement <monsieurp>
Status: RESOLVED FIXED    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/14692
https://bugs.gentoo.org/show_bug.cgi?id=691846
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
app-misc:ttyrec-1.0.8-r2:20190810-144132.log
emerge-history.txt
environment
etc.portage.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2019-08-10 15:42:02 UTC
make -j1 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native' 
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native  -DSVR4 -D_XOPEN_SOURCE=500  -c -o ttyrec.o ttyrec.c
ttyrec.c:60:10: fatal error: stropts.h: No such file or directory
   60 | #include <stropts.h>
      |          ^~~~~~~~~~~
compilation terminated.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-libressl-20190809-001858

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.1.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.36.0 *



emerge -qpvO app-misc/ttyrec
[ebuild  N    ] app-misc/ttyrec-1.0.8-r2
Comment 1 Toralf Förster gentoo-dev 2019-08-10 15:42:04 UTC
Created attachment 586504 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-08-10 15:42:07 UTC
Created attachment 586506 [details]
app-misc:ttyrec-1.0.8-r2:20190810-144132.log
Comment 3 Toralf Förster gentoo-dev 2019-08-10 15:42:10 UTC
Created attachment 586508 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-08-10 15:42:13 UTC
Created attachment 586510 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-08-10 15:42:15 UTC
Created attachment 586512 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-08-10 15:42:18 UTC
Created attachment 586514 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2020-03-09 20:33:54 UTC
The bug has been closed via the following commit(s):

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

commit ab51e719f086daa2684c155321b4359f97f7b5ba
Author:     Stephan Hartmann <stha09@googlemail.com>
AuthorDate: 2020-02-18 15:11:39 +0000
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: 2020-03-09 20:33:36 +0000

    app-misc/ttyrec: fix building with glibc 2.30.
    
    Closes: https://bugs.gentoo.org/691908
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Signed-off-by: Stephan Hartmann <stha09@googlemail.com>
    Closes: https://github.com/gentoo/gentoo/pull/14692
    Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

 .../ttyrec/files/ttyrec-1.0.8-glibc-2.30.patch     | 30 ++++++++++++++++++++++
 app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild             |  5 +++-
 2 files changed, 34 insertions(+), 1 deletion(-)