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

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

    • gcc-toolset-14-binutils-2.41-3.4.el9_4
    • No
    • Important
    • 2
    • rhel-sst-pt-gcc
    • ssg_platform_tools
    • 3
    • False
    • Hide

      None

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

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

       

      As reported by the installability test, ld is removed during installation of the RPM:

      dnf install https://download.devel.redhat.com/brewroot/vol/rhel-9/packages/gcc-toolset-14-binutils/2.41/3.2.el9_4/x86_64/gcc-toolset-14-binutils-2.41-3.2.el9_4.x86_64.rpm  https://download.devel.redhat.com/brewroot/vol/rhel-9/packages/gcc-toolset-14/14.0/1.el9_4/x86_64/gcc-toolset-14-runtime-14.0-1.el9_4.x86_64.rpm
      Updating Subscription Management repositories.
      Unable to read consumer identity
      
      This system is not registered with an entitlement server. You can use "rhc" or "subscription-manager" to register.
      
      Last metadata expiration check: 0:00:30 ago on Fri 04 Oct 2024 05:18:39 AM EDT.
      gcc-toolset-14-binutils-2.41-3.2.el9_4.x86_64.rpm                                                                                                                                   35 MB/s | 6.2 MB     00:00    
      gcc-toolset-14-runtime-14.0-1.el9_4.x86_64.rpm                                                                                                                                     5.2 kB/s |  27 kB     00:05    
      Dependencies resolved.
      ===================================================================================================================================================================================================================
       Package                                                    Architecture                              Version                                              Repository                                         Size
      ===================================================================================================================================================================================================================
      Installing:
       gcc-toolset-14-binutils                                    x86_64                                    2.41-3.2.el9_4                                       @commandline                                      6.2 M
       gcc-toolset-14-runtime                                     x86_64                                    14.0-1.el9_4                                         @commandline                                       27 k
      Installing dependencies:
       environment-modules                                        x86_64                                    5.3.0-1.el9                                          rhel                                              591 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  5 Packages
      
      Total size: 8.0 M
      Total download size: 1.7 M
      Installed size: 34 M
      Is this ok [y/N]: y
      Downloading Packages:
      (1/3): tcl-8.6.10-7.el9.x86_64.rpm                                                                                                                                                  35 MB/s | 1.1 MB     00:00    
      (2/3): scl-utils-2.0.3-4.el9.x86_64.rpm                                                                                                                                            1.2 MB/s |  41 kB     00:00    
      (3/3): environment-modules-5.3.0-1.el9.x86_64.rpm                                                                                                                                   11 MB/s | 591 kB     00:00    
      -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
      Total                                                                                                                                                                               32 MB/s | 1.7 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/5 
        Installing       : environment-modules-5.3.0-1.el9.x86_64                                                                                                                                                    2/5 
        Running scriptlet: environment-modules-5.3.0-1.el9.x86_64                                                                                                                                                    2/5 
        Installing       : scl-utils-1:2.0.3-4.el9.x86_64                                                                                                                                                            3/5 
        Installing       : gcc-toolset-14-runtime-14.0-1.el9_4.x86_64                                                                                                                                                4/5 
        Running scriptlet: gcc-toolset-14-runtime-14.0-1.el9_4.x86_64                                                                                                                                                4/5 
        Installing       : gcc-toolset-14-binutils-2.41-3.2.el9_4.x86_64                                                                                                                                             5/5 
        Running scriptlet: gcc-toolset-14-binutils-2.41-3.2.el9_4.x86_64                                                                                                                                             5/5 
      the primary link for ld must be /usr/bin/ld
      
        Verifying        : environment-modules-5.3.0-1.el9.x86_64                                                                                                                                                    1/5 
        Verifying        : tcl-1:8.6.10-7.el9.x86_64                                                                                                                                                                 2/5 
        Verifying        : scl-utils-1:2.0.3-4.el9.x86_64                                                                                                                                                            3/5 
        Verifying        : gcc-toolset-14-binutils-2.41-3.2.el9_4.x86_64                                                                                                                                             4/5 
        Verifying        : gcc-toolset-14-runtime-14.0-1.el9_4.x86_64                                                                                                                                                5/5 
      Installed products updated.
      
      Installed:
        environment-modules-5.3.0-1.el9.x86_64      gcc-toolset-14-binutils-2.41-3.2.el9_4.x86_64      gcc-toolset-14-runtime-14.0-1.el9_4.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-216 ~]# rpm --verify gcc-toolset-14-binutils-0:2.41-3.2.el9_4.x86_64
      missing     /opt/rh/gcc-toolset-14/root/usr/bin/ld
      [root@vm-10-0-186-216 ~]# ls -al /opt/rh/gcc-toolset-14/root/usr/bin/ld
      ls: cannot access '/opt/rh/gcc-toolset-14/root/usr/bin/ld': No such file or directory
      [root@vm-10-0-186-216 ~]# ls -al /opt/rh/gcc-toolset-14/root/usr/bin
      total 4880
      dr-xr-xr-x.  2 root root    4096 Oct  4 05:19 .
      drwxr-xr-x. 13 root root     155 Oct  4 05:19 ..
      -rwxr-xr-x.  1 root root   32688 Oct  3 06:59 addr2line
      -rwxr-xr-x.  1 root root   57600 Oct  3 06:59 ar
      -rwxr-xr-x.  1 root root  719920 Oct  3 06:59 as
      -rwxr-xr-x.  1 root root   28016 Oct  3 06:59 c++filt
      -rwxr-xr-x.  1 root root  901512 Oct  3 06:59 dwp
      -rwxr-xr-x.  1 root root   36984 Oct  3 06:59 elfedit
      -rwxr-xr-x.  1 root root  104080 Oct  3 06:59 gprof
      -rwxr-xr-x.  1 root root 1222472 Oct  3 06:59 ld.bfd
      -rwxr-xr-x.  1 root root   46056 Oct  3 06:59 nm
      -rwxr-xr-x.  1 root root  194360 Oct  3 06:59 objcopy
      -rwxr-xr-x.  1 root root  464904 Oct  3 06:59 objdump
      -rwxr-xr-x.  1 root root   57600 Oct  3 06:59 ranlib
      -rwxr-xr-x.  1 root root  827688 Oct  3 06:59 readelf
      -rwxr-xr-x.  1 root root   32560 Oct  3 06:59 size
      -rwxr-xr-x.  1 root root   32680 Oct  3 06:59 strings
      -rwxr-xr-x.  1 root root  194360 Oct  3 06:59 strip
      -r-xr-xr-x.  1 root root    1158 Sep 23 15:05 sudo
      

      See installability logs for more details: https://artifacts.osci.redhat.com/testing-farm/60d13e59-2f65-4a07-8380-f2354e721b37/work-installabilitypji77n20/installability/execute/data/guest/default-0/installability-2/data/viewer.html
      https://artifacts.osci.redhat.com/testing-farm/60d13e59-2f65-4a07-8380-f2354e721b37/work-installabilityqaql3lv4/installability/execute/data/guest/default-0/installability-2/data/viewer.html
       

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

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

              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:
              8 Start watching this issue

                Created:
                Updated:
                Resolved: