Public bug reported:

Hi! I've met a problem with `libocct-foundation-dev
7.5.1+dfsg1-2ubuntu1` package - the one installed as `libocct-
foundation-dev` on 22.04.

The problem is regarding it's missing main cmake config file
`OpenCASCADEConfig.cmake` - it's misplaced to `occt-misc` package.
`-dev` package has `OpenCASCADEFoundationClassesTargets.cmake` but it
has no use without `Config.cmake`.

I've tried to report it upstream to Debian first, but since this package
version belongs to bullseye and it's no longer suppported, see details
in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1122967. I guess
22.04 is still supported, so reporting it here.

You can see all the details in the bug report above, for simplicity I'm 
attaching Debian lists of files here too (just as a reference, since it Ubuntu 
doesn't have a filelist pages, unfortunately):
- https://packages.debian.org/bullseye/amd64/libocct-foundation-dev/filelist 
(missing OpenCASCADEConfig.cmake)
- https://packages.debian.org/bullseye/all/occt-misc/filelist (has 
OpenCASCADEConfig.cmake)


Upstream this bug was also found before but only in 7.6 - someone noticed that 
`occt-misc` was containing arch specific paths and it was resolved, but only in 
7.6+ (bookworm and further):
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1021566 - related bug report
- https://packages.debian.org/bookworm/amd64/libocct-foundation-dev/filelist 
(has OpenCASCADEConfig.cmake)
- https://packages.debian.org/bookworm/all/occt-misc/filelist (cmake files were 
removed)

---


On a side note, `occt-misc` in Ubuntu contains different versions for different 
architectures - is this neccessary? Not sure what's the common practice on 
Ubuntu, but based on upstream Debian package `occt-misc` don't have any arch 
dependant files, so in theory it can be simplified to a single package. See 
https://packages.debian.org/sid/all/occt-misc

** Affects: opencascade (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2136761

Title:
  libocct-foundation-dev is missing main cmake config file
  (OpenCASCADEConfig.cmake)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opencascade/+bug/2136761/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to