IBM Support

IJ34096: GENCOPY MAY COPY RPMS FROM WRONG SOURCE TO TARGET

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using gencopy to copy RPMs from different
    subdirectories some of them may get missed out.
    
    E.g. when the SOURCE contains
    
    ./SOURCE/RPMS/noarch/bash-completion-2.9-2.aix6.1.noarch.
    rpm
    ./SOURCE/RPMS/ppc/bash-5.0.18-1.aix6.1.ppc.rpm
    
    then only bash-completion-2.9-2.aix6.1.noarch.rpm will be
    copied to
    
    ./TARGET/RPMS/noarch/bash-completion-2.9-2.aix6.1.noarch.
    rpm
    
    but it will not copy bash-5.0.18-1.aix6.1.ppc.rpm to
    
    ./TARGET/RPMS/ppc/bash-5.0.18-1.aix6.1.ppc.rpm
    

Local fix

  • Manually copy the missing RPMs.
    

Problem summary

  • When using gencopy to copy RPMs from different subdirectories
    some of them may get missed out.
    E.g. When the SOURCE contains
    ./SOURCE/RPMS/noarch/bash-completion-2.9-2.aix6.1.noarch.rpm
    ./SOURCE/RPMS/ppc/bash-5.0.18-1.aix6.1.ppc.rpm
    
    Then only bash-completion-2.9-2.aix6.1.noarch.rpm will be
    copied to
    ./TARGET/RPMS/noarch/bash-completion-2.9-2.aix6.1.noarch.rpm
    but it will not copy bash-5.0.18-1.aix6.1.noarch.rpm to the
    TARGET directory
    

Problem conclusion

  • The pattern matching code that is used to check the RPM files
    to be copied does not match the unique filenames. The solution
    is to search with the exact filename
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ34096

  • Reported component name

    AIX V7.2

  • Reported component ID

    5765CD200

  • Reported release

    720

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Submitted date

    2021-07-26

  • Closed date

    2021-07-26

  • Last modified date

    2022-02-04

  • APAR is sysrouted FROM one or more of the following:

    IJ31238

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    AIX V7.2

  • Fixed component ID

    5765CD200

Applicable component levels

  • R720 PSY U888458

       UP22/02/04 I 1000

PTF to Fileset Mapping

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVEF8"},"Platform":[{"code":"PF053","label":"Power Systems"}],"Version":"720","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
05 February 2022