Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664124

Summary: sci-chemistry/openbabel-perl-2.4.1 : CMake Error at cmake/.../MacroEnsureVersion.cmake:76 (MATH):
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Chemistry-Related Packages <sci-chemistry>
Status: CONFIRMED ---    
Severity: normal CC: atoth, kentnl
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=716208
https://github.com/gentoo/gentoo/pull/16182
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 685044    
Attachments: emerge-info.txt
CMakeError.log
CMakeOutput.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-chemistry:openbabel-perl-2.4.1:20180820-051710.log
temp.tbz2
opebabel-perl-2.3.2-gcc-8_and_9.patch
openbabel-perl-2.3.2-gcc-10.patch

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 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. ***