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 1449935 - strace rebuild failure
Summary: strace rebuild failure
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: strace
Version: 7.4
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: DJ Delorie
QA Contact: Michal Kolar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-11 08:07 UTC by Michal Kolar
Modified: 2017-08-01 22:03 UTC (History)
3 users (show)

Fixed In Version: strace-4.12-4.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 22:03:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:2018 0 normal SHIPPED_LIVE strace bug fix update 2017-08-01 19:30:28 UTC

Description Michal Kolar 2017-05-11 08:07:25 UTC
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.

Comment 2 Michal Kolar 2017-05-15 07:42:16 UTC
Reproduced against strace-4.12-3.el7, kernel-3.10.0-663.el7 and verified against strace-4.12-4.el7.

Comment 3 errata-xmlrpc 2017-08-01 22:03:54 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-2017:2018


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