I have tryed to compile e2fsprogs on different systems but no luck. Tryed gentoo 1.4RC1 (gcc 3.2) on Athlon and 1.2 (gcc 2.95) on PIII. Same errors. I'll attach the build logs for e2fsprogs 1.27-r1 and 1.29-r1. Also 'emerge info' output from Athlon system is included.
Created attachment 5578 [details] e2fsprogs-1.27-r1 build log
Created attachment 5579 [details] e2fsprogs-1.29-r1 build log
Created attachment 5580 [details] emerge info output
can you please do the following: emerge rsync ACCEPT_KEYWORDS="~x86" emerge e2fsprogs that should merge the latest currently unstable masked version. If this solves your issue, I will do my best to get it moved to the stable profile before the end of the day (GMT-600)
emerging e2fsprogs-1.32 gives same error. Ill attach the build log also...
Created attachment 5596 [details] e2fsprogs-1.32 build log
which portage version do you use ?
Portage 2.0.43 - see emerge info output attachment...
Andres, is this problem still happening on your computer?
Did emerge sync and emerge e2fsprogs (1.32-r2) on two different 1.4_rc1 pc-s - same error as seen in earlier e2fsprogs-1.32 build log I submitted. Also tried one gentoo 1.2 pc - no luck either.
remerge linux-headers package, retry. I got similar errors by unmerging linux-headers and attempting to reinstall e2fsprogs.
Reemerging linux-headers package didn't help also...
same problem here! /../ gcc -DLOCALEDIR=\"/usr/share/locale\" -DENABLE_HTREE=1 -DENABLE_SWAPFS=1 -DPACKAGE=\"e2fsprogs\" -DVERSION=\"1.34\" -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG=1 -DSTDC_HEADERS=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_UNISTD_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H=1 -DHAVE_ARGZ_H=1 -DHAVE_LIMITS_H=1 -DHAVE_LOCALE_H=1 -DHAVE_NL_TYPES_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_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PE_SSIZE_T=1 -DHAVE_LSEEK64_PROTOTYPE=1 -DSIZEOF_SHORT=2 -DSIZEOF_INT=4 -DSIZEOF_LONG=4 -DSIZEOF_LONG_LONG=8 -DHAVE_GETRUSAGE=1 -DHAVE_LLSEEK=1 -DHAVE_LSEEK64=1 -DHAVE_OPEN64=1 -DHAVE_STRTOULL=1 -DHAVE_STRCASECMP=1 -DHAVE_SRANDOM=1 -DHAVE_FCHOWN=1 -DHAVE_MALLINFO=1 -DHAVE_FDATASYNC=1 -DHAVE_STRNLEN=1 -DHAVE_STRPTIME=1 -DHAVE_SYSCONF=1 -DHAVE_PATHCONF=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_MEMALIGN=1 -DHAVE_VALLOC=1 -DHAVE_DLOPEN=1 -DHAVE_EXT2_IOCTLS=1 -march=athlon-xp -O3 -pipe -mfpmath=sse,387 -mmmx -msse -m3dnow -I./../et -I../../lib -I../../lib -c help.c help.c: In function `ss_help': help.c:76: `SS_ET_NO_INFO_DIR' undeclared (first use in this function) help.c:76: (Each undeclared identifier is reported only once help.c:76: for each function it appears in.) help.c: In function `ss_add_info_dir': help.c:142: `SS_ET_NO_INFO_DIR' undeclared (first use in this function) help.c: In function `ss_delete_info_dir': help.c:186: `SS_ET_NO_INFO_DIR' undeclared (first use in this function) make[2]: *** [help.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/e2fsprogs-1.34/work/e2fsprogs-1.34/lib/ss' make[1]: *** [all-libs-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/e2fsprogs-1.34/work/e2fsprogs-1.34' make: *** [all] Error 2 !!! ERROR: sys-apps/e2fsprogs-1.34 failed. !!! Function src_compile, Line 38, Exitcode 2 !!! (no error message)
seems to be fixed
I can still produce this situation with 2006.0 and e2fsprogs-1.38-r1 when having et_EE locale enabled - aka emerge e2fsprogs fails with complaining about noexistant function declarations. When setting locale to en_US - problem dissappears - everything compiles. --------------------------------------------------------------- make[2]: Leaving directory `/var/tmp/portage/e2fsprogs-1.38-r1/work/e2fsprogs-1.38/lib/e2p' making all in lib/ext2fs make[2]: Entering directory `/var/tmp/portage/e2fsprogs-1.38-r1/work/e2fsprogs-1.38/lib/ext2fs' SUBST ext2_err.et COMPILE_ET ext2_err.et CC bb_compat.c In file included from ext2fs.h:251, from ext2fsP.h:12, from bb_compat.c:27: ../../lib/ext2fs/bitops.h: In function `ext2fs_test_block_bitmap_range': ../../lib/ext2fs/bitops.h:526: error: `EXT2_ET_BAD_BLOCK_TEST' undeclared (first use in this function) ../../lib/ext2fs/bitops.h:526: error: (Each undeclared identifier is reported only once ../../lib/ext2fs/bitops.h:526: error: for each function it appears in.) ../../lib/ext2fs/bitops.h: In function `ext2fs_mark_block_bitmap_range': ../../lib/ext2fs/bitops.h:562: error: `EXT2_ET_BAD_BLOCK_MARK' undeclared (first use in this function) ../../lib/ext2fs/bitops.h: In function `ext2fs_unmark_block_bitmap_range': ../../lib/ext2fs/bitops.h:592: error: `EXT2_ET_BAD_BLOCK_UNMARK' undeclared (first use in this function) In file included from ext2fsP.h:12, from bb_compat.c:27: ext2fs.h: In function `ext2fs_get_mem': ext2fs.h:995: error: `EXT2_ET_NO_MEMORY' undeclared (first use in this function) ext2fs.h: In function `ext2fs_resize_mem': ext2fs.h:1024: error: `EXT2_ET_NO_MEMORY' undeclared (first use in this function) make[2]: *** [bb_compat.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/e2fsprogs-1.38-r1/work/e2fsprogs-1.38/lib/ext2fs' make[1]: *** [all-libs-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/e2fsprogs-1.38-r1/work/e2fsprogs-1.38' make: *** [all] Error 2 !!! ERROR: sys-fs/e2fsprogs-1.38-r1 failed. !!! Function src_compile, Line 108, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. ------------------------------------------------------------------- Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r3, 2.6.16-gentoo-r3 i686) ================================================================= System uname: 2.6.16-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.linux.ee/pub/gentoo/distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/" LANG="et_EE.UTF-8" LC_ALL="et_EE.UTF-8" LINGUAS="et en" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 acl bash-completion bzip2 cdr cli crypt cups dbus expat foomaticdb fortran gif gpm hal iconv imlib ipv6 jpeg ldap libwww mmap ncurses nls nptl pam pcre perl png python readline slang slp snmp spell ssl tcpd truetype truetype-fonts udev unicode usb xml zlib linguas_et linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTDIR_OVERLAY
open a new bug