Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-1906

stacks-cpp image can't install latest rpms; if use --nobest, fails compare_components check

XMLWordPrintable

    • False
    • False
    • Undefined

      So, stop me if you've heard this one.

      A dockerfile walks into a bar and asks the bartender for the latest rpms to run c/cpp tools:

      yum install -y llvm-toolset clang clang-libs clang-tools-extra git-clang-format gdb wget bzip2 sudo make cmake gcc gcc-c++ ...
      

      The bartender says, we have two options:

      We have the top shelf best rpms:

      
      yum install -y llvm-toolset clang clang-libs clang-tools-extra git-clang-format gdb wget bzip2 sudo make cmake gcc gcc-c++ ...
      
      Problem 1: problem with installed package lld-libs-10.0.1-1.module+el8.3.0+7459+90c24896.s390x
      Problem 2: problem with installed package lld-10.0.1-1.module+el8.3.0+7459+90c24896.s390x
      

      or, if you're ok with --nobest, we have:

      
      yum install -y --nobest llvm-toolset clang clang-libs clang-tools-extra git-clang-format gdb wget bzip2 sudo make cmake gcc gcc-c++ ...
      
       Skipped:
         clang-11.0.0-1.module+el8.4.0+8598+a071fcd5.s390x
         clang-libs-11.0.0-1.module+el8.4.0+8598+a071fcd5.s390x
         lld-7.0.1-3.module+el8.0.0+3181+ec021930.s390x
         lld-7.0.1-3.module+el8+2753+d9ab2218.s390x
         lld-8.0.1-1.module+el8.1.0+3866+6be7f4d8.s390x
         lld-9.0.1-1.module+el8.2.0+5384+b1459bb7.s390x
         lld-libs-7.0.1-3.module+el8.0.0+3181+ec021930.s390x
         lld-libs-7.0.1-3.module+el8+2753+d9ab2218.s390x
         lld-libs-8.0.1-1.module+el8.1.0+3866+6be7f4d8.s390x
         lld-libs-9.0.1-1.module+el8.2.0+5384+b1459bb7.s390x
         llvm-libs-7.0.1-1.module+el8+2560+c32c7af1.s390x
         llvm-libs-7.0.1-3.module+el8.0.0+3181+ec021930.s390x
         llvm-libs-8.0.1-1.module+el8.1.0+3866+6be7f4d8.s390x
         llvm-libs-9.0.1-4.module+el8.2.0+5887+847e8a86.s390x
         llvm-libs-9.0.1-5.module+el8.2.0+6779+3ab48a6e.s390x
         llvm-libs-11.0.0-2.module+el8.4.0+8598+a071fcd5.s390x
      

      then

      plugin 'compare_components' raised an exception: ValueError: Failed component comparison for components: clang, clang-libs, clang-tools-extra, compiler-rt, git-clang-format, lld, lld-libs, llvm, llvm-libs, llvm-toolset
      
      

      So the dockerfile says...

              kcrane@redhat.com Kirk Crane
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: