Bug 773017
Summary: | kernel-rt-{debug,trace}-debuginfo conflicts against kernel-debuginfo | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | David Sommerseth <davids> |
Component: | realtime-kernel | Assignee: | Clark Williams <williams> |
Status: | CLOSED ERRATA | QA Contact: | Jiri Kastner <jkastner> |
Severity: | unspecified | Docs Contact: | |
Priority: | high | ||
Version: | 2.1 | CC: | bhu, jkacur, jkastner, lgoncalv, ovasik, williams |
Target Milestone: | 2.3 | ||
Target Release: | 2.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: devel packages contain two executable files: scripts/conmakehash and scripts/pnmtologo that are never changed between kernel variants and generate the same hash value for all variants.
Consequence: debuginfo conflicts occur on these files
Fix: remove these files from the -devel packages since they are not used in generation of kernel modules.
Result: No debuginfo conflicts
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2013-03-06 19:24:55 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Sommerseth
2012-01-10 17:01:45 UTC
Just clarifying, the conflict happens between these two packages: kernel-rt-trace-debuginfo kernel-debug-debuginfo Ok, can we please come up with a list of steps to reproduce this? It looks like you have to install the kernel-debuginfo stuff from a lookaside repo? There seem to be two files that cause conflicts: scripts/conmakehash scripts/pnmtologo Both are executables that are compiled when the BuildKernel macro is invoked. We Since the first comment from David, I've seen the conflict shift from the trace kernel to the vanilla kernel. I suspect we're hitting some corner-case in the debuginfo generation script. My solution so far is to go into the kernel-rt script, in the definition of the BuildKernel macro and add the following change: diff --git a/MRG/kernel-rt.spec b/MRG/kernel-rt.spec index de6b22a..8b7e88d 100644 --- a/MRG/kernel-rt.spec +++ b/MRG/kernel-rt.spec @@ -963,6 +963,11 @@ BuildKernel() { fi rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*.o rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/*/*.o + + # hack to remove .build-id conflict with RHEL kernel debuginfo + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/conmakehash + rm -f $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/scripts/pnmtologo + if [ -d arch/%{asmarch}/include ]; then cp -a --parents arch/%{asmarch}/include $RPM_BUILD_ROOT/lib/modules/$KernelVer/build/ fi Just build the kernel-rt-3.2.23-rt37.55.el6rt package and it seems to avoid the conflict issue. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0566.html |