Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685096 - app-misc/ckermit-8.0.211-r4 : ckucmd.c:7118:48: error: FILE {aka struct _IO_FILE } has no member named _cnt
Summary: app-misc/ckermit-8.0.211-r4 : ckucmd.c:7118:48: error: FILE {aka struct _IO_F...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: glibc-2.28
  Show dependency tree
 
Reported: 2019-05-05 12:13 UTC by Toralf Förster
Modified: 2021-04-18 08:16 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.00 KB, text/plain)
2019-05-05 12:13 UTC, Toralf Förster
Details
app-misc:ckermit-8.0.211-r4:20190505-113748.log (app-misc:ckermit-8.0.211-r4:20190505-113748.log,4.37 KB, text/plain)
2019-05-05 12:13 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,84.01 KB, text/plain)
2019-05-05 12:13 UTC, Toralf Förster
Details
environment (environment,93.95 KB, text/plain)
2019-05-05 12:13 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.43 KB, application/x-bzip)
2019-05-05 12:14 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,744 bytes, application/x-bzip)
2019-05-05 12:14 UTC, Toralf Förster
Details
patch for glibc-2.28 removal of libio (ckermit-8.0.211-libio.patch,427 bytes, patch)
2019-09-11 21:00 UTC, Stephen Lewis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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