Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 86849 - net-fs/shfs-0.31-r1 fails to compile, net-fs/shfs-0.35-r1 works well
Summary: net-fs/shfs-0.31-r1 fails to compile, net-fs/shfs-0.35-r1 works well
Status: RESOLVED DUPLICATE of bug 81194
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-27 04:12 UTC by Nebojsa Trpkovic
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Nebojsa Trpkovic 2005-03-27 04:12:38 UTC
I've tried to emerge net-fs/shfs-0.31-r1 and like many more users on forum, got this output:


>>> emerge (1 of 1) net-fs/shfs-0.31-r1 to /
>>> md5 src_uri ;-) shfs-0.31-1.tar.gz
>>> Unpacking source...
>>> Unpacking shfs-0.31-1.tar.gz to /var/tmp/portage/shfs-0.31-r1/work
 * Applying shfs-gentoo-0.31-makefile-root.diff ...                                                                                 [ ok ]
 * Applying shfs-amd64-makefile.patch ...                                                                                           [ ok ]
>>> Source unpacked.
make[1]: Entering directory `/var/tmp/portage/shfs-0.31-r1/work/shfs-0.31-1/shfs'
make[1]: warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.
gcc -O2 -mcmodel=kernel -fomit-frame-pointer -fno-strict-aliasing -pipe -Wall -I- -I. -I/var/tmp/portage/shfs-0.31-r1/image//lib/modules/2.6.9-gentoo-r14/build/include -I/usr/src/linux/include/ -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -D__KERNEL__ -DLINUX -DDEBUG_LEVEL=0 -c dcache.c -o dcache.o
dcache.c:2:31: linux/modversions.h: No such file or directory
In file included from /usr/src/linux/include/linux/percpu.h:4,
                 from /usr/src/linux/include/linux/sched.h:31,
                 from /usr/src/linux/include/linux/module.h:10,
                 from dcache.c:6:
/usr/src/linux/include/linux/slab.h:86:27: kmalloc_sizes.h: No such file or directory
In file included from /usr/src/linux/include/linux/percpu.h:4,
                 from /usr/src/linux/include/linux/sched.h:31,
                 from /usr/src/linux/include/linux/module.h:10,
                 from dcache.c:6:
/usr/src/linux/include/linux/slab.h: In function `kmalloc':
/usr/src/linux/include/linux/slab.h:92: warning: label `found' defined but not used
In file included from ./shfs.h:13,
                 from dcache.c:9:
./shfs_dcache.h: At top level:
./shfs_dcache.h:22: error: parse error before "kdev_t"
./shfs_dcache.h:22: warning: no semicolon at end of struct or union
./shfs_dcache.h:27: error: parse error before '}' token
./shfs_dcache.h:31: error: field `entry' has incomplete type
./shfs_dcache.h:57: warning: "struct iattr" declared inside parameter list
./shfs_dcache.h:57: warning: its scope is only this definition or declaration, which is probably not what you want
In file included from dcache.c:9:
./shfs.h:53: error: parse error before "kdev_t"
./shfs.h:53: warning: no semicolon at end of struct or union
./shfs.h:60: error: parse error before '}' token
In file included from dcache.c:11:
./shfs_proc.h:22: warning: "struct super_block" declared inside parameter list
./shfs_proc.h:37: warning: "struct iattr" declared inside parameter list
dcache.c: In function `shfs_dcache_add':
dcache.c:137: error: incompatible types in assignment
dcache.c: In function `shfs_dcache_get':
dcache.c:186: error: invalid operands to binary -
dcache.c: In function `shfs_dcache_revalidate':
dcache.c:210: error: dereferencing pointer to incomplete type
dcache.c:217: error: invalid operands to binary -
dcache.c:219: error: dereferencing pointer to incomplete type
dcache.c: In function `shfs_dcache_invalidate':
dcache.c:236: error: dereferencing pointer to incomplete type
dcache.c:237: error: dereferencing pointer to incomplete type
dcache.c: At top level:
dcache.c:256: warning: "struct iattr" declared inside parameter list
dcache.c:257: error: conflicting types for 'shfs_dcache_update_fattr'
./shfs_dcache.h:57: error: previous declaration of 'shfs_dcache_update_fattr' was here
dcache.c:257: error: conflicting types for 'shfs_dcache_update_fattr'
./shfs_dcache.h:57: error: previous declaration of 'shfs_dcache_update_fattr' was here
dcache.c: In function `shfs_dcache_update_fattr':
dcache.c:258: error: dereferencing pointer to incomplete type
dcache.c:259: error: dereferencing pointer to incomplete type
dcache.c:265: error: dereferencing pointer to incomplete type
dcache.c:270: error: dereferencing pointer to incomplete type
dcache.c:274: error: dereferencing pointer to incomplete type
dcache.c:274: error: `ATTR_MODE' undeclared (first use in this function)
dcache.c:274: error: (Each undeclared identifier is reported only once
dcache.c:274: error: for each function it appears in.)
dcache.c:275: error: dereferencing pointer to incomplete type
dcache.c:276: error: dereferencing pointer to incomplete type
dcache.c:276: error: `ATTR_UID' undeclared (first use in this function)
dcache.c:277: error: dereferencing pointer to incomplete type
dcache.c:278: error: dereferencing pointer to incomplete type
dcache.c:278: error: `ATTR_GID' undeclared (first use in this function)
dcache.c:279: error: dereferencing pointer to incomplete type
dcache.c:280: error: dereferencing pointer to incomplete type
dcache.c:280: error: `ATTR_SIZE' undeclared (first use in this function)
dcache.c:281: error: dereferencing pointer to incomplete type
dcache.c:283: error: dereferencing pointer to incomplete type
make[1]: *** [dcache.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/shfs-0.31-r1/work/shfs-0.31-1/shfs'
make: *** [all] Error 2

!!! ERROR: net-fs/shfs-0.31-r1 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Unmasked and emerged net-fs/shfs-0.35-r1 without problems. It works well, too.
So, in my opinion, net-fs/shfs-0.35-r1 should be stable and net-fs/shfs-0.31-r1 is broken (on amd64, at least).



Portage 2.0.51.19 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 13:19:45)]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon64 -pipe -frename-registers -fweb -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon64 -pipe -frename-registers -fweb -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirror.etf.bg.ac.yu/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/"
LDFLAGS="-Wl,-O1"
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="amd64 X aac acpi alsa apache2 arts avi berkdb bitmap-fonts bzlib cddb cdparanoia cdr crypt cups curl dga divx4linux dvd dvdr encode exif fam flac font-server fortran gcj gd gdbm gif gphoto2 gtk2 icq imagemagick imlib innodb jabber java jp2 jpeg junit kde lzw lzw-tiff motif mozilla mp3 mpeg mtqt multilib mysql nas ncurses nls nptl nptlonly oggvorbis opengl pam pdflib perl php png python qt quicktime readline real ruby samba sdl slang snmp speex ssl tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales videos xine xml xml2 xmms xpm xrandr xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Comment 1 Herbie Hopkins (RETIRED) gentoo-dev 2005-03-29 06:07:28 UTC

*** This bug has been marked as a duplicate of 81194 ***