Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100847 - net-fs/davfs2 0.2.4 src/davfsd.c:63: error: structure has no member named `uid'
Summary: net-fs/davfs2 0.2.4 src/davfsd.c:63: error: structure has no member named `uid'
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-30 15:41 UTC by Hans-Christian Armingeon
Modified: 2005-10-08 08:20 UTC (History)
2 users (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 Hans-Christian Armingeon 2005-07-30 15:41:05 UTC
configure: creating ./config.status                                                                                                                                     
config.status: creating Makefile  
config.status: creating config.h  
                                                                                                                                                                        
Using configuration for building DAVFS2 0.2.4:  
  
  Install prefix:  /usr  
  Compiler:        i686-pc-linux-gnu-gcc  
  neon library:    library in /usr (neon 0.24.7)  
  XML parser:      using whatever neon uses  
  SSL library:     supported by neon  
  
Now run 'make' to compile DAVFS2  
  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H   
-I/var/tmp/portage/davfs2-0.2.4/work/davfs2-0.2.4 -I./lib  -I./src   
-I/usr/src/linux/include -m32 -O3 -mtune=athlon-4 -fomit-fra  
me-pointer -funroll-loops -pipe -mmmx -I/usr/include/neon -DNEON_ZLIB  
-DNEON_SSL -DSYSCONFDIR=\"/etc/davfs2\" -DSTATEDIR=\"/var/run/mount.davfs\" -c  
src/davfsd.c -o sr  
c/davfsd.o  
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H   
-I/var/tmp/portage/davfs2-0.2.4/work/davfs2-0.2.4 -I./lib  -I./src   
-I/usr/src/linux/include -m32 -O3 -mtune=athlon-4 -fomit-fra  
me-pointer -funroll-loops -pipe -mmmx -I/usr/include/neon -DNEON_ZLIB  
-DNEON_SSL -DSYSCONFDIR=\"/etc/davfs2\" -DSTATEDIR=\"/var/run/mount.davfs\" -c  
src/util.c -o src/  
util.o  
src/davfsd.c: In function `dav_has_permission':  
src/davfsd.c:63: error: structure has no member named `uid'  
src/davfsd.c:63: error: structure has no member named `uid'  
make: *** [src/davfsd.o] Error 1  
make: *** Waiting for unfinished jobs....  
  
!!! ERROR: net-fs/davfs2-0.2.4 failed.  
!!! Function src_compile, Line 46, Exitcode 2  
!!! emake failed  
!!! If you need support, post the topmost build error, NOT this status message.  
  
 
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 
2.6.12-gentoo-r4 i686) 
================================================================= 
System uname: 2.6.12-gentoo-r4 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.6.13 
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.4 [enabled] 
dev-lang/python:     2.3.5, 2.4.1-r1 
sys-apps/sandbox:    1.2.11 
sys-devel/autoconf:  2.13, 2.59-r7 
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r9, 2.16-r1, 2.16.1 
sys-devel/libtool:   1.5.18-r1 
virtual/os-headers:  2.6.11-r2 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CBUILD="i686-pc-linux-gnu" 
CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe 
-mmmx" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/glftpd/ftp-data /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" 
CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe 
-mmmx" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict" 
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.uni-erlangen.de/pub/mirrors/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 16bit 3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility 
accounting acl acpi activefilter ada adns afs aim aliaschain alsa amuled ao 
apache2 apm applet ares arts artswrappersuid artworkextra asterisk async athena 
atm auctex audiofile authdaemond avantgo avi bash-completion bcmath berkdb bidi 
bind-mysql bl blas blender-game bluetooth bmp bonobo bootsplash boundchecking 
bri brltty buffysize bzip2 bzlib c++ cairo calendar callbacks camaelon caps 
cdda cddb cdio cdparanoia cdr cgi chasen chroot clearcase clearpasswd clisp 
cmucl cnamefix codecs corba cpdflib cpudetection crypt cscope css ctype cups 
curl curlwrappers customlog daap dbase dbm dbus dbx dedicated devfs26 devmap 
dga dhcp dio directfb divx4linux djbfft dlloader dlz dpms drac dts dv dvb dvd 
dvdr dvdread dynagraph edirectory edl eds elf emacs emboss encode erandom esd 
ethereal evo examples exif extensions extras f77 faac faad fam fame fastcgi fax 
fb fbcon fbdev festival ffcall ffmpeg fftw filepro firebird firefox flac flash 
flatfile flexresp flood floppy-boot floppyboot floppyd florz fltk fluidsynth 
font-server foomaticdb fortran fping fpx frascend freetts freetype frlargefiles 
frxp ftp fwdzone gb gcc-libffi gcj gd gd-external gdbm geoip ggi gif gimpprint 
ginac glitz glut gnokii gnome gnome-print gnomedb gnutls gphoto2 gpm gps 
graphviz gsl gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal haskell howl httpd 
hub ibm iconv icq icu idea idled idn ieee1394 imagemagic imagemagick imap imlib 
imlib2 immqt inetd inifile inkjar inline innodb insecure-drivers intl ipalias 
ipv6 irda irmc isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit 
jks jms john joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal 
kdexdeltas kerberos kig-scripting koffice-plugin kqemu krb4 ladcca ladspa 
large-domain latex lcd lcms ldap ldb leim lesstif libcaca libclamav libg++ 
libgda libsamplerate libwww lirc live lm_sensors logitech-mouse logrotate lua 
lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska matrox mbox 
mbrola mcal mcve md5sum mecab memlimit messages mgetty mhash mikmod mime ming 
mjpeg mmap mmx mmx2 mmxext mng mod modelock motif mozcalendar mozdevelop 
mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mplayer mppe-mppc msn mule 
multicall multipleip multiprocess multislot multitarget musepack musicbrainz 
mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses 
neXt netboot netcdf nethack network neural new-login nfs nis nls nntp 
non-flattened nptl nptlonly nsplugin oav objc odbc offensive ofx ogg oggvorbis 
openexr opengl osc oscar oss pam pam_chroot pam_console pam_timestamp pascal 
pcap pcapnav pccts pcmcia pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier 
pg-intdatetime pg-vacuumdelay php physfs pic plotutils plugin png pnp portaudio 
posix postfix postgres povray ppds prelude pri procmail profile pvm pwdb 
pxeserial pyste python qemu-fast qhull qt quicktime quotas radius rar rdesktop 
readline real remote resperl rhino roundrobin rpm rrdtool rtc ruby samba sample 
sasl sblive scanner screen sdk sdl semanticfix sendfile serial server session 
sftplogging sguil shaper shared sharedmem silc simplexml skey slang slp 
smartcard smime smp sms smtp smux sndfile snmp snortsam soap sockets socks5 
softmmu softquota soundtouch sox spamassassin speex spell spl sql sqlite srp 
sse ssl static-modules stats stencil-buffer stream streamzap subject-rewrite 
subtitles subversion svg svga syslog sysvipc szip tcltk tcpd termcap-compat 
test tetex tga theora threads tidy tiff timidity tokenizer toolbar transcode 
transparent-proxy truetype truetype-fonts type1-fonts ucs2 udpfromto 
underscores urandom usb userlocales utf8 v4l v4l2 vcd vchroot vda vdesktop 
vhosts vidix vim-with-x virus-scan visualization vlm vmdbmysql vmdbpostgres 
vorbis vpopmail wddx webdav wifi win32codecs winbind wmf wxgtk1 wxwindows 
x11vnc xanim xbase xface xforms xfs xim xine xinerama xinetd xml xml2 xmlrpc 
xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz yv12 zaptel 
zero-penalty-hit zeroconf zlib userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 zhcnmccmzhdvfevooo 2005-08-28 02:09:07 UTC
i have the same problem here with the davfs2-0.2.4-r1 ebuild.
If necessary i will also post the emerge --info output if wished.
But i do not want to flood the bug, if not necessary.
Comment 2 Stefan Schweizer (RETIRED) gentoo-dev 2005-09-07 17:13:27 UTC
Can you please try without the patch?
I am not able to reproduce this :(
Comment 3 Maurice van der Pot (RETIRED) gentoo-dev 2005-09-08 12:17:01 UTC
The problem is in configure.in around line 86. Here's what it does:

AC_CHECK_TYPE([struct CodaFid], [
  AC_DEFINE([NEW_CODA_STRUCTURES], [1], [Define to 1 if CODA uses new structure
types.])
  AC_CHECK_SIZEOF([struct CodaFid], [], [

So it checks for the existence of CodaFid and defines NEW_CODA_STRUCTURES if the
check succeeds. I think that in old versions of coda CodaFid did not exist and
the check would do the right thing, but if you turn on backward compatibility
in a recent kernel CodaFid _DOES_ exist.

I did not check with an old kernel to see if this was indeed the case.

So, to summarise: if the user selects "Use 96-bit Coda file identifiers" in
their kernel config, structures without the uid member are used but davfs
doesn't detect it and fails to build.
Comment 4 zhcnmccmzhdvfevooo 2005-09-09 09:20:28 UTC
I first tried Stefan Schweizer suggestion in comment #2. The build still failed.

After that i now checked my kernel config and i really had enabled the "Use
96-bit Coda file identifiers" option, because an other app i had used a while
ago. After disabling it and recompiling the kernelmodul, the ebuild worked
without any problem. So Maurice van der Pot in comment #3 seems to be right.
Comment 5 Stefan Schweizer (RETIRED) gentoo-dev 2005-09-09 12:25:00 UTC
thanks, I added a check for the kernelconfigoption.
Comment 6 Stefan Schweizer (RETIRED) gentoo-dev 2005-10-08 08:20:19 UTC
This is resolved but I forgot to close it, sorry