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.
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-2017:2018
Description of problem: strace-4.12-3.el7 can not be built on RHEL7.4 kernel-3.10.0-663.el7. This affect all archs except aarch64 which has different kernel. Version-Release number of selected component (if applicable): kernel-3.10.0-663.el7, kernel-4.5.0-15.4.2.el7.aarch64, strace-4.12-3.el7 How reproducible: always Steps to Reproduce: rpmbuild -bc strace.spec Actual results: rpmbuild log from x86_64 ======== [ ... ] gcc -DHAVE_CONFIG_H -I./linux/x86_64 -I./linux/x86_64 -I./linux -I./linux -I. -I. -DIN_MPERS -DMPERS_IS_m32 -I./mpers-m32 -Wall -Wwrite-strings -Wsign-compare -fno-strict-aliasing -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -mtune=generic -c -o libmpers_m32_a-btrfs.o `test -f 'btrfs.c' || echo './'`btrfs.c btrfs.c:68:8: error: redefinition of 'struct btrfs_ioctl_defrag_range_args' struct btrfs_ioctl_defrag_range_args { ^ In file included from btrfs.c:36:0: /usr/include/linux/btrfs.h:495:8: note: originally defined here struct btrfs_ioctl_defrag_range_args { ^ make[2]: *** [libmpers_m32_a-btrfs.o] Error 1 make[2]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/rpmbuild/BUILD/strace-4.12' make: *** [all] Error 2 rm ioctls_all0.h ioctlsort2.o ioctlsort0 ioctls_all1.h ioctlsort2 ioctls_all2.h ioctlsort1.o ioctlsort1 ioctlsort0.o error: Bad exit status from /var/tmp/rpm-tmp.q0reqi (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.q0reqi (%build) ======== Expected results: Successful completion of 'rpmbuild' command without error. Additional info: Build is successful on RHEL7.3 kernel-3.10.0-514.el7.