Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-61698

gcc-toolset-14-binutils-2.41-3.2.el9_2 removes /opt/rh/gcc-toolset-14/root/usr/bin/ld during installation

    • No
    • Moderate
    • 1
    • rhel-sst-pt-gcc
    • ssg_platform_tools
    • 3
    • False
    • Hide

      None

      Show
      None
    • No
    • GCC Sprint 12
    • Pass
    • gcc-toolset-14-binutils-2.41-3.4.el9_2
    • Automated
    • Unspecified Release Note Type - Unknown
    • All
    • None

      What were you trying to do that didn't work?

      The problem is the same as in https://issues.redhat.com/browse/RHEL-61575, after installation, /opt/rh/gcc-toolset-14/root/usr/bin/ld is missing. The issue was not reported by installability test, yet is definitely reproducible manually.
       

      [root@vm-10-0-186-201 ~]# dnf install https://download.devel.redhat.com/brewroot/vol/rhel-9/packages/gcc-toolset-14-binutils/2.41/3.2.el9_2/x86_64/gcc-toolset-14-binutils-2.41-3.2.el9_2.x86_64.rpm https://download.devel.redhat.com/brewroot/vol/rhel-9/packages/gcc-toolset-14-binutils/2.41/3.2.el9_2/x86_64/gcc-toolset-14-binutils-gold-2.41-3.2.el9_2.x86_64.rpm https://download.devel.redhat.com/brewroot/vol/rhel-9/packages/gcc-toolset-14-binutils/2.41/3.2.el9_2/x86_64/gcc-toolset-14-binutils-gprofng-2.41-3.2.el9_2.x86_64.rpm  https://download.devel.redhat.com/brewroot/vol/rhel-9/packages/gcc-toolset-14/14.0/1.el9_2/x86_64/gcc-toolset-14-runtime-14.0-1.el9_2.x86_64.rpm
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use subscription-manager to register.
      
      Last metadata expiration check: 0:00:16 ago on Tue 08 Oct 2024 02:54:29 AM EDT.
      gcc-toolset-14-binutils-2.41-3.2.el9_2.x86_64.rpm                                                                                                                                   50 MB/s | 6.2 MB     00:00    
      gcc-toolset-14-binutils-gold-2.41-3.2.el9_2.x86_64.rpm                                                                                                                             6.9 MB/s | 742 kB     00:00    
      gcc-toolset-14-binutils-gprofng-2.41-3.2.el9_2.x86_64.rpm                                                                                                                          5.3 MB/s | 539 kB     00:00    
      gcc-toolset-14-runtime-14.0-1.el9_2.x86_64.rpm                                                                                                                                     308 kB/s |  27 kB     00:00    
      Dependencies resolved.
      ===================================================================================================================================================================================================================
       Package                                                          Architecture                            Version                                            Repository                                       Size
      ===================================================================================================================================================================================================================
      Installing:
       gcc-toolset-14-binutils                                          x86_64                                  2.41-3.2.el9_2                                     @commandline                                    6.2 M
       gcc-toolset-14-binutils-gold                                     x86_64                                  2.41-3.2.el9_2                                     @commandline                                    742 k
       gcc-toolset-14-binutils-gprofng                                  x86_64                                  2.41-3.2.el9_2                                     @commandline                                    539 k
       gcc-toolset-14-runtime                                           x86_64                                  14.0-1.el9_2                                       @commandline                                     27 k
      Installing dependencies:
       environment-modules                                              x86_64                                  5.0.1-2.el9                                        rhel                                            496 k
       scl-utils                                                        x86_64                                  1:2.0.3-4.el9                                      rhel-AppStream                                   41 k
       tcl                                                              x86_64                                  1:8.6.10-7.el9                                     rhel                                            1.1 M
      
      Transaction Summary
      ===================================================================================================================================================================================================================
      Install  7 Packages
      
      Total size: 9.1 M
      Total download size: 1.6 M
      Installed size: 39 M
      Is this ok [y/N]: y
      Downloading Packages:
      (1/3): tcl-8.6.10-7.el9.x86_64.rpm                                                                                                                                                  47 MB/s | 1.1 MB     00:00    
      (2/3): scl-utils-2.0.3-4.el9.x86_64.rpm                                                                                                                                            1.4 MB/s |  41 kB     00:00    
      (3/3): environment-modules-5.0.1-2.el9.x86_64.rpm                                                                                                                                  6.4 MB/s | 496 kB     00:00    
      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Total                                                                                                                                                                               21 MB/s | 1.6 MB     00:00     
      Running transaction check
      Transaction check succeeded.
      Running transaction test
      Transaction test succeeded.
      Running transaction
        Preparing        :                                                                                                                                                                                           1/1 
        Installing       : tcl-1:8.6.10-7.el9.x86_64                                                                                                                                                                 1/7 
        Installing       : environment-modules-5.0.1-2.el9.x86_64                                                                                                                                                    2/7 
        Running scriptlet: environment-modules-5.0.1-2.el9.x86_64                                                                                                                                                    2/7 
        Installing       : scl-utils-1:2.0.3-4.el9.x86_64                                                                                                                                                            3/7 
        Installing       : gcc-toolset-14-runtime-14.0-1.el9_2.x86_64                                                                                                                                                4/7 
        Running scriptlet: gcc-toolset-14-runtime-14.0-1.el9_2.x86_64                                                                                                                                                4/7 
        Installing       : gcc-toolset-14-binutils-2.41-3.2.el9_2.x86_64                                                                                                                                             5/7 
        Running scriptlet: gcc-toolset-14-binutils-2.41-3.2.el9_2.x86_64                                                                                                                                             5/7 
      the primary link for ld must be /usr/bin/ld
      
        Installing       : gcc-toolset-14-binutils-gold-2.41-3.2.el9_2.x86_64                                                                                                                                        6/7 
        Running scriptlet: gcc-toolset-14-binutils-gold-2.41-3.2.el9_2.x86_64                                                                                                                                        6/7 
      the primary link for ld must be /usr/bin/ld
      
        Installing       : gcc-toolset-14-binutils-gprofng-2.41-3.2.el9_2.x86_64                                                                                                                                     7/7 
        Running scriptlet: gcc-toolset-14-binutils-gprofng-2.41-3.2.el9_2.x86_64                                                                                                                                     7/7 
        Verifying        : environment-modules-5.0.1-2.el9.x86_64                                                                                                                                                    1/7 
        Verifying        : tcl-1:8.6.10-7.el9.x86_64                                                                                                                                                                 2/7 
        Verifying        : scl-utils-1:2.0.3-4.el9.x86_64                                                                                                                                                            3/7 
        Verifying        : gcc-toolset-14-binutils-2.41-3.2.el9_2.x86_64                                                                                                                                             4/7 
        Verifying        : gcc-toolset-14-binutils-gold-2.41-3.2.el9_2.x86_64                                                                                                                                        5/7 
        Verifying        : gcc-toolset-14-binutils-gprofng-2.41-3.2.el9_2.x86_64                                                                                                                                     6/7 
        Verifying        : gcc-toolset-14-runtime-14.0-1.el9_2.x86_64                                                                                                                                                7/7 
      Installed products updated.
      
      Installed:
        environment-modules-5.0.1-2.el9.x86_64         gcc-toolset-14-binutils-2.41-3.2.el9_2.x86_64     gcc-toolset-14-binutils-gold-2.41-3.2.el9_2.x86_64     gcc-toolset-14-binutils-gprofng-2.41-3.2.el9_2.x86_64    
        gcc-toolset-14-runtime-14.0-1.el9_2.x86_64     scl-utils-1:2.0.3-4.el9.x86_64                    tcl-1:8.6.10-7.el9.x86_64                             
      
      Complete!
      [root@vm-10-0-186-201 ~]# ls -al /opt/rh/gcc-toolset-14/root/usr/bin
      total 8360
      dr-xr-xr-x.  2 root root    4096 Oct  8 02:54 .
      drwxr-xr-x. 13 root root     155 Oct  8 02:54 ..
      -rwxr-xr-x.  1 root root   32512 Oct  3 07:01 addr2line
      -rwxr-xr-x.  1 root root   57424 Oct  3 07:01 ar
      -rwxr-xr-x.  1 root root  719712 Oct  3 07:01 as
      -rwxr-xr-x.  1 root root   27832 Oct  3 07:01 c++filt
      -rwxr-xr-x.  1 root root  901312 Oct  3 07:01 dwp
      -rwxr-xr-x.  1 root root   36800 Oct  3 07:01 elfedit
      -rwxr-xr-x.  1 root root  140320 Oct  3 07:01 gp-archive
      -rwxr-xr-x.  1 root root  156496 Oct  3 07:01 gp-collect-app
      -rwxr-xr-x.  1 root root  592126 Oct  3 06:49 gp-display-html
      -rwxr-xr-x.  1 root root  131752 Oct  3 07:01 gp-display-src
      -rwxr-xr-x.  1 root root  260096 Oct  3 07:01 gp-display-text
      -rwxr-xr-x.  1 root root  103920 Oct  3 07:01 gprof
      -rwxr-xr-x.  1 root root  119224 Oct  3 07:01 gprofng
      -rwxr-xr-x.  1 root root 1222280 Oct  3 07:01 ld.bfd
      -rwxr-xr-x.  1 root root 2149280 Oct  3 07:01 ld.gold
      -rwxr-xr-x.  1 root root   45872 Oct  3 07:01 nm
      -rwxr-xr-x.  1 root root  194160 Oct  3 07:01 objcopy
      -rwxr-xr-x.  1 root root  464688 Oct  3 07:01 objdump
      -rwxr-xr-x.  1 root root   57424 Oct  3 07:01 ranlib
      -rwxr-xr-x.  1 root root  827504 Oct  3 07:01 readelf
      -rwxr-xr-x.  1 root root   32376 Oct  3 07:01 size
      -rwxr-xr-x.  1 root root   32496 Oct  3 07:01 strings
      -rwxr-xr-x.  1 root root  194160 Oct  3 07:01 strip
      -r-xr-xr-x.  1 root root    1158 Sep 23 14:36 sudo
      [root@vm-10-0-186-201 ~]# 
      

      Please provide the package NVR for which the bug is seen:

      gcc-toolset-14-binutils-2.41-3.2.el9_2

              mprchlik@redhat.com Milos Prchlik
              mprchlik@redhat.com Milos Prchlik
              Nick Clifton Nick Clifton
              Milos Prchlik Milos Prchlik
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: