smbd/quotas.c: In function `get_smb_linux_vfs_quota':
smbd/quotas.c:111: storage size of `D' isn't known
make: *** [smbd/quotas.o] Error 1
!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 34, Exitcode 2
!!! compile problem
!!! emerge aborting on /usr/portage/net-fs/samba/samba-2.2.3a-r2.ebuild .
Hey chipster -- can you look on the samba mailing lists and see if there is a
fix for this (for the kernel or samba itself?) I imagine that someone else in
the universe tried 2.4.19-pre2-ac4 with samba.
would it be wise to turn of quotas untill this is fixed? Now noone can compile samba..
I found that by altering smbd/quotas.c (in the samba source code), I could make samba compile successfully. In quotas.c: <BEGIN> /* * This shouldn't be neccessary - it should be /usr/include/sys/quota.h * Unfortunately, RH7.1 ships with a different quota system using struct mem_dqblk * rather than the struct dqblk defined in /usr/include/sys/quota.h. * This means we must include linux/quota.h to have a hope of working on * RH7.1 systems. And it also means this breaks if the kernel is upgraded * to a Linus 2.4.x (where x > the minor number shipped with RH7.1) until * Linus synchronises with the AC patches. Sometimes I *hate* Linux :-). JRA. */ #include <sys/quota.h> //#include <linux/quota.h> <END> By uncommenting the #include <linux/quota.h>, and instead telling it to use sys/quota.h, samba compiled correctly for me.
AFAIK, the acl stuff _is_ turned off by default in the ebuild.
Look at the use acl? lines in there.
At any rate, we've downgraded our kernel-headers to a more sane
version, so the SAMBA ebuild is the wrong place to fix this.
doh, you said quota, not acl. sorry i overlooked that ;)
at any rate, we've downgraded our kernel headers to a more sane
version, so this should now be fixed.
thanks for reporting.