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

Bug 942838

Summary: sci-chemistry/psi-3.4.0-r3 - ../.../get_filename.cc: error: gprgid violates the C++ One Definition Rule [-Werror=odr]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
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.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
sci-chemistry:psi-3.4.0-r3:20241103-180017.log.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-11-03 18:09:26 UTC
      |           |
      |           time_t {aka long int}
make[3]: Leaving directory '/var/tmp/portage/sci-chemistry/psi-3.4.0-r3/work/psi3/src/bin/psi3'
make[3]: Entering directory '/var/tmp/portage/sci-chemistry/psi-3.4.0-r3/work/psi3/src/bin/psi3'
/var/tmp/portage/sci-chemistry/psi-3.4.0-r3/work/psi3/bin/mkdirs.sh `dirname ../../../bin/psi3`
x86_64-pc-linux-gnu-g++ -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 -o ../../../bin/psi3 gprgid.o psi3.o parse_var.o runcmd.o ../../../lib/libPSI_ciomr.a ../../../lib/libPSI_ipv1.a ../../../lib/libPSI_psio.a 
../../lib/libpsio/get_filename.cc:15:16: error: gprgid violates the C++ One Definition Rule [-Werror=odr]
   15 |   extern char *gprgid();
      |                ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20241025-164008

  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 version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.25_p9 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.432_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

The Glorious Glasgow Haskell Compilation System, version 9.2.8

  HEAD of ::gentoo
commit 052c38e8154a288dec8802d8e0923220d5c73851
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 3 17:48:20 2024 +0000

    2024-11-03 17:48:19 UTC

emerge -qpvO =sci-chemistry/psi-3.4.0-r3
[ebuild  N    ] sci-chemistry/psi-3.4.0-r3  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2024-11-03 18:09:27 UTC
Created attachment 907814 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-03 18:09:28 UTC
Created attachment 907815 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2024-11-03 18:09:30 UTC
Created attachment 907816 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-11-03 18:09:30 UTC
Created attachment 907817 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-11-03 18:09:31 UTC
Created attachment 907818 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-03 18:09:32 UTC
Created attachment 907819 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-03 18:09:34 UTC
Created attachment 907820 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-03 18:09:35 UTC
Created attachment 907821 [details]
sci-chemistry:psi-3.4.0-r3:20241103-180017.log.xz
Comment 9 Toralf Förster gentoo-dev 2024-11-03 18:09:36 UTC
Created attachment 907822 [details]
temp.tar.xz