IBM Support

PI48787: USE OF VERTICAL BAR TO SPECIFY ORDER-ONLY PREREQUISITES CAUSES BUILD ERRORS IN CLEARMAKE'S GNU EMULATION

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • When attempting to perform a build using the IBM Rational
    ClearCase clearmake tool's GNU make emulation, the following
    error may occur if the makefile uses the "Vertical bar"/pipe
    character in the dependency list to specify an order-only
    dependency:
    clearmake: Warning: Cycle in dependency graph?
    clearmake: Warning: "|" was already seen.
    clearmake: Error:  Don't know how to make "before". Stop.
    
    Makefile used for the above error:
    OBJS=obj1 obj2
    
    all: $(OBJS)
    
    $(OBJS): | before
    
    obj%: src%
            @echo building obj $@
    
    src%:
            @echo building src $@
    
    before:
            @echo building $@
    
    Order-only dependencies are explicitly listed as supported in
    the makefile_gnu man page.
    Order-only dependencies are defined in
    https://www.gnu.org/software/make/manual/html_node/Prerequisite-
    Types.html
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of ClearCase clearmake GNU emulation mode.             *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * ClearCase clearmake tool's GNU make emulation, may fail if   *
    * the makefile uses the "Vertical bar"/pipe character in the   *
    * dependency list to specify an order-only dependency.         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Please avoid use of "Vertical bar"/pipe character in the
    dependency list to specify an order-only dependency.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI48787

  • Reported component name

    CC&CC MSITE WIN

  • Reported component ID

    5724G3300

  • Reported release

    801

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2015-09-15

  • Closed date

    2021-07-16

  • Last modified date

    2021-07-16

  • 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":"BU048","label":"IBM Software"},"Product":{"code":"SSSH3S","label":"Rational ClearCase MultiSite"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"801","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Document Information

Modified date:
18 March 2025