Gentoo Archives: gentoo-user

From: Alex Schuster <wonko@×××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Can't emerge php-5.3.6
Date: Thu, 26 May 2011 20:05:38
Message-Id: 4DDEB1EB.40406@wonkology.org
In Reply to: Re: [gentoo-user] Can't emerge php-5.3.6 by Mick
1 Mick writes:
2
3 > On Thursday 26 May 2011 19:07:20 Mike Diehl wrote:
4 >> On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote:
5 >>> * Mike Diehl <mdiehl@××××××××.com> [110526 13:15]:
6
7 >>>> = Generating phar.php
8 >>>> /bin/sh: line 1: 11383 Segmentation fault ` if test -x
9 >>>> "/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php"
10 >>>> ; then
11 >>>> /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool
12 >>>> echo -n -- "/var/tmp/portage/dev-
13 [...]
14 > Not sure if this is your problem, but since my eye caught some .la files in
15 > your log I would first run:
16 >
17 > /usr/bin/lafilefixer --justfixit
18 >
19 > and then:
20 >
21 > revdep-rebuild -v -- --ask
22 >
23 > for good measure before trying again to emerge this package.
24
25 Those .la files are inside the build directory, so this will not help.
26 The are sourced (. blabla.la), this defines some variables that are
27 being echoed later, and all that goes into the file ext/phar/phar.php.
28
29 I would change into the build directory and paste the whole 'if test -x
30 "/var/tmp/portage/...' stuff to the shell. Does the same error happen?
31 If so, try to find the exact command that triggers it. Any errors when
32 sourcing the .la file?
33
34 Wonko