AIX Open Source

 View Only
Expand all | Collapse all

Facing errors on git client while running jenkins build on DNF installed AIX Server

  • 1.  Facing errors on git client while running jenkins build on DNF installed AIX Server

    Posted Fri March 01, 2024 11:25 AM

    We have installed coreutils package using DNF method (tried from local repo download method) before 1 week and application team validated the application and it was working fine without any issues. It seems this server is also a C++ Build server. Devops team is facing the below issue while running build in Jenkins on ftwaxdev007 server. please check the below errors and provide suggestions to resolve the issue.

    stderr: exec(): 0509-036 Cannot load program git because of the following errors:
      0509-150   Dependent module /usr/lib/libiconv.a(libiconv.so.2) could not be loaded.
      0509-152   Member libiconv.so.2 is not found in archive 

    Note : Devops team facing the above issue after our DNF installation; earlier it was working fine for them.

    Please find the below comments which we sent to app team after installing coreutils package from AIX toolbox local repo.

    We have monitored for more than 30 minutes and sshd is still in active state; not disconnected.

    Coreutils and its dependency packages gmp, info and string are installed on the server.

    Please use the below highlighted commands while trying to access coreutils and its related packages.

    hostname: # dnf search coreutils
    ksh: dnf:  not found
    hostname: # PATH=/usr/bin:/etc:/usr/sbin:/opt/freeware/bin:/usr/ucb:HOME/bin:/usr/bin/X11:/sbin:.
    hostname: # export PATH
    hostname: # ln -sf /usr/opt/rpm/lib/python3.7/site-packages/rpm /opt/freeware/lib/python3.7/site-packages/rpm
    hostname: # dnf search coreutils
    Failed to set locale, defaulting to C
    Last metadata expiration check: 0:23:40 ago on Thu Feb 22 09:27:10 2024.
    ==================================================== Name Exactly Matched: coreutils ====================================================
    coreutils.ppc : The GNU core utilities: a set of tools commonly used in shell scripts

    Bash also updated to the latest version:

    hostname: # bash -version | awk -F'[ (]' '/version/{print $4;exit}'
    5.1.16

    Centrify-sshd is working fine after installation of coreutils from DNF 

    hostname: # lssrc -s centrify-sshd
    Subsystem         Group            PID          Status
    centrify-sshd    tcpip            6750700      active
    hostname: #

    Coreutils and its dependency packages installation status

    hostname: # dnf install coreutils*
    Failed to set locale, defaulting to C
    Last metadata expiration check: 0:14:22 ago on Thu Feb 22 09:27:10 2024.
    Package coreutils-9.0-1.ppc is already installed.
    Dependencies resolved.
    Nothing to do.
    Complete!
    hostname: # dnf search gmp
    Failed to set locale, defaulting to C
    Last metadata expiration check: 0:16:32 ago on Thu Feb 22 09:27:10 2024.
    ======================================================= Name Exactly Matched: gmp =======================================================
    gmp.ppc : A GNU arbitrary precision library
    =========================================================== Name Matched: gmp ===========================================================
    gmp-devel.ppc : Development tools for the GNU MP arbitrary precision library
    hostname: # dnf search info
    Failed to set locale, defaulting to C
    Last metadata expiration check: 0:16:46 ago on Thu Feb 22 09:27:10 2024.
    ===================================================== Name & Summary Matched: info ======================================================
    info.ppc : A stand-alone TTY-based reader for GNU texinfo documentation.
    shared-mime-info.ppc : Shared MIME information database
    texinfo.ppc : Tools needed to create Texinfo format documentation files.
    ========================================================= Summary Matched: info =========================================================
    openCIMOM.noarch : The SNIA CIMOM (Common Information Model Object Manager)
    python3-distro.noarch : Linux Distribution - a Linux OS platform information API
    hostname: # dnf search string
    Failed to set locale, defaulting to C
    Last metadata expiration check: 0:17:15 ago on Thu Feb 22 09:27:10 2024.
    ==================================================== Name & Summary Matched: string =====================================================
    libunistring.ppc : GNU Unicode string library
    libunistring-devel.ppc : GNU Unicode string library - development files
    php-mbstring.ppc : A module for PHP applications which need multi-byte string handling
    ======================================================== Summary Matched: string ========================================================
    python-markupsafe.ppc : Implements a XML/HTML/XHTML Markup safe string for Python
    python3-markupsafe.ppc : Implements a XML/HTML/XHTML Markup safe string for Python
    hostname: #

    Regards

    Batcha Riaz Ahamed



    ------------------------------
    BATCHA RIAZ AHAMED S
    ------------------------------


  • 2.  RE: Facing errors on git client while running jenkins build on DNF installed AIX Server

    Posted Wed March 06, 2024 07:25 AM

    Are you using toolbox git package ?,if yes can you share 'rpm -qi git' info ? 



    ------------------------------
    Raghu Arava
    ------------------------------