IBM Support

PK59584: clearmake causes syntax error when using $(shell) gnumake function

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as user error.

Error description

  • Makefile2:
    MADE_WITH = $(shell echo made_with-MODEL=DEL)
    $(MADE_WITH):
            touch $(MADE_WITH)
    
    Results :
    clearmake -d -C gnu -f Makefile2
    ??? 12:29:28.442 (clearmake): Processing description file /usr/a
    tria/etc/gnubuiltinvars.mk
    ??? 12:29:28.447 (clearmake): Processing description file /usr/a
    tria/etc/gnubuiltin.mk
    ??? 12:29:28.454 (clearmake): Processing description file Makefi
    le2
    clearmake: Error: Syntax error in file Makefile2, line 3, column
     1
    syntax error
    clearmake: Error: Makefile Parser failed
    clearmake: Error: Parser failed
    ??? 12:29:28.462 (clearmake):
    ??? 12:29:28.462 (clearmake): # --- Active make-related environm
    ent variables ---
    ??? 12:29:28.463 (clearmake): # CCASE_MAKEFLAGS=d -C gnu
    
    
    gmake -f Makefile2
    touch made_with-MODEL=DEL
    

Local fix

Problem summary

Problem conclusion

Temporary fix

Comments

  • The $(shell...) is working fine, but using something like
    "a=b" in target is not supported in clearmake.
    

APAR Information

  • APAR number

    PK59584

  • Reported component name

    CLEARCASE UNIX

  • Reported component ID

    5724G2901

  • Reported release

    60L

  • Status

    CLOSED USE

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-01-18

  • Closed date

    2008-04-08

  • Last modified date

    2008-04-08

  • 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

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

Document Information

Modified date:
08 April 2008