Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 61373 - submount doesn't compile in kernel 2.6.8
Summary: submount doesn't compile in kernel 2.6.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-23 06:32 UTC by Andre
Modified: 2005-03-16 06:07 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 Andre 2004-08-23 06:32:49 UTC
after upgrading to 2.6.8 had to change from supermount to submount but I get an error compilation that there isn't in 2.6.7

#####################################################	
Calculating dependencies      ...done!
	>>> emerge (1 of 1) sys-fs/submount-0.9 to /
	>>> md5 src_uri ;-) submount-0.9.tar.gz
	>>> Unpacking source...
	/usr/src/linux is a symbolic link
	Determining the real directory of the Linux kernel source code
	Building for Linux 2.6.8-gentoo-r1-2108 found in /usr/src/linux
	which outputs to /var/tmp/kernel-output/2.6.8-gentoo-r1-2108
	>>> Unpacking submount-0.9.tar.gz to /var/tmp/portage/submount-0.9/work
	>>> Source unpacked.
	make -C /lib/modules/2.6.8-gentoo-r1-2108/build SUBDIRS=/var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9 modules
	make[1]: Entering directory `/usr/src/linux-2.6.8-gentoo-r1-2108'
	CC [M]  /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.o
	In file included from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/init.h:4,
			from /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.c:10:
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
	In file included from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/module.h:10,
			from /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.c:11:
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/sched.h:4:37: asm/param.h: No such file or directory
	In file included from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:13,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/capability.h:16,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/sched.h:7,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/module.h:10,
			from /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.c:11:
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
	In file included from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/capability.h:16,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/sched.h:7,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/module.h:10,
			from /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.c:11:
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:14:23: asm/types.h: No such file or directory
	In file included from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/capability.h:16,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/sched.h:7,
			from /usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/module.h:10,
			from /var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.c:11:
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t'
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:18: warning: data definition has no type or storage class
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:21: error: syntax error before "dev_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:21: warning: data definition has no type or storage class
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:22: error: syntax error before "ino_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t'
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:22: warning: data definition has no type or storage class
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:23: error: syntax error before "mode_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:23: warning: type defaults to `int' in declaration of `mode_t'
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:23: warning: data definition has no type or storage class
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:24: error: syntax error before "nlink_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:24: warning: type defaults to `int' in declaration of `nlink_t'
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:24: warning: data definition has no type or storage class
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:25: error: syntax error before "off_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:25: warning: type defaults to `int' in declaration of `off_t'
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:25: warning: data definition has no type or storage class
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:26: error: syntax error before "pid_t"
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/types.h:26: warning: type defaults to `int' in declaration of `pid_t'
............
.........
........
..........
a lot more
...........
..........
.........
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/sched.h:479: error: storage size of `thread' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/sched.h:491: error: storage size of `pending' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/stat.h:68: error: storage size of `atime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/stat.h:69: error: storage size of `mtime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/stat.h:70: error: storage size of `ctime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:276: error: storage size of `ia_atime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:277: error: storage size of `ia_mtime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:278: error: storage size of `ia_ctime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/quota.h:224: error: storage size of `dq_dqb' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:356: error: storage size of `bd_sem' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:357: error: storage size of `bd_mount_sem' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:431: error: storage size of `i_atime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:432: error: storage size of `i_mtime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:433: error: storage size of `i_ctime' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:440: error: storage size of `i_sem' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:441: error: storage size of `i_alloc_sem' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:447: error: storage size of `i_data' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:574: error: storage size of `f_owner' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:745: error: storage size of `s_umount' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:746: error: storage size of `s_lock' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/fs.h:773: error: storage size of `s_vfs_rename_sem' isn't known
	/usr/src/linux-2.6.8-gentoo-r1-2108/include/linux/namespace.h:12: error: storage size of `sem' isn't known
	/var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.h:67: error: storage size of `subfs_dir_inode_operations' isn't known
	/var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.h:72: error: storage size of `subfs_file_ops' isn't known
	make[3]: *** [/var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9/subfs.o] Error 1
	make[2]: *** [_module_/var/tmp/portage/submount-0.9/work/submount-0.9/subfs-0.9] Error 2
	make[1]: *** [modules] Error 2
	make[1]: Leaving directory `/usr/src/linux-2.6.8-gentoo-r1-2108'
	make: *** [default] Error 2
	
	!!! ERROR: sys-fs/submount-0.9 failed.
	!!! Function kmod_src_compile, Line 278, Exitcode 2
	!!! (no error message)
#####################################################	
	

I tryed to give different config-kernel options with the same results

What automounter should I use now? I used to love supermount



Reproducible: Always
Steps to Reproduce:
1.emerge submount



Expected Results:  
 

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r1, 
2.6.8-gentoo-r1-2108) 
================================================================= 
System uname: 2.6.8-gentoo-r1-2108 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.4.16 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59-r4 
Automake: sys-devel/automake-1.8.3 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -fomit-frame-pointer -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O3 -mcpu=pentium3 -march=pentium3 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs buildpkg ccache sandbox" 
GENTOO_MIRRORS="ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ 
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ 
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
http://ftp.linux.ee/pub/gentoo/distfiles/ http://gentoo.mirror.sdv.fr" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/pinguin/deposito/Gentoo/ebuilds/" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib accessibility acpi alsa apm arts atm avi berkdb cdr crypt cups 
curl dvd dvdr emacs encode esd foomaticdb gdbm gif gnome gpm gstreamer gtk 
gtk2 imlib java jpeg kde ldap libg++ libwww linguas_it lirc mad mikmod mmx 
motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib perl 
png ppds python qt quicktime readline ruby scanner sdl slang spell sse ssl 
svga tcltk tcpd tetex tiff truetype usb x86 xml2 xmms xv zlib"
Comment 1 John D 2004-08-23 11:13:31 UTC
submount-0.9 emerges fine for me. I'm using gentoo-dev-sources-2.6.8-r1.

I see that your kernel is Linux 2.6.8-gentoo-r1-2108. What's the 2108?
Comment 2 Andre 2004-08-24 00:06:32 UTC
2108 is my personal realease version : it's the date when I built this kernel 

I change this line in the Makefile before build any kernel
""
EXTRAVERSION = -gentoo-r1-2108
""

I'm now using 2.6.7-gentoo-r11_1807 where submount compiled fine
Comment 3 Andre 2004-08-26 05:39:36 UTC
hello? how am I supposed to solve this?
Do I have to use a masked package such as ivman (suggested in the forums)?
Comment 4 Daniel Drake (RETIRED) gentoo-dev 2004-12-21 15:31:01 UTC
Your problem is that you are using koutput, which isn't supported by submounts build system, and this isn't supported by us right now.

We should first convert the ebuild to use the linux-mod eclass and then see if the problem still exists.
Comment 5 Daniel Drake (RETIRED) gentoo-dev 2005-02-18 05:18:35 UTC
submount-0.9-r2 now uses linux-mod. Could you please test it and let us know if you still have problems?
Comment 6 Daniel Drake (RETIRED) gentoo-dev 2005-03-16 06:07:35 UTC
No response, assuming fixed.