Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge shfs [fails]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
WL(inux)
n00b
n00b


Joined: 15 Jan 2004
Posts: 64
Location: Vienna

PostPosted: Tue Feb 17, 2004 7:14 pm    Post subject: emerge shfs [fails] Reply with quote

Code:
# emerge shfs
Calculating dependencies ...done!
>>> 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
RUNNING FROM extra_functions.sh
 * Applying shfs-gentoo-0.31-makefile-root.diff...                                                                                                     [ 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 -fomit-frame-pointer -fno-strict-aliasing -pipe -Wall -I- -I. -I/var/tmp/portage/shfs-0.31-r1/image//lib/modules/2.4.23-ck1/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: syntax error before "kdev_t"
shfs_dcache.h:22: warning: no semicolon at end of struct or union
shfs_dcache.h:27: error: syntax 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: syntax error before "kdev_t"
shfs.h:53: warning: no semicolon at end of struct or union
shfs.h:60: error: syntax 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'
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 30, Exitcode 2
!!! (no error message)



No Idea ... can somebody help ?
_________________
http://www.ViennaLinux.at - Linux User Group Wien
please look @ http://Forum.ViennaLinux.at
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Tue Feb 17, 2004 7:24 pm    Post subject: Reply with quote

if you're running a 2.6-kernel you have to install the "~arch"-variant.
_________________
please, feel free to correct my english. - por favor, corrige mi español.
Back to top
View user's profile Send private message
WL(inux)
n00b
n00b


Joined: 15 Jan 2004
Posts: 64
Location: Vienna

PostPosted: Tue Feb 17, 2004 8:34 pm    Post subject: Reply with quote

no im running the "normal" gentoo-sources 2.4.22
_________________
http://www.ViennaLinux.at - Linux User Group Wien
please look @ http://Forum.ViennaLinux.at
Back to top
View user's profile Send private message
plasmagunman
l33t
l33t


Joined: 07 Jun 2002
Posts: 604
Location: berlin

PostPosted: Tue Feb 17, 2004 8:52 pm    Post subject: Reply with quote

just a shot in the dark: did you recently update kernel-headers and forgot the recompile glibc afterwards..?
_________________
please, feel free to correct my english. - por favor, corrige mi español.
Back to top
View user's profile Send private message
jimmybfan
Tux's lil' helper
Tux's lil' helper


Joined: 03 Jul 2002
Posts: 100
Location: P-town

PostPosted: Tue Feb 17, 2004 11:19 pm    Post subject: Reply with quote

If you have userpriv set in FEATURES try doing

FEATURES="-userpriv" emerge shfs
Back to top
View user's profile Send private message
phobic
n00b
n00b


Joined: 25 Feb 2004
Posts: 21
Location: Dallas, TX

PostPosted: Mon Mar 29, 2004 8:47 pm    Post subject: Reply with quote

I have read all of the thread on this and I am having the same problem even if I use ~arch and -userpriv... My kernel is gentoo-dev-sources (2.6.3)

jupiter root # ACCEPT_KEYWORD="~x86" emerge shfs Calculating dependencies ...done!
>>> 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
RUNNING FROM extra_functions.sh
* Applying shfs-gentoo-0.31-makefile-root.diff... [ 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 -fomit-frame-pointer -fno-strict-aliasing -pipe -Wall -I- -I. -I/var/tmp/portage/shfs-0.31-r1/image//lib/modules/2.6.4-rc2-mm1/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/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from dcache.c:6:
/usr/src/linux/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/src/linux/include/asm/smp.h:18,
from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from dcache.c:6:
/usr/src/linux/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type'
/usr/src/linux/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function)
/usr/src/linux/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus'
/usr/src/linux/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus'
/usr/src/linux/include/asm/mpspec.h:50: error: `MAX_APICS' undeclared here (not in a function)
In file included from /usr/src/linux/include/asm/smp.h:20,
from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from dcache.c:6:
/usr/src/linux/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function)
/usr/src/linux/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/usr/src/linux/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from dcache.c:6:
/usr/src/linux/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory
In file included from /usr/src/linux/include/linux/smp.h:17,
from /usr/src/linux/include/linux/sched.h:23,
from /usr/src/linux/include/linux/module.h:10,
from dcache.c:6:
/usr/src/linux/include/asm/smp.h: In function `hard_smp_processor_id':
/usr/src/linux/include/asm/smp.h:75: warning: implicit declaration of function `GET_APIC_ID'
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: syntax error before "kdev_t"
shfs_dcache.h:22: warning: no semicolon at end of struct or union
shfs_dcache.h:27: error: syntax 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: syntax error before "kdev_t"
shfs.h:53: warning: no semicolon at end of struct or union
shfs.h:60: error: syntax 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'
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 30, Exitcode 2
!!! (no error message)
Back to top
View user's profile Send private message
andip
Tux's lil' helper
Tux's lil' helper


Joined: 18 Jun 2002
Posts: 116
Location: .no

PostPosted: Tue Apr 13, 2004 12:57 pm    Post subject: Reply with quote

got the same problem you're mentioning with dcache.o

The version on sourceforge is 0.33.
i downloaded that and all was good :)

I don't know how ebuilds are added/updated to portage, but someone has been slacking with shfs..
Back to top
View user's profile Send private message
WL(inux)
n00b
n00b


Joined: 15 Jan 2004
Posts: 64
Location: Vienna

PostPosted: Thu Apr 29, 2004 3:47 pm    Post subject: Reply with quote

I tried the ~x86 method and it was the right one ... THANKS !

Why they don't delet the old version and put the newer version into the stable tree ?
_________________
http://www.ViennaLinux.at - Linux User Group Wien
please look @ http://Forum.ViennaLinux.at
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Thu Apr 29, 2004 3:49 pm    Post subject: Reply with quote

WL(inux) wrote:
Why they don't delet the old version and put the newer version into the stable tree ?


Because there are still open bugs marked against it.
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
torklingberg
Tux's lil' helper
Tux's lil' helper


Joined: 30 May 2004
Posts: 86

PostPosted: Sun Aug 29, 2004 3:36 pm    Post subject: Reply with quote

robmoss wrote:
WL(inux) wrote:
Why they don't delet the old version and put the newer version into the stable tree ?


Because there are still open bugs marked against it.


Then lets mask all versions.
Back to top
View user's profile Send private message
fng
n00b
n00b


Joined: 03 Oct 2003
Posts: 38
Location: Rotselaar, Belgium

PostPosted: Tue Sep 07, 2004 1:57 pm    Post subject: Reply with quote

Using the x86 method worked here.
_________________
Play More Promode
Back to top
View user's profile Send private message
mat_the_w
n00b
n00b


Joined: 22 Mar 2004
Posts: 10

PostPosted: Thu Sep 09, 2004 3:21 pm    Post subject: Reply with quote

/proc/version:

Code:
Linux version 2.6.8-gentoo-r3 (root@monolith) (gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #4 Thu Sep 9 10:09:18 CDT 2004


shfs was not compiling (stopped with the errors others have posted before about dcache.o)

I used:
Code:
ACCEPT_KEYWORDS="~x86" emerge shfs


Now it is working just fine.
Good luck to everyone else.
Back to top
View user's profile Send private message
malv
n00b
n00b


Joined: 07 Jul 2004
Posts: 69

PostPosted: Tue Oct 12, 2004 7:53 am    Post subject: shfs again Reply with quote

I have been using shfs with several kernel versions from 2.6.7-r11 and earlier, now latest with 2.6.8-r3 still OK. It is wel known that the "stable" 0.31 doesn' t seem to emerge at all. I always managed to emerge the masked 0.35 version with the ~x86 keyword. As of 2.6.8-r7, none of the shfs versions from 0.31 through 0.35 emerges.
Does somebody understand anything about the emerge failure of shfs?

Thanks,
malv


Last edited by malv on Tue Oct 12, 2004 9:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum