Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 865457 - media-gfx/superslicer-2.4.58.3 collision with dev-libs/angelscript
Summary: media-gfx/superslicer-2.4.58.3 collision with dev-libs/angelscript
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: 3D Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: bundled-libs
  Show dependency tree
 
Reported: 2022-08-17 03:01 UTC by Stephen Cavilia
Modified: 2022-08-27 19:42 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Cavilia 2022-08-17 03:01:22 UTC
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.
Comment 1 Stephen Cavilia 2022-08-17 03:07:57 UTC
Also opened an upstream issue: https://github.com/supermerill/SuperSlicer/issues/3088
Comment 2 Piotr Karbowski (RETIRED) gentoo-dev 2022-08-17 07:47:27 UTC
I think I will just src_install chop them off, since there's no reason to install any headers.
Comment 3 Larry the Git Cow gentoo-dev 2022-08-27 19:42:27 UTC
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(+)