Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 851510 - sci-chemistry/openbabel-3.1.1_p20210225 - /.../obutil.h: error: clock was not declared in this scope
Summary: sci-chemistry/openbabel-3.1.1_p20210225 - /.../obutil.h: error: clock was not...
Status: RESOLVED FIXED
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:
Depends on:
Blocks: gcc-12
  Show dependency tree
 
Reported: 2022-06-12 09:56 UTC by Toralf Förster
Modified: 2022-06-12 10:36 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.55 KB, text/plain)
2022-06-12 09:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,216.63 KB, text/plain)
2022-06-12 09:56 UTC, Toralf Förster
Details
environment (environment,156.56 KB, text/plain)
2022-06-12 09:56 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,9.22 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.78 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
sci-chemistry:openbabel-3.1.1_p20210225:20220612-040228.log.bz2 (sci-chemistry:openbabel-3.1.1_p20210225:20220612-040228.log.bz2,9.98 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,44.24 KB, application/x-bzip)
2022-06-12 09:57 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-12 09:56:55 UTC
too long lines were shrinked:

FAILED: src/formats/CMakeFiles/asciiformat.dir/__/depict/asciipainter.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DBUILD_LINK_AS_DLL -DHAVE_EIGEN -DHAVE_EIGEN3 -DHAVE_LIBZ -DHAVE_SHARED_POINTER -DHAVE_WXWIDGETS -DUSING_DYNAMIC_LIBS -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -Dasciiformat_EXPORTS -I/var/tmp/portage/sci-chemistry/openbabel-3.1.1_p20210225/work/openbabel-08e2
In file included from /var/tmp/portage/sci-chemistry/openbabel-3.1.1_p20210225/work/openbabel-08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b/src/depict/asciipainter.cpp:18:
/var/tmp/portage/sci-chemistry/openbabel-3.1.1_p20210225/work/openbabel-08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b/include/openbabel/obutil.h: In member function void OpenBabel::OBStopwatch::Start()’:
/var/tmp/portage/sci-chemistry/openbabel-3.1.1_p20210225/work/openbabel-08e23f39b0cc39b4eebd937a5a2ffc1a7bac3e1b/include/openbabel/obutil.h:65:14: error: clock’ was not declared in this scope; did you mean clock_t’?
   65 |       start= clock();
      |              ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-j4-20220609-230005

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.5
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.5
Python 3.9.13
Available Ruby profiles:
  [1]   ruby31 *
Available Rust versions:
  [1]   rust-1.61.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit 3ae7e720bb515c7ff39ac8e0d7fa573849072cdc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Jun 12 01:47:59 2022 +0000

    2022-06-12 01:47:59 UTC

emerge -qpvO sci-chemistry/openbabel
[ebuild  N    ] sci-chemistry/openbabel-3.1.1_p20210225  USE="examples inchi openmp perl png wxwidgets -doc -json -minimal -python -test" CPU_FLAGS_X86="sse2 sse4_2" PYTHON_TARGETS="python3_9 -python3_8 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2022-06-12 09:56:56 UTC
Created attachment 784211 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-12 09:56:58 UTC
Created attachment 784214 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2022-06-12 09:56:59 UTC
Created attachment 784217 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2022-06-12 09:57:01 UTC
Created attachment 784220 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2022-06-12 09:57:02 UTC
Created attachment 784223 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-12 09:57:03 UTC
Created attachment 784226 [details]
sci-chemistry:openbabel-3.1.1_p20210225:20220612-040228.log.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-12 09:57:04 UTC
Created attachment 784229 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-06-12 10:36:32 UTC
The bug has been closed via the following commit(s):

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

commit 4a0dcf6b2ab6b2bc5725cc51b813bfa478bee3cf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-12 10:26:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-12 10:36:25 +0000

    sci-chemistry/openbabel: fix build with GCC 12
    
    Closes: https://bugs.gentoo.org/851510
    Signed-off-by: Sam James <sam@gentoo.org>

 .../openbabel-3.1.1-fix-time-check-cmake.patch     | 32 ++++++++++++++++++++++
 .../openbabel/openbabel-3.1.1_p20210225.ebuild     |  4 +++
 2 files changed, 36 insertions(+)