Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664124 - sci-chemistry/openbabel-perl-2.4.1 : CMake Error at cmake/.../MacroEnsureVersion.cmake:76 (MATH):
Summary: sci-chemistry/openbabel-perl-2.4.1 : CMake Error at cmake/.../MacroEnsureVers...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: gcc-9
  Show dependency tree
 
Reported: 2018-08-20 17:26 UTC by Toralf Förster
Modified: 2021-12-15 10:09 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.80 KB, text/plain)
2018-08-20 17:26 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,10.41 KB, text/plain)
2018-08-20 17:26 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,74.24 KB, text/plain)
2018-08-20 17:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,305.03 KB, text/plain)
2018-08-20 17:26 UTC, Toralf Förster
Details
environment (environment,124.85 KB, text/plain)
2018-08-20 17:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.48 KB, application/x-bzip)
2018-08-20 17:26 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.87 KB, application/x-bzip)
2018-08-20 17:26 UTC, Toralf Förster
Details
sci-chemistry:openbabel-perl-2.4.1:20180820-051710.log (sci-chemistry:openbabel-perl-2.4.1:20180820-051710.log,8.84 KB, text/plain)
2018-08-20 17:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,30.93 KB, application/x-bzip)
2018-08-20 17:26 UTC, Toralf Förster
Details
opebabel-perl-2.3.2-gcc-8_and_9.patch (openbabel-perl-2.3.2-gcc-8_and_9.patch,639 bytes, patch)
2019-01-17 00:56 UTC, Attila Tóth
Details | Diff
openbabel-perl-2.3.2-gcc-10.patch (openbabel-perl-2.3.2-gcc-10.patch,640 bytes, patch)
2020-06-03 16:54 UTC, Attila Tóth
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 2018-08-20 17:26:07 UTC
-- Check size of clock_t
-- Check size of clock_t - done
CMake Error at cmake/modules/MacroEnsureVersion.cmake:76 (MATH):
  MATH cannot parse the expression: "x86_648*10000 + x86_642*100 + x86_640":
  syntax error, unexpected exp_NUMBER, expecting $end (8)
Call Stack (most recent call first):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_libressl_20180811-095538

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1
 [3] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:


emerge -qpv sci-chemistry/openbabel-perl
[ebuild  N    ] sci-chemistry/openbabel-perl-2.4.1
Comment 1 Toralf Förster gentoo-dev 2018-08-20 17:26:09 UTC
Created attachment 544130 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-20 17:26:12 UTC
Created attachment 544132 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2018-08-20 17:26:15 UTC
Created attachment 544134 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2018-08-20 17:26:17 UTC
Created attachment 544136 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2018-08-20 17:26:20 UTC
Created attachment 544138 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2018-08-20 17:26:23 UTC
Created attachment 544140 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-20 17:26:26 UTC
Created attachment 544142 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-08-20 17:26:28 UTC
Created attachment 544144 [details]
sci-chemistry:openbabel-perl-2.4.1:20180820-051710.log
Comment 9 Toralf Förster gentoo-dev 2018-08-20 17:26:31 UTC
Created attachment 544146 [details]
temp.tbz2
Comment 10 Attila Tóth 2019-01-17 00:56:41 UTC
Created attachment 561684 [details, diff]
opebabel-perl-2.3.2-gcc-8_and_9.patch

Continue the patch paved by the previous gcc-6_and_7 patch.
Comment 11 Sergei Trofimovich (RETIRED) gentoo-dev 2019-10-31 19:54:07 UTC
It's a bit sad to see the same patches being tweaked every few gcc releases.
Moreover, we do it (inconsistently) for 3 instances of the same package:
   sci-chemistry/openbabel
   sci-chemistry/openbabel-perl
   sci-chemistry/openbabel-python

I suggest fixing it "once and for all" by backporting https://github.com/openbabel/openbabel/commit/00120f89cf62b121c30d0b2a891b159e19b53624 or by bumping to a new version.
Comment 12 Attila Tóth 2020-06-03 16:54:32 UTC
Created attachment 643288 [details, diff]
openbabel-perl-2.3.2-gcc-10.patch

This time after upgrade to gcc-10. Never ending story.
Same applies for openbabel and openbabel-python.
Comment 13 Andreas Sturmlechner gentoo-dev 2020-06-04 20:47:18 UTC
(In reply to Sergei Trofimovich from comment #11)
> I suggest fixing it "once and for all" by backporting
> https://github.com/openbabel/openbabel/commit/
> 00120f89cf62b121c30d0b2a891b159e19b53624 or by bumping to a new version.

Just do it rather than suggest it.
Comment 14 Toralf Förster gentoo-dev 2021-04-06 20:31:42 UTC
*** Bug 716208 has been marked as a duplicate of this bug. ***
Comment 15 Larry the Git Cow gentoo-dev 2021-12-15 10:09:06 UTC
The bug has been closed via the following commit(s):

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

commit 1fce6e91e642ac7fe5c3b9f675c54244be423a53
Author:     Peter Levine <plevine457@gmail.com>
AuthorDate: 2021-03-22 05:00:23 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@gentoo.org>
CommitDate: 2021-12-15 10:09:01 +0000

    sci-chemistry/openbabel: Bump openbabel-3.1.1_p20210225
    
    Closes: https://bugs.gentoo.org/664124
    Closes: https://bugs.gentoo.org/716208
    Closes: https://bugs.gentoo.org/722860
    Closes: https://bugs.gentoo.org/723434
    Closes: https://bugs.gentoo.org/766003
    Closes: https://bugs.gentoo.org/770493
    
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Peter Levine <plevine457@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/16182
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>

 sci-chemistry/openbabel/Manifest                   |   1 +
 .../openbabel/openbabel-3.1.1_p20210225.ebuild     | 272 +++++++++++++++++++++
 2 files changed, 273 insertions(+)