Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 1543 - linux-headers-2.4.19 breaks samba-2.2.3a-r2
Summary: linux-headers-2.4.19 breaks samba-2.2.3a-r2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Donny Davies (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-04-04 22:52 UTC by Jon Delheimer
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Delheimer 2002-04-04 22:52:49 UTC
Compiling smbd/quotas.c
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 .
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-04-04 23:49:35 UTC
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.
Comment 2 Maarten Stolte 2002-04-07 03:28:44 UTC
 would it be wise to turn of quotas untill this is fixed? Now noone can compile samba.. 
Comment 3 Maarten Stolte 2002-04-07 03:54:03 UTC
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. 
Comment 4 Donny Davies (RETIRED) gentoo-dev 2002-04-07 16:44:16 UTC
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.

Comment 5 Donny Davies (RETIRED) gentoo-dev 2002-04-08 22:38:32 UTC
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.