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.  AIX 7.2 power 7 yum install 'golang'

    Posted Wed July 22, 2020 01:42 AM
    I was asked to install 'golang' on a power7 LPAR running aix 7.2 with yum configured.

    I am getting the follow and have no clue as to how to address.

    Here is the complete install run:

    u060etla801:/>yum install golang
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package golang.ppc 0:1.14.2-1 will be installed
    --> Processing Dependency: golang-bin = 1.14.2-1 for package: golang-1.14.2-1.ppc
    --> Processing Dependency: golang-src = 1.14.2-1 for package: golang-1.14.2-1.ppc
    --> Running transaction check
    ---> Package golang-bin.ppc 0:1.14.2-1 will be installed
    --> Processing Dependency: diffutils for package: golang-bin-1.14.2-1.ppc
    ---> Package golang-src.noarch 0:1.14.2-1 will be installed
    --> Running transaction check
    ---> Package diffutils.ppc 0:3.6-2 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ================================================================================
    Package Arch Version Repository Size
    ================================================================================
    Installing:
    golang ppc 1.14.2-1 AIX_Toolbox_72 1.1 M
    Installing for dependencies:
    diffutils ppc 3.6-2 AIX_Toolbox 1.2 M
    golang-bin ppc 1.14.2-1 AIX_Toolbox_72 106 M
    golang-src noarch 1.14.2-1 AIX_Toolbox_noarch 10 M

    Transaction Summary
    ================================================================================
    Install 4 Packages

    Total download size: 118 M
    Installed size: 416 M
    Is this ok [y/N]: y
    Downloading Packages:
    (1/4): diffutils-3.6-2.aix6.1.ppc.rpm | 1.2 MB 00:00
    (2/4): golang-1.14.2-1.aix7.2.ppc.rpm | 1.1 MB 00:00
    (3/4): golang-bin-1.14.2-1.aix7.2.ppc.rpm | 106 MB 00:02
    (4/4): golang-src-1.14.2-1.aix7.2.noarch.rpm | 10 MB 00:00
    --------------------------------------------------------------------------------
    Total 36 MB/s | 118 MB 00:03
    Running Transaction Check
    Running Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing : golang-src-1.14.2-1.noarch 1/4
    Installing : diffutils-3.6-2.ppc 2/4
    Error in PREIN scriptlet in rpm package golang-1.14.2-1.ppc
    This rpm won't work with Power 7 compatibiliy mode.
    prtconf:
    Processor Version: PV_7_Compat
    error: %prein(golang-1.14.2-1.ppc) scriptlet failed, exit status 1
    Installing : golang-bin-1.14.2-1.ppc 4/4
    error: golang-1.14.2-1.ppc: install failed

    Dependency Installed:
    diffutils.ppc 0:3.6-2 golang-bin.ppc 0:1.14.2-1 golang-src.noarch 0:1.14.2-1

    Failed:
    golang.ppc 0:1.14.2-1

    Complete!

    ------------------------------
    Thanks,
    Brian
    ------------------------------

    #AIXOpenSource


  • 2.  RE: AIX 7.2 power 7 yum install 'golang'

    Posted Wed July 22, 2020 01:47 AM
    golang support is from Power8. 
    We have the check in Pre-install script as you can see in the error shown up.

    Installing : diffutils-3.6-2.ppc 2/4
    Error in PREIN scriptlet in rpm package golang-1.14.2-1.ppc
    This rpm won't work with Power 7 compatibiliy mode.
    prtconf:
    Processor Version: PV_7_Compat

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



  • 3.  RE: AIX 7.2 power 7 yum install 'golang'

    Posted Wed July 22, 2020 01:55 AM
    gcc-go supports Power7. May be you can try that

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