Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 722860 - sci-chemistry/openbabel-2.4.1-r1 : CMake Error at cmake/.../MacroEnsureVersion.cmake:76 (MATH):
Summary: sci-chemistry/openbabel-2.4.1-r1 : CMake Error at cmake/.../MacroEnsureVersio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Stabilization (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords: CC-ARCHES, PullRequest, STABLE
Depends on:
Blocks:
 
Reported: 2020-05-13 14:43 UTC by Toralf Förster
Modified: 2021-12-15 10:09 UTC (History)
2 users (show)

See Also:
Package list:
sci-chemistry/openbabel-2.4.1-r2
Runtime testing required: ---
nattka: sanity-check+


Attachments
emerge-info.txt (emerge-info.txt,16.34 KB, text/plain)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
CMakeError.log (CMakeError.log,6.50 KB, text/plain)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
CMakeOutput.log (CMakeOutput.log,97.52 KB, text/plain)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
emerge-history.txt (emerge-history.txt,263.11 KB, text/plain)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
environment (environment,102.54 KB, text/plain)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
etc.portage.tbz2 (etc.portage.tbz2,14.44 KB, application/x-bzip)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
logs.tbz2 (logs.tbz2,7.25 KB, application/x-bzip)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
sci-chemistry:openbabel-2.4.1-r1:20200513-143630.log (sci-chemistry:openbabel-2.4.1-r1:20200513-143630.log,9.47 KB, text/plain)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
temp.tbz2 (temp.tbz2,26.60 KB, application/x-bzip)
2020-05-13 14:43 UTC, Toralf Förster
no flags Details
tentative patch (openbabel-2.4.1-fix-gcc-version.patch,2.26 KB, patch)
2020-10-16 17:17 UTC, Michelangelo Scopelliti
no flags 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 2020-05-13 14:43:12 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_6410*10000 + x86_641*100 + x86_640:
  syntax error, unexpected exp_NUMBER, expecting $end (9).
Call Stack (most recent call first):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20200505-162645

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.1.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.43.1
  [2]   rust-1.43.1 *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 13 May 2020 02:05:23 PM UTC

emerge -qpvO sci-chemistry/openbabel
[ebuild  N    ] sci-chemistry/openbabel-2.4.1-r1  USE="openmp wxwidgets -doc -test"
Comment 1 Toralf Förster gentoo-dev 2020-05-13 14:43:15 UTC
Created attachment 638590 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-13 14:43:17 UTC
Created attachment 638592 [details]
CMakeError.log
Comment 3 Toralf Förster gentoo-dev 2020-05-13 14:43:20 UTC
Created attachment 638594 [details]
CMakeOutput.log
Comment 4 Toralf Förster gentoo-dev 2020-05-13 14:43:23 UTC
Created attachment 638596 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2020-05-13 14:43:26 UTC
Created attachment 638598 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2020-05-13 14:43:28 UTC
Created attachment 638600 [details]
etc.portage.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-05-13 14:43:31 UTC
Created attachment 638602 [details]
logs.tbz2
Comment 8 Toralf Förster gentoo-dev 2020-05-13 14:43:34 UTC
Created attachment 638604 [details]
sci-chemistry:openbabel-2.4.1-r1:20200513-143630.log
Comment 9 Toralf Förster gentoo-dev 2020-05-13 14:43:36 UTC
Created attachment 638606 [details]
temp.tbz2
Comment 10 Juan Pedro 2020-08-04 19:40:50 UTC
Sorry for the inconvenience.

For a few months now I haven't been able to emerge due to lack of patch for gcc10. Does anyone have the solution?
Comment 11 Michelangelo Scopelliti 2020-10-16 17:17:01 UTC
Created attachment 666059 [details, diff]
tentative patch

This patch (suggested in bug #664124, Comment 11) should be applied instead of current ones. It works for me (gcc-10)
Comment 12 Pacho Ramos gentoo-dev 2021-03-28 00:15:21 UTC
*** Bug 770493 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2021-03-28 00:17:44 UTC
The bug has been referenced in the following commit(s):

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

commit 81ccd60f63092c825376eb6dd8897edc9eb86820
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2021-03-28 00:17:34 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2021-03-28 00:17:34 +0000

    sci-chemistry/openbabel: Fix gcc10 build and use wxGTK:gtk3.0
    
    Thanks-to: Michelangelo Scopelliti
    Bug: https://bugs.gentoo.org/722860
    Package-Manager: Portage-3.0.17, Repoman-3.0.2
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 .../openbabel/files/openbabel-2.4.1-gcc10.patch    |  62 +++++++++++++
 sci-chemistry/openbabel/openbabel-2.4.1-r2.ebuild  | 101 +++++++++++++++++++++
 2 files changed, 163 insertions(+)
Comment 14 Agostino Sarubbo gentoo-dev 2021-03-28 10:00:15 UTC
amd64 stable
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-03-28 10:59:07 UTC
x86 done

all arches done
Comment 16 Larry the Git Cow gentoo-dev 2021-12-15 10:09:07 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(+)