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

Bug 685096

Summary: app-misc/ckermit-8.0.211-r4 : ckucmd.c:7118:48: error: FILE {aka struct _IO_FILE } has no member named _cnt
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Embedded Gentoo Team <embedded>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=783642
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 663916    
Attachments: emerge-info.txt
app-misc:ckermit-8.0.211-r4:20190505-113748.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
patch for glibc-2.28 removal of libio

Description Toralf Förster gentoo-dev 2019-05-05 12:13:46 UTC
In file included from ckucmd.c:39:
ckucmd.c: In function ‘cmdconchk’:
ckucmd.c:7118:48: error: ‘FILE’ {aka ‘struct _IO_FILE’} has no member named ‘_cnt’
     debug(F101,"cmdconchk stdin->_cnt","",stdin->_cnt);
                                                ^~
ckcdeb.h:4629:69: note: in definition of macro ‘debug’

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-systemd_stable-libressl_20190503-232230

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

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.2.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-1.29.1 *



emerge -qpvO app-misc/ckermit
[ebuild  N    ] app-misc/ckermit-8.0.211-r4  USE="ncurses"
Comment 1 Toralf Förster gentoo-dev 2019-05-05 12:13:49 UTC
Created attachment 575288 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-05-05 12:13:52 UTC
Created attachment 575290 [details]
app-misc:ckermit-8.0.211-r4:20190505-113748.log
Comment 3 Toralf Förster gentoo-dev 2019-05-05 12:13:55 UTC
Created attachment 575292 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-05-05 12:13:57 UTC
Created attachment 575294 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-05-05 12:14:01 UTC
Created attachment 575296 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-05-05 12:14:04 UTC
Created attachment 575298 [details]
logs.tbz2
Comment 7 Stephen Lewis 2019-09-11 17:55:06 UTC
This is related to removal of 'libio.h', see here:
https://wiki.gentoo.org/wiki/Glibc_2.28_porting_notes/libio_h_removal
ckermit compiles with glibc-2.27 but not with glibc-2.29

ckermit seems to take wrong path at:
ckucmd.c:#ifdef _IO_file_flags			/* Linux */
Comment 8 Stephen Lewis 2019-09-11 20:58:47 UTC
(In reply to Stephen Lewis from comment #7)
> This is related to removal of 'libio.h', see here:
> https://wiki.gentoo.org/wiki/Glibc_2.28_porting_notes/libio_h_removal
> ckermit compiles with glibc-2.27 but not with glibc-2.29
> 
> ckermit seems to take wrong path at:
> ckucmd.c:#ifdef _IO_file_flags			/* Linux */

Here is a patch that fixes ckermit-8.0.211-r4 before and after glibc-2.28,
ckermit-9.0.302 seems to be OK
Comment 9 Stephen Lewis 2019-09-11 21:00:35 UTC
Created attachment 589698 [details, diff]
patch for glibc-2.28 removal of libio