When building the current freecad-9999 it tries to install things in <sandbox>/<sandbox>/share where as it should install in <sandbox>/usr/share. This causes src_install() to fail on line 111: pushd "${ED%/}"/usr/share/${P} || die to fix change the following lines to(inside src_configure): line 84: -DCMAKE_INSTALL_DATADIR=/usr/share/${P} line 85: -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} line 86: -DCMAKE_INSTALL_INCLUDEDIR=/usr/include/${P} Reproducible: Always Steps to Reproduce: 1.emerge =media-gfx/freecad-9999 2.???? 3.failure if already mid install I fixed by: rm /var/tmp/portage/media-gfx/freecad-9999/.{configure,compile} vi var/tmp/portage/media-gfx/freecad-9999/temp/environment - change the line for mycmakeargs (for me ~line 4863) to match the suggested changes to the ebuild ebuild <path_to_ebuild> merge
Created attachment 503514 [details] ebuild with working paths
Had the same issue, changed paths in the ebuild as suggested above allowed Freecad to install successfully
Please attach unified diffs when you make changes to ebuilds, so they can be reviewed easily. Yes, we can compare ebuilds after downloading, but that quickly escalates when you consider the huge amount of packages per dev.
Fixed by fordfrog in commit a6ae8d1452396e5c06820e26565d1a1b5ccec6e3