Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928887 - 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 (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-07 14:15 UTC by Toralf Förster
Modified: 2024-04-15 02:03 UTC (History)
5 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.92 KB, text/plain)
2024-04-07 14:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,53.88 KB, text/plain)
2024-04-07 14:15 UTC, Toralf Förster
Details
environment (environment,92.45 KB, text/plain)
2024-04-07 14:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,992 bytes, application/x-xz)
2024-04-07 14:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,40.93 KB, application/x-xz)
2024-04-07 14:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.46 KB, application/x-xz)
2024-04-07 14:16 UTC, Toralf Förster
Details
media-libs:aalib-1.4_rc5-r10:20240407-132636.log (media-libs:aalib-1.4_rc5-r10:20240407-132636.log,28.80 KB, text/plain)
2024-04-07 14:16 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,101.00 KB, text/plain)
2024-04-07 14:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.55 KB, application/x-xz)
2024-04-07 14:16 UTC, Toralf Förster
Details
successful build of aalib with USE="slang" and gcc-14 (aalib-1.4_rc5-r10-with-slang.log,71.23 KB, text/plain)
2024-04-09 19:00 UTC, tdr
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-04-07 14:15:56 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-musl-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 -c /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/fontline.c  -fPIC -DPIC -o .libs/fontline.o
libtool: compile:  x86_64-pc-linux-musl-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 -c /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aacurses.c  -fPIC -DPIC -o .libs/aacurses.o
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-musl-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  -c -o aacurmou.lo /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aac
/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-pc-linux-musl-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  -c -o aalib.lo /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aalib.
libtool: compile:  x86_64-pc-linux-musl-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 -c /var/tmp/portage/media-libs/aalib-1.4_rc5-r10/work/aalib-1.4.0/src/aacurkbd.c  -fPIC -DPIC -o .libs/aacurkbd.o
/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_musl-20240406-125502

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

gcc-config -l:
 [1] x86_64-pc-linux-musl-13 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-musl-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.77.1 *
php cli (if any):
go version go1.22.1 linux/amd64

  HEAD of ::gentoo
commit 41183efe5a45dbc40df19725fdbe1b254b18730b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Apr 7 12:49:01 2024 +0000

    2024-04-07 12:49:01 UTC

emerge -qpvO media-libs/aalib
[ebuild  N    ] media-libs/aalib-1.4_rc5-r10  USE="-X -gpm -slang"
Comment 1 Toralf Förster gentoo-dev 2024-04-07 14:15:57 UTC
Created attachment 889721 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-07 14:15:58 UTC
Created attachment 889722 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-07 14:15:59 UTC
Created attachment 889723 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-07 14:16:00 UTC
Created attachment 889724 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-07 14:16:01 UTC
Created attachment 889725 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-07 14:16:04 UTC
Created attachment 889726 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-04-07 14:16:05 UTC
Created attachment 889727 [details]
media-libs:aalib-1.4_rc5-r10:20240407-132636.log
Comment 8 Toralf Förster gentoo-dev 2024-04-07 14:16:06 UTC
Created attachment 889728 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-04-07 14:16:07 UTC
Created attachment 889729 [details]
temp.tar.xz
Comment 10 Chiitoo gentoo-dev 2024-04-09 06:17:50 UTC
Also hit this with 'x86_64-pc-linux-gnu-gcc' during the profile upgrade.
Comment 11 tdr 2024-04-09 18:57:56 UTC
found that this builds with gcc-14 if USE="slang" enabled 
attaching aalib-1.4_rc5-r10-with-slang.log
Comment 12 tdr 2024-04-09 19:00:52 UTC
Created attachment 890102 [details]
successful build of aalib with USE="slang" and gcc-14
Comment 13 milan hodoscek 2024-04-10 07:22:47 UTC
It compiles, too with slang and gcc version 13.2.1 20240405 (Gentoo 13.2.1_p20240406 p15)
Comment 14 Larry the Git Cow gentoo-dev 2024-04-15 02:03:50 UTC
The bug has been closed via the following commit(s):

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

commit d7b3889a66553ad455ee778230d11b0d30d8810e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-04-15 02:02:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-04-15 02:03:40 +0000

    sys-libs/ncurses: add 6.4_p20240414
    
    Don't make window and friends opaque for now. Revisit in future with
    a planned migration and tinderboxing.
    
    Closes: https://bugs.gentoo.org/928873
    Closes: https://bugs.gentoo.org/929238
    Closes: https://bugs.gentoo.org/929224
    Closes: https://bugs.gentoo.org/929198
    Closes: https://bugs.gentoo.org/929130
    Closes: https://bugs.gentoo.org/929056
    Closes: https://bugs.gentoo.org/928887
    Closes: https://bugs.gentoo.org/928945
    Closes: https://bugs.gentoo.org/928884
    Closes: https://bugs.gentoo.org/928876
    Closes: https://bugs.gentoo.org/928872
    Closes: https://bugs.gentoo.org/928871
    Closes: https://bugs.gentoo.org/928735
    Closes: https://bugs.gentoo.org/928943
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-libs/ncurses/Manifest                     |   5 +
 sys-libs/ncurses/ncurses-6.4_p20240414.ebuild | 487 ++++++++++++++++++++++++++
 2 files changed, 492 insertions(+)