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

Bug 932133

Summary: app-dicts/ydpdict-1.0.3-r2 - ydpdict.c: error: invalid use of incomplete typedef WINDOW {aka struct _win_st}
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 930805    
Attachments: emerge-info.txt
app-dicts:ydpdict-1.0.3-r2:20240517-194709.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-05-18 07:49:55 UTC
      |         ^~
In file included from ydpdict.c:31:
ydpdict.c:328:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the if
  328 |                 mvwaddstr(window_header, 0, screen_width - strlen(HEADER_COPYRIGHT) - 1, HEADER_COPYRIGHT);
      |                 ^~~~~~~~~
ydpdict.c: In function check_size:
ydpdict.c:346:22: error: invalid use of incomplete typedef WINDOW {aka struct _win_st}
  346 |         newx = stdscr->_maxx + 1;
      |                      ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20240514-141532

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 18.1.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.5
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 383e8a6aa76649fe313f4405b4bb2fc0e117c17c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 17 19:03:53 2024 +0000

    2024-05-17 19:03:52 UTC

emerge -qpvO app-dicts/ydpdict
[ebuild  N    ] app-dicts/ydpdict-1.0.3-r2  USE="-ao"
Comment 1 Toralf Förster gentoo-dev 2024-05-18 07:49:56 UTC
Created attachment 893216 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-18 07:49:57 UTC
Created attachment 893217 [details]
app-dicts:ydpdict-1.0.3-r2:20240517-194709.log
Comment 3 Toralf Förster gentoo-dev 2024-05-18 07:49:58 UTC
Created attachment 893218 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-05-18 07:49:59 UTC
Created attachment 893219 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-05-18 07:50:00 UTC
Created attachment 893220 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-18 07:50:01 UTC
Created attachment 893221 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-18 07:50:02 UTC
Created attachment 893222 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-05-18 07:50:03 UTC
Created attachment 893223 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-05-18 07:50:04 UTC
Created attachment 893224 [details]
temp.tar.xz
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-17 03:44:31 UTC
commit 06d50e9610aba8a47bfe920d22892e1e19d66c8c
Author: Michael Mair-Keimberger <mmk@levelnine.at>
Date:   Fri Jun 7 15:41:50 2024 +0200

    app-dicts/ydpdict: add 1.0.5

    Signed-off-by: Michael Mair-Keimberger <mmk@levelnine.at>
    Closes: https://github.com/gentoo/gentoo/pull/37072
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>