When I try to emerge ext2resize, I get the errors shown below. Could this be because of a patch applied to lnux26-headers? Reproducible: Always Steps to Reproduce: 1. emerge ext2resize Actual Results: Error as shown below. Expected Results: ext2resize gets installed. Knoppix ext2resize-1.1.17 # LC_ALL=C emerge ext2resize Calculating dependencies ...done! >>> emerge (1 of 1) sys-fs/ext2resize-1.1.17-r2 to / >>> md5 src_uri ;-) ext2resize-1.1.17.tar.bz2 >>> Unpacking source... >>> Unpacking ext2resize-1.1.17.tar.bz2 to /var/tmp/portage/ext2resize-1.1.17-r2/work Making distclean in . make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17' rm -f src/config.h rm -f TAGS ID rm -f Makefile rm -f config.cache config.log stamp-h stamp-h[0-9]* make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17' Making distclean in src make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/src' rm -f config.h rm -f *.tab.c rm -f TAGS ID rm -rf .deps rm -f Makefile rm -f config.cache config.log stamp-h stamp-h[0-9]* test -z "libext2resize.a" || rm -f libext2resize.a test -z "ext2resize ext2prepare ext2online" || rm -f ext2resize ext2prepare ext2online rm -f *.o core *.core make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/src' Making distclean in doc make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/doc' rm -f Makefile rm -f config.cache config.log stamp-h stamp-h[0-9]* make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/doc' rm -f config.status * Applying ext2resize-1.1.17-gcc3.3.patch... [ ok ] >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking for gcc... /usr/lib/ccache/bin/cc checking whether the C compiler (/usr/lib/ccache/bin/cc -O3 -fomit-frame-pointer -march=athlon-xp -pipe ) works... yes checking whether the C compiler (/usr/lib/ccache/bin/cc -O3 -fomit-frame-pointer -march=athlon-xp -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether /usr/lib/ccache/bin/cc accepts -g... yes checking how to run the C preprocessor... /usr/lib/ccache/bin/cc -E checking whether /usr/lib/ccache/bin/cc needs -traditional... no checking for ranlib... ranlib checking for getopt.h... yes checking for linux/ext2_fs.h... no checking for linux/unistd.h... yes checking for signal.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking for ANSI C header files... yes checking for __s8... no checking for __u8... no checking for __s16... no checking for __u16... no checking for __s32... no checking for __u32... no checking for loff_t... yes checking for lseek64... yes checking for llseek... yes updating cache ./config.cache creating ./config.status creating Makefile creating doc/Makefile creating src/Makefile creating src/config.h Making all in doc make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/doc' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/doc' Making all in src make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/src' /usr/lib/ccache/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -g -c ext2.c /usr/lib/ccache/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -g -c ext2_block_relocator.c ext2.c: In function `ext2_print_version': ext2.c:39: error: `EXT2FS_VERSION' undeclared (first use in this function) ext2.c:39: error: (Each undeclared identifier is reported only once ext2.c:39: error: for each function it appears in.) ext2.c: In function `ext2_commit_metadata': ext2.c:656: error: `EXT2_GOOD_OLD_REV' undeclared (first use in this function) ext2.c: In function `ext2_get_reserved': ext2.c:802: error: structure has no member named `i_version' ext2.c:802: error: structure has no member named `i_version' ext2.c:805: error: structure has no member named `i_version' ext2.c:806: error: structure has no member named `i_version' ext2.c: In function `ext2_open': ext2.c:988: error: `EXT2_BAD_INO' undeclared (first use in this function) make[1]: *** [ext2.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.17-r2/work/ext2resize-1.1.17/src' make: *** [all-recursive] Error 1 !!! ERROR: sys-fs/ext2resize-1.1.17-r2 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! Make failed
Also happens with sash: Knoppix LVM2.2.00.20 # LC_ALL=C emerge sash Calculating dependencies ...done! >>> emerge (1 of 1) app-shells/sash-3.7 to / >>> md5 src_uri ;-) sash-3.7.tar.gz >>> Unpacking source... >>> Unpacking sash-3.7.tar.gz to /var/tmp/portage/sash-3.7/work * Applying sash-3.6-fix-includes.patch... [ ok ] readline * Applying sash-3.6-readline.patch... [ ok ] >>> Source unpacked. gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o sash.o sash.c sash.c: In function `fileman_completion': sash.c:536: warning: implicit declaration of function `completion_matches' sash.c:536: warning: assignment makes pointer from integer without a cast sash.c: In function `command_generator': sash.c:561: warning: suggest parentheses around assignment used as truth value sash.c: At top level: sash.c:1454: warning: `showPrompt' defined but not used gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmds.o cmds.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_dd.o cmd_dd.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_ed.o cmd_ed.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_grep.o cmd_grep.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_ls.o cmd_ls.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_tar.o cmd_tar.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_gzip.o cmd_gzip.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_find.o cmd_find.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_file.o cmd_file.c gcc -O3 -fomit-frame-pointer -march=athlon-xp -pipe -Wall -Wmissing-prototypes -DHAVE_GZIP=1 -DHAVE_LINUX_ATTR=1 -DHAVE_LINUX_MOUNT=1 -DHAVE_BSD_MOUNT=0 -DMOUNT_TYPE='"ext3"' -DHAVE_READLINE -c -o cmd_chattr.o cmd_chattr.c In file included from /usr/include/linux/blockgroup_lock.h:8, from /usr/include/linux/ext2_fs_sb.h:19, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/linux/spinlock.h: In function `bit_spin_lock': /usr/include/linux/spinlock.h:415: error: invalid type argument of `->' /usr/include/linux/spinlock.h: In function `bit_spin_trylock': /usr/include/linux/spinlock.h:432: error: invalid type argument of `->' /usr/include/linux/spinlock.h:435: error: invalid type argument of `->' /usr/include/linux/spinlock.h:435: error: `TIF_NEED_RESCHED' undeclared (first use in this function) /usr/include/linux/spinlock.h:435: error: (Each undeclared identifier is reported only once /usr/include/linux/spinlock.h:435: error: for each function it appears in.) /usr/include/linux/spinlock.h: In function `bit_spin_unlock': /usr/include/linux/spinlock.h:453: error: invalid type argument of `->' /usr/include/linux/spinlock.h:453: error: `TIF_NEED_RESCHED' undeclared (first use in this function) In file included from /usr/include/asm/cpumask.h:4, from /usr/include/linux/cpumask.h:6, from /usr/include/asm/smp.h:11, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/asm-generic/cpumask.h: At top level: /usr/include/asm-generic/cpumask.h:15: error: variable-size type declared outside of any function In file included from /usr/include/asm/smp.h:16, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/asm/fixmap.h:72: error: `FIX_ACPI_PAGES' undeclared here (not in a function) /usr/include/asm/fixmap.h:72: error: enumerator value for `FIX_ACPI_END' not integer constant /usr/include/asm/fixmap.h:87: error: syntax error before "pgprot_t" In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory In file included from /usr/include/asm/smp.h:18, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in a function) /usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:20: error: conflicting types for `mp_bus_id_to_type' /usr/include/asm/mpspec.h:8: error: previous declaration of `mp_bus_id_to_type' /usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here (not in a function) /usr/include/asm/mpspec.h:24: error: conflicting types for `mp_bus_id_to_pci_bus' /usr/include/asm/mpspec.h:12: error: previous declaration of `mp_bus_id_to_pci_bus' /usr/include/asm/mpspec.h:31: error: syntax error before "id" /usr/include/asm/mpspec.h:32: error: syntax error before "address" /usr/include/asm/mpspec.h:33: error: syntax error before "id" /usr/include/asm/mpspec.h:34: error: syntax error before "bus_irq" /usr/include/asm/mpspec.h:43: error: `MAX_APICS' undeclared here (not in a function) /usr/include/asm/mpspec.h:43: error: variable-size type declared outside of any function In file included from /usr/include/asm/smp.h:20, from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/asm/io_apic.h:66: error: syntax error before "u32" /usr/include/asm/io_apic.h:68: error: syntax error before "u32" /usr/include/asm/io_apic.h:74: error: syntax error before '}' token /usr/include/asm/io_apic.h:77: error: syntax error before "u32" /usr/include/asm/io_apic.h:79: error: syntax error before "u32" /usr/include/asm/io_apic.h:85: error: syntax error before '}' token /usr/include/asm/io_apic.h:88: error: syntax error before "u32" /usr/include/asm/io_apic.h:90: error: syntax error before "u32" /usr/include/asm/io_apic.h:94: error: syntax error before '}' token /usr/include/asm/io_apic.h:97: error: syntax error before "u32" /usr/include/asm/io_apic.h:99: error: syntax error before "u32" /usr/include/asm/io_apic.h:102: error: syntax error before '}' token /usr/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here (not in a function) /usr/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs' /usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs' In file included from /usr/include/linux/smp.h:17, from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/asm/smp.h:71:26: mach_apicdef.h: No such file or directory In file included from /usr/include/linux/percpu_counter.h:9, from /usr/include/linux/ext2_fs_sb.h:20, from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/linux/smp.h: In function `on_each_cpu': /usr/include/linux/smp.h:65: error: invalid type argument of `->' /usr/include/linux/smp.h:68: error: invalid type argument of `->' /usr/include/linux/smp.h:68: error: `TIF_NEED_RESCHED' undeclared (first use in this function) In file included from /usr/include/linux/ext2_fs.h:20, from cmd_chattr.c:15: /usr/include/linux/ext2_fs_sb.h: At top level: /usr/include/linux/ext2_fs_sb.h:49: error: syntax error before "u32" /usr/include/linux/ext2_fs_sb.h:51: error: syntax error before '*' token /usr/include/linux/ext2_fs_sb.h:56: error: syntax error before '}' token make: *** [cmd_chattr.o] Error 1 !!! ERROR: app-shells/sash-3.7 failed. !!! Function src_compile, Line 37, Exitcode 2 !!! (no error message)
Knoppix xorg # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.6) ================================================================= System uname: 2.6.6 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.5.1 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -fomit-frame-pointer -march=athlon-xp -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -fomit-frame-pointer -march=athlon-xp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://194.117.158.29" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X acl acpi adns alsa apache2 apm arts audiofile avi bcmath berkdb bindist bonobo bzlib cdr crypt cscope cups curl curlwrappers divx4linux encode esd ethereal evo exif fam foomaticdb ftp gd gdbm gif gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv imagemagick imap imlib inifile javascript jpeg kde libedit libg++ libwww linguas_de lzw-tiff mad maildir mailwrapper matrox mbox mmap mmx motif mozilla mpeg ncurses nls nptl offensive oggvorbis opengl oss pam pcntl pcre pdflib perl pic png posix ppds python qt quicktime readline recode samba sasl sdl shared slang sockets spell sse ssl svg sysvipc tcpd theora tiff truetype unicode usb videos x86 xml2 xmms xv xvid zlib"
you didnt say what version of linux26-headers you're using; both packages work fine for me
The latest, "of course" ;) sys-kernel/linux26-headers-2.6.7-r3 ------------------------------------------------------------------------------- Knoppix e2fsprogs-1.34 # epm -qa ck-sources-2.6.7-r5 linux26-headers-2.6.7-r3 gnuconfig-20040214 gettext-0.12.1-r1 m4-1.4.1 bison-1.875 gcc-config-1.3.6 gcc-3.3.4-r1 libperl-5.8.4-r1 patch-2.5.9 flex-2.5.4a-r5 gdb-6.1.1 libtool-1.5.2-r5 bin86-0.16.13 bc-1.06-r5 make-3.80 autoconf-2.59-r4 automake-1.8.5-r1 binutils-2.14.90.0.8-r1 debianutils-1.16.7-r4 diffutils-2.8.7 portage-2.0.50-r9 sysvinit-2.85-r1 xinetd-2.3.13 baselayout-1.10.1-r2 texinfo-4.6 cronbase-0.3 eject-2.0.13 parted-1.6.10-r1 groff-1.19 pciutils-2.1.11-r1 sed-4.0.9 hotplug-base-20040401 shadow-4.0.4.1-r3 fbset-2.1 usbutils-0.11-r3 man-pages-1.67 utempter-0.5.5.5 hotplug-20040401 miscfiles-1.3-r1 acl-2.2.13-r2 attr-2.4.7-r1 slocate-2.7-r5 pam-login-3.14 grep-2.5.1-r4 procps-3.2.1 findutils-4.1.20-r1 gawk-3.1.3-r1 coreutils-5.2.1-r1 apmd-3.2.1_p4 util-linux-2.12-r4 net-tools-1.60-r8 kbd-1.12-r2 hdparm-5.5 tcp-wrappers-7.6-r8 acpid-1.0.2-r2 help2man-1.33.1 less-382-r2 ed-0.2-r3 module-init-tools-3.0-r2 which-2.16 lsof-4.71 setserial-2.17-r2 file-4.09 man-1.5m-r1 psmisc-21.4 vixie-cron-3.0.1-r4 lib-compat-1.3 glibc-2.3.4.20040619 db-4.1.25_p1-r4 db-1.85-r1 gdbm-1.8.0-r5 slang-1.4.9-r1 pwdb-0.62 ncurses-5.4-r2 cracklib-2.7-r9 device-mapper-1.00.17 gpm-1.20.1 pam-0.77-r1 readline-4.3-r5 zlib-1.2.1-r2 ccache-2.3 yacc-1.9.1-r2 ctags-5.5.4 cscope-15.5 dialog-0.9_beta20031207 intltool-0.30 pkgconfig-0.15.0 strace-4.5.1 gtk-doc-1.2 desktop-file-utils-0.5 indent-2.2.9 gob-2.0.6 nano-1.3.3-r1 vim-core-6.3-r1 vim-6.3 jed-0.99.16-r2 gvim-6.3 gedit-2.6.2 python-2.3.4 tcl-8.4.6 perl-5.8.4 tk-8.4.6 nasm-0.98.38 glib-1.2.10-r5 libpcre-4.5 libxml-1.8.17-r2 expat-1.95.7 cyrus-sasl-2.1.18-r2 libxml2-2.6.11 libol-0.3.13 dietlibc-0.25 openssl-0.9.7d-r1 popt-1.7-r1 cdk-4.9.10.20020809 ucl-1.02 boehm-gc-6.3 libxslt-1.1.8 glib-2.4.4 atk-1.6.1 eet-0.9.9.20040710 embryo-0.0.1.20040710 libIDL-0.8.3 libcroco-0.5.1 libusb-0.1.8 hashalot-0.3 gnupg-1.2.4 sash-3.7 bash-completion-20040704 bash-2.05b-r9 python-fchksum-1.7.1 PyOpenGL-2.0.0.44 pygtk-2.2.0 Locale-gettext-1.01-r1 XML-Parser-2.34 TermReadKey-2.21 SGMLSpm-1.03-r5 file-roller-2.6.1 tar-1.14 ncompress-4.2.4 gzip-1.3.5-r1 bzip2-1.0.2-r3 cabextract-1.0 unzip-5.50-r2 zip-2.3-r2 rar-3.3.0 unrar-3.4.1 cpio-2.5 rpm2targz-9.0-r2 sharutils-4.2.1-r9 xfsprogs-2.6.3 reiserfsprogs-3.6.17 e2fsprogs-1.35 sysfsutils-1.0.0 jfsutils-1.1.6 mtools-3.9.9 udev-030 lvm2-2.00.15 devfsd-1.3.25-r8 rsync-2.6.0-r2 dhcpcd-1.3.22_p4-r5 iputils-021109-r3 dhcp-3.0_p2-r6 curl-7.11.1 openssh-3.8.1_p1-r1 rdate-990821-r1 telnet-bsd-1.0 wget-1.9.1-r2 gtk2-ssh-askpass-0.3 x11-ssh-askpass-1.2.4.1 grub-0.94-r1 epm-0.8.8 gentoolkit-0.2.0_pre8 ufed-0.35 esearch-0.6.2 mirrorselect-0.84 enscript-1.6.3-r1 aspell-0.50.5-r2 recode-3.6-r1 sgml-common-0.6.3-r4 opensp-1.5-r1 openjade-1.3.2-r1 docbook-dsssl-stylesheets-1.77-r2 ghostscript-7.07.1-r3 docbook-xsl-stylesheets-1.62.4 scrollkeeper-0.3.14 docbook-xml-dtd-4.1.2-r4 ggv-2.6.1 docbook-sgml-dtd-3.0-r1 gpdf-0.132 docbook-sgml-dtd-3.1-r1 docbook-sgml-dtd-4.1-r1 docbook-xml-simple-dtd-1.0 texi2html-1.64-r1 docbook-xml-simple-dtd-4.1.2.4 docbook-xml-dtd-4.2 docbook-sgml-dtd-4.0-r1 dgs-0.5.10-r1 docbook-sgml-utils-0.6.12-r2 docbook-sgml-1.0 mailbase-0.00-r6 mailwrapper-0.2 postfix-2.1.3 bind-9.2.2-r4 bind-tools-9.2.3-r1 edje-0.5.0.20040710 epeg-0.9.0.20040710 libpng-1.2.5-r7 libsdl-1.2.7-r2 divx4linux-20030428-r1 epsilon-0.0.2.20040710 gstreamer-0.8.3-r1 glut-3.7.1 libexif-gtk-0.3.3 alsa-lib-1.0.5-r2 libfame-0.9.0-r1 freetype-2.1.5-r1 jpeg-6b-r3 libid3tag-0.15.1b libtheora-1.0_alpha3 libart_lgpl-2.3.16 gst-plugins-0.8.2 tiff-3.6.1-r1 id3lib-3.8.3-r2 audiofile-0.2.6-r1 giflib-4.1.0-r3 imlib-1.9.14-r1 libexif-0.5.12-r1 gdk-pixbuf-0.22.0-r2 fontconfig-2.2.2 libogg-1.1 libvorbis-1.0.1-r2 lcms-1.12 libmng-1.0.7 libungif-4.1.0.1b libgphoto2-2.1.4 win32codecs-20040427 libmad-0.15.1b xvid-1.0.1 imlib2-1.1.1.20040710 cups-1.1.21_rc1 foomatic-filters-3.0.1 foomatic-db-engine-3.0.1 hpijs-1.5 xprint-009 foomatic-db-20040302 foomatic-3.0.1 libgnomecups-0.1.6 gnome-cups-manager-0.18 samba-3.0.4-r1 iptables-1.2.11-r2 syslog-ng-1.6.4 addpatches-0.2 apg-2.3.0b fam-2.7.0-r1 grubconfig-1.22 sudo-1.6.7_p5 gnomesu-0.3.1 adns-1.1 libpcap-0.8.3-r1 libnet-1.1.2.1 procmail-3.22-r6 alsa-utils-1.0.5 cdparanoia-3.9.8-r1 esound-0.2.34 alsamixergui-0.9.0.1.2-r4 alsaplayer-0.99.76 alsa-tools-1.0.5-r1 aumix-2.8-r1 madplay-0.15.2b lame-3.96 gamix-1.99_p14-r1 gnome-alsamixer-0.9.6 xmms-1.2.10-r5 aspell-de-0.50.2 beep-1.2.2 mime-types-1.0 mc-4.6.0-r8 bluez-libs-2.7 bluez-bluefw-1.0 bluez-hcidump-1.9 bluez-kernel-2.3 bluez-sdp-1.5 cdrtools-2.01_alpha33 cdrecord-prodvd-2.01_alpha27 lynx-2.8.5 squid-2.5.6 w3m-0.5.1-r1 apache-2.0.50 mozilla-launcher-1.15 mozilla-1.7 epiphany-1.2.6 lftp-3.0.6 portmap-5b-r8 netselect-0.3-r1 tcpdump-3.8.3-r1 traceroute-1.4_p12-r2 tcptraceroute-1.5_beta5 ethereal-0.10.5-r1 gnome-netstatus-2.6.2 mutt-1.5.6-r2 ttmkfdir-3.0.9-r1 shared-mime-info-0.14 entrance-0.9.0.20040710 opengl-update-1.7.2 xorg-x11-6.7.0-r1 ppp-2.4.2-r2 rp-pppoe-3.5-r1 fortune-mod-1.99.1 fortune-mod-smac-0.1 fortune-mod-dubya-20040527 fortune-mod-osfortune-1 fortune-mod-sp-fortunes-0.1 fortune-mod-debilneho-0.1 fortune-mod-homer-0.1 fortune-mod-futurama-0.2 fortune-mod-bofh-excuses-1.2 fortune-mod-calvin-0.1.1 fortune-mod-hitchhiker-0.1 fortune-mod-humorixfortunes-1.4-r1 fortune-mod-tao-1 fortune-mod-zx-error-1.0 fortune-mod-gentoo-dev-20040608 fortune-mod-simpsons-chalkboard-0.1 fortune-mod-starwars-0.1 fortune-mod-kernelcookies-8 fortune-mod-dune-2.0.1 fortune-mod-all-0 expect-5.40.0-r1 Xaw3d-1.5-r1 gtk+-1.2.10-r11 pango-1.4.0 gtk+-2.4.4 fltk-1.1.4 qt-3.3.2 evas-1.0.0.20040710_pre13 ecore-1.0.0.20040710_pre7 esmart-0.9.0.20040710 startup-notification-0.6 libwnck-2.6.2.1 libxklavier-1.02 gtkglarea-1.99.0 vte-0.11.11 gtksourceview-1.0.1 libzvt-2.0.1-r2 xterm-192 gnome-terminal-2.6.1 ORBit-0.5.17 gnome-libs-1.4.2 gnome-mime-data-2.4.1 nautilus-2.6.3 libglade-2.4.0 libgnomeprint-2.6.2 ORBit2-2.10.3 gconf-2.6.2 libgnomeprintui-2.6.2 libbonobo-2.6.2 libgnomecanvas-2.6.1.1 control-center-2.6.1 gnome-vfs-2.6.1.1 libgnome-2.6.1.1 libbonoboui-2.6.1 gail-1.6.6 libgtop-2.6.0 gnome-keyring-0.2.1 libgnomeui-2.6.1.1 gnome-desktop-2.6.2 gnome-panel-2.6.2 gnome-applets-2.6.2 gnome-session-2.6.2 librsvg-2.6.5 gdm-2.4.4.7-r1 eel-2.6.2 graphviz-1.10 imagemagick-5.5.7.15 xloadimage-4.1-r1 eog-2.6.1 gtkam-0.1.11 gphoto2-2.1.4 doxygen-1.3.7 corefonts-1-r1 terminus-font-4.07 lfpfonts-fix-0.83-r1 lfpfonts-var-0.83-r2 kde-env-3-r2 arts-1.2.3 ffmpeg-0.4.8.20040322-r1 avifile-0.7.38.20030710-r1 mpeg2vidcodec-12-r1 edb-1.0.5.20040710 hicolor-icon-theme-0.5 gnome-icon-theme-1.2.3 gtk-engines-2.2.0 gnome-themes-2.6.2 libgsf-1.9.0 gnome-media-2.6.2 nautilus-cd-burner-2.6.1 gconf-editor-2.6.2 gcalctool-4.3.51 gnome-system-monitor-2.6.0 libgtkhtml-2.6.2 yelp-2.6.1 gucharmap-1.4.1 bug-buddy-2.6.1 zenity-2.6.2 gnome-games-2.6.2 gst-plugins-vorbis-0.8.2 gst-plugins-oss-0.8.2 gst-plugins-esd-0.8.2 gst-plugins-alsa-0.8.2-r1 gst-plugins-mad-0.8.2 gst-plugins-ogg-0.8.2 metacity-2.8.1
Created attachment 35674 [details] My ck-sources 2.6.7-ck5 kernel .config Don't know if this matters, but that's the kernel .config I use with the ck-sources kernel sources. Hm, this should not matter, I suppose, because linux26-headers is using a "pristine" kernel source tree and adding patches to this source tree.
Hm, I think the problem with ext2resize is, because I don't get e2fsprogs installed. See bug #57457 for this.
Is this related to bug #35784?
It looks like something just isn't right with your headers - stuff is getting included from parts of <linux/spinlock.h> which the patch clearly marks as "Don't Include This". # md5sum /usr/include/linux/spinlock.h ... please.
Knoppix emerge-logs # md5sum /usr/include/linux/spinlock.h 78bee69cf4d9a6bc5ff0dc94227b4af7 /usr/include/linux/spinlock.h
Created attachment 35681 [details] The spinlock.h, as I have it.
Hm; well that explains why you're getting the error since that looks like a vanilla spinlock.h; not the one we supply which happily compiles with applications. Do you want to remerge linux26-headers and try again?
Hm, is spinlocks.h patched by the appCompat.patch of linux26-headers? If so, then no, I do not want to have this patch: Bug #57373
Yes, it is. And we don't support vanilla headers which is your issue so I'm closing this as INVALID. I'll have a look at the other bug.
Confirming: With Gentoo linux26-headers (ie. with headers w/ appCompat.patch applied), ext2resize can be compiled just fine. sash now compiles fine as well.
for future reference, dont toy around with the ebuilds and then file bugs that they're broken without testing with what we released
Hold it - I *DID* test, and found that YOU broke the kernel sources, making it impossible to compile things like LVM2 or Raidtools.