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: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords: PullRequest
: 716208 (view as bug list)
Depends on:
Blocks: gcc-9
  Show dependency tree
 
Reported: 2018-08-20 17:26 UTC by Toralf Förster
Modified: 2021-04-06 20:31 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 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. ***