Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8705

Dependency issue in roottest/root/io/transient/base

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.14/00
    • Component/s: Testing
    • Labels:
      None
    • Environment:

      Linux 64bit

      Description

      After pulling ROOT after the 6.09/02 I now get

      Error in <TUnixSystem::Load>: version mismatch, /home/axel/build/root/trunk/cmake-reldeb/roottest/root/io/transient/base/./libbase.so = 60901, ROOT = 60903

      when running

      ctest -V -R roottest-root-io-transient-base-WriteFile

      The reason is some leftover files that aren't cleaned between ctest runs:

      $ ls -l roottest/root/io/transient/base/CMakeFiles/base.dir/
      total 836
      rw-rr- 1 axel axel 353672 Mar 8 17:00 base_cling.cxx.o
      rw-rr- 1 axel axel 15421 Mar 7 16:53 build.make
      rw-rr- 1 axel axel 389 Mar 7 16:53 cmake_clean.cmake
      rw-rr- 1 axel axel 2578 Mar 7 16:53 DependInfo.cmake
      rw-rr- 1 axel axel 88 Mar 7 16:53 depend.make
      rw-rr- 1 axel axel 858 Mar 7 16:53 flags.make
      rw-rr- 1 axel axel 514 Mar 7 16:53 link.txt
      rw-rr- 1 axel axel 101 Mar 7 16:53 progress.make
      rw-rr- 1 axel axel 228680 Mar 8 11:41 testobject.cpp.o
      rw-rr- 1 axel axel 228704 Mar 8 11:41 testobjectderived.cpp.o

      Here,
      Mar 8 17:00 base_cling.cxx.o
      is 6.09/03 but the other cpp.o-s are still with previous sources.

      I'd expect all these temporaries to be cleaned.

      Not that the same happens with a simple ctest -j12 i.e. this is not a question of me not "testing" a ...-build target before testing the actual target.

      Cheers, Axel.

        Attachments

          Activity

            People

            Assignee:
            mato Pere Mato Vila
            Reporter:
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: