Gentoo Archives: gentoo-user

From: Todd Goodman <tsg@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge php-5.3.6
Date: Thu, 26 May 2011 20:12:49
Message-Id: 20110526194006.GN20163@ns1.bonedaddy.net
In Reply to: Re: [gentoo-user] Can't emerge php-5.3.6 by Mike Diehl
1 * Mike Diehl <mdiehl@××××××××.com> [110526 13:40]:
2 > On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
3 > > * Mike Diehl <mdiehl@××××××××.com> [110526 13:15]:
4 > > > I'm trying to do an emerge -u world and I'm down to php and one other
5 > > > package that needs it.
6 > > >
7 > > > I've done emerge --sync several times.
8 > > > However, the php emerge fails:
9 > > >
10 > > > ========================================================================
11 > > > Generating phar.php
12 > > > /bin/sh: line 1: 11383 Segmentation fault ` if test -x
13 > > > "/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php";
14 > > > then
15 > > > /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
16 > > > echo -n -- "/var/tmp/portage/dev-
17 > >
18 > > [..]
19 > >
20 > > What's your sh linked to? (ls -l /bin/sh)
21 >
22 > lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh -> bash
23 >
24 > > What's the version of the package that provides it?
25 >
26 > # emerge -s bash
27 >
28 > * app-shells/bash
29 > Latest version available: 4.1_p9
30 > Latest version installed: 4.1_p9
31 > Size of files: 6,457 kB
32 > Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html
33 > Description: The standard GNU Bourne again shell
34 > License: GPL-3
35 >
36 >
37 > > Todd
38 >
39 > --
40 >
41 > Take care and have fun,
42 > Mike Diehl.
43
44 Wow, that is one seriously ugly line.
45
46 I'm able to build it OK (I'm running with php-5.3.6-r1 but built 5.3.6 with
47 ebuild /usr/portage/dev-lang/php/php-5.3.6.ebuild compile)
48
49 But I have bash-4.1_p10 and maybe our USE flags are different too.
50
51 Something is crashing while trying to do that mega-line run of shtool.
52
53 You could do the ebuild above so that you can then go into
54 /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build and see
55 if you can run shtool with that huge line and see what crashes.
56
57 Sorry,
58
59 Todd