Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
DescriptionEdjunior Barbosa Machado
2018-07-11 11:43:06 UTC
Created attachment 1458051[details]
bison-3.0.4-1.el7.src.rpm rebuild log in rhel-7.6 x86_64
Description of problem:
bison-3.0.4-1.el7.src.rpm fails to build from source in rhel-7.6.
Adding gcc-c++ as BuildRequires seems to solve this problem.
Version-Release number of selected component (if applicable):
bison-3.0.4-1.el7.src.rpm
How reproducible:
100%
Steps to Reproduce:
1. yum-builddep -y bison-3.0.4-1.el7.src.rpm
2. rpmbuild --rebuild bison-3.0.4-1.el7.src.rpm
Actual results:
# rpmbuild --rebuild bison-3.0.4-1.el7.src.rpm
(...)
Making all in .
make[5]: Entering directory `/root/rpmbuild/BUILD/bison-3.0.4'
GEN doc/bison.help
make[5]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4'
make[4]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4'
./tests/testsuite -C tests
make[3]: *** [check-local] Error 77
make[3]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4'
make: *** [check] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.1AL4RW (%check)
RPM build errors:
bison-3.0.4-1.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
user mockbuild does not exist - using root
group mockbuild does not exist - using root
user mockbuild does not exist - using root
group mockbuild does not exist - using root
Bad exit status from /var/tmp/rpm-tmp.1AL4RW (%check)
Expected results:
Successful build
Additional info:
Comment 2Edjunior Barbosa Machado
2018-07-13 14:27:01 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-2018:3307
Created attachment 1458051 [details] bison-3.0.4-1.el7.src.rpm rebuild log in rhel-7.6 x86_64 Description of problem: bison-3.0.4-1.el7.src.rpm fails to build from source in rhel-7.6. Adding gcc-c++ as BuildRequires seems to solve this problem. Version-Release number of selected component (if applicable): bison-3.0.4-1.el7.src.rpm How reproducible: 100% Steps to Reproduce: 1. yum-builddep -y bison-3.0.4-1.el7.src.rpm 2. rpmbuild --rebuild bison-3.0.4-1.el7.src.rpm Actual results: # rpmbuild --rebuild bison-3.0.4-1.el7.src.rpm (...) Making all in . make[5]: Entering directory `/root/rpmbuild/BUILD/bison-3.0.4' GEN doc/bison.help make[5]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4' make[4]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4' ./tests/testsuite -C tests make[3]: *** [check-local] Error 77 make[3]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/root/rpmbuild/BUILD/bison-3.0.4' make: *** [check] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.1AL4RW (%check) RPM build errors: bison-3.0.4-1.el7.src.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY user mockbuild does not exist - using root group mockbuild does not exist - using root user mockbuild does not exist - using root group mockbuild does not exist - using root Bad exit status from /var/tmp/rpm-tmp.1AL4RW (%check) Expected results: Successful build Additional info: