RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1743574 - Broken cmake file in llvm-devel
Summary: Broken cmake file in llvm-devel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: llvm
Version: 8.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Tom Stellard
QA Contact: qe-baseos-tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-20 08:57 UTC by Mattias Ellert
Modified: 2021-09-17 08:42 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-24 13:46:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
This patch is from the Fedora 29 llvm sorce rpm. (3.29 KB, application/mbox)
2019-08-20 08:57 UTC, Mattias Ellert
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-33180 0 None None None 2021-09-17 08:42:04 UTC

Description Mattias Ellert 2019-08-20 08:57:04 UTC
Created attachment 1606022 [details]
This patch is from the Fedora 29 llvm sorce rpm.

Description of problem:

/usr/bin/cmake [...] -DLLVM_LINK_LLVM_DYLIB:BOOL=ON [...] .
BUILDSTDERR: CMake Error at /usr/lib64/cmake/llvm/LLVMStaticExports.cmake:832 (message):
BUILDSTDERR:   The imported target "LLVMDemangle" references the file
BUILDSTDERR:      "/usr/lib64/libLLVMDemangle.a"
BUILDSTDERR:   but this file does not exist.  Possible reasons include:
BUILDSTDERR:   * The file was deleted, renamed, or moved to another location.
BUILDSTDERR:   * An install or uninstall procedure did not complete successfully.
BUILDSTDERR:   * The installation package was faulty and contained
BUILDSTDERR:      "/usr/lib64/cmake/llvm/LLVMStaticExports.cmake"
BUILDSTDERR:   but not all the files it references.
BUILDSTDERR: Call Stack (most recent call first):
BUILDSTDERR:   /usr/lib64/cmake/llvm/LLVMConfig.cmake:202 (include)
BUILDSTDERR:   /usr/lib64/cmake/clang/ClangConfig.cmake:10 (find_package)
BUILDSTDERR:   CMakeLists.txt:87 (find_package)
-- Configuring incomplete, errors occurred!

llvm-static should not be necessary to have installed when using -DLLVM_LINK_LLVM_DYLIB:BOOL=ON. It is not necessary when doing the same thing on Fedora.

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

llvm-devel-7.0.1-3.module+el8.0.0+3181+ec021930

How reproducible:

Always

Steps to Reproduce:
1. Try rebuilding the castxml srpm from Fedora in EPEL 8

Actual results:

Error as above.

Expected results:

No error.

Additional info:

Fedora rawhide has llvm 8.0, but fedora 29 has llvm 7.0.1 which is the same version as in RHEL 8 and it works there too, so it is not a version 7 vs 8 thing.

Comment 5 Martin Cermak 2020-01-24 13:38:30 UTC
> Steps to Reproduce:
> 1. Try rebuilding the castxml srpm from Fedora in EPEL 8

https://koji.fedoraproject.org/koji/taskinfo?taskID=40962676


Note You need to log in before you can comment on or make changes to this bug.