Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 820620 - sci-chemistry/gromacs-2022_beta1 - file collision with dev-cpp/muParser-2.2.6.1
Summary: sci-chemistry/gromacs-2022_beta1 - file collision with dev-cpp/muParser-2.2.6.1
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: 2021-10-28 18:59 UTC by Toralf Förster
Modified: 2021-11-04 18:02 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.15 KB, text/plain)
2021-10-28 18:59 UTC, Toralf Förster
Details
CMakeCache.txt (CMakeCache.txt,61.33 KB, text/plain)
2021-10-28 18:59 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,234.01 KB, text/plain)
2021-10-28 18:59 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.88 KB, application/x-bzip)
2021-10-28 18:59 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,54.65 KB, application/x-bzip)
2021-10-28 18:59 UTC, Toralf Förster
Details
sci-chemistry:gromacs-2022_beta1:20211028-184722.log.bz2 (sci-chemistry:gromacs-2022_beta1:20211028-184722.log.bz2,43.71 KB, application/x-bzip)
2021-10-28 18:59 UTC, Toralf Förster
Details
disables use of muParser library in compiling gromacs-2022_beta1 (gromacs-2022_beta1.patch,447 bytes, patch)
2021-11-01 10:34 UTC, milan hodoscek
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-10-28 18:59:07 UTC
 * Press Ctrl-C to Stop
 * 
 * dev-cpp/muParser-2.2.6.1:0::gentoo
 * 	/usr/include/muParser.h
 * 	/usr/include/muParserBase.h
 * 	/usr/include/muParserBytecode.h

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20211025-200227

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
clang version 13.0.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/13/bin
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.56.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.3 *
  [2]   php7.4
  [3]   php8.0

  HEAD of ::gentoo
commit 07d2207425af60e3fec49e3666229fddbb26d971
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 28 17:51:31 2021 +0000

    2021-10-28 17:51:30 UTC

emerge -qpvO sci-chemistry/gromacs
[ebuild     U ] sci-chemistry/gromacs-2022_beta1 [2021.3-r1] USE="blas custom-cflags doc fftw gmxapi gmxapi-legacy hwloc lmfit offensive openmp single-precision threads tng -build-manual -cuda -double-precision -lapack -mkl -mpi -opencl (-python) -test (-X%*)" CPU_FLAGS_X86="avx avx2 sse2 sse4_1 -avx512f -fma4" PYTHON_SINGLE_TARGET="python3_9 -python3_8 -python3_10%"
Comment 1 Toralf Förster gentoo-dev 2021-10-28 18:59:08 UTC
Created attachment 747108 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-10-28 18:59:09 UTC
Created attachment 747111 [details]
CMakeCache.txt
Comment 3 Toralf Förster gentoo-dev 2021-10-28 18:59:11 UTC
Created attachment 747114 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-10-28 18:59:12 UTC
Created attachment 747117 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-10-28 18:59:13 UTC
Created attachment 747120 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-10-28 18:59:14 UTC
Created attachment 747123 [details]
sci-chemistry:gromacs-2022_beta1:20211028-184722.log.bz2
Comment 7 milan hodoscek 2021-11-01 10:29:49 UTC
it is possible to disable use muParser in gromacs ebuild file. See the patch below. I tried to bump muParser package to 2.3.2 but it didn't go very easy. This way it is possible to use external muParser. The current one in portage is not enough!

diff --git a/old/gromacs-2022_beta1.ebuild b/gromacs-2022_beta1.ebuild
index 2cbb7ef..01ad8a7 100644
--- a/old/gromacs-2022_beta1.ebuild
+++ b/gromacs-2022_beta1.ebuild
@@ -212,6 +212,7 @@ src_configure() {
                -DGMX_OPENMP=$(usex openmp)
                -DGMX_COOL_QUOTES=$(usex offensive)
                -DGMX_USE_TNG=$(usex tng)
+                -DGMX_USE_MUPARSER=NONE
                -DGMX_BUILD_MANUAL=$(usex build-manual)
                -DGMX_HWLOC=$(usex hwloc)
                -DGMX_DEFAULT_SUFFIX=off
Comment 8 milan hodoscek 2021-11-01 10:34:43 UTC
Created attachment 747795 [details, diff]
disables use of muParser library in compiling gromacs-2022_beta1

patch also as an attached file
Comment 9 Larry the Git Cow gentoo-dev 2021-11-04 18:02:16 UTC
The bug has been closed via the following commit(s):

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

commit b7247fc18c155cd95c00162e91bfabecde70e611
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2021-11-04 18:01:59 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2021-11-04 18:02:12 +0000

    sci-chemistry/gromacs: Unbundle muParser
    
    Closes: https://bugs.gentoo.org/820620
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 sci-chemistry/gromacs/gromacs-2022.9999.ebuild        | 19 +++++++++----------
 ...2022_beta1.ebuild => gromacs-2022_beta1-r1.ebuild} | 19 +++++++++----------
 sci-chemistry/gromacs/gromacs-9999.ebuild             | 19 +++++++++----------
 3 files changed, 27 insertions(+), 30 deletions(-)