Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 47689

Summary: glibc-2.3.2-r9 Fails to compile due to an error with a header file
Product: Gentoo Linux Reporter: Michael McCabe (RETIRED) <randy>
Component: [OLD] Core systemAssignee: s390 team <s390>
Status: RESOLVED DUPLICATE    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sources.redhat.com/ml/bug-glibc/2003-07/msg00131.html
Whiteboard:
Package list:
Runtime testing required: ---

Description Michael McCabe (RETIRED) gentoo-dev 2004-04-13 04:27:08 UTC
glibc-2.3.2-r9 Fails to compile due to an error with a header file.  Instead of using <sys/ustat.h> , <sys/statfs.h> should be used.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
ere/misc/getsysstats.o.dt
In file included from sys/ustat.h:30,
                 from ../sysdeps/unix/sysv/linux/ustat.c:21:
../sysdeps/generic/bits/ustat.h:26: error: redefinition of `struct ustat'
make[2]: ***
[/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/misc/ustat.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2'
make: *** [all] Error 2
 
!!! ERROR: sys-libs/glibc-2.3.2-r9 failed.
!!! Function src_compile, Line 498, Exitcode 2
!!! (no error message)


Expected Results:  
Glibc builds

Portage 2.0.50-r5 (default-s390-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.4.21)
=================================================================
System uname: 2.4.21 s390
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="s390"
AUTOCLEAN="yes"
CFLAGS=""
CHOST="s390-ibm-linux-gnu"
COMPILER="gcc3"
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=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.clarkson.edu/pub/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync10.us.gentoo.org/gentoo-portage"
USE="berkdb crypt cups fbcon foomaticdb gdbm imlib libwww mad mikmod mpeg
ncurses pam perl png python readline s390 slang spell ssl tcpd truetype zlib"
Comment 1 Michael McCabe (RETIRED) gentoo-dev 2004-04-13 04:43:36 UTC

*** This bug has been marked as a duplicate of 47415 ***