SuperSlicer 2.4 seems to have added a bundled copy of angelscript, which will install a /usr/include/angelscript.h file which will collide with dev-libs/angelscript if it is installed. It doesn't look like building angelscript is conditional in the CMake scripts, so it might be a more extensive patch to use the system package instead of bundled (and I have no idea if there are any changes in the bundled version relative to upstream). Since it builds static it might be enough to just remove the install commands from the bundled angelscript so nothing ends up in the real system (libangelscript.a is useless to other packages, and angelscript.h is the collision) Reproducible: Always Steps to Reproduce: 1. emerge dev-libs/angelscript 2. emerge media-gfx/superslicer Actual Results: * Detected file collision(s): * * /usr/include/angelscript.h * * Searching all installed packages for file collisions... * * Press Ctrl-C to Stop * * dev-libs/angelscript-2.35.1:0::gentoo * /usr/include/angelscript.h * * Package 'media-gfx/superslicer-2.4.58.3-r1' NOT merged due to file * collisions.
Also opened an upstream issue: https://github.com/supermerill/SuperSlicer/issues/3088
I think I will just src_install chop them off, since there's no reason to install any headers.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cad19d769d7c1e9b0e521bd1c5d3a442464b0c1 commit 0cad19d769d7c1e9b0e521bd1c5d3a442464b0c1 Author: Piotr Karbowski <slashbeast@gentoo.org> AuthorDate: 2022-08-27 19:41:01 +0000 Commit: Piotr Karbowski <slashbeast@gentoo.org> CommitDate: 2022-08-27 19:42:25 +0000 media-gfx/superslicer: 2.5.59.0-r1 revbump Fixes gcodeviewer symlink and no longer installs bundled angelscript into system. Closes: https://bugs.gentoo.org/865457 Signed-off-by: Piotr Karbowski <slashbeast@gentoo.org> ...2.5.59.0-dont-install-bundled-angelscript.patch | 53 ++++++++++++++++++++++ ...erslicer-2.5.59.0-fix-gcodeviewer-symlink.patch | 11 +++++ ....59.0.ebuild => superslicer-2.5.59.0-r1.ebuild} | 2 + 3 files changed, 66 insertions(+)