Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932140 - media-libs/aalib-1.4_rc5-r10 - /.../aacurses.c: error: invalid use of incomplete typedef WINDOW {aka struct _win_st}
Summary: media-libs/aalib-1.4_rc5-r10 - /.../aacurses.c: error: invalid use of incompl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 930805
  Show dependency tree
 
Reported: 2024-05-18 07:51 UTC by Toralf Förster
Modified: 2024-11-17 03:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,21.79 KB, text/plain)
2024-05-18 07:51 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,118.06 KB, application/x-xz)
2024-05-18 07:51 UTC, Toralf Förster
Details
environment (environment,95.87 KB, text/plain)
2024-05-18 07:51 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2024-05-18 07:51 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,49.11 KB, application/x-xz)
2024-05-18 07:51 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,8.25 KB, application/x-xz)
2024-05-18 07:51 UTC, Toralf Förster
Details
media-libs:aalib-1.4_rc5-r10:20240517-214853.log (media-libs:aalib-1.4_rc5-r10:20240517-214853.log,27.78 KB, text/plain)
2024-05-18 07:51 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,117.37 KB, application/x-xz)
2024-05-18 07:51 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.63 KB, application/x-xz)
2024-05-18 07:51 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 2024-05-18 07:51:21 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src     -O2 -pipe -march=native -fno-diagnostics-color  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o aascrheight.lo /var/tmp/portage/media-libs/aa
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src -O2 -pipe -march=native -fno-diagnostics-color -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aaimage.c  -f
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src     -O2 -pipe -march=native -fno-diagnostics-color  -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o aain.lo /var/tmp/portage/media-libs/aalib-1.4
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src -O2 -pipe -march=native -fno-diagnostics-color -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aascrheight.c
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src -O2 -pipe -march=native -fno-diagnostics-color -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aacurses.c  -
/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aacurses.c: In function 'curses_getsize':
/var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aacurses.c:74:20: error: invalid use of incomplete typedef 'WINDOW' {aka 'struct _win_st'}
   74 |     *width = stdscr->_maxx + 1;
      |                    ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_plasma-20240507-035004

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
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)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.23_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.11_p9 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.3_p9 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.412_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

php cli (if any):
go version go1.22.3 linux/amd64

  HEAD of ::gentoo
commit 29f9cc61ede010efa76ff687f28277b74cdfe865
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri May 17 19:33:43 2024 +0000

    2024-05-17 19:33:42 UTC

emerge -qpvO media-libs/aalib
[ebuild  N    ] media-libs/aalib-1.4_rc5-r10  USE="X gpm -slang" ABI_X86="(64) -32 (-x32)"
Comment 1 Toralf Förster gentoo-dev 2024-05-18 07:51:22 UTC
Created attachment 893274 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-05-18 07:51:24 UTC
Created attachment 893275 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-05-18 07:51:25 UTC
Created attachment 893276 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-05-18 07:51:25 UTC
Created attachment 893277 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-05-18 07:51:26 UTC
Created attachment 893278 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-05-18 07:51:27 UTC
Created attachment 893279 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-05-18 07:51:28 UTC
Created attachment 893280 [details]
media-libs:aalib-1.4_rc5-r10:20240517-214853.log
Comment 8 Toralf Förster gentoo-dev 2024-05-18 07:51:29 UTC
Created attachment 893281 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-05-18 07:51:30 UTC
Created attachment 893282 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-11-17 03:49:44 UTC
The bug has been closed via the following commit(s):

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

commit f8eb85215fa28bb9f6d266d65fadf4f9679a57a6
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-17 03:16:57 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-17 03:49:21 +0000

    media-libs/aalib: fix build w/ opaque ncurses structures, build w/ -std=gnu17
    
    wrt gnu17: unfortunately, gpm headers are broken and gpm is dead upstream,
    so I don't expect that to be fixed any time soon.
    
    Closes: https://bugs.gentoo.org/932140
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/aalib/aalib-1.4_rc5-r11.ebuild          | 74 ++++++++++++++++++++++
 .../aalib/files/aalib-1.4_rc5-ncurses-opaque.patch | 24 +++++++
 2 files changed, 98 insertions(+)