PM81701: Clearmake in GNU compatibility mode may not properly handle nested if/ifeq statements.

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as suggestion for future release.

Error description

  • When attemting to build software using the IBM Rational
    ClearCase 'clearmake' tool in GNU make emulation mode, complex
    conditional statements using the 'else ifeq' construct may not
    execute the correct makefile lines.
    
    Example makefile:
    --------------------
    NAME=abc
    
    ifeq ($(NAME),abc1)
    $(warning abc1)
    else ifeq ($(NAME),abc2)
    $(warning abc2)
    else ifeq ($(NAME),ABC)
    $(warning ABC)
    else ifeq ($(NAME),abc)
    $(warning abc)
    else
    $(warning unrecognised)
    endif
    --------------------
    
    In this makefile, GNU make 3.81 will report:
    makefile.conditionals:10: abc
    
    clearmake, however, will return
    makefile.conditionals:6: abc2
    
    in ANY condition where the NAME macro is not equal to 'abc1'
    
    There is no workaround at this time.
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • Thank you for your suggestion. IBM does not currently track
    enhancement requests for Rational products through APARs,
    but your request has been recorded in our internal
    enhancement tracking system.
    

APAR Information

  • APAR number

    PM81701

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    710

  • Status

    CLOSED SUG

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-30

  • Closed date

    2013-05-01

  • Last modified date

    2013-05-01

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

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

Fix information

Applicable component levels



Rate this page:

(0 users)Average rating

Document information


More support for:

Rational ClearCase

Software version:

7.1

Reference #:

PM81701

Modified date:

2013-05-01

Translate my page

Machine Translation

Content navigation