Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937696 - sci-chemistry/gromacs-2024.2 - [icu-75.1] [gcc-15] /.../energyhistory.cpp: error: nsum was not declared in this scope
Summary: sci-chemistry/gromacs-2024.2 - [icu-75.1] [gcc-15] /.../energyhistory.cpp: er...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-10 09:28 UTC by Toralf Förster
Modified: 2024-11-21 08:13 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.95 KB, text/plain)
2024-08-10 09:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,63.63 KB, text/plain)
2024-08-10 09:28 UTC, Toralf Förster
Details
environment (environment,190.03 KB, text/plain)
2024-08-10 09:28 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,41.62 KB, application/x-xz)
2024-08-10 09:28 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,121.19 KB, text/plain)
2024-08-10 09:28 UTC, Toralf Förster
Details
sci-chemistry:gromacs-2024.2:20240810-084619.log.xz (sci-chemistry:gromacs-2024.2:20240810-084619.log.xz,24.88 KB, application/x-xz)
2024-08-10 09:28 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,40.75 KB, application/x-xz)
2024-08-10 09:28 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-08-10 09:28:23 UTC
  104 |     energyhistory_t() : nsteps(0), nsum(0), nsteps_sim(0), nsum_sim(0), ener_sum_sim(0) {}
      |                                             ^~~~~~~~~~
/var/tmp/portage/sci-chemistry/gromacs-2024.2/work/gromacs-2024.2/src/gromacs/mdtypes/energyhistory.h:104:60: error: class energyhistory_t does not have any field named nsum_sim
  104 |     energyhistory_t() : nsteps(0), nsum(0), nsteps_sim(0), nsum_sim(0), ener_sum_sim(0) {}
      |                                                            ^~~~~~~~
/var/tmp/portage/sci-chemistry/gromacs-2024.2/work/gromacs-2024.2/src/gromacs/mdtypes/energyhistory.cpp: In member function void energyhistory_t::doCheckpoint(gmx::CheckpointData<operation>):
/var/tmp/portage/sci-chemistry/gromacs-2024.2/work/gromacs-2024.2/src/gromacs/mdtypes/energyhistory.cpp:117:27: error: nsum was not declared in this scope
  117 |     bool useCheckpoint = (nsum <= 0 && nsum_sim <= 0);
      |                           ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened_systemd-20240809-132509

  UNMASKED:
    Please re-assign to toolchain@ if you get a test failure in C, C++, or Fortran code which makes no sense.
  <sys-devel/gcc-15.0.9999:15
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  Block bug #35155 if this looks like a parallel build issue.

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang/llvm (if any):
Python 3.12.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
Available Java Virtual Machines:
  [1]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 164e201b4207c13a68cd048e872368342b710ee4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Aug 10 08:04:33 2024 +0000

    2024-08-10 08:04:33 UTC

emerge -qpvO =sci-chemistry/gromacs-2024.2
[ebuild  N    ] sci-chemistry/gromacs-2024.2  USE="custom-cflags doc fftw gmxapi gmxapi-legacy hwloc offensive opencl openmp single-precision threads tng -blas -build-manual -clang -clang-cuda -cuda -double-precision -lapack -mkl -mpi (-python) -test" CPU_FLAGS_X86="avx avx2 sse2 sse4_1 -avx512f -fma4" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2024-08-10 09:28:24 UTC
Created attachment 899750 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-10 09:28:26 UTC
Created attachment 899751 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-10 09:28:27 UTC
Created attachment 899752 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-10 09:28:28 UTC
Created attachment 899753 [details]
etc.portage.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-10 09:28:29 UTC
Created attachment 899754 [details]
qlist-info.txt
Comment 6 Toralf Förster gentoo-dev 2024-08-10 09:28:30 UTC
Created attachment 899755 [details]
sci-chemistry:gromacs-2024.2:20240810-084619.log.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-10 09:28:31 UTC
Created attachment 899756 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2024-11-21 08:13:48 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=534ae4eb830063aa768bca0cb6832159cec1d2d9

commit 534ae4eb830063aa768bca0cb6832159cec1d2d9
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2024-11-21 08:13:09 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2024-11-21 08:13:37 +0000

    sci-chemistry/gromacs: Fix build with gcc-15
    
    Closes: https://bugs.gentoo.org/937696
    Closes: https://bugs.gentoo.org/939006
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 sci-chemistry/gromacs/files/gromacs-gcc-15.patch | 36 ++++++++++++++++++++++++
 sci-chemistry/gromacs/gromacs-2024.3.ebuild      |  2 ++
 sci-chemistry/gromacs/gromacs-2024.4.ebuild      |  2 ++
 sci-chemistry/gromacs/gromacs-2025.0_beta.ebuild |  2 ++
 4 files changed, 42 insertions(+)