Bug 1568971

Summary: breaks nightlies: mesa-dri-drivers depends on libLLVM-5.0-rhel.so()(64bit) which does not seem to be available
Product: Red Hat Enterprise Linux 7 Reporter: Lubos Kocman <lkocman>
Component: mesaAssignee: Dave Airlie <airlied>
Status: CLOSED CURRENTRELEASE QA Contact: Desktop QE <desktop-qa-list>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 7.6CC: jkoten, mboisver, tpelka
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mesa-17.2.3-9.20171019.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-30 14:12:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Lubos Kocman 2018-04-18 13:11:24 UTC
Description of problem:

RHEL-7.6 nightlies are failing on following error

yum.Errors.YumRPMCheckError: [u'ERROR with transaction check vs depsolve:', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64']


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. lorax '--product=Red Hat Enterprise Linux' --version=7.6 --release=7.6 --source=file:///mnt/redhat/nightly/RHEL-7.6-20180418.n.1/work/x86_64/repo --variant=Workstation --nomacboot --buildarch=x86_64 '--volid=RHEL-7.6 Workstation.x86_64' --logfile=/mnt/redhat/nightly/RHEL-7.6-20180418.n.1/logs/x86_64/buildinstall-Workstation-logs/lorax.log 

Actual results:

Full log: 

http://download-node-02.eng.bos.redhat.com/brewroot/work/tasks/949/15830949/runroot.log

template command error in runtime-install.tmpl:
2018-04-18 10:59:17,983:   run_pkg_transaction
  run_pkg_transaction
2018-04-18 10:59:17,985:   YumRPMCheckError: [u'ERROR with transaction check vs depsolve:', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64']
  YumRPMCheckError: [u'ERROR with transaction check vs depsolve:', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64']
Traceback (most recent call last):
  File "/usr/sbin/lorax", line 347, in <module>
    main(sys.argv)
  File "/usr/sbin/lorax", line 235, in main
    remove_temp=True)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 259, in run
    rb.install()
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 114, in install
    self._runner.run("runtime-install.tmpl")
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 182, in run
    self._run(commands)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 201, in _run
    f(*args)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 513, in run_pkg_transaction
    rpmDisplay=LoraxRpmCallback())
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6552, in processTransaction
    self._doTestTransaction(callback,display=rpmTestDisplay)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 6631, in _doTestTransaction
    raise Errors.YumRPMCheckError,retmsgs
yum.Errors.YumRPMCheckError: [u'ERROR with transaction check vs depsolve:', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-dri-drivers-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so()(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64', 'libLLVM-5.0-rhel.so(LLVM_5.0)(64bit) is needed by mesa-libxatracker-17.2.3-8.20171019.el7.x86_64']


Expected results:


Additional info:

Comment 2 Lubos Kocman 2018-04-18 13:56:42 UTC
When I check llvm in compose and buildroot, there is brand new build in compose which simply breaks repoclosure.

oot@rcm-compose-nightly-01:rhel7> brew list-tagged rhel-7.6-compose --latest --inherit | grep -i llvm
llvm-private-6.0.0-1.el7                  rhel-7.6-pending      tstellar
mesa-private-llvm-3.9.1-3.el7             rhel-7.4              cpaul
root@rcm-compose-nightly-01:rhel7> brew list-tagged rhel-7.6-build --latest --inherit | grep -i llvm
llvm-private-5.0.0-3.el7                  rhel-7.5              tstellar
mesa-private-llvm-3.9.1-3.el7             rhel-7.4              cpaul
root@rcm-compose-nightly-01:rhel7> 

lkocman@rcm-dev:~> rpm --provides -qp /mnt/redhat/brewroot/packages/llvm-private/6.0.0/1.el7/x86_64/llvm-private-6.0.0-1.el7.x86_64.rpm
libLLVM-6.0-rhel.so()(64bit)  
libLLVM-6.0-rhel.so(LLVM_6.0)(64bit)  
libclang.so.6()(64bit)  
libclang.so.6(LLVM_6.0)(64bit)  
libclangARCMigrate.so.6()(64bit)  
libclangAST.so.6()(64bit)  
libclangASTMatchers.so.6()(64bit)  
libclangAnalysis.so.6()(64bit)  
libclangBasic.so.6()(64bit)  
libclangCodeGen.so.6()(64bit)  
libclangCrossTU.so.6()(64bit)  
libclangDriver.so.6()(64bit)  
libclangDynamicASTMatchers.so.6()(64bit)  
libclangEdit.so.6()(64bit)  
libclangFormat.so.6()(64bit)  
libclangFrontend.so.6()(64bit)  
libclangFrontendTool.so.6()(64bit)  
libclangHandleCXX.so.6()(64bit)  
libclangIndex.so.6()(64bit)  
libclangLex.so.6()(64bit)  
libclangParse.so.6()(64bit)  
libclangRewrite.so.6()(64bit)  
libclangRewriteFrontend.so.6()(64bit)  
libclangSema.so.6()(64bit)  
libclangSerialization.so.6()(64bit)  
libclangStaticAnalyzerCheckers.so.6()(64bit)  
libclangStaticAnalyzerCore.so.6()(64bit)  
libclangStaticAnalyzerFrontend.so.6()(64bit)  
libclangTooling.so.6()(64bit)  
libclangToolingASTDiff.so.6()(64bit)  
libclangToolingCore.so.6()(64bit)  
libclangToolingRefactor.so.6()(64bit)  
llvm-private = 6.0.0-1.el7
llvm-private(x86-64) = 6.0.0-1.el7
lkocman@rcm-dev:~>

Comment 5 Adam Jackson 2018-04-18 17:17:47 UTC
Should be fixed by mesa-17.2.3-9.20171019.el7