Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 936759 - games-roguelike/tomenet-4.9.1 - [perl-5.40] [ncurses-6.5] [icu-75.1] client/main-gcu.c: error: invalid use of incomplete typedef WINDOW {aka struct _win_st}
Summary: games-roguelike/tomenet-4.9.1 - [perl-5.40] [ncurses-6.5] [icu-75.1] client/m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 930805
  Show dependency tree
 
Reported: 2024-07-27 08:41 UTC by Toralf Förster
Modified: 2024-09-11 01:10 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.75 KB, text/plain)
2024-07-27 08:41 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,106.70 KB, application/x-xz)
2024-07-27 08:41 UTC, Toralf Förster
Details
environment (environment,78.85 KB, text/plain)
2024-07-27 08:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,56.42 KB, application/x-xz)
2024-07-27 08:41 UTC, Toralf Förster
Details
games-roguelike:tomenet-4.9.1:20240727-083724.log (games-roguelike:tomenet-4.9.1:20240727-083724.log,34.08 KB, text/plain)
2024-07-27 08:41 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,105.75 KB, application/x-xz)
2024-07-27 08:41 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-07-27 08:41:26 UTC
 6808 |                                                 strncat(buf, tmp, sizeof(buf) - strlen(buf) - 1);
      |                                                 ^
client/c-cmd.c:6853:49: warning: __builtin_strncat output may be truncated copying between 0 and 239 bytes from a string of length 255 [-Wstringop-truncation]
 6853 |                                                 strncat(buf, tmp, sizeof(buf) - strlen(buf) - 1);
      |                                                 ^
client/main-gcu.c: In function Term_xtra_gcu_alive:
client/main-gcu.c:473:29: error: invalid use of incomplete typedef WINDOW {aka struct _win_st}
  473 |                 mvcur(curscr->_cury, curscr->_curx, LINES - 1, 0);
      |                             ^~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened_systemd-20240718-123502

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1
    Requested by sam
  >=sys-libs/ncurses-6.5
  ~dev-lang/perl-5.40.0
  ~virtual/perl-Archive-Tar-3.20.10_rc
  ~virtual/perl-CPAN-Meta-Requirements-2.143.0
  ~virtual/perl-Compress-Raw-Bzip2-2.212.0
  ~virtual/perl-DB_File-1.859.0
  ~virtual/perl-Data-Dumper-2.189.0
  ~virtual/perl-Devel-PPPort-3.720.0
  ~virtual/perl-Exporter-5.780.0
  ~virtual/perl-ExtUtils-CBuilder-0.280.240
  ~virtual/perl-ExtUtils-Manifest-1.750.0
  ~virtual/perl-File-Spec-3.900.0
  ~virtual/perl-HTTP-Tiny-0.88.0
  ~virtual/perl-IO-1.550.0
  ~virtual/perl-IO-Compress-2.212.0
  ~virtual/perl-IO-Socket-IP-0.420.0
  ~virtual/perl-IO-Zlib-1.150.0
  ~virtual/perl-Math-BigInt-2.3.2
  ~virtual/perl-Math-BigInt-FastCalc-0.501.800
  ~virtual/perl-Math-BigRat-2.3.2
  ~virtual/perl-Module-CoreList-5.202.406.90
  ~virtual/perl-Module-Metadata-1.0.38
  ~virtual/perl-Pod-Simple-3.450.0
  ~virtual/perl-Safe-2.460.0
  ~virtual/perl-Socket-2.38.0
  ~virtual/perl-Test-Harness-3.480.0
  ~virtual/perl-Test-Simple-1.302.199
  ~virtual/perl-Text-Tabs+Wrap-2024.1.0
  ~virtual/perl-Time-HiRes-1.977.700
  ~virtual/perl-Time-Local-1.350.0
  ~virtual/perl-autodie-2.370.0
  ~virtual/perl-bignum-0.670.0
  ~virtual/perl-podlators-5.10.200_rc
  ~virtual/perl-threads-2.400.0
  ~virtual/perl-threads-shared-1.690.0
  ~virtual/perl-version-0.993.0

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
/usr/lib/llvm/18
18.1.8
Python 3.12.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.24_p8 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.422_p05 [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

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.2
  [2]   php8.3 *
go version go1.22.5 linux/amd64

  HEAD of ::gentoo
commit 415c835f318ce512e6c929ace29fc588b09ade70
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jul 27 08:23:03 2024 +0000

    2024-07-27 08:23:03 UTC

emerge -qpvO games-roguelike/tomenet
[ebuild  N    ] games-roguelike/tomenet-4.9.1  USE="(X) client server -sound"
Comment 1 Toralf Förster gentoo-dev 2024-07-27 08:41:27 UTC
Created attachment 898406 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-07-27 08:41:28 UTC
Created attachment 898407 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-07-27 08:41:30 UTC
Created attachment 898408 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-07-27 08:41:31 UTC
Created attachment 898409 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-07-27 08:41:32 UTC
Created attachment 898410 [details]
games-roguelike:tomenet-4.9.1:20240727-083724.log
Comment 6 Toralf Förster gentoo-dev 2024-07-27 08:41:33 UTC
Created attachment 898411 [details]
qlist-info.txt.xz
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-07-27 16:55:25 UTC
Fixed in 4.9.2, so just need to bump (https://github.com/TomenetGame/tomenet/commit/2cade12b04b0b5ec282334483914b52c27c531e1).
Comment 8 Larry the Git Cow gentoo-dev 2024-09-11 01:10:20 UTC
The bug has been closed via the following commit(s):

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

commit c5cd33e80112cc1b37390156635c43b792e3b304
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2024-09-11 01:03:01 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2024-09-11 01:10:01 +0000

    games-roguelike/tomenet: upgrade 4.9.1 -> 4.9.2
    
    Upgrade deps to sdl2.
    
    Closes: https://bugs.gentoo.org/934029
    Closes: https://bugs.gentoo.org/936759
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 games-roguelike/tomenet/Manifest                         |  2 +-
 ...4.9.1-makefile.patch => tomenet-4.9.2-makefile.patch} | 16 ++++++++--------
 .../{tomenet-4.9.1.ebuild => tomenet-4.9.2.ebuild}       |  6 +++---
 3 files changed, 12 insertions(+), 12 deletions(-)