Bug 1759532
| Summary: | devtoolset-9-ltrace fails to build with devtoolset-9-gcc if devtoolset-9-elfutils-devel is installed | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Developer Toolset | Reporter: | Edjunior Barbosa Machado <emachado> | ||||
| Component: | ltrace | Assignee: | DJ Delorie <dj> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Edjunior Barbosa Machado <emachado> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | DTS 9.0 RHEL 7 | CC: | mnewsome, tborcin | ||||
| Target Milestone: | alpha | Keywords: | Triaged | ||||
| Target Release: | 9.0 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | devtoolset-9-ltrace-0.7.91-2.el7 | Doc Type: | No Doc Update | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2020-05-26 06:07:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Needs 6ec3ae320790f1313629ce4f19614ccbb9648c75 from Fedora repo Verified that devtoolset-9-ltrace-0.7.91-2.el7.src.rpm rpmbuilds successfully using devtoolset-9-gcc-9.1.1-2.6.el7 even when devtoolset-9-elfutils-0.176-5.el7 is installed. (In reply to Edjunior Barbosa Machado from comment #5) > Verified that devtoolset-9-ltrace-0.7.91-2.el7.src.rpm rpmbuilds > successfully using devtoolset-9-gcc-9.1.1-2.6.el7 even when > devtoolset-9-elfutils-0.176-5.el7 is installed. I meant devtoolset-9-elfutils-devel-0.176-5.el7: # rpm -qa devtoolset-9-elfutils\* devtoolset-9-elfutils-0.176-5.el7.x86_64 devtoolset-9-elfutils-libelf-devel-0.176-5.el7.x86_64 devtoolset-9-elfutils-libs-0.176-5.el7.x86_64 devtoolset-9-elfutils-libelf-0.176-5.el7.x86_64 devtoolset-9-elfutils-devel-0.176-5.el7.x86_64 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:2269 |
Created attachment 1623507 [details] rpmbuild --rebuild devtoolset-9-ltrace-0.7.91-1.el7.src.rpm output Description of problem: devtoolset-9-ltrace fails to rpmbuild with devtoolset-9-gcc when devtoolset-9-elfutils-devel is installed. It builds successfully when using base gcc (with `export CC=/usr/bin/gcc`). Tested on rhel-7.7 and 7.8. Version-Release number of selected component (if applicable): devtoolset-9-ltrace-0.7.91-1.el7 devtoolset-9-gcc-9.1.1-2.4.el7 devtoolset-9-elfutils-devel-0.176-5.el7 How reproducible: 100% Steps to Reproduce: 1. scl enable devtoolset-9 -- rpmbuild --rebuild devtoolset-9-ltrace-0.7.91-1.el7.src.rpm Actual results: (...) libtool: compile: gcc -DHAVE_CONFIG_H -I. -DSYSCONFDIR=\"/opt/rh/devtoolset-9/root/etc\" -DPKGDATADIR=\"/opt/rh/devtoolset-9/root/usr/share/ltrace\" -I./sysdeps/linux-gnu/x86 -I./sysdeps/linux-gnu -I./sysdeps -I. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c output.c -fPIC -DPIC -o .libs/output.o In file included from /usr/include/stdio.h:937, from output.c:27: In function 'fprintf', inlined from 'frame_callback' at output.c:604:2: /usr/include/bits/stdio2.h:97:10: error: '%s' directive argument is null [-Werror=format-overflow=] 97 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 98 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ cc1: all warnings being treated as errors make[2]: *** [Makefile:695: output.lo] Error 1 make[2]: Leaving directory '/root/rpmbuild/BUILD/ltrace-0.7.91' make[1]: *** [Makefile:837: all-recursive] Error 1 make[1]: Leaving directory '/root/rpmbuild/BUILD/ltrace-0.7.91' make: *** [Makefile:516: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.0Sn31k (%build) RPM build errors: 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 bogus date in %changelog: Tue May 3 2006 Petr Machata <pmachata> - 0.4-1.5 bogus date in %changelog: Thu Aug 2 2000 Tim Waugh <twaugh> Bad exit status from /var/tmp/rpm-tmp.0Sn31k (%build) Expected results: successful build