Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 80567 - sys-fs/e2fsprogs-1.35-r1 doesn't compile with GCC 4
Summary: sys-fs/e2fsprogs-1.35-r1 doesn't compile with GCC 4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: Normal normal
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-03 04:23 UTC by Radoslaw Szkodzinski
Modified: 2005-02-06 13:57 UTC (History)
1 user (show)

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 Radoslaw Szkodzinski 2005-02-03 04:23:59 UTC
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-4.0.0, glibc-2.3.4.20041102-r0, 2.6.11-rc2-mm1 i686)
=================================================================
System uname: 2.6.11-rc2-mm1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jan  7 2005, 00:34:28)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r3, 1.4_p6, 1.7.9-r1, 1.5, 1.9.4, 1.6.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl"
LANG="en_GB.UTF-8"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main.alternative"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X Xaw3d aalib alsa apache2 apm arts artswrappersuid avi bash-completion berkdb bitmap-fonts bzip2 bzlib caps cdparanoia cdr chroot cjk crypt cscope cups curl dba divx4linux emacs encode extensions f77 fam fbcon flac font-server foomaticdb fortran fpx gd gd-external gdbm gif gimpprint glut gpm gsm gtk gtk2 idea imagemagick imap imlib ipv6 ithreads jabber jack jack-tmpfs java javascript jbig jpeg jpeg2k kdexdeltas largeterminal latex lcms lesstif libcaca libclamav libg++ libwww mad maildir matroska memlimit mew mikmod mimencode mmap mmx mmx2 mng motif mozilla mpeg mysql ncurses nls nogg normalizemime notlsbeforeauth nptl nptlonly nvidia oggvorbis opengl oss pam pcre pdflib perl php pic png posix ppds pwdb python qt quicktime readline real rtc samba sdl session slang sndfile speex spell sqlite sse ssl svg tcltk tcpd tetex tga theora threads tidy tiff truetype truetype-fonts type1-fonts ucs2 unicode wmf xml xml2 xprint xv xvid xvmc zlib linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

Build output:
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 -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S_H=1 -DHAVE_DIRENT_H=1 -DHAVE_GETOPT_H=1 -DHAVE_SETJMP_H=1 -DHAVE_SIGNAL_H=1 -DHAVE_TERMIOS_H=1 -DHAVE_LINUX_FD_H=1 -DHAVE_LINUX_MAJOR_H=1 -DHAVE_SYS_IOCTL_H=1 -DHAVE_SYS_MOUNT_H=1 -DHAVE_SYS_SOCKET_H=1 -DHAVE_SYS_SYSMACROS_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_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_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   -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 63, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 1 SpanKY gentoo-dev 2005-02-06 04:13:39 UTC
post a patch
Comment 2 Mark Loeser (RETIRED) gentoo-dev 2005-02-06 13:39:03 UTC
This problem has been fixed in the newest version of e2fsprogs, 1.36.
http://sourceforge.net/tracker/index.php?func=detail&aid=1112505&group_id=2406&atid=102406
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2005-02-06 13:56:47 UTC
Version bumped to 1.36 in CVS after testing compile on GCC 3.3, 3.4 and 4.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2005-02-06 13:57:11 UTC
Please give the CVS change two hours to propagate before syncing. Mark, thanks for your report.