Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664506 - sci-chemistry/openbabel-python-2.4.1-r1 : CMake Error at cmake/.../MacroEnsureVersion.cmake:76 (MATH):
Summary: sci-chemistry/openbabel-python-2.4.1-r1 : CMake Error at cmake/.../MacroEnsur...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords:
: 682484 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-08-24 17:53 UTC by Toralf Förster
Modified: 2020-07-15 18:07 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.35 KB, text/plain)
2018-08-24 17:53 UTC, Toralf Förster
Details
CMakeError.log (CMakeError.log,10.56 KB, text/plain)
2018-08-24 17:53 UTC, Toralf Förster
Details
CMakeOutput.log (CMakeOutput.log,74.81 KB, text/plain)
2018-08-24 17:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,144.60 KB, text/plain)
2018-08-24 17:53 UTC, Toralf Förster
Details
environment (environment,151.50 KB, text/plain)
2018-08-24 17:53 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.40 KB, application/x-bzip)
2018-08-24 17:53 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,6.91 KB, application/x-bzip)
2018-08-24 17:53 UTC, Toralf Förster
Details
sci-chemistry:openbabel-python-2.4.1-r1:20180824-175001.log (sci-chemistry:openbabel-python-2.4.1-r1:20180824-175001.log,10.12 KB, text/plain)
2018-08-24 17:54 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.53 KB, application/x-bzip)
2018-08-24 17:54 UTC, Toralf Förster
Details
openbabel-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:55 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-24 17:53:40 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-desktop_libressl_20180820-195837

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv sci-chemistry/openbabel-python
[ebuild  N    ] sci-chemistry/openbabel-python-2.4.1-r1  PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2018-08-24 17:53:43 UTC
Created attachment 544848 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-24 17:53:45 UTC
Created attachment 544850 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2018-08-24 17:53:48 UTC
Created attachment 544852 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2018-08-24 17:53:51 UTC
Created attachment 544854 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2018-08-24 17:53:53 UTC
Created attachment 544856 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2018-08-24 17:53:56 UTC
Created attachment 544858 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-08-24 17:53:58 UTC
Created attachment 544860 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2018-08-24 17:54:01 UTC
Created attachment 544862 [details]
sci-chemistry:openbabel-python-2.4.1-r1:20180824-175001.log
Comment 9 Toralf Förster gentoo-dev 2018-08-24 17:54:04 UTC
Created attachment 544864 [details]
temp.tbz2
Comment 10 Attila Tóth 2019-01-17 00:55:21 UTC
Created attachment 561682 [details, diff]
openbabel-perl-2.3.2-gcc-8_and_9.patch

Continue the path paved by the previous gcc-6_and_7 patch. Works for me.
Comment 11 Arkadiusz Bokowy 2019-09-03 19:28:40 UTC
(In reply to Attila Tóth from comment #10)
> Created attachment 561682 [details, diff] [details, diff]
> openbabel-perl-2.3.2-gcc-8_and_9.patch
> 
> Continue the path paved by the previous gcc-6_and_7 patch. Works for me.

+1 This patch has worked for me as well. Please, add it to portage.
Comment 12 David Seifert gentoo-dev 2020-02-09 10:54:58 UTC
*** Bug 682484 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2020-02-09 10:57:03 UTC
The bug has been closed via the following commit(s):

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

commit a52d2f5b6f39eb7cb7ab5e833981d5e872fc79e1
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2020-02-09 10:56:45 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2020-02-09 10:56:45 +0000

    sci-chemistry/openbabel-python: Fix broken GCC version detection
    
    Closes: https://bugs.gentoo.org/664506
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: David Seifert <soap@gentoo.org>

 .../files/openbabel-python-2.3.2-gcc-6_and_7-backport.patch             | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)