Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 867301 - media-gfx/prusaslicer-2.5.0-rc1: missing dependency on openscascade
Summary: media-gfx/prusaslicer-2.5.0-rc1: missing dependency on openscascade
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Dennis Lamm
URL:
Whiteboard:
Keywords:
: 867310 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-08-29 08:13 UTC by Kobboi
Modified: 2023-01-30 17:59 UTC (History)
6 users (show)

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


Attachments
build.log.gz (build.log.gz,2.39 KB, application/gzip)
2022-08-29 08:13 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,7.85 KB, text/plain)
2022-08-29 08:13 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-08-29 08:13:00 UTC
-- Found JPEG: /usr/lib64/libjpeg.so (found version "62") 
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
-- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR
-- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
CMake Error at src/occt_wrapper/CMakeLists.txt:22 (find_package):
  By not providing "FindOpenCASCADE.cmake" in CMAKE_MODULE_PATH this project
  has asked CMake to find a package configuration file provided by
  "OpenCASCADE", but CMake did not find one.

  Could not find a package configuration file provided by "OpenCASCADE"
  (requested version 7.6.2) with any of the following names:

    OpenCASCADEConfig.cmake
    opencascade-config.cmake

  Add the installation prefix of "OpenCASCADE" to CMAKE_PREFIX_PATH or set
  "OpenCASCADE_DIR" to a directory containing one of the above files.  If
  "OpenCASCADE" provides a separate development package or SDK, be sure it
  has been installed.


Reproducible: Always
Comment 1 Kobboi 2022-08-29 08:13:34 UTC
Created attachment 801820 [details]
build.log.gz
Comment 2 Kobboi 2022-08-29 08:13:36 UTC
Created attachment 801823 [details]
emerge-info.txt
Comment 3 Ben Cunningham 2022-08-29 09:07:02 UTC
Confirming that I'm also getting this error.
Tried installing sci-libs/opencascade-7.6.3:0/7.6::gentoo
but got this error when retrying the install:

  CMake Error at src/occt_wrapper/CMakeLists.txt:22 (find_package):
  Could not find a configuration file for package "OpenCASCADE" that is
  compatible with requested version "7.6.2".

  The following configuration files were considered but not accepted:

    /usr/lib64/cmake/opencascade/OpenCASCADEConfig.cmake, version: 7.6.3

installing sci-libs/opencascade-7.6.2-r1:0/7.6::gentoo allowed me to upgrade prusa-slicer to the new version.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-29 09:46:38 UTC
*** Bug 867310 has been marked as a duplicate of this bug. ***
Comment 5 Ionen Wolkens gentoo-dev 2022-08-29 15:12:53 UTC
fwiw it builds fine with 7.6.3 if bypass the check (haven't tried runtime), unsure if upstream has a reason for pinning to exactly 7.6.2 rather than >=7.6.2 <7.7 or so at most if still want it strict
Comment 6 Ionen Wolkens gentoo-dev 2022-08-29 15:15:37 UTC
Also, qa-vdb reports (app-portage/iwdevtools):

 * VDB: detected possibly incorrect RDEPEND (media-gfx/prusaslicer-2.5.0_rc1)
 * dev-libs/imath:3= < 
 *                   > media-libs/libjpeg-turbo:=
 *                   > sci-libs/opencascade:=
 * sys-libs/zlib     < 
 * virtual/glu       < 

So also missing libjpeg-turbo, the rest may or may not be removable.
Comment 7 Dennis Lamm gentoo-dev 2022-08-31 13:56:50 UTC
https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=CMakeLists.txt;h=23dd2d377b8e254ca18c818c84803d52e579fd1a#l1289 states that it only matches the exact version. Therefore it must be fixed to 7.6.2 for now.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-31 14:08:18 UTC
(In reply to Dennis Lamm from comment #7)
> https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=CMakeLists.txt;
> h=23dd2d377b8e254ca18c818c84803d52e579fd1a#l1289 states that it only matches
> the exact version. Therefore it must be fixed to 7.6.2 for now.

The question is whether that's a good upstream decision based on something immovable or whether they're just doing it out of "safety" (pre-emptive version pinning for no good or specific reason).
Comment 9 Larry the Git Cow gentoo-dev 2022-08-31 18:26:52 UTC
The bug has been referenced in the following commit(s):

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

commit 205c11fa0a4555a97fad6552783075864d4f0d38
Author:     Dennis Lamm <expeditioneer@gentoo.org>
AuthorDate: 2022-08-31 18:01:52 +0000
Commit:     Dennis Lamm <expeditioneer@gentoo.org>
CommitDate: 2022-08-31 18:26:47 +0000

    media-gfx/prusaslicer: fixed dependencies
    
    Bug: https://bugs.gentoo.org/867301
    Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>
    Package-Manager: Portage-3.0.30, Repoman-3.0.3
    Closes: https://github.com/gentoo/gentoo/pull/27090
    Signed-off-by: Dennis Lamm <expeditioneer@gentoo.org>

 media-gfx/prusaslicer/prusaslicer-2.5.0_rc1.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Comment 10 Piotr Karbowski (RETIRED) gentoo-dev 2022-08-31 19:31:04 UTC
(In reply to Sam James from comment #8)
> (In reply to Dennis Lamm from comment #7)
> > https://git.dev.opencascade.org/gitweb/?p=occt.git;a=blob;f=CMakeLists.txt;
> > h=23dd2d377b8e254ca18c818c84803d52e579fd1a#l1289 states that it only matches
> > the exact version. Therefore it must be fixed to 7.6.2 for now.
> 
> The question is whether that's a good upstream decision based on something
> immovable or whether they're just doing it out of "safety" (pre-emptive
> version pinning for no good or specific reason).

I wouldn't be too fixed on what upstream says, remember that upstream in even this release do not support new boost, chance why it is so  heavy patched in this areas.
Comment 11 Fat-Zer 2023-01-20 04:30:44 UTC
It looks like the media-gfx/prusaslicer-2.5.0-r1 builds and runs fine against sci-libs/opencascade-7.7.0 as well... Could you consider to relax the DEPENDs to include it too? i.e to `>=sci-libs/opencascade-7.6.2:=
Comment 12 Piotr Karbowski (RETIRED) gentoo-dev 2023-01-29 20:41:04 UTC
I seen your comment by accident. Create a new bug for it and I will take care of it.
Comment 13 Piotr Karbowski (RETIRED) gentoo-dev 2023-01-29 20:42:23 UTC
Closing the bug as it in fact now depends on it. relaxing of this dependency is separated from this one.
Comment 14 Fat-Zer 2023-01-30 17:59:54 UTC
(In reply to Piotr Karbowski from comment #12)
> I seen your comment by accident. Create a new bug for it and I will take
> care of it.

done; See bug #892647

PS: A knew I should probably fill it as a separate bug from the beginning... but against me better judgement I've decided that it would be too big of a hassle for such a small issue..