Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: <gentoo-alt@g.o>
From: "Markus Duft" <mduft@g.o>
Subject: RE: bug in bootstrap-prefix.sh
Date: Mon, 19 May 2008 11:20:30 +0200
> 
> Le 19 mai 08 à 08:33, Markus Duft a écrit :
> 
> >>
> >> in function bootstrap_tree, when directories are created
> >>         for x in etc  usr/{,s}bin var/tmp var/lib/portage var/log/
> >> portage var/db;
> >>         do
> >>                 [[ -d ${ROOT}/${x} ]] || mkdir -p "${ROOT}/${x}"
> >>         done
> >> I think {,s}bin. It breaks the installation of bash, and so $EPREFIX/
> >> bin/sh is missing, and that breaks the gcc installation.
> >
> > This worked many times on different platforms for me. I can't see
> > how this should break bootstrap? Why do you think, the {,s}bin is
> > the problem? I have bin/sh in the right places in my prefixes...
> 
> It breaks silently for Solaris x86_64 during the installation of
> bash-3.2_p17-r1. And latter, the installation of gcc stopped, because
> config.sub is launched by $EPREFIX/bin/sh.

This still doesn't answer my questions. How can the existence of those directories break installing of bash? Could it be, that the
permissions are somehow b0rked, so that sh cannot be copied/linked there? But much more would break if this where the case I think?

> 
> >
> >
> >>
> >> And in the bash ebuild, I think that you could had
> >> CFLAGS_FOR_BUILD="$CFLAGS". I don't know why, but that's the CFLAGS
> >> using by bash for building.
> >
> > CFLAGS are passed correctly to bash build. Of that I am sure
> > (haven't tried right now though), since on interix I must pass custom
> > flags (which works, otherwise I couldn't build...). Could it be that
> > CFLAGS_FOR_BUILD is set to CFLAGS somewhere by configure or so,
> > if it's not set? This at least sounds plausible to me :)
> 
> It's needed for a 64 bits build. Without it, some part of it are using
> 32bits.

The question is not for what it is needed, but rather why the flags aren't passed in for your build, and why they _are_ passed in
for my builds.

Cheers, Markus

> 
> >
> >
> > Cheers, Markus
> >
> >> --
> >> gentoo-alt@g.o mailing list
> >
> >
> > --
> > gentoo-alt@g.o mailing list
> >
> 
> --
> gentoo-alt@g.o mailing list


--
gentoo-alt@g.o mailing list


References:
bug in bootstrap-prefix.sh
-- Bacchella Fabrice
RE: bug in bootstrap-prefix.sh
-- Markus Duft
Re: bug in bootstrap-prefix.sh
-- Bacchella Fabrice
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: bug in bootstrap-prefix.sh
Next by thread:
patch for ecopy
Previous by date:
Re: bug in bootstrap-prefix.sh
Next by date:
Re: bug in bootstrap-prefix.sh


Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.