Gentoo Archives: gentoo-alt

From: Michael Yang <yangofzeal@×××××.com>
To: gentoo-alt@l.g.o
Subject: [gentoo-alt] Re: freebsd bootstrap doman problem
Date: Fri, 24 Jul 2009 23:22:51
Message-Id: 2125c95f0907241622r7680fa26pa3abed666ae9468b@mail.gmail.com
In Reply to: [gentoo-alt] freebsd bootstrap doman problem by Michael Yang
1 oh yeah - this is related to gentoo bugs #223193 and #222721
2
3 On Fri, Jul 24, 2009 at 7:21 PM, Michael Yang<yangofzeal@×××××.com> wrote:
4 > hi guys,
5 >
6 > I was following the instructions to install bootstrap on freebsd-7.2
7 > Release and found problems with the step:
8 >
9 > emerge --oneshot --nodeps libtool
10 > in http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-freebsd.xml
11 >
12 > or
13 >
14 > env FEATURES="-collision-protect" emerge --oneshot portage
15 > in http://dev.gentoo.org/~darkside/bootstrap.xml
16 >
17 > During the the src_install step, I get the following error:
18 >
19 > doman: line 35: unexpected argument `(' to conditional binary operator
20 >
21 > The error happens with:
22 >
23 > sys-devel/libtool-2.2.6a-r00.1
24 > sys-devel/libtool-2.2.4-r00.1
25 > sys-devel/libtool-1.5.26
26 >
27 > If I go directly to the var/tmp/.../work directory and type make
28 > install, everything compiles/installs fine, but the ebuild won't work.
29 > I solved the problem by changing the shebang line in:
30 >
31 > $EPREFIX/usr/lib/portage/bin/ebuild-helpers/doman
32 >
33 > from $EPREFIX/tmp/usr/bin/bash
34 >
35 > to
36 >
37 > $EPREFIX/bin/bash
38 >
39 > I don't know how the doman got created picking up the old bash shell
40 > (bootstrap instructions install bash-3.2 whereas portage emerged
41 > bash-3.2.48 using darkside instructions), but this should be corrected
42 > in order to allow libtool/portage to emerge correctly.
43 >