waebbl / waebbl-gentoo

Personal overlay of gentoo ebuilds, loosely focused on the 3D domain.
17 stars 17 forks source link

assembly USE flag change? #162

Closed CaptainBloodz closed 4 years ago

CaptainBloodz commented 4 years ago

user@amd64 ~ $ eix freecad [I] media-gfx/freecad [1] Installed versions: 0.18.3(12:12:19 16/12/2019)(addonmgr arch assembly complete doc drawing fem idf image inspection material mesh openscad part_design path pcl points raytracing reverseengineering robot ship show spreadsheet surface techdraw tux -debug -mpi -netgen PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6")

user@amd64 ~ $ euse freecad [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ]

These are the packages that would be merged, in reverse order:

Calculating dependencies
... done! [ebuild R ~] media-gfx/freecad-0.18.3 USE="(-assembly*)"

freecad builded fine with assembly enabled. Not using freecad yet, so I have no idea how usable.

waebbl commented 4 years ago

@CaptainBloodz, if it build with USE=assembly you were probably lucky. I tested it last with 0.18.0, where it did also work, but it doesn't build with current code base and will probably cause issues with later versions too. So I decided to disable it for now, until the assembly code has been fixed upstream.

Please refer to https://www.freecadweb.org/tracker/view.php?id=4145 and https://forum.freecadweb.org/viewtopic.php?f=4&t=39716 for the issue.

Edit: Please see also https://github.com/waebbl/waebbl-gentoo/issues/155

CaptainBloodz commented 4 years ago

Well, I haven"t rebuilded for mpi yet. While doing so I'd rather keep that assembly USE flag enabled and active. Is that possible? What should I do?

CaptainBloodz commented 4 years ago

Replicating to local overlay did the trick.

waebbl commented 4 years ago

@CaptainBloodz Note, the assembly USE flag will be ignored by the current ebuilds, so it doesn't change anything, whether you have it enabled or not, the ebuild will not build the assembly workspace.

Also note, if you use a local overlay, which isn't synced and use old ebuilds where the assembly USE flag is still available, you are on your own. The code is broken upstream, and I will give no support on issues which arise from this.