Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 475168 - =media-gfx/freecad-0.13.1830 - Build fails with "cmake fails".
Summary: =media-gfx/freecad-0.13.1830 - Build fails with "cmake fails".
Status: RESOLVED DUPLICATE of bug 457830
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 23:58 UTC by kyberhub
Modified: 2014-01-06 14:10 UTC (History)
3 users (show)

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


Attachments
log file of the build process (build.log,19.18 KB, text/plain)
2013-06-28 23:58 UTC, kyberhub
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kyberhub 2013-06-28 23:58:32 UTC
Created attachment 352202 [details]
log file of the build process

complains about missing .cmake files named OCEConfig.cmake or oce-config.cmake which should belong to opencascade.
src/CMakeLists.txt contains missing directories
illegaly downloads file during the build process
Comment 1 Kjell Claesson 2013-06-29 11:24:10 UTC
Have you updated to opencascade-6.6.0 ?
Then you ned the git source as the "BRepTools::OuterShell()" is depricated in
OCC-6.6.

The freecad-0.13.1830 should depend on OCC-6.5.3.
Comment 2 kyberhub 2013-06-29 11:58:52 UTC
(In reply to Kjell Claesson from comment #1)
> Have you updated to opencascade-6.6.0 ?
yes I have this issue both with 6.5.0 stable and 6.6.0 unstable.

> Then you ned the git source as the "BRepTools::OuterShell()" is depricated in
> OCC-6.6.
The git source of FreeCAD or Opencascade?
 
> The freecad-0.13.1830 should depend on OCC-6.5.3.
Is that a special patch level of OCC? Or should at least 6.5.0 and 6.6.0 work?
Comment 3 Kjell Claesson 2013-06-29 13:57:54 UTC
If you use opencascade 6.5.0 the only thing is that you need to
apply is the "freecad-0.12.5284-no-3rdParty.patch" that remove the check of
the removed "3rdParty" library.

Look at src_prepare in the ebuild.

As i wrote ""BRepTools::OuterShell()" is depricated in OCC-6.6.0 = opencascade-6.6.0"

And freecad-0.13.1830 is using "BRepTools::OuterShell()"

Read Bug 457830.
Comment 4 kyberhub 2013-06-30 20:41:46 UTC
(In reply to Kjell Claesson from comment #3)
> If you use opencascade 6.5.0 the only thing is that you need to
> apply is the "freecad-0.12.5284-no-3rdParty.patch" that remove the check of
> the removed "3rdParty" library.

> Read Bug 457830.

Thanks but that didn't really help, at first I thought that would enable me to at least install freecad (let alone this other mess). I ended up compiling it with MAKEOPTS="-j1" only to be stopped by a broken dependency of the optional ZMESH package which is part of Salome.

Why hasn't anybody gotten around to port the patch correctly to 0.13.1830 yet? It's been around over a month now.
Comment 5 Dion Moult (RETIRED) gentoo-dev 2013-10-13 09:11:19 UTC
Any fresh attempts to emerge this seem to be useful due to:

[... snip ...]

- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/PythonWorkbenchPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/ViewProviderPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/ViewProviderDocumentObjectPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/ViewProviderPythonFeaturePy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/WorkbenchPy.cpp
-- /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/src/Gui/SelectionObjectPy.cpp
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1") 
-- Coin3D doc is not installed
--2013-10-13 17:04:54--  http://doc.coin3d.org/Coin/coin.tag
Resolving doc.coin3d.org... 88.87.56.183
Connecting to doc.coin3d.org|88.87.56.183|:80... failed: Connection timed out.
Retrying.

[... snip ...]

The file seems to be no longer available on their site.
Comment 6 bochkov 2013-10-28 20:01:47 UTC
(In reply to Dion Moult from comment #5)
> Any fresh attempts to emerge this seem to be useful due to:
> 
> [... snip ...]
> 
> -
> /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/
> src/Gui/PythonWorkbenchPy.cpp
> --
> /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/
> src/Gui/ViewProviderPy.cpp
> --
> /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/
> src/Gui/ViewProviderDocumentObjectPy.cpp
> --
> /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/
> src/Gui/ViewProviderPythonFeaturePy.cpp
> --
> /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/
> src/Gui/WorkbenchPy.cpp
> --
> /var/tmp/portage/media-gfx/freecad-0.13.1830/work/freecad-0.13.1830_build/
> src/Gui/SelectionObjectPy.cpp
> -- Found Doxygen: /usr/bin/doxygen (found version "1.8.3.1") 
> -- Coin3D doc is not installed
> --2013-10-13 17:04:54--  http://doc.coin3d.org/Coin/coin.tag
> Resolving doc.coin3d.org... 88.87.56.183
> Connecting to doc.coin3d.org|88.87.56.183|:80... failed: Connection timed
> out.
> Retrying.
> 
> [... snip ...]
> 
> The file seems to be no longer available on their site.

ln -s /usr/share/doc/coin-3.1.3-r2 /usr/share/doc/libcoin60-doc
Comment 7 Martin Kampas 2013-11-08 18:47:53 UTC
IIRC in order to build freecad-0.13.1830 I had to:

1. "eselect opencascade" after opencascade-6.5.5 installation
2. create the libcoin60-doc symlink as mentioned in comment #6
3. replace "rm -rf src/3rdParty" with "rm -rf src/3rdParty/{Pivy{,-0.5},boost}" in the ebuild
Comment 8 Fabio Rossi 2014-01-06 14:10:19 UTC
Making this report a duplicate of bug #457830 because the 0.13.1830 release in portage is still work in progress. I'll post there an updated ebuild with patches

*** This bug has been marked as a duplicate of bug 457830 ***