Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950449 - net-wireless/dump1090-10.0 - [gcc-15] interactive.c error: initializer-string for array of char is too long [-Werror=unterminated-string-initialization]
Summary: net-wireless/dump1090-10.0 - [gcc-15] interactive.c error: initializer-string...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Radio project
URL: https://github.com/flightaware/dump10...
Whiteboard:
Keywords:
Depends on:
Blocks: werror gcc-15
  Show dependency tree
 
Reported: 2025-03-01 15:16 UTC by Toralf Förster
Modified: 2025-03-01 23:37 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.20 KB, text/plain)
2025-03-01 15:16 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,72.72 KB, application/x-xz)
2025-03-01 15:16 UTC, Toralf Förster
Details
environment (environment,56.69 KB, text/plain)
2025-03-01 15:16 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.21 KB, application/x-xz)
2025-03-01 15:16 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,28.36 KB, application/x-xz)
2025-03-01 15:16 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.88 KB, application/x-xz)
2025-03-01 15:16 UTC, Toralf Förster
Details
net-wireless:dump1090-10.0:20250301-134459.log (net-wireless:dump1090-10.0:20250301-134459.log,4.75 KB, text/plain)
2025-03-01 15:16 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,80.29 KB, application/x-xz)
2025-03-01 15:16 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,13.87 KB, application/x-xz)
2025-03-01 15:16 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 2025-03-01 15:16:09 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc  -I. -D_POSIX_C_SOURCE=200112L -DMODES_DUMP1090_VERSION=\"unknown\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -D_DEFAULT_SOURCE -DENABLE_CPUFEATURES -Icpu_features/include -DENABLE_RTLSDR -DENABLE_SOAPYSDR -DSTARCH_MIX_X86 -O2 -pipe -march=native -fno-diagnostics-color -std=c1
x86_64-pc-linux-gnu-gcc  -I. -D_POSIX_C_SOURCE=200112L -DMODES_DUMP1090_VERSION=\"unknown\" -DMODES_DUMP1090_VARIANT=\"dump1090-fa\" -D_DEFAULT_SOURCE -DENABLE_CPUFEATURES -Icpu_features/include -DENABLE_RTLSDR -DENABLE_SOAPYSDR -DSTARCH_MIX_X86 -O2 -pipe -march=native -fno-diagnostics-color -std=c1
interactive.c: In function interactiveShowData:
interactive.c:143:23: error: initializer-string for array of char is too long [-Werror=unterminated-string-initialization]
  143 |     char spinner[4] = "|/-\\";
      |                       ^~~~~~~
cc1: all warnings being treated as errors
make: *** [Makefile:223: interactive.o] Error 1
make: *** Waiting for unfinished jobs....

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop-20250221-191503

  UNMASKED:

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.24.0 linux/amd64
  [1]   php8.2
  [2]   php8.3 *
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0
  [2]   rust-bin-1.85.0
  [3]   rust-1.85.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [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


  HEAD of ::gentoo
commit 36ec247de3b633b4f34d32c0b395c6913806bb0c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Mar 1 12:33:36 2025 +0000

    2025-03-01 12:33:35 UTC

emerge -qpvO =net-wireless/dump1090-10.0
[ebuild  N    ] net-wireless/dump1090-10.0  USE="rtlsdr -bladerf -hackrf -minimal"
Comment 1 Toralf Förster gentoo-dev 2025-03-01 15:16:10 UTC
Created attachment 920089 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-01 15:16:11 UTC
Created attachment 920090 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-03-01 15:16:12 UTC
Created attachment 920091 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-03-01 15:16:13 UTC
Created attachment 920092 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-03-01 15:16:14 UTC
Created attachment 920093 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-01 15:16:15 UTC
Created attachment 920094 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-01 15:16:16 UTC
Created attachment 920095 [details]
net-wireless:dump1090-10.0:20250301-134459.log
Comment 8 Toralf Förster gentoo-dev 2025-03-01 15:16:17 UTC
Created attachment 920096 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-03-01 15:16:18 UTC
Created attachment 920097 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-01 15:17:44 UTC
This is a gcc-15 thing but really it's use of -Werror.
Comment 11 Larry the Git Cow gentoo-dev 2025-03-01 23:27:07 UTC
The bug has been referenced in the following commit(s):

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

commit 43af82caf9fc0d21adb02893c55f02df69c795ad
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2025-03-01 23:26:37 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2025-03-01 23:26:59 +0000

    net-wireless/dump1090: remove -Werror
    
    Bug: https://bugs.gentoo.org/950449
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-wireless/dump1090/dump1090-10.0.ebuild | 4 ++--
 net-wireless/dump1090/dump1090-9999.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 12 Conrad Kostecki gentoo-dev 2025-03-01 23:37:58 UTC
@sam: do I see it correctly, that 'char spinner[4]' should be instead 'char spinner[5]' or 'char spinner[]'?