Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955047 - sci-chemistry/molsketch-0.8.1 - obiter.h: error: impl has not been declared
Summary: sci-chemistry/molsketch-0.8.1 - obiter.h: error: impl has not been declared
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Chemistry-Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2025-04-28 17:41 UTC by Toralf Förster
Modified: 2025-04-29 19:16 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,20.46 KB, text/plain)
2025-04-28 17:41 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,69.29 KB, application/x-xz)
2025-04-28 17:41 UTC, Toralf Förster
Details
environment (environment,79.03 KB, text/plain)
2025-04-28 17:41 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.61 KB, application/x-xz)
2025-04-28 17:41 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,39.41 KB, application/x-xz)
2025-04-28 17:41 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,34.27 KB, application/x-xz)
2025-04-28 17:41 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,80.09 KB, application/x-xz)
2025-04-28 17:41 UTC, Toralf Förster
Details
sci-chemistry:molsketch-0.8.1:20250428-075755.log (sci-chemistry:molsketch-0.8.1:20250428-075755.log,202.85 KB, text/plain)
2025-04-28 17:41 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,19.03 KB, application/x-xz)
2025-04-28 17:41 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 2025-04-28 17:41:00 UTC
too long lines were shrinked:

[123/149] cd /var/tmp/portage/sci-chemistry/molsketch-0.8.1/work/Molsketch-0.8.1_build/molsketch && /usr/lib64/qt6/libexec/rcc --name oxygenicons --output /var/tmp/portage/sci-chemistry/molsketch-0.8.1/work/Molsketch-0.8.1_build/molsketch/qrc_oxygenicons.cpp /var/tmp/portage/sci-chemistry/molsketch-
[124/149] /usr/bin/x86_64-pc-linux-gnu-g++ -DMSK_INSTALL_BINS="\"\\\"/usr/bin\\\"\"" -DMSK_INSTALL_INCLUDES="\"\\\"/usr/include\\\"\"" -DMSK_INSTALL_LIBS64="\"\\\"/usr/lib64/molsketch\\\"\"" -DMSK_INSTALL_LIBS="\"\\\"/usr/lib/molsketch\\\"\"" -DMSK_OBABELIFACE="\"\\\"yes\\\"\"" -DMSK_PREFIX="\"\\\"/
FAILED: obabeliface/CMakeFiles/obabeliface_LIB.dir/obabeliface.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DMSK_INSTALL_BINS="\"\\\"/usr/bin\\\"\"" -DMSK_INSTALL_INCLUDES="\"\\\"/usr/include\\\"\"" -DMSK_INSTALL_LIBS64="\"\\\"/usr/lib64/molsketch\\\"\"" -DMSK_INSTALL_LIBS="\"\\\"/usr/lib/molsketch\\\"\"" -DMSK_OBABELIFACE="\"\\\"yes\\\"\"" -DMSK_PREFIX="\"\\\"/usr\\\"\""
In file included from /var/tmp/portage/sci-chemistry/molsketch-0.8.1/work/Molsketch-0.8.1/obabeliface/obabeliface.cpp:53:
/var/tmp/portage/sci-chemistry/molsketch-0.8.1/work/Molsketch-0.8.1/obabeliface/obabeliface.cpp: In function bool Molsketch::hasCoordinates(OpenBabel::OBMol&):
/usr/include/openbabel3/openbabel/obiter.h:417:49: error: impl has not been declared
  417 | #define FOR_ATOMS_OF_MOL(a,m)     for (auto a : impl::MolGetAtoms(m))
      |                                                 ^~~~

  -------------------------------------------------------------------
  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20250422-063502

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 20.1.3
llvm-config: 20.1.3
Python 3.12.10
go version go1.24.2 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.71.1
  [2]   rust-bin-1.86.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.26_p4 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

  HEAD of ::gentoo
commit bbc4c735887c8e1ab03bfe60641a07bcdc549ca2
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Apr 28 06:20:17 2025 +0000

    2025-04-28 06:20:16 UTC

The tinderbox task was: sci-chemistry/molsketch

emerge -qpvO =sci-chemistry/molsketch-0.8.1
[ebuild  N    ] sci-chemistry/molsketch-0.8.1  USE="openbabel"
Comment 1 Toralf Förster gentoo-dev 2025-04-28 17:41:01 UTC
Created attachment 926939 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-04-28 17:41:02 UTC
Created attachment 926940 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2025-04-28 17:41:04 UTC
Created attachment 926941 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-04-28 17:41:05 UTC
Created attachment 926942 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-04-28 17:41:06 UTC
Created attachment 926943 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-04-28 17:41:07 UTC
Created attachment 926944 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-04-28 17:41:08 UTC
Created attachment 926945 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2025-04-28 17:41:10 UTC
Created attachment 926946 [details]
sci-chemistry:molsketch-0.8.1:20250428-075755.log
Comment 9 Toralf Förster gentoo-dev 2025-04-28 17:41:11 UTC
Created attachment 926947 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2025-04-29 19:16:20 UTC
The bug has been closed via the following commit(s):

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

commit c346a2a598fef675a7de2200f16b186df7ac0a71
Author:     Nicolas PARLANT <nicolas.parlant@parhuet.fr>
AuthorDate: 2025-04-28 20:36:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-04-29 19:11:34 +0000

    sci-chemistry/molsketch: fix build with openbabel-3.1.1_p20241221
    
    it occurs only with openbabel-3.1.1_p20241221, because
    openbabel has changed namespaces :
    https://github.com/openbabel/openbabel/commit/a0ec8c96554d4ee4f9bf80b00165b1ce554c8621
    
    Closes: https://bugs.gentoo.org/955047
    Signed-off-by: Nicolas PARLANT <nicolas.parlant@parhuet.fr>
    Part-of: https://github.com/gentoo/gentoo/pull/41831
    Closes: https://github.com/gentoo/gentoo/pull/41831
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/molsketch-0.8.1-obabel_namespace.patch   | 37 ++++++++++++++++++++++
 sci-chemistry/molsketch/molsketch-0.8.1.ebuild     |  2 ++
 2 files changed, 39 insertions(+)