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

Bug 298679

Summary: coreutils 5.94 fail to bootstrap on solaris 11, sparc
Product: Gentoo/Alt Reporter: Tomasz Pawelczak <tomasz>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: Sparc   
OS: Solaris   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomasz Pawelczak 2009-12-28 13:35:21 UTC
Coreutils 5.94 fail to build when bootstraping gentoo prefix on solaris 11, sparc

Reproducible: Always

Steps to Reproduce:
1. ./bootstrap-prefix.sh $EPREFIX/tmp coreutils
2.
3.

Actual Results:  
if sparc-sun-solaris2.11-gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/var/tmp/gentoo//tmp/usr/lib\" -I. -I. -I..  -I.. -I.   -O2 -pipe -MT pipe-safer.o -MD -MP -MF ".deps/pipe-safer.Tpo" -c -o pipe-safer.o pipe-safer.c; \
        then mv -f ".deps/pipe-safer.Tpo" ".deps/pipe-safer.Po"; else rm -f ".deps/pipe-safer.Tpo"; exit 1; fi
if sparc-sun-solaris2.11-gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/var/tmp/gentoo//tmp/usr/lib\" -I. -I. -I..  -I.. -I.   -O2 -pipe -MT unlinkdir.o -MD -MP -MF ".deps/unlinkdir.Tpo" -c -o unlinkdir.o unlinkdir.c; \
        then mv -f ".deps/unlinkdir.Tpo" ".deps/unlinkdir.Po"; else rm -f ".deps/unlinkdir.Tpo"; exit 1; fi
if sparc-sun-solaris2.11-gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/var/tmp/gentoo//tmp/usr/lib\" -I. -I. -I..  -I.. -I.   -O2 -pipe -MT userspec.o -MD -MP -MF ".deps/userspec.Tpo" -c -o userspec.o userspec.c; \
        then mv -f ".deps/userspec.Tpo" ".deps/userspec.Po"; else rm -f ".deps/userspec.Tpo"; exit 1; fi
if sparc-sun-solaris2.11-gcc -std=gnu99 -DHAVE_CONFIG_H -DLIBDIR=\"/var/tmp/gentoo//tmp/usr/lib\" -I. -I. -I..  -I.. -I.   -O2 -pipe -MT utimecmp.o -MD -MP -MF ".deps/utimecmp.Tpo" -c -o utimecmp.o utimecmp.c; \
        then mv -f ".deps/utimecmp.Tpo" ".deps/utimecmp.Po"; else rm -f ".deps/utimecmp.Tpo"; exit 1; fi
In file included from utimecmp.c:41:
utimens.h:2: error: conflicting types for 'futimens'
/usr/include/sys/stat.h:511: error: previous declaration of 'futimens' was here
utimens.h:2: error: conflicting types for 'futimens'
/usr/include/sys/stat.h:511: error: previous declaration of 'futimens' was here
gmake[3]: *** [utimecmp.o] Error 1
gmake[3]: Leaving directory `/var/tmp/gentoo/tmp/var/tmp/coreutils-5.94/coreutils-5.94/lib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/gentoo/tmp/var/tmp/coreutils-5.94/coreutils-5.94/lib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/gentoo/tmp/var/tmp/coreutils-5.94/coreutils-5.94'
gmake: *** [all] Error 2


http://www.mail-archive.com/bug-coreutils@gnu.org/msg12502.html, 
use coreutils 6.11: ./bootstrap-prefix.sh $EPREFIX/tmp coreutils6
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-12-28 14:39:57 UTC
(In reply to comment #0)

> http://www.mail-archive.com/bug-coreutils@gnu.org/msg12502.html, 
> use coreutils 6.11: ./bootstrap-prefix.sh $EPREFIX/tmp coreutils6
> 

Yes.

In this case, one guide does not rule them all.

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