Parallels Tools build fails under new kernel 4.11.3

Discussion in 'Linux Guest OS Discussion' started by Mark Fine, Jun 1, 2017.

  1. Mark Fine

    Mark Fine Bit Poster

    Messages:
    56
    Culprit is a prlfs_getattr in prl_fs/inode.c on lines 762, 783, and 800:

    CC [M] /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o
    /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:762:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
    .getattr = prlfs_getattr,
    ^~~~~~~~~~~~~
    /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:762:20: note: (near initialization for 'prlfs_file_iops.getattr')
    /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:783:20: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
    .getattr = prlfs_getattr,
    ^~~~~~~~~~~~~
    /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:783:20: note: (near initialization for 'prlfs_dir_iops.getattr')
    /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:800:14: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
    .getattr = prlfs_getattr,
    ^~~~~~~~~~~~~
    /var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.c:800:14: note: (near initialization for 'prlfs_symlink_iops.getattr')
    cc1: some warnings being treated as errors
    scripts/Makefile.build:294: recipe for target '/var/lib/dkms/parallels-tools/12.2.0.41591/build/prl_fs/SharedFolders/Guest/Linux/prl_fs/inode.o' failed

    prlfs_getattr in Tools is declared as:
    static int prlfs_getattr(struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
    getattr in 4.10.17 was declared as:
    int (*getattr) (struct vfsmount *mnt, struct dentry *, struct kstat *);
    (an exact match)

    new getattr in 4.11.3 is declared as:
    int (*getattr) (const struct path *, struct kstat *, u32, unsigned int);
    so, doesn't seem like this is a simple fix.

    Happy Thursday.
     
    Last edited: Jun 1, 2017
  2. rkulikov

    rkulikov Parallels Developers

    Messages:
    148
    Yep. Unfortunately 12.2.0 version supports Linux guest kernels up to 4.10.
     
  3. Christian_V_R_Lopes

    Christian_V_R_Lopes Bit Poster

    Messages:
    4
    Hi, I am a use of version 12.2.0 pro . I am also affected by this problem , please solve it as soon as possbile , I only use Parallels because I believe you guys are quick on this support .
     
  4. AlbertoP2

    AlbertoP2 Bit Poster

    Messages:
    7
    It's anoying this too-frequent problems with Fedora updates. I know Fedora and Linux evolves too quickly, but I think this is something a virtual platform should be aware and collaborate more deeply with OS providers. Also for me, it takes long time for solving this issues. Any clue about how long Parallels will take to release a patched version?
     

Share This Page