Hi, I wanted to setup a new disk to a current logical volume so I emerged ext2resize. I tried both versions in the current Portage tree but they aren't running properly. emerge ext2resize Calculating dependencies ...done! >>> emerge (1 of 1) sys-fs/ext2resize-1.1.17-r1 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-r1/work >>> Source unpacked. loading cache ./config.cache checking for a BSD compatible install... (cached) /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... (cached) 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... (cached) gcc checking whether the C compiler (gcc -O3 -march=athlon -ffast-math -funroll-loops -fomit-frame-pointer -pipe ) works... yes checking whether the C compiler (gcc -O3 -march=athlon -ffast-math -funroll-loops -fomit-frame-pointer -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking how to run the C preprocessor... (cached) gcc -E checking whether gcc needs -traditional... (cached) no checking for ranlib... (cached) ranlib checking for getopt.h... (cached) yes checking for linux/ext2_fs.h... (cached) yes checking for linux/unistd.h... (cached) yes checking for signal.h... (cached) yes checking for unistd.h... (cached) yes checking whether byte ordering is bigendian... (cached) no checking for ANSI C header files... (cached) yes checking for __s8... (cached) no checking for __u8... (cached) no checking for __s16... (cached) no checking for __u16... (cached) no checking for __s32... (cached) no checking for __u32... (cached) no checking for loff_t... (cached) yes checking for lseek64... (cached) yes checking for llseek... (cached) yes creating ./config.status creating Makefile creating doc/Makefile creating src/Makefile creating src/config.h src/config.h is unchanged Making all in doc make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r1/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-r1/work/ext2resize-1.1.17/doc' Making all in src make[1]: Entering directory `/var/tmp/portage/ext2resize-1.1.17-r1/work/ext2resize-1.1.17/src' gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -c ext2.c gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -c ext2_block_relocator.c ext2_block_relocator.c: In function `ext2_block_relocator_copy': ext2_block_relocator.c:363: error: syntax error before string constant ext2_block_relocator.c: In function `ext2_block_relocator_grab_blocks': ext2_block_relocator.c:487: error: syntax error before string constant ext2_block_relocator.c: In function `ext2_block_relocator_flush': ext2_block_relocator.c:541: error: syntax error before string constant ext2_block_relocator.c: In function `ext2_block_relocate_grow': ext2_block_relocator.c:637: error: syntax error before string constant ext2.c: In function `ext2_close': ext2.c:587: error: syntax error before string constant ext2.c: In function `ext2_commit_metadata': ext2.c:616: error: syntax error before string constant ext2.c: In function `ext2_determine_itoffset': ext2.c:680: error: syntax error before string constant ext2.c: In function `ext2_get_reserved': ext2.c:788: error: syntax error before string constant ext2.c: In function `ext2_open': ext2.c:848: error: syntax error before string constant make[1]: *** [ext2.o] Error 1 make[1]: *** Waiting for unfinished jobs.... ext2_block_relocator.c: In function `ext2_block_relocate_shrink': ext2_block_relocator.c:793: error: syntax error before string constant ext2_block_relocator.c:858: error: syntax error before string constant make[1]: *** [ext2_block_relocator.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ext2resize-1.1.17-r1/work/ext2resize-1.1.17/src' make: *** [all-recursive] Error 1 !!! ERROR: sys-fs/ext2resize-1.1.17-r1 failed. !!! Function src_compile, Line 23, Exitcode 2 !!! Make failed Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.3-gentoo-r1) ================================================================= System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) processor Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.58-r1 Automake: sys-devel/automake-1.8.2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon -ffast-math -funroll-loops -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/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon -ffast-math -funroll-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="aalib acpi apm avi crypt cups encode fbcon foomaticdb gdbm gif gpm imlib java jpeg libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype usb x86 xml xml2 xmms xv zlib"
Fixed in CVS; if you ``emerge sync'' in an hour and merge it again it should be fixed. The issue was that ext2resize didn't compile on GCC3.3 and needed some patching.