Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941936 - sci-physics/hepmc-3.3.0 - [libtool] [gcc-15] /.../main63.f: error: type of hepmc3_new_writer does not match original declaration [-Werror=lto-type-mismatch]
Summary: sci-physics/hepmc-3.3.0 - [libtool] [gcc-15] /.../main63.f: error: type of he...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: APN-Pucky
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-10-21 16:56 UTC by Toralf Förster
Modified: 2024-11-28 16:01 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.47 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,12.10 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
environment (environment,138.58 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.76 KB, application/x-xz)
2024-10-21 16:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.34 KB, application/x-xz)
2024-10-21 16:56 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,41.85 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
sci-physics:hepmc-3.3.0:20241020-222110.log (sci-physics:hepmc-3.3.0:20241020-222110.log,60.85 KB, text/plain)
2024-10-21 16:56 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-10-21 16:56:27 UTC
too long lines were shrinked:

lto-wrapper: note: see the -flto option documentation for more information
[66/68] : && /usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing -Werror=odr -flto -Wno-strict-aliasing -Wno-deprecated-declarations -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__
[67/68] /usr/bin/x86_64-pc-linux-gnu-gfortran -I/var/tmp/portage/sci-physics/hepmc-3.3.0/work/HepMC3-3.3.0/examples/Pythia6Example -I/var/tmp/portage/sci-physics/hepmc-3.3.0/work/HepMC3-3.3.0/include -I/var/tmp/portage/sci-physics/hepmc-3.3.0/work/HepMC3-3.3.0/interfaces/pythia6/include/Pythia6 -O2 
[68/68] : && /usr/bin/x86_64-pc-linux-gnu-gfortran -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 -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-a
FAILED: outputs/bin/pythia6_example.exe 
: && /usr/bin/x86_64-pc-linux-gnu-gfortran -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 -O2 -pipe -march=native -fno-diagnostics-color -Werror=lto-type-mismatch -Werror=strict-aliasing 
/var/tmp/portage/sci-physics/hepmc-3.3.0/work/HepMC3-3.3.0/examples/Pythia6Example/main63.f:77:132: error: type of hepmc3_new_writer does not match original declaration [-Werror=lto-type-mismatch]
   77 |       OUTID(1)=hepmc3_new_writer(0,1,'ME.hepmc'//char(0))
      |                                                                                                                                    ^

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0-20241020-152926

  UNMASKED:
  <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 *
llvm-config: Python 3.12.7
Available Ruby profiles:
  [1]   ruby32 (with Rubygems) *

  HEAD of ::gentoo
commit ae5907211fc28633bd039cd88b5cc0846b857751
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Oct 20 22:03:27 2024 +0000

    2024-10-20 22:03:26 UTC

emerge -qpvO =sci-physics/hepmc-3.3.0
[ebuild  N    ] sci-physics/hepmc-3.3.0  USE="examples -doc -python -root -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-10-21 16:56:28 UTC
Created attachment 906493 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-21 16:56:29 UTC
Created attachment 906494 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-10-21 16:56:30 UTC
Created attachment 906495 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-21 16:56:31 UTC
Created attachment 906496 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-21 16:56:32 UTC
Created attachment 906497 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-21 16:56:33 UTC
Created attachment 906498 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-10-21 16:56:34 UTC
Created attachment 906499 [details]
sci-physics:hepmc-3.3.0:20241020-222110.log
Comment 8 Toralf Förster gentoo-dev 2024-10-21 16:56:35 UTC
The file size of ./files/temp.tar.xz is too big (4.2M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/23.0-20241020-152926/var/tmp/tb/issues/20241020-222238-sci-physics_hepmc-3.3.0/files/temp.tar.xz is valid.
Comment 9 Larry the Git Cow gentoo-dev 2024-11-28 15:19:50 UTC
The bug has been closed via the following commit(s):

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

commit 813fa9a9a78880b7b8f7c65df5d4f613b2d74cee
Author:     Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
AuthorDate: 2024-11-28 13:56:39 +0000
Commit:     Nowa Ammerlaan <nowa@gentoo.org>
CommitDate: 2024-11-28 15:19:35 +0000

    sci-physics/hepmc: filter lto
    
    Closes: https://bugs.gentoo.org/941937
    Closes: https://bugs.gentoo.org/941936
    Signed-off-by: Alexander Puck Neuwirth <alexander@neuwirth-informatik.de>
    Closes: https://github.com/gentoo/gentoo/pull/39503
    Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>

 sci-physics/hepmc/hepmc-3.2.7.ebuild | 3 ++-
 sci-physics/hepmc/hepmc-3.3.0.ebuild | 3 ++-
 sci-physics/hepmc/hepmc-9999.ebuild  | 3 ++-
 3 files changed, 6 insertions(+), 3 deletions(-)
Comment 10 Eli Schwartz gentoo-dev 2024-11-28 16:01:27 UTC
Just FYI with regard to the upstream bug report this has nothing to do with GCC 15.

The tinderbox mentions that this build image happened to contain gcc 15, in order to provide a hint in case you attempt to reproduce the problem with stable gcc 13 / 14 and cannot do so. You're expected to verify the problem yourself too. ;)