[Debian-med-packaging] Bug#1013153: camitk: vtk[6,7] removal

Andreas Tille andreas at an3as.eu
Wed Feb 1 15:21:35 GMT 2023


Am Wed, Feb 01, 2023 at 02:02:30PM +0100 schrieb Emmanuel Promayon:
> > > > Salsa CI?
> > > I just pushed both (VTK9 compatibility and dicom component disability) to
> > > salsa (in the main branch, hopefully that's ok)
> > Unfortunately Salsa CI failed for whatever reason in the first stage.
> 
> Yes I noticed that (it seems it does that since the setup of the CI for this
> project). I don't know where to look to fix this (it looks like an disk
> access mis-configuration).

Hmmm, I fail to see any difference to other projects.
 
> > 543: Test command: /usr/bin/cmake "-DCAMITK_TEST_COMMAND=/build/camitk-5.0.2/camitk-build/bin/camitk-testloggercrash" "-DCAMITK_TEST_COMMAND_ARG=-d /build/camitk-5.0.2/camitk-build/     tutorials/applications/testloggercrash/testlogger" "-DCAMITK_TEST_PASS_FILE=/build/camitk-5.0.2/tutorials/applications/testloggercrash/log-default.log" "-DCAMITK_TEST_OUTPUT_DIR=/build/ camitk-5.0.2/camitk-build/Testing/Temporary/application-testloggercrash-5" "-DCAMITK_TEST_NAME=application-testloggercrash-5" "-P" "/build/camitk-5.0.2/sdk/cmake/modules/macros/camitk/  test/CamiTKTestPassFile.cmake"
> > 543: Working Directory: /build/camitk-5.0.2/camitk-build
> > 543: Test timeout computed to be: 1800
> > 543: /build/camitk-5.0.2/camitk-build/bin/camitk-testloggercrash: error while loading shared libraries: libjawt.so: cannot open shared object file: No such file or directory
> > 543: -- Comparing file "/build/camitk-5.0.2/tutorials/applications/testloggercrash/log-default.log" to "/build/camitk-5.0.2/camitk-build/Testing/Temporary/application-testloggercrash-5/ command-output"...
> > 543: -- [FAIL]
> > 543: CMake Error at /build/camitk-5.0.2/sdk/cmake/modules/macros/camitk/test/CamiTKTestPassFile.cmake:67 (message):
> > 543:   application-testloggercrash-5:
> > 543:   /build/camitk-5.0.2/camitk-build/Testing/Temporary/application-testloggercrash-5/command-output
> > 543:   does not match
> > 543:   /build/camitk-5.0.2/tutorials/applications/testloggercrash/log-default.log
> > 543:
> > 543:
> > 543/543 Test #543: application-testloggercrash-5 ...............................***Failed    0.03 sec
> > 
> > 0% tests passed, 505 tests failed out of 506
> > 
> > ...
> > 
> > The following tests FAILED:
> >            1 - component-msh-level3-1 (Failed)
> >            2 - component-msh-level3-2 (Failed)
> >            3 - component-obj-level3-1 (Failed)
> >            4 - component-obj-level3-2 (Failed)
> > ...
> >          541 - application-testloggercrash-3 (Failed)
> >          542 - application-testloggercrash-4 (Failed)
> >          543 - application-testloggercrash-5 (Failed)
> > Errors while running CTest
> > Output from these tests are in: /build/camitk-5.0.2/camitk-build/Testing/Temporary/LastTest.log
> > Use "--rerun-failed --output-on-failure" to re-run the failed cases verbosely.
> > 
> > Are you able to reproduce this and do you have any idea what might be
> > wrong here?
> 
> Thank you for trying.
> Yes I have exactly the same problem on my own machine.
> libjawt.so is provided by openjd. There is nothing in CamiTK source itself
> that depends on Java. That's made me think the error is linked with a Java
> installation problem (maybe temporary?). Or may be due to some linkage
> problem in one of the CamiTK dependency.

I've checked insice my build-chroot

  # grep -c 'error while loading' /build/camitk-5.0.2/camitk-build/Testing/Temporary/LastTest.log                                                                         
  505

so yes, its always the same error for all bugs like for example


Start testing: Feb 01 14:44 UTC
----------------------------------------------------------
1/543 Testing: component-msh-level3-1
1/543 Test: component-msh-level3-1
Command: "/usr/bin/cmake" "-DCAMITK_TEST_COMMAND=/build/camitk-5.0.2/camitk-build/bin/camitk-testcomponents" "-DCAMITK_TEST_COMMAND_ARG=-i /build/camitk-5.0.2/camitk-build/share/camitk-5.0/testdata/bassin.msh -c /build/camitk-5.0.2/camitk-build/lib/x86_64-linux-gnu/camitk-5.0/components/libmsh.so -l 2" "-DCAMITK_TEST_PASS_FILE=/build/camitk-5.0.2/camitk-build/share/camitk-5.0/testdata/bassin.msh" "-DCAMITK_TEST_OUTPUT_DIR=/build/camitk-5.0.2/camitk-build/Testing/Temporary/component-msh-level3-1" "-DCAMITK_TEST_NAME=component-msh-level3-1" "-P" "/build/camitk-5.0.2/sdk/cmake/modules/macros/camitk/test/CamiTKTestCompareFile.cmake"
Directory: /build/camitk-5.0.2/camitk-build
"component-msh-level3-1" start time: Feb 01 14:44 UTC
Output:
----------------------------------------------------------
/build/camitk-5.0.2/camitk-build/bin/camitk-testcomponents: error while loading shared libraries: libjawt.so: cannot open shared object file: No such file or directory
-- [FAIL]
CMake Error at /build/camitk-5.0.2/sdk/cmake/modules/macros/camitk/test/CamiTKTestCompareFile.cmake:34 (message):
  component-msh-level3-1: output file
  /build/camitk-5.0.2/camitk-build/Testing/Temporary/component-msh-level3-1/bassin.msh
  not found.


<end of output>
Test time =   0.03 sec


while this library should be available:

# ls -l /usr/lib/jvm/java-17-openjdk-amd64/lib/libjawt.so                                                                                                               
-rw-r--r-- 1 root root 13880 Jan 26 10:36 /usr/lib/jvm/java-17-openjdk-amd64/lib/libjawt.so

 
> I will try to invistigate using ldd on camitk-testloggercrash and let you
> know as soon as possible.

Thanks.  I keep Pierre in CC who frequently found a solution for Java
issues.

Kind regards
    Andreas.

-- 
http://fam-tille.de



More information about the Debian-med-packaging mailing list