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 1777813 - kexec-tools-2.0.20-6.el8 fails to rebuild as rhel-8.2.0-candidate
Summary: kexec-tools-2.0.20-6.el8 fails to rebuild as rhel-8.2.0-candidate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: kexec-tools
Version: 8.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: 8.2
Assignee: Pingfan Liu
QA Contact: Emma Wu
URL:
Whiteboard:
Depends On:
Blocks: 1732733
TreeView+ depends on / blocked
 
Reported: 2019-11-28 11:30 UTC by Kamil Dudka
Modified: 2020-04-28 16:43 UTC (History)
4 users (show)

Fixed In Version: kexec-tools-2.0.20-7.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-28 16:43:33 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2020:1783 0 None None None 2020-04-28 16:43:48 UTC

Description Kamil Dudka 2019-11-28 11:30:05 UTC
Description of problem:
kexec-tools-2.0.20-6.el8 was built against elfutils-0.176-5.el8, where libebl.a was provided by elfutils-devel.  This does not work with elfutils-0.178-2.el8 (currently tagged rhel-8.2.0-candidate), where it fails with:

cc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DVERSION='"1.6.6"' -DRELEASE_DATE='"27 Jun 2019"' -D__x86_64__  -DUSELZO -DUSESNAPPY -Wl,-z,relro  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld print_info.o dwarf_info.o elf_info.o erase_info.o sadump_info.o cache.o tools.o arch/arm.o arch/arm64.o arch/x86.o arch/x86_64.o arch/ia64.o arch/ppc64.o arch/s390x.o arch/ppc.o arch/sparc64.o -rdynamic -o makedumpfile makedumpfile.c -lpthread -lsnappy -llzo2 -ldw -lbz2 -lebl -ldl -lelf -lz 
/usr/bin/ld: cannot find -lebl
collect2: error: ld returned 1 exit status
make: Leaving directory '/builddir/build/BUILD/kexec-tools-2.0.20/makedumpfile-1.6.6'
make: *** [Makefile:92: makedumpfile] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.uzgXRE (%build)


Version-Release number of selected component (if applicable):
elfutils-0.178-2.el8
kexec-tools-2.0.20-6.el8


How reproducible:
Easily.


Steps to Reproduce:
1. brew build --scratch rhel-8.2.0-candidate git://pkgs.devel.redhat.com/rpms/kexec-tools?#8dd702e1fc8fc68b654e076a492072a8b1a271b1


Actual results:
The build fails:
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=25013281


Expected results:
The build succeeds.


Additional info:
This bug prevents Covscan from scanning kexec-tools automatically.

Note that it could be a bug (or unintended incompatibility) of elfutils that libebl.a suddenly disappeared from elfutils-devel.

Comment 2 Kamil Dudka 2019-11-29 09:07:42 UTC
I confirm kexec-tools-2.0.20-7.el8 builds fine.  Thanks for the quick fix!

Comment 5 errata-xmlrpc 2020-04-28 16:43:33 UTC
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.

https://access.redhat.com/errata/RHBA-2020:1783


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