Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828673 - sci-chemistry/gromacs-2021.3-r1 - /.../histogramsize.h: error: int64_t does not name a type
Summary: sci-chemistry/gromacs-2021.3-r1 - /.../histogramsize.h: error: int64_t does n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2021-12-10 08:48 UTC by Toralf Förster
Modified: 2022-02-21 16:37 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.32 KB, text/plain)
2021-12-10 08:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,18.17 KB, text/plain)
2021-12-10 08:48 UTC, Toralf Förster
Details
environment (environment,153.78 KB, text/plain)
2021-12-10 08:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.21 KB, application/x-bzip)
2021-12-10 08:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,12.05 KB, application/x-bzip)
2021-12-10 08:48 UTC, Toralf Förster
Details
sci-chemistry:gromacs-2021.3-r1:20211209-224150.log (sci-chemistry:gromacs-2021.3-r1:20211209-224150.log,444.04 KB, text/plain)
2021-12-10 08:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,46.30 KB, application/x-bzip)
2021-12-10 08:48 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 2021-12-10 08:48:45 UTC
too long lines were shrinked:

[444/1119] /usr/bin/x86_64-gentoo-linux-musl-g++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -DUSE_STD_INTTYPES_H -Dlibgromacs_EXPORTS -Isrc -I/var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src -isystem /var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src/external/thread
FAILED: src/gromacs/CMakeFiles/libgromacs.dir/applied_forces/awh/histogramsize.cpp.o 
/usr/bin/x86_64-gentoo-linux-musl-g++ -DGMX_DOUBLE=0 -DHAVE_CONFIG_H -DUSE_STD_INTTYPES_H -Dlibgromacs_EXPORTS -Isrc -I/var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src -isystem /var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src/external/thread_mpi/includ
In file included from /var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src/gromacs/applied_forces/awh/histogramsize.cpp:47:
/var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src/gromacs/applied_forces/awh/histogramsize.h:172:5: error: 'int64_t' does not name a type
  172 |     int64_t numUpdates_; /**< The number of updates performed since the start of the simulation. */
      |     ^~~~~~~
/var/tmp/portage/sci-chemistry/gromacs-2021.3-r1/work/gromacs-2021.3/src/gromacs/applied_forces/awh/histogramsize.h:60:1: note: 'int64_t' is defined in header '<cstdint>'; did you forget to '#include <cstdint>'?
   59 | #include "gromacs/math/vectypes.h"

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4_stable-20211209-194823

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
Python 3.9.9
Available Rust versions:
  [1]   rust-bin-1.56.1 *
php cli:

  HEAD of ::gentoo
commit 405da333b415c85be2ec5eb9b347a5e2ed74de71
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 9 22:22:06 2021 +0000

    2021-12-09 22:22:02 UTC

emerge -qpvO sci-chemistry/gromacs
[ebuild  N    ] sci-chemistry/gromacs-2021.3-r1  USE="custom-cflags doc double-precision fftw gmxapi gmxapi-legacy hwloc lmfit offensive openmp single-precision threads tng -X -blas -build-manual (-cuda) -lapack (-mkl) -mpi -opencl (-python) -test" CPU_FLAGS_X86="avx avx2 sse2 sse4_1 -avx512f -fma4" PYTHON_SINGLE_TARGET="python3_9 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 08:48:46 UTC
Created attachment 757919 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 08:48:47 UTC
Created attachment 757920 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-12-10 08:48:48 UTC
Created attachment 757921 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-12-10 08:48:49 UTC
Created attachment 757922 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-12-10 08:48:51 UTC
Created attachment 757923 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 08:48:52 UTC
Created attachment 757924 [details]
sci-chemistry:gromacs-2021.3-r1:20211209-224150.log
Comment 7 Toralf Förster gentoo-dev 2021-12-10 08:48:54 UTC
Created attachment 757925 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-02-21 16:37:07 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3be10d9efadf209bd58dc917671b4584c49824a6

commit 3be10d9efadf209bd58dc917671b4584c49824a6
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2022-02-21 16:33:29 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2022-02-21 16:36:36 +0000

    sci-chemistry/gromacs: Fix build for musl
    
    Closes: https://bugs.gentoo.org/828673
    
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 .../gromacs/files/gromacs-2021-musl-stdint.patch   | 25 ++++++++++++++++++++++
 sci-chemistry/gromacs/gromacs-2021.3-r1.ebuild     |  2 ++
 sci-chemistry/gromacs/gromacs-2021.5.ebuild        |  2 ++
 3 files changed, 29 insertions(+)