IBM Support

PH05225: CLEARMAKE SUN EMULATION FAILS WITH "UNABLE TO COMPUTE ACTUAL BUILD SCRIPT" WHEN EXECUTING SAME SHELL-REQUIRED MACRO TWICE.

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

  • When executing a build script line that directly, and
    indirectly, calls the same shell macro, clearmake may fail to
    properly execute the second invocation of the macro.
    
    >>> 09:25:42.822 (clearmake_17649_host): Shell Command is :
    dirname dir1/makefile1>>> 09:25:42.824 (clearmake_17649_host):
    Cmd exit status = 0, errno = 0
    >>> 09:25:42.824 (clearmake_17649_host): Shell Command is :
    dirname dir1/makefile1>>> 09:25:42.827 (clearmake_17649_host):
    Cmd exit status = -1, errno = 10
    clearmake_17649_host: Error: Command "makefile1" returned status
    -1
    clearmake_17649_host: Error: Unable to compute actual build
    script for "dir1/dir2/target1.o"
    
    The buildscript line is:
    
     $(CC) $(INCLUDES) -DTSTCASE=$(TESTCASE_DIRNAME) -c -o $@ $<
    
    INCLUDES is defined as:
    
    INCLUDES=-i$(TESTCASE_DIRNAME}
    
    TESTCASE_DIRNAME is defined as:
    FIND_MAKEFILE_SCRIPT=dirname $(MAKEFILE)
    TESTCASE_DIRNAME=$(FIND_MAKEFILE_SCRIPT:sh)
    
    Build script line processes, we appear to process $(INCLUDES) ,
    which includes a call to $(TESTCASE_DIRNAME), and we then
    process that macro explicitly in the next part. One of these
    call fails, and the other succeeds.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of ClearCase local parallel builds.                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Under some circumstances when a ClearCase local parallel     *
    * build was performed, clearmake would not get signaled that   *
    * the command completed, and the results were not detected.    *
    * This caused the build to fail with a very inaccurate error   *
    * message.                                                     *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • A fix is available in ClearCase version 9.0.1.8
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH05225

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    901

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-13

  • Closed date

    2019-09-23

  • Last modified date

    2019-09-23

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

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

Fix information

  • Fixed component name

    CLEARCASE WIN

  • Fixed component ID

    5724G2900

Applicable component levels

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"901","Edition":"","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
23 September 2019