-
Bug
-
Resolution: Done-Errata
-
Undefined
-
CentOS Stream 9
-
None
-
gcc-toolset-13-gcc-13.3.1-2.el9
-
None
-
None
-
1
-
rhel-sst-pt-gcc
-
ssg_platform_tools
-
16
-
18
-
1
-
False
-
-
No
-
CentOS Stream
-
GCC Sprint 6
-
Release Note Not Required
-
All
-
None
What were you trying to do that didn't work?
Rebuild the package from sources.
Please provide the package NVR for which bug is seen:
gcc-toolset-13-gcc-13.3.1-1.el9
How reproducible:
always.
Steps to reproduce
- try to build package in mock
Expected results
successful build
Actual results
Build fails on %install
Bug is this:
+ '[' /builddir/build/BUILDROOT/gcc-toolset-13-gcc-13.3.1-1.el9.x86_64/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13 -ne /builddir/build/BUILDROOT/gcc-toolset-13-gcc-13.3.1-1.el9.x86_64/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13 ']'
/var/tmp/rpm-tmp.s6Ksmv: line 363: [: /builddir/build/BUILDROOT/gcc-toolset-13-gcc-13.3.1-1.el9.x86_64/opt/rh/gcc-toolset-13/root/usr/lib/gcc/x86_64-redhat-linux/13: integer expression expected
Fix is simple:
-if [ $FULLLPATH -ne $FULLPATH ]; then
+if [ "$FULLLPATH" != "$FULLPATH" ]; then
- split to
-
RHEL-42697 [Dev] gcc.spec has syntax error in install section
- Closed
- links to
-
RHBA-2024:133151 gcc-toolset-13-gcc bug fix and enhancement update