Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 886155 - =sci-libs/vtk-9.2.2 ninja: error: '/usr/lib64/libblosc.so', needed by 'lib64/libvtkIONetCDF-9.2.so.9.2.2', missing and no known rule to make it
Summary: =sci-libs/vtk-9.2.2 ninja: error: '/usr/lib64/libblosc.so', needed by 'lib64/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 925018
  Show dependency tree
 
Reported: 2022-12-15 19:07 UTC by Petross404(Petros S)
Modified: 2024-04-26 15:48 UTC (History)
8 users (show)

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


Attachments
sci-libs:vtk-9.2.2:20221215-203427.log (sci-libs:vtk-9.2.2:20221215-203427.log,19.63 KB, text/plain)
2022-12-15 19:07 UTC, Petross404(Petros S)
Details
emerge --info '=sci-libs/vtk-9.2.2::gentoo' (emerge--info.txt,28.01 KB, text/plain)
2022-12-15 19:09 UTC, Petross404(Petros S)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petross404(Petros S) 2022-12-15 19:07:06 UTC
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.
Comment 1 Petross404(Petros S) 2022-12-15 19:09:01 UTC
Created attachment 842905 [details]
emerge --info '=sci-libs/vtk-9.2.2::gentoo'
Comment 2 Petross404(Petros S) 2022-12-15 19:10:38 UTC
I think these are needed too.

GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
Comment 3 Jesper Saxtorph 2023-06-04 17:53:41 UTC
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.
Comment 4 mphi 2023-06-09 00:13:47 UTC
I can confirm this buy. Had the same error when vtk needed a rebuild caused by app-emulation/libvirt.
Comment 5 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2024-03-14 03:46:45 UTC
Same thing here, never merged it in the first place though.
Comment 6 Paul Zander 2024-03-15 16:33:25 UTC
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.
Comment 7 Larry the Git Cow gentoo-dev 2024-04-02 11:29:29 UTC
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(-)