[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#655865: FTBFS on kfreebsd-*: field 'export' has incomplete type



On Sun, 15 Jan 2012, Guillem Jover wrote:

On Sun, 2012-01-15 at 13:41:12 +0000, Robert Millan wrote:
El 14 de gener de 2012 19:17, Guillem Jover <guillem@debian.org> ha escrit:
This is a problem with the newer kfreebsd-kernel-headers, reassigning.

Actually it's not.  Upstream considers that users of some headers are
responsible for satisfying their dependencies.  I don't know if
there's a rule of thumb, but the missing include in
<isofs/cd9660/cd9660_mount.h> is clearly intentional.

Sure, the problem here though is that nowhere “struct oexport_args” is
defined. “struct export_args” is defined in <triplet>/sys/mount.h. So
I'd say either the member fields need a rename or the missing struct
needs to be reintroduced. This definitely seems to me like a problem
with kfreebsd-kernel-headers?

This is not entirely clear to me ... whereas upstream FreeBSD's sys/mount.h still has the oexport_args and my kFreeBSD devel box's sys/mount.h does not:
root@SUBROSIA:/tmp# dpkg -S /usr/include/sys/mount.h
libc0.1-dev: /usr/include/sys/mount.h

Indeed, kfreebsd-kernel-headers does not seem to provide any header of the name 'mount.h':
root@SUBROSIA:/tmp# dpkg -L kfreebsd-kernel-headers|grep mount
/usr/include/fs/cd9660/cd9660_mount.h
/usr/include/fs/hpfs/hpfsmount.h
/usr/include/fs/msdosfs/msdosfsmount.h
/usr/include/fs/ntfs/ntfsmount.h
/usr/include/fs/nwfs/nwfs_mount.h
/usr/include/fs/udf/udf_mount.h
/usr/include/nfsclient/nfsmount.h
/usr/include/ufs/ufs/ufsmount.h

I am not well-enough in-tune to development practices to know what relationship (if any) there is between libc and the kernel-headers, but perhaps it is libc that needs to be changed.

-Ben Kaduk

Reply to: