-
Bug
-
Resolution: Done
-
Undefined
-
CentOS Stream 9
-
None
-
None
-
None
-
1
-
rhel-sst-pt-gcc
-
ssg_platform_tools
-
1
-
None
-
GCC Sprint 5
-
None
-
None
-
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 from
-
RHEL-40722 gcc.spec has syntax error in install section
- Closed