Open Source Development

Power Open Source Development

Explore the open source tools and capabilities for building and deploying modern applications on IBM Power platforms including AIX, IBM i, and Linux.


#Power


#Power

 View Only
  • 1.  After update of OpenSource on AIX with DNF i have a problem with IBM CPT tool

    Posted Wed October 26, 2022 04:35 AM

    Hello

    I got a problem on the AIX 7200-05-03-2148 where running CPT…. After update of OpenSource SW (there were some open CVE) with DNF tool I see now this error message when running CPT:

     

     

    root@rb3zf01(Si):/cpt/logs $ cat 20221025.R.stderr

    Error: package or namespace load failed for 'RColorBrewer':

     package 'RColorBrewer' was installed before R 4.0.0: please re-install it

    Execution halted

     

     So my guess after R Update with DNF something is missing and i couldnt find any RColorBrewer for ppc nor for ppcle 

    root@rb3zf01(Si):/cpt/logs $ rpm -qa|grep -i R-

    libXrender-0.9.8-3waixX11.ppc

    apr-1.7.0-1.ppc

    mpfr-4.1.0-1.ppc

    nspr-4.32-1.ppc

    R-4.1.2-1.ppc

    tar-1.33-1.ppc

    python3.9-tkinter-3.9.6-1.ppc

    libgpg-error-1.45-1.ppc

    apr-util-1.6.1-1.ppc

    R-devel-4.1.2-1.ppc

     

     

    I found a download page for RColorBrewer 1.1-3 from April 2022 but only for X86, ARM , Windows etc but bot for ppcle

     

    https://cran.r-project.org/web/packages/RColorBrewer/index.html

     

    Any idea ?

    Thx

    Vince

    Here rpm -qa output

    root@rb3zf01(Si):/ $ rpm -qa
    netcat-1.10-3.ppc
    cairo-1.14.6-2waixX11.ppc
    patch-2.7.6-1.ppc
    b315191014103506-001600231021-1.noarch
    fontconfig-2.11.95-4.ppc
    lzo-2.10-2.ppc
    lsof-4.89-1.ppc
    libXft-2.3.2-4waixX11.ppc
    sudo-1.9.5p2-1.ppc
    pcre-8.44-2.ppc
    libgcc-8-1.ppc
    libstdc++-8-1.ppc
    libgomp8-8.3.0-6.ppc
    libstdc++8-devel-8.3.0-6.ppc
    tcl-8.6.11-1.ppc
    libgfortran-8-1.ppc
    libXrender-0.9.8-3waixX11.ppc
    glib2-2.56.1-3.ppc
    readline-8.1-1.ppc
    gcc8-cpp-8.3.0-6.ppc
    gcc8-c++-8.3.0-6.ppc
    gcc-cpp-8-1.ppc
    p11-kit-0.23.22-1.ppc
    gcc-c++-8-1.ppc
    cpio-2.13-1.ppc
    popt-1.18-1.ppc
    tk-8.6.11-1.ppc
    lua-5.4.1-1.ppc
    libconfuse-3.2.2-2.ppc
    b315191014103506-001600311014-1.noarch
    libtextstyle-0.21-1.ppc
    xz-libs-5.2.5-1.ppc
    gdbm-1.23-1.ppc
    python3.9-3.9.6-1.ppc
    python3.9-idle-3.9.6-1.ppc
    python3.9-test-3.9.6-1.ppc
    AIX-rpm-7.2.5.101-33.ppc
    zlib-1.2.12-1.ppc
    libxml2-2.9.14-1.ppc
    expat-2.4.6-1.ppc
    gmp-6.2.1-1.ppc
    libsmartcols-2.34-100.ppc
    check-0.13.0-1.ppc
    libpng-1.6.37-1.ppc
    libyaml-0.2.5-1.ppc
    apr-1.7.0-1.ppc
    libksba-1.6.0-1.ppc
    nettle-3.7.3-1.ppc
    mpfr-4.1.0-1.ppc
    file-libs-5.41-1.ppc
    nspr-4.32-1.ppc
    python3-3.7.12-1.ppc
    krb5-libs-1.18.5-1.ppc
    openldap-2.4.58-3.ppc
    httpd-2.4.54-1.ppc
    pcre2-10.40-1.ppc
    libwebp-1.0.2-1.ppc
    curl-7.83.1-1.ppc
    libsolv-0.7.9-32_51.ppc
    gpgme-1.13.1-100.ppc
    libdnf-0.39.1-32_50.ppc
    python3-hawkey-0.39.1-32_50.ppc
    python3-dnf-4.2.17-32_50.ppc
    jbigkit-libs-2.1-1.ppc
    R-4.1.2-1.ppc
    dnf-automatic-4.2.17-32_50.ppc
    mod_ssl-2.4.54-1.ppc
    file-5.41-1.ppc
    harfbuzz-4.3.0-1.ppc
    vim-common-8.2.5172-1.ppc
    less-598-1.ppc
    ruby-2.7.5-1.ppc
    rsync_64-3.1.1-1.ppc
    deltarpm-3.6-1.ppc
    pixman-0.34.0-1.ppc
    unzip-64bit-6.0-5.ppc
    bzip2-1.0.8-2.ppc
    libidn-1.33-1.ppc
    libgcc8-8.3.0-6.ppc
    libstdc++8-8.3.0-6.ppc
    db-5.3.28-1.ppc
    libgomp-8-1.ppc
    libtasn1-4.16.0-1.ppc
    libgfortran8-8.3.0-6.ppc
    libjpeg-9d-1.ppc
    bash-5.1.4-2.ppc
    libunistring-0.9.10-1.ppc
    info-6.7-1.ppc
    sed-4.8-1.ppc
    gcc8-8.3.0-6.ppc
    gcc8-gfortran-8.3.0-6.ppc
    gcc-8-1.ppc
    p11-kit-tools-0.23.22-1.ppc
    pango-1.40.1-2waixX11.ppc
    gcc-gfortran-8-1.ppc
    readline-devel-8.1-1.ppc
    tar-1.33-1.ppc
    expect-5.45.4-2.ppc
    libstdc++-devel-8-1.ppc
    lynx-2.8.9-1ssl.ppc
    iperf-2.0.5-1.ppc
    libiconv-1.17-1.ppc
    gettext-0.21-1.ppc
    xz-5.2.5-1.ppc
    sqlite-3.37.2-1.ppc
    python3.9-tkinter-3.9.6-1.ppc
    python3.9-devel-3.9.6-1.ppc
    rpm-python3-4.15.1-32_1.ppc
    openssl-1.0.2u-1.ppc
    libgpg-error-1.45-1.ppc
    libzstd-1.5.2-1.ppc
    libffi-3.4.2-1.ppc
    libassuan-2.5.5-1.ppc
    json-c-0.15-2.ppc
    libgcrypt-1.9.4-1.ppc
    libssh2-1.10.0-1.ppc
    libmodulemd-1.5.2-100.ppc
    freetype2-2.12.1-1.ppc
    pinentry-1.0.0-1.ppc
    gnutls-3.7.2-1.ppc
    libcomps-0.1.11-100.ppc
    dnf-data-4.2.17-32_50.ppc
    ncurses-6.3-1.ppc
    python3-libcomps-0.1.11-100.ppc
    cyrus-sasl-2.1.28-1.ppc
    apr-util-1.6.1-1.ppc
    ca-certificates-2021.2.52-3.ppc
    npth-1.5-1.ppc
    libnghttp2-1.46.0-1.ppc
    zchunk-libs-1.1.4-101.ppc
    gnupg2-2.2.35-1.ppc
    librepo-1.11.0-100.ppc
    python3-libdnf-0.39.1-32_50.ppc
    python3-gpg-1.13.1-100.ppc
    dnf-4.2.17-32_50.ppc
    libtiff-4.4.0-1.ppc
    R-devel-4.1.2-1.ppc
    python3-librepo-1.11.0-100.ppc
    nss-3.74-1.ppc
    libmpc-1.2.1-1.ppc
    libyaml-devel-0.2.5-1.ppc
    pkg-config-0.29.2-2.ppc
    gzip-1.12-2.ppc
    root@rb3zf01(Si):/ $




    ------------------------------
    Vincencio Michaelis
    ------------------------------

    #AIXOpenSource


  • 2.  RE: After update of OpenSource on AIX with DNF i have a problem with IBM CPT tool

    Posted Wed October 26, 2022 06:03 AM
    Edited by Ayappan P Wed October 26, 2022 06:04 AM
    We updated R to a major version "4.1.2" from "3.6.3" in AIX Toolbox. 
    Probably RColorBrewer would have been installed using R 3.6.3 version. After R major version update, it's now complaining about it and asking to reinstall.
    You need to install it from the source (binaries as such won't be available for AIX) .

    ------------------------------
    Ayappan P
    ------------------------------



  • 3.  RE: After update of OpenSource on AIX with DNF i have a problem with IBM CPT tool

    Posted Wed October 26, 2022 07:38 AM
    so what do i need to do exactly ??? Need some help here pls

    ------------------------------
    Vincencio Michaelis
    ------------------------------



  • 4.  RE: After update of OpenSource on AIX with DNF i have a problem with IBM CPT tool

    Posted Wed October 26, 2022 07:51 AM
    found it...


    root@:/cpt/Rpackages $ R CMD INSTALL RColorBrewer_1.1-3.tar.gz
    * installing to library '/opt/freeware/lib64/R/library'
    * installing *source* package 'RColorBrewer' ...
    ** package 'RColorBrewer' successfully unpacked and MD5 sums checked
    ** using staged installation
    ** R
    ** inst
    ** byte-compile and prepare package for lazy loading
    ** help
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded from temporary location
    ** testing if installed package can be loaded from final location
    ** testing if installed package keeps a record of temporary installation path
    * DONE (RColorBrewer)
    root@rb3zf01(Si):/cpt/Rpackages


    wii test and see tomorrow

    ------------------------------
    Vincencio Michaelis
    ------------------------------