IBM Support

IT42776: JOURNAL FILEPATH RPM PACKAGE IN RHEL 9.1 FAILS TO COMPILE DUE TO STDARG.H NOT FOUND ERROR

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • The following error occurs when compiling the IBM Spectrum
    Protect Client Filepath rpm package in a Linux RHEL 9.1 host:
    
    [root@hostxx jbb_gpl]#  make RELNUM=8.1.15.2
    $RH_VERSION_NUM is [9.1]
    Make Module:filepath Version:8.1.15.2 Flags:-g -U_FORTIFY_SOURCE
    -D_FORTIFY_SOURCE=0 -D_KERNEL -D__SMP__ -D_REENTRANT -D_x86_64
    -D_RH_VERSION_9_1
    make -C /lib/modules/5.14.0-162.6.1.el9_1.x86_64/build
    M=/tmp/tsm81152/jbb_gpl modules
    make[1]: Entering directory
    '/usr/src/kernels/5.14.0-162.6.1.el9_1.x86_64'
     CC [M]  /tmp/tsm81152/jbb_gpl/audit.o
    In file included from /tmp/tsm81152/jbb_gpl/jbb.h:63,
                    from /tmp/tsm81152/jbb_gpl/audit.c:69:
    /tmp/tsm81152/jbb_gpl/log.h:58:10: fatal error: stdarg.h: No
    such file or directory
      58 | #include <stdarg.h>
         |          ^~~~~~~~~~
    compilation terminated.
    make[2]: *** [scripts/Makefile.build:295:
    /tmp/tsm81152/jbb_gpl/audit.o] Error 1
    make[1]: *** [Makefile:1915: /tmp/tsm81152/jbb_gpl] Error 2
    make[1]: Leaving directory
    '/usr/src/kernels/5.14.0-162.6.1.el9_1.x86_64'
    make: *** [Makefile:60: module] Error 2
    
    It fails because the stdarg.h file can not be found in path.
    
    IBM Spectrum Protect Versions Affected: 8.1.15.2 and later on
    Linux RHEL 9.1
    Additional Keywords: TS011283870   jbb
    

Local fix

  • Edit the file log.h and adjust the line:
    from  #include <stdarg.h>
       to  #include <linux/stdarg.h>
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * IBM Spectrum Protect backup-archive client versions 8.1 on   *
    * all Linux platforms                                          *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * see ERROR DESCRIPTION                                        *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * Apply fixing level when available. This problem is currently *
    * projected to be fixed in IBM Spectrum Protect backup-archive *
    * client level 8.1.17.2 and 8.1.19.                            *
    * Note that this is subject to change at the discretion of     *
    * IBM.                                                         *
    ****************************************************************
    

Problem conclusion

  • The error 'fatal error: stdarg.h: No such file or directory'
    will not occur during building filepath from
    TIVsm-filepath-source.tar.gz.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT42776

  • Reported component name

    TSM CLIENT

  • Reported component ID

    5698ISMCL

  • Reported release

    81L

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-12-21

  • Closed date

    2023-03-15

  • Last modified date

    2023-03-15

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

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

Modules/Macros

  • jbb      filepath source.
    

Fix information

  • Fixed component name

    TSM CLIENT

  • Fixed component ID

    5698ISMCL

Applicable component levels

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"81L","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

Modified date:
15 March 2023