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

Bug 940561

Summary: sci-biology/seaview-4.6-r1 - [ncurses-6.5] [meson] [libtool] [gcc-15] treedraw.cxx: error: type struct branche violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Science Biology related packages <sci-biology>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 618550    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
qlist-info.txt.xz
sci-biology:seaview-4.6-r1:20240930-184102.log

Description Toralf Förster gentoo-dev 2024-09-30 18:43:19 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -c  -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Dunix -Icsrc csrc/phyml_util.c
csrc/phyml_util.c: In function Warn_And_Exit:
csrc/phyml_util.c:47:9: warning: ignoring return value of fscanf declared with attribute warn_unused_result [-Wunused-result]
   47 |         fscanf(stdin,"%c",&c);
      |         ^~~~~~~~~~~~~~~~~~~~~
x86_64-pc-linux-gnu-g++ -o seaview  -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto seaview.o custom.o use_mase_files.o regions.o load_seq.o align.o xfmatpt.o comlines.o resource.o nexus.o
treedraw.cxx:40:16: error: type struct branche violates the C++ One Definition Rule [-Werror=odr]
   40 | typedef struct branche { /* une branche definie par ses deux extremites */
      |                ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20240927-085502

  UNMASKED:
  /etc/portage/package.unmask/60gcc:<sys-devel/gcc-15.0.9999:15
    Requested by sam
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  /etc/portage/package.unmask/50unstable:<dev-build/meson-9999
    Issues involving opaque types / incomplete typedefs should block bug 930805
  /etc/portage/package.unmask/50unstable:>=sys-libs/ncurses-6.5

  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-15 *
clang/llvm (if any):
clang version 19.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/19/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/19
19.1.0
Python 3.12.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.81.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 981ec351959b166587d1cffc7a19a0eb860f4e9b
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Sep 30 18:06:38 2024 +0000

    2024-09-30 18:06:37 UTC

emerge -qpvO =sci-biology/seaview-4.6-r1
[ebuild  N    ] sci-biology/seaview-4.6-r1  USE="xft"
Comment 1 Toralf Förster gentoo-dev 2024-09-30 18:43:20 UTC
Created attachment 904377 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-09-30 18:43:21 UTC
Created attachment 904378 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-09-30 18:43:22 UTC
Created attachment 904379 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-09-30 18:43:23 UTC
Created attachment 904380 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-09-30 18:43:24 UTC
Created attachment 904381 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-09-30 18:43:26 UTC
Created attachment 904382 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2024-09-30 18:43:26 UTC
Created attachment 904383 [details]
sci-biology:seaview-4.6-r1:20240930-184102.log
Comment 8 Toralf Förster gentoo-dev 2024-09-30 18:43:27 UTC
The file size of ./files/temp.tar.xz is too big (2.1M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0_desktop_systemd-20240927-085502/var/tmp/tb/issues/20240930-184111-sci-biology_seaview-4.6-r1/files/temp.tar.xz is valid.