Bug 50224 - attr-2.4.7-r1 won't build on s390
Bug#: 50224 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: blocker Priority: P2
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: randy@gentoo.org
Component: Core system
URL: 
Summary: attr-2.4.7-r1 won't build on s390
Keywords:  
Status Whiteboard: 
Opened: 2004-05-06 06:55 0000
Description:   Opened: 2004-05-06 06:55 0000
When I try to compile attr it fails on the following error.

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

Actual Results:  
getfattr.c:348: warning: `struct FTW' declared inside parameter list
getfattr.c:348: warning: its scope is only this definition or declaration, which
is probably not what you want
getfattr.c: In function `do_print':
getfattr.c:367: error: dereferencing pointer to incomplete type
getfattr.c: In function `main':
getfattr.c:414: warning: implicit declaration of function `basename'
getfattr.c:414: warning: assignment makes pointer from integer without a cast
getfattr.c:498: warning: implicit declaration of function `nftw'
getfattr.c:499: error: `FTW_PHYS' undeclared (first use in this function)
getfattr.c:499: error: (Each undeclared identifier is reported only once
getfattr.c:499: error: for each function it appears in.)
make[1]: *** [getfattr.o] Error 1
make: *** [default] Error 2


Expected Results:  
The software should have built.

Portage 2.0.50-r6 (default-s390-2004.0, gcc-3.3.3, glibc-2.3.2-r10, 2.4.21)
=================================================================
System uname: 2.4.21 s390 2066
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.3
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 guile imlib libwww mad mikmod mpeg
ncurses pam perl png python readline s390 slang snmp spell ssl tcpd truetype zlib"

------- Comment #1 From Michael McCabe (RETIRED) 2004-05-06 18:13:48 0000 -------
Unset Platform for fix