IBM Support

PI37361: ERROR REBUILDING MVFS ON UBUNTU WITH KERNEL 3.2.0-76.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When rebuilding or compiling IBM Rational ClearCase mvfs module
    on Ubuntu with kernel  3.2.0-76 the following compilation errors
    are seen:
    CC [M]
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.o
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c: In
    function vnode_dop_revalidate:
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: union <anonymous> has no member named d_child
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: initialization from incompatible pointer type
    [-Werror]
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: union <anonymous> has no member named d_child
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: union <anonymous> has no member named d_child
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: union <anonymous> has no member named d_child
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: union <anonymous> has no member named d_child
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:208:
    29: error: union <anonymous> has no member named d_child
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c: In
    function vnlayer_make_dcache:
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:526:
    14: error: struct dentry has no member named d_alias
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:526:
    14: error: initialization from incompatible pointer type
    [-Werror]
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:526:
    14: error: struct dentry has no member named d_alias
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c: In
    function mdki_finish_flush_dcache:
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:653:
    22: error: struct dentry has no member named d_alias
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:653:
    22: error: initialization from incompatible pointer type
    [-Werror]
    /var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.c:653:
    22: error: struct dentry has no member named d_alias
    cc1: all warnings being treated as errors
    make[2]: ***
    [/var/adm/rational/clearcase/mvfs/mvfs_src/mvfs_linux_dops.o]
    Error 1
    make[1]: *** [_module_/var/adm/rational/clearcase/mvfs/mvfs_src]
    Error 2
    
    WORKAROUND:
    None.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Ubuntu Linux 12.04 version patched to kernel        *
    * 3.2.0-76 or greater, or Ubuntu Linux 14.04 patched to kernel *
    * 3.13.0-46 or greater, installing or updating ClearCase.      *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * When installing ClearCase on Ubuntu 12.04 with kernel        *
    * 3.2.0-76 or greater, or Ubuntu 14.04 with kernel 3.13.0-46   *
    * or later, the local build of the ClearCase MVFS driver       *
    * module will fail.                                            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • ClearCase MVFS was modified so that it will compile correctly on
    Ubuntu 12.04 and 14.04 systems both with and without the
    referenced kernel patches.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI37361

  • Reported component name

    CC&CC MSITE WIN

  • Reported component ID

    5724G3300

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-03-19

  • Closed date

    2015-06-25

  • Last modified date

    2015-06-25

  • 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

    CC&CC MSITE WIN

  • Fixed component ID

    5724G3300

Applicable component levels

  • R800 PSY

       UP

  • R801 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSH3S","label":"Rational ClearCase MultiSite"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"801","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 October 2021