Created attachment 842903 [details] sci-libs:vtk-9.2.2:20221215-203427.log * PROBLEM: Portage tried to emerge sci-libs/vtk-9.2.2 and then stopped with this error: -- Configuring done -- Generating done -- Build files have been written to: /mnt/Volume_3/Gentoo/temp/portage/sci-libs/vtk-9.2.2/work/VTK-9.2.2_build >>> Source configured. >>> Compiling source in /mnt/Volume_3/Gentoo/temp/portage/sci-libs/vtk-9.2.2/work/VTK-9.2.2 ... * Source directory (CMAKE_USE_DIR): "/mnt/Volume_3/Gentoo/temp/portage/sci-libs/vtk-9.2.2/work/VTK-9.2.2" * Build directory (BUILD_DIR): "/mnt/Volume_3/Gentoo/temp/portage/sci-libs/vtk-9.2.2/work/VTK-9.2.2_build" ninja -v -j3 -l2 ninja: error: '/usr/lib64/libblosc.so', needed by 'lib64/libvtkIONetCDF-9.2.so.9.2.2', missing and no known rule to make it * ERROR: sci-libs/vtk-9.2.2::gentoo failed (compile phase): * ninja -v -j3 -l2 failed * SOLUTION: I used `e-file libblosc.so` and it pointed out dev-libs/c-blosc. After emerging this package the build continued past that point. So, the ebuild needs c-blosc as a dependency.
Created attachment 842905 [details] emerge --info '=sci-libs/vtk-9.2.2::gentoo'
I think these are needed too. GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER=""
I had the same problem on an upgrade where vtk needed a rebuild. I can see I unmerged dev-libs/c-blosc in May, through an emerge depclean if I am not mistaken. So earlier it have been pulled in by another package and thus the problem have not shown it self before.
I can confirm this buy. Had the same error when vtk needed a rebuild caused by app-emulation/libvirt.
Same thing here, never merged it in the first place though.
Can you please run `grep INTERFACE_LINK_LIBRARIES /usr/lib*/cmake/netCDF/netCDFTargets.cmake` or where ever your `netCDFTargets.cmake` is and report that? If it finds nothing, do the same for `grep INTERFACE_LINK_LIBRARIES /usr`. Then re-emerge `sci-libs/netcdf`. It seems like some there hard-coded libraries got moved and `sci-libs/netcdf` wasn't updated after.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85deb6c116f4a6bf49da243324d4cf0b60ff7b8a commit 85deb6c116f4a6bf49da243324d4cf0b60ff7b8a Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-03-16 18:12:53 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-02 11:26:43 +0000 sci-libs/netcdf: cmake rework, fix bug 886155 Remove cmake automagic for file filters. Make test run in parallel that failed due to mpi failures. Filter cmake targets file further. Closes: https://bugs.gentoo.org/886155 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35786 Signed-off-by: Sam James <sam@gentoo.org> sci-libs/netcdf/metadata.xml | 3 +- sci-libs/netcdf/netcdf-4.9.2-r1.ebuild | 103 +++++++++++++++++++++++++++++++++ 2 files changed, 105 insertions(+), 1 deletion(-)