Re: [gentoo-user] Can't emerge php-5.3.6
* Mike Diehl mdi...@diehlnet.com [110526 13:15]: I'm trying to do an emerge -u world and I'm down to php and one other package that needs it. I've done emerge --sync several times. However, the php emerge fails: Generating phar.php /bin/sh: line 1: 11383 Segmentation fault ` if test -x /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php; then /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- /var/tmp/portage/dev- [..] What's your sh linked to? (ls -l /bin/sh) What's the version of the package that provides it? Todd
Re: [gentoo-user] Can't emerge php-5.3.6
On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote: * Mike Diehl mdi...@diehlnet.com [110526 13:15]: I'm trying to do an emerge -u world and I'm down to php and one other package that needs it. I've done emerge --sync several times. However, the php emerge fails: Generating phar.php /bin/sh: line 1: 11383 Segmentation fault ` if test -x /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php; then /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- /var/tmp/portage/dev- [..] What's your sh linked to? (ls -l /bin/sh) lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh - bash What's the version of the package that provides it? # emerge -s bash * app-shells/bash Latest version available: 4.1_p9 Latest version installed: 4.1_p9 Size of files: 6,457 kB Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html Description: The standard GNU Bourne again shell License: GPL-3 Todd -- Take care and have fun, Mike Diehl.
Re: [gentoo-user] Can't emerge php-5.3.6
On Thursday 26 May 2011 19:07:20 Mike Diehl wrote: On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote: * Mike Diehl mdi...@diehlnet.com [110526 13:15]: I'm trying to do an emerge -u world and I'm down to php and one other package that needs it. I've done emerge --sync several times. However, the php emerge fails: === = Generating phar.php /bin/sh: line 1: 11383 Segmentation fault ` if test -x /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php ; then /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- /var/tmp/portage/dev- [..] What's your sh linked to? (ls -l /bin/sh) lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh - bash What's the version of the package that provides it? # emerge -s bash * app-shells/bash Latest version available: 4.1_p9 Latest version installed: 4.1_p9 Size of files: 6,457 kB Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html Description: The standard GNU Bourne again shell License: GPL-3 Not sure if this is your problem, but since my eye caught some .la files in your log I would first run: /usr/bin/lafilefixer --justfixit and then: revdep-rebuild -v -- --ask for good measure before trying again to emerge this package. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Can't emerge php-5.3.6
Mick writes: On Thursday 26 May 2011 19:07:20 Mike Diehl wrote: On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote: * Mike Diehl mdi...@diehlnet.com [110526 13:15]: = Generating phar.php /bin/sh: line 1: 11383 Segmentation fault ` if test -x /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php ; then /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- /var/tmp/portage/dev- [...] Not sure if this is your problem, but since my eye caught some .la files in your log I would first run: /usr/bin/lafilefixer --justfixit and then: revdep-rebuild -v -- --ask for good measure before trying again to emerge this package. Those .la files are inside the build directory, so this will not help. The are sourced (. blabla.la), this defines some variables that are being echoed later, and all that goes into the file ext/phar/phar.php. I would change into the build directory and paste the whole 'if test -x /var/tmp/portage/...' stuff to the shell. Does the same error happen? If so, try to find the exact command that triggers it. Any errors when sourcing the .la file? Wonko
Re: [gentoo-user] Can't emerge php-5.3.6
* Mike Diehl mdi...@diehlnet.com [110526 13:40]: On Thursday 26 May 2011 11:25:55 am Todd Goodman wrote: * Mike Diehl mdi...@diehlnet.com [110526 13:15]: I'm trying to do an emerge -u world and I'm down to php and one other package that needs it. I've done emerge --sync several times. However, the php emerge fails: Generating phar.php /bin/sh: line 1: 11383 Segmentation fault ` if test -x /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php; then /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- /var/tmp/portage/dev- [..] What's your sh linked to? (ls -l /bin/sh) lrwxrwxrwx 1 root root 4 May 25 08:24 /bin/sh - bash What's the version of the package that provides it? # emerge -s bash * app-shells/bash Latest version available: 4.1_p9 Latest version installed: 4.1_p9 Size of files: 6,457 kB Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html Description: The standard GNU Bourne again shell License: GPL-3 Todd -- Take care and have fun, Mike Diehl. Wow, that is one seriously ugly line. I'm able to build it OK (I'm running with php-5.3.6-r1 but built 5.3.6 with ebuild /usr/portage/dev-lang/php/php-5.3.6.ebuild compile) But I have bash-4.1_p10 and maybe our USE flags are different too. Something is crashing while trying to do that mega-line run of shtool. You could do the ebuild above so that you can then go into /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build and see if you can run shtool with that huge line and see what crashes. Sorry, Todd