Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821718 - sci-chemistry/gromacs-2022_beta1-r2 fails to compile
Summary: sci-chemistry/gromacs-2022_beta1-r2 fails to compile
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-11-04 21:18 UTC by Agostino Sarubbo
Modified: 2021-11-29 18:48 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,53.32 KB, text/plain)
2021-11-04 21:18 UTC, Agostino Sarubbo
Details
1-CMakeError.log (1-CMakeError.log,16.69 KB, text/plain)
2021-11-04 21:18 UTC, Agostino Sarubbo
Details
1-CMakeOutput.log (1-CMakeOutput.log,113.60 KB, text/plain)
2021-11-04 21:18 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-11-04 21:18:07 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sci-chemistry/gromacs-2022_beta1-r2 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-04 21:18:09 UTC
Created attachment 748683 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-04 21:18:10 UTC
Created attachment 748686 [details]
1-CMakeError.log

1-CMakeError.log
Comment 3 Agostino Sarubbo gentoo-dev 2021-11-04 21:18:11 UTC
Created attachment 748689 [details]
1-CMakeOutput.log

1-CMakeOutput.log
Comment 4 Agostino Sarubbo gentoo-dev 2021-11-04 21:18:12 UTC
Possible context of error(s):

  Could not find a package configuration file provided by "muparser"
-- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) 
-- Could NOT find MPI (missing: MPI_CXX_FOUND CXX) 
-- Could NOT find Sphinx (missing: SPHINX_EXECUTABLE pygments) (Required is at least version "1.6.1")
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-04 21:24:07 UTC
I think the real error is this again:

CMake Warning at cmake/gmxManageMuparser.cmake:75 (find_package):
  By not providing "Findmuparser.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "muparser",
  but CMake did not find one.

  Could not find a package configuration file provided by "muparser"
  (requested version 2.3) with any of the following names:

    muparserConfig.cmake
    muparser-config.cmake

  Add the installation prefix of "muparser" to CMAKE_PREFIX_PATH or set
  "muparser_DIR" to a directory containing one of the above files.  If
  "muparser" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  src/gromacs/CMakeLists.txt:395 (gmx_manage_muparser)


CMake Error at cmake/gmxManageMuparser.cmake:77 (message):
  External muparser >= 2.3 could not be found, please adjust your pkg-config
  path to include the muparser.pc file
Call Stack (most recent call first):
  src/gromacs/CMakeLists.txt:395 (gmx_manage_muparser)
Comment 6 Larry the Git Cow gentoo-dev 2021-11-07 19:59:51 UTC
The bug has been closed via the following commit(s):

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

commit 95c35c5f43f6c712154ea3cb35e735dea39eeddd
Author:     Alexey Shvetsov <alexxy@gentoo.org>
AuthorDate: 2021-11-07 19:58:46 +0000
Commit:     Alexey Shvetsov <alexxy@gentoo.org>
CommitDate: 2021-11-07 19:59:12 +0000

    dev-cpp/muParser: Fix cmake export target
    
    Closes: https://bugs.gentoo.org/821718
    
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>

 .../muParser/files/muParser-2.3-export-cmake.patch | 405 +++++++++++++++++++++
 ...arser-2.3.2.ebuild => muParser-2.3.2-r1.ebuild} |   2 +
 2 files changed, 407 insertions(+)
Comment 7 Hypoon 2021-11-29 18:23:11 UTC
Just performed a sync today (November 29th), updated muParser to 2.3.2-r1, but gromacs-2022_beta1-r2 fails (same error message). I'm inclined to reopen this ticket, but I'm not sure whether it's a problem with gromacs, muParser, or cmake.

CMake Error at cmake/gmxManageMuparser.cmake:77 (message):
  External muparser >= 2.3 could not be found, please adjust your pkg-config
  path to include the muparser.pc file
Call Stack (most recent call first):
  src/gromacs/CMakeLists.txt:395 (gmx_manage_muparser)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-11-29 18:48:07 UTC
(In reply to Hypoon from comment #7)
> Just performed a sync today (November 29th), updated muParser to 2.3.2-r1,
> but gromacs-2022_beta1-r2 fails (same error message). I'm inclined to reopen
> this ticket, but I'm not sure whether it's a problem with gromacs, muParser,
> or cmake.
> 
> CMake Error at cmake/gmxManageMuparser.cmake:77 (message):
>   External muparser >= 2.3 could not be found, please adjust your pkg-config
>   path to include the muparser.pc file
> Call Stack (most recent call first):
>   src/gromacs/CMakeLists.txt:395 (gmx_manage_muparser)

Let's use bug 822348.