Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 930171 - media-gfx/netgen-6.2.2302 - /.../Partition_Loop3d.hxx: fatal error: TopTools_OrientedShapeMapHasher.hxx: No such file or directory
Summary: media-gfx/netgen-6.2.2302 - /.../Partition_Loop3d.hxx: fatal error: TopTools_...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Mathematics related packages
URL:
Whiteboard:
Keywords: PATCH
: 944831 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-04-17 20:33 UTC by Toralf Förster
Modified: 2024-11-25 02:40 UTC (History)
8 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.33 KB, text/plain)
2024-04-17 20:33 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,26.62 KB, text/plain)
2024-04-17 20:33 UTC, Toralf Förster
Details
environment (environment,147.42 KB, text/plain)
2024-04-17 20:33 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.16 KB, application/x-xz)
2024-04-17 20:33 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.43 KB, application/x-xz)
2024-04-17 20:34 UTC, Toralf Förster
Details
media-gfx:netgen-6.2.2302:20240417-201327.log (media-gfx:netgen-6.2.2302:20240417-201327.log,104.50 KB, text/plain)
2024-04-17 20:34 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,66.00 KB, text/plain)
2024-04-17 20:34 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.91 KB, application/x-xz)
2024-04-17 20:34 UTC, Toralf Förster
Details
Patch from upstream, part1 (without occgeom.cpp) (opencascade_7.8.patch,3.79 KB, patch)
2024-09-18 17:38 UTC, Michael Tulupov
Details | Diff
Patch from upstream, part2 (for occgeom.cpp only) (opencascade_7.8_p2.patch,559 bytes, patch)
2024-09-18 17:39 UTC, Michael Tulupov
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 2024-04-17 20:33:45 UTC
too long lines were shrinked:

[103/180] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DNETGEN_USE_SPDLOG -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -Dnglib_EXPORTS -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302_build -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302 -I/var/tmp/por
FAILED: CMakeFiles/nglib.dir/libsrc/occ/Partition_Loop3d.cxx.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_DLFCN_H -DHAVE_OPENGL_EXT -DNETGEN_USE_SPDLOG -DOCCGEOMETRY -DOCC_CONVERT_SIGNALS -Dnglib_EXPORTS -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302_build -I/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302 -I/var/tmp/portage/media
In file included from /var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302/libsrc/occ/Partition_Loop3d.jxx:29,
                 from /var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302/libsrc/occ/Partition_Loop3d.ixx:10,
                 from /var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302/libsrc/occ/Partition_Loop3d.cxx:14:
/var/tmp/portage/media-gfx/netgen-6.2.2302/work/netgen-6.2.2302/libsrc/occ/Partition_Loop3d.hxx:32:13: fatal error: TopTools_OrientedShapeMapHasher.hxx: No such file or directory
   32 |    #include <TopTools_OrientedShapeMapHasher.hxx>
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_systemd-20240416-185306

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.3
Python 3.11.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.77.1 *
The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
  [1]   php8.3 *
go version go1.22.2 linux/amd64

  HEAD of ::gentoo
commit 315dcd49bb18a38761c26d275fafa8c6d3eb64a0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Apr 17 17:34:19 2024 +0000

    2024-04-17 17:34:19 UTC

emerge -qpvO media-gfx/netgen
[ebuild  N    ] media-gfx/netgen-6.2.2302  USE="logging opencascade -ffmpeg -gui -jpeg -mpi -python -test" PYTHON_SINGLE_TARGET="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-04-17 20:33:46 UTC
Created attachment 891018 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-04-17 20:33:47 UTC
Created attachment 891019 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-04-17 20:33:57 UTC
Created attachment 891020 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-04-17 20:33:59 UTC
Created attachment 891021 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-04-17 20:34:00 UTC
Created attachment 891022 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-04-17 20:34:01 UTC
Created attachment 891023 [details]
media-gfx:netgen-6.2.2302:20240417-201327.log
Comment 7 Toralf Förster gentoo-dev 2024-04-17 20:34:03 UTC
Created attachment 891024 [details]
qlist-info.txt
Comment 8 Toralf Förster gentoo-dev 2024-04-17 20:34:04 UTC
Created attachment 891025 [details]
temp.tar.xz
Comment 9 Michael Tulupov 2024-09-18 16:23:06 UTC
Upstream bug: https://github.com/NGSolve/netgen/issues/170
Comment 10 Michael Tulupov 2024-09-18 16:47:34 UTC
Happens due to API change in sci-libs/opencascade-7.8.0 and above.
Fixed in upstream, release https://github.com/NGSolve/netgen/releases/tag/v6.2.2404 should have it included.
Comment 11 Michael Tulupov 2024-09-18 17:38:59 UTC
Created attachment 903293 [details, diff]
Patch from upstream, part1 (without occgeom.cpp)

Upstream patch works fine for me (after cosmetic changes related to DOS line endings in upstream occgeom.cpp)
Comment 12 Michael Tulupov 2024-09-18 17:39:43 UTC
Created attachment 903294 [details, diff]
Patch from upstream, part2 (for occgeom.cpp only)
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-25 02:30:36 UTC
*** Bug 944831 has been marked as a duplicate of this bug. ***
Comment 14 Larry the Git Cow gentoo-dev 2024-11-25 02:40:33 UTC
The bug has been closed via the following commit(s):

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

commit a7b9d39fa7b80783e7b7e47bf7ec67a296765a5d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-11-25 02:39:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-11-25 02:39:51 +0000

    media-gfx/netgen: fix opencascade-7.8.0 compat
    
    Closes: https://bugs.gentoo.org/930171
    Thanks-to: Michael Tulupov
    Signed-off-by: Sam James <sam@gentoo.org>

 .../files/netgen-6.2.2302-opencascade-7.8.0.patch  | 147 +++++++++++++++++++++
 media-gfx/netgen/netgen-6.2.2302.ebuild            |   1 +
 2 files changed, 148 insertions(+)