Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10586 - e2fsprogs won't compile
Summary: e2fsprogs won't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: Highest critical (vote)
Assignee: Brandon Low (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-11 09:51 UTC by Andres Toomsalu
Modified: 2006-04-27 07:37 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
e2fsprogs-1.27-r1 build log (e2fsprogs-1.27-r1.log,30.60 KB, text/plain)
2002-11-11 09:52 UTC, Andres Toomsalu
Details
e2fsprogs-1.29-r1 build log (e2fsprogs-1.29-r1.log,31.58 KB, text/plain)
2002-11-11 09:53 UTC, Andres Toomsalu
Details
emerge info output (emerge.info,1.01 KB, text/plain)
2002-11-11 09:53 UTC, Andres Toomsalu
Details
e2fsprogs-1.32 build log (e2fsprogs-1.32.log,31.56 KB, text/plain)
2002-11-12 01:36 UTC, Andres Toomsalu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andres Toomsalu 2002-11-11 09:51:41 UTC
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.
Comment 1 Andres Toomsalu 2002-11-11 09:52:36 UTC
Created attachment 5578 [details]
e2fsprogs-1.27-r1 build log
Comment 2 Andres Toomsalu 2002-11-11 09:53:17 UTC
Created attachment 5579 [details]
e2fsprogs-1.29-r1 build log
Comment 3 Andres Toomsalu 2002-11-11 09:53:52 UTC
Created attachment 5580 [details]
emerge info output
Comment 4 Brandon Low (RETIRED) gentoo-dev 2002-11-11 17:36:01 UTC
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)
Comment 5 Andres Toomsalu 2002-11-12 01:36:10 UTC
emerging e2fsprogs-1.32 gives same error. 
Ill attach the build log also...
Comment 6 Andres Toomsalu 2002-11-12 01:36:42 UTC
Created attachment 5596 [details]
e2fsprogs-1.32 build log
Comment 7 Martin Holzer (RETIRED) gentoo-dev 2002-11-14 12:37:49 UTC
which portage version do you use ?
Comment 8 Andres Toomsalu 2002-11-15 02:05:06 UTC
Portage 2.0.43 - see emerge info output attachment...
Comment 9 Pierre-Olivier Bouchard 2003-01-03 23:16:51 UTC
Andres, is this problem still happening on your computer? 
Comment 10 Andres Toomsalu 2003-01-06 02:04:50 UTC
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.
Comment 11 Brandon Low (RETIRED) gentoo-dev 2003-01-17 11:39:44 UTC
remerge linux-headers package, retry.  I got similar errors by unmerging
linux-headers and attempting to reinstall e2fsprogs.
Comment 12 Andres Toomsalu 2003-01-24 08:59:39 UTC
Reemerging linux-headers package didn't help also...
Comment 13 Veiko Kukk 2003-08-07 05:18:32 UTC
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=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VE_SYS_RESOURCE_H=1 -DHAVE_NET_IF_H=1 -DHAVE_NETINET_IN_H=1 -DHAVE_VPRINTF=1 -DHAVE_RECLEN_DIRENT=1 -DHAVE_TYPE_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)
Comment 14 Martin Holzer (RETIRED) gentoo-dev 2003-09-22 11:26:21 UTC
seems to be fixed
Comment 15 Andres Toomsalu 2006-04-25 09:43:16 UTC
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
Comment 16 SpanKY gentoo-dev 2006-04-27 07:37:38 UTC
open a new bug