Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 91436 - e2fsprogs-1.35-r1 fails to compile (GCC 4.0.0 emerge system during installation)
Summary: e2fsprogs-1.35-r1 fails to compile (GCC 4.0.0 emerge system during installation)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-04 07:12 UTC by Tiago Freire
Modified: 2005-05-04 13:53 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 Tiago Freire 2005-05-04 07:12:13 UTC
The summary pretty much explains everything...

make[2]: Entering directory `/var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35/util'
i686-pc-linux-gnu-gcc -c  -DLOCALEDIR=\"/usr/share/locale\"  -DENABLE_HTREE=1 -DENABLE_SWAPFS=1 -DPACKAGE=\"e2fsprogs\" -DVERSION=\"1.35\" -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_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_FEOF_UNLOCKED=1 -DHAVE_FGETS_UNLOCKED=1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DSIZEOF_LONG_LONG=8 -DHAVE_INTTYPES_H=1 -Dintptr_t=long -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   -O2 -march=athlon-xp -pipe -ftree-vectorize -fprefetch-loop-arrays -mmmx -msse -m3dnow   -I../lib -I../lib   subst.c -o subst.o
In file included from subst.c:11:
/usr/include/unistd.h:236: error: two or more data types in declaration specifiers
make[2]: *** [subst.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35/util'
make[1]: *** [util/subst] Error 2
make[1]: Leaving directory `/var/tmp/portage/e2fsprogs-1.35-r1/work/e2fsprogs-1.35'
make: *** [subs] Error 2

!!! ERROR: sys-fs/e2fsprogs-1.35-r1 failed.
!!! Function src_compile, Line 64, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1. Start gentoo install
2. get GCC 4.0.0
3. bootstrap
4. get to 'emerge system' installation step
5. bummer

Actual Results:  
e2fsprogs compilation failed

Expected Results:  
'emerge system' should finish succesfully

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-4.0.0, glibc-2.3.4.20040808-r1,
2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  3 2005, 13:47:44)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -ftree-vectorize -fprefetch-loop-arrays -mmmx
-msse -m3dnow"
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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -ftree-vectorize -fprefetch-loop-arrays
-mmmx -msse -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acl acpi alsa apm arts avi berkdb bitmap-fonts chroot
cjk crypt cups dvd emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2
imap imlib ipv6 jpeg kde libg++ libwww mad maildir mikmod mmx motif mp3 mpeg
ncurses nls nptl oggvorbis opengl oss pam pdflib perl pic png python qt
quicktime readline samba sdl spell sse ssh ssl svga tcpd truetype truetype-fonts
type1-fonts unicode xml2 xmms xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2005-05-04 08:10:41 UTC
afaik 1.37-r1 works fine with gcc-4
Comment 2 Tiago Freire 2005-05-04 12:28:17 UTC
some more packages to package.keywords...
had to unmask sys-libs/ss-1.37 and sys-libs/com_err-1.37 too
(trying to have as little ~x86 stuff as possible)
worked! thx
Comment 3 SpanKY gentoo-dev 2005-05-04 13:53:55 UTC
well getting packages that work with gcc4 into stable is not a high priority at all

if you hit an error with gcc4, try the unstable version of the package before filing a bug