Public bug reported:

I'm using ubuntu focal 20.04.
the problem is with zfs header sources in ubuntu in /usr/include/libzfs/.

in zfs source code there is a header file:
"zfs/lib/libzfs/libzfs_impl.h" and there are includes to other .h files:

#include <sys/fs/zfs.h>
#include <sys/nvpair.h>
#include <sys/dmu.h>
#include <sys/zfs_ioctl.h> -> * problematic include
#include <regex.h>

#include <libuutil.h>
#include <libzfs.h>
#include <libshare.h>
#include <libzfs_core.h>

link:
https://github.com/openzfs/zfs/blob/master/lib/libzfs/libzfs_impl.h

seems like all the headers exist in ubuntu focal in /usr/include/libzfs/ but 
the .h file that don't exist in ubuntu focal is 
/usr/include/libzfs/sys/zfs_ioctl.h
This bug prevents me from generating code with header files with its 
dependencies because its dependencies not exist.

** Affects: zfs-linux (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
https://bugs.launchpad.net/bugs/1939201

Title:
  missing header files in /usr/include/libzfs

Status in zfs-linux package in Ubuntu:
  New

Bug description:
  I'm using ubuntu focal 20.04.
  the problem is with zfs header sources in ubuntu in /usr/include/libzfs/.

  in zfs source code there is a header file:
  "zfs/lib/libzfs/libzfs_impl.h" and there are includes to other .h
  files:

  #include <sys/fs/zfs.h>
  #include <sys/nvpair.h>
  #include <sys/dmu.h>
  #include <sys/zfs_ioctl.h> -> * problematic include
  #include <regex.h>

  #include <libuutil.h>
  #include <libzfs.h>
  #include <libshare.h>
  #include <libzfs_core.h>

  link:
  https://github.com/openzfs/zfs/blob/master/lib/libzfs/libzfs_impl.h

  seems like all the headers exist in ubuntu focal in /usr/include/libzfs/ but 
  the .h file that don't exist in ubuntu focal is 
/usr/include/libzfs/sys/zfs_ioctl.h
  This bug prevents me from generating code with header files with its 
dependencies because its dependencies not exist.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1939201/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to