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

Bug 664506

Summary: sci-chemistry/openbabel-python-2.4.1-r1 : 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: RESOLVED FIXED    
Severity: normal CC: atoth, luisav.ferreira, lumbrius, thomas
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=685044
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
CMakeError.log
CMakeOutput.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-chemistry:openbabel-python-2.4.1-r1:20180824-175001.log
temp.tbz2
openbabel-perl-2.3.2-gcc-8_and_9.patch

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(-)