devtoolset-3-binutils SRPM creates different named RPM
Posted: 2017/11/15 13:35:52
I'm running CentOS 6.9 on i386/i686 (32-bit) and I'm building some of the devtoolset-3 packages located in the valt.centos.org site, since the devtoolset-3 packages are not prebuilt for i386/i686.
when I run rpmbuild --rebuild devtoolset-3-binutils-2.24-18.el6.src.rpm, it successfully builds the SRPM and generates three RPM files named: binutils-2.24-18.el6.i686.rpm, binutils-debuginfo-2.24-18.el6.i686.rpm, and binutils-devel-2.24-18.el6.i686.rpm. The problem is that when I try to build other devtool-3 packages (like devtoolset-3-gcc-4.9.2-6.2.el6.src.rpm), it fails because it needs devtoolset-3-binutils >= 2.22.52.0.1 to compile.
For some reason, when I build devtoolset-3-binutils-2.24-18.el6.src.rpm it builds and names the RPM files starting with binutils-2.24 and not devtoolset-3-binutils-2.24. I've built some of the other devtoolset-3 SRPM files and they successfully build to devtoolset-3 named RPM files (for example, devtoolset-3-3.1-12.el6.src.rpm successfully built to the devtoolset-3-3.1-12.el6.i686.rpm file). I also looked at the mirror.centos.org for CentOS 6.9 for x86_64, and there are prebuilt RPMs for devtoolset-3 binutils (devtoolset-3-binutils-2.24-18.el6.x86_64.rpm). This suggests to me that there is a way to build this package for the devtoolset-3 group.
Bottom line is, how to I correctly build devtoolset-3-binutils-2.24-18.el6.src.rpm so that it creates the devtoolset-3 named RPM files? Any info/help is greatly appreciated.
when I run rpmbuild --rebuild devtoolset-3-binutils-2.24-18.el6.src.rpm, it successfully builds the SRPM and generates three RPM files named: binutils-2.24-18.el6.i686.rpm, binutils-debuginfo-2.24-18.el6.i686.rpm, and binutils-devel-2.24-18.el6.i686.rpm. The problem is that when I try to build other devtool-3 packages (like devtoolset-3-gcc-4.9.2-6.2.el6.src.rpm), it fails because it needs devtoolset-3-binutils >= 2.22.52.0.1 to compile.
For some reason, when I build devtoolset-3-binutils-2.24-18.el6.src.rpm it builds and names the RPM files starting with binutils-2.24 and not devtoolset-3-binutils-2.24. I've built some of the other devtoolset-3 SRPM files and they successfully build to devtoolset-3 named RPM files (for example, devtoolset-3-3.1-12.el6.src.rpm successfully built to the devtoolset-3-3.1-12.el6.i686.rpm file). I also looked at the mirror.centos.org for CentOS 6.9 for x86_64, and there are prebuilt RPMs for devtoolset-3 binutils (devtoolset-3-binutils-2.24-18.el6.x86_64.rpm). This suggests to me that there is a way to build this package for the devtoolset-3 group.
Bottom line is, how to I correctly build devtoolset-3-binutils-2.24-18.el6.src.rpm so that it creates the devtoolset-3 named RPM files? Any info/help is greatly appreciated.