IBM Support

PH05219: CLEARMAKE SUN EMULATION FAILS WITH ERROR LOCATING /USR/INCLUDE/MAKE/DEFAULT.MK ON LINUX

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as Permanent restriction.

Error description

  • When performing a build using the IBM Rational ClearCase
    "clearmake" tool, attempting to use SUN make emulation on Linux
    will fail with a "file not found" error looking for
    /usr/include/make/default.mk, which does not exist on a Linux
    host.
    
    According to the clearmake man page, this is not the location
    that clearmake should default to:
                   |  * If you specify -r, clearmake reads
                    | ccase-home-dir/etc/sunvars.mk.
                    |  * If you do not specify -r, clearmake reads
                    | ccase-home-dir/etc/sunvars.mk and
                    | ccase-home-dir/etc/sunbuiltin.mk.
    

Local fix

  • Option 1) Create a directory named /usr/share/lib/make; Create a
    link named "make.rules" in that directory pointing back to
    ccase-home-dir/etc/sunbuiltin.mk.
    Option 2) Create a directory named /usr/include/make; Create a
    link named default.mk in that directory pointing back to
    ccase-home-dir/etc/sunbuiltin.mk.
    Option 3) Create an empty file named "default.mk" in the current
    directory.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of the ClearCase "clearmake" tool.                     *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When performing a build using the ClearCase "clearmake"      *
    * tool, attempting to use SUN make emulation on Linux will     *
    * fail with a "file not found" error looking for               *
    * /usr/include/make/default.mk, which does not exist on a      *
    * Linux host.                                                  *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Please use the '-r' command line option to clearmake
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH05219

  • Reported component name

    CLEARCASE WIN

  • Reported component ID

    5724G2900

  • Reported release

    901

  • Status

    CLOSED PRS

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-11-13

  • Closed date

    2019-04-11

  • Last modified date

    2019-04-11

  • 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":"901","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
11 April 2019