Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 941937 - sci-physics/hepmc-3.2.7 - [libtool] [gcc-15] /.../hepevt_wrapper_example_main.cc: error: type of hepevt_ does not match original declaration [-Werror=lto-type-mismatch]
Summary: sci-physics/hepmc-3.2.7 - [libtool] [gcc-15] /.../hepevt_wrapper_example_main...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: APN-Pucky
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lto
  Show dependency tree
 
Reported: 2024-10-21 16:56 UTC by Toralf Förster
Modified: 2024-10-21 16:56 UTC (History)
1 user (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,13.25 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
environment (environment,138.60 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.82 KB, application/x-xz)
2024-10-21 16:56 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.62 KB, application/x-xz)
2024-10-21 16:56 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,43.93 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
sci-physics:hepmc-3.2.7:20241020-223427.log (sci-physics:hepmc-3.2.7:20241020-223427.log,57.81 KB, text/plain)
2024-10-21 16:56 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,56.30 KB, application/x-xz)
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:39 UTC
too long lines were shrinked:

[66/79] : && /usr/bin/cmake -E rm -f outputs/lib64/libHepMC3-static.a && /usr/bin/x86_64-pc-linux-gnu-ar qc outputs/lib64/libHepMC3-static.a  CMakeFiles/HepMC3_static.dir/src/GenCrossSection.cc.o CMakeFiles/HepMC3_static.dir/src/GenParticle.cc.o CMakeFiles/HepMC3_static.dir/src/GenVertex.cc.o CMakeF
[67/79] : && /usr/bin/cmake -E rm -f outputs/lib64/libHepMC3search-static.a && /usr/bin/x86_64-pc-linux-gnu-ar qc outputs/lib64/libHepMC3search-static.a  search/CMakeFiles/HepMC3search_static.dir/src/Relatives.cc.o search/CMakeFiles/HepMC3search_static.dir/src/Selector.cc.o && /usr/bin/x86_64-pc-lin
[68/79] /usr/bin/x86_64-pc-linux-gnu-g++ -DAnalysis_EXPORTS -I/var/tmp/portage/sci-physics/hepmc-3.2.7/work/HepMC3-3.2.7/include -I/var/tmp/portage/sci-physics/hepmc-3.2.7/work/HepMC3-3.2.7/examples/ConvertExample/include -I/var/tmp/portage/sci-physics/hepmc-3.2.7/work/HepMC3-3.2.7/examples/ConvertE
[69/79] : && /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 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch 
FAILED: outputs/bin/hepevt_wrapper_example.exe 
: && /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 -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 -Werror=lto-type-mismatch -Werror=
/var/tmp/portage/sci-physics/hepmc-3.2.7/work/HepMC3-3.2.7/examples/BasicExamples/hepevt_wrapper_example_main.cc:42:26: error: type of hepevt_ does not match original declaration [-Werror=lto-type-mismatch]
   42 | extern "C" struct HEPEVT hepevt_;                   //!< Forward declaration of fortran block pointer
      |                          ^

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

  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.2.7
[ebuild  N    ] sci-physics/hepmc-3.2.7  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:40 UTC
Created attachment 906500 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-10-21 16:56:41 UTC
Created attachment 906501 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-10-21 16:56:43 UTC
Created attachment 906502 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-10-21 16:56:44 UTC
Created attachment 906503 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-10-21 16:56:44 UTC
Created attachment 906504 [details]
logs.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-10-21 16:56:45 UTC
Created attachment 906505 [details]
qlist-info.txt
Comment 7 Toralf Förster gentoo-dev 2024-10-21 16:56:47 UTC
Created attachment 906506 [details]
sci-physics:hepmc-3.2.7:20241020-223427.log
Comment 8 Toralf Förster gentoo-dev 2024-10-21 16:56:48 UTC
Created attachment 906507 [details]
temp.tar.xz