Gentoo Archives: gentoo-user

From: Mike Diehl <mdiehl@××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Can't emerge php-5.3.6
Date: Thu, 26 May 2011 17:44:03
Message-Id: 201105261142.35234.mdiehl@diehlnet.com
1 I'm trying to do an emerge -u world and I'm down to php and one other package that needs it.
2
3 I've done emerge --sync several times.
4 However, the php emerge fails:
5
6 ========================================================================
7 Generating phar.php
8 /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-
9 lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php -n"; if test "x" != "x"; then /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- " -d extension_dir=/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/modules"; for i
10 in bz2 zlib phar; do if test -f "/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/modules/$i.la"; then . /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/modules/$i.la; /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-
11 build/cli/build/shtool echo -n -- " -d extension=$dlname"; fi; done; fi; else /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/build/shtool echo -n -- "/var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/sapi/cli/php"; fi;` -d
12 'open_basedir=' -d 'output_buffering=0' -d 'memory_limit=-1' -d phar.readonly=0 -d 'safe_mode=0' /var/tmp/portage/dev-lang/php-5.3.6/work/sapis-build/cli/ext/phar/build_precommand.php > ext/phar/phar.php
13 make: *** [ext/phar/phar.php] Error 139
14 emake failed
15 * ERROR: dev-lang/php-5.3.6 failed:
16 * emake failed
17 *
18 * Call stack:
19 * ebuild.sh, line 56: Called src_compile
20 * environment, line 4620: Called eblit-run 'src_compile' 'v1'
21 * environment, line 1797: Called eblit-php-src_compile
22 * src_compile-v1.eblit, line 14: Called php_sapi_build 'cli'
23 * src_compile-v1.eblit, line 23: Called die
24 * The specific snippet of code:
25 * emake || die "emake failed"
26 ========================================================================
27
28 Here is the result of emerge --info =dev-lang/php-5.3.6
29
30 ========================================================================
31 Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.5, libc-0-r0, 2.6.32-gentoo-r7 i686)
32 =================================================================
33 System Settings
34 =================================================================
35 System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Xeon-TM-_CPU_2.40GHz-with-gentoo-2.0.2
36 Timestamp of tree: Thu, 26 May 2011 04:30:01 +0000
37 app-shells/bash: 4.1_p9
38 dev-lang/python: 2.6.4-r1, 3.1.2-r3
39 dev-util/cmake: 2.8.1-r2
40 sys-apps/baselayout: 2.0.2
41 sys-apps/openrc: 0.8.2-r1
42 sys-apps/sandbox: 1.6-r2
43 sys-devel/autoconf: 2.65-r1
44 sys-devel/automake: 1.11.1
45 sys-devel/binutils: 2.20.1-r1
46 sys-devel/gcc: 4.4.5
47 sys-devel/gcc-config: 1.4.1
48 sys-devel/libtool: 2.2.10
49 sys-devel/make: 3.81-r2
50 sys-kernel/linux-headers: 2.6.36.1
51 sys-libs/glibc: 2.10.1-r1
52 virtual/os-headers: 0
53 ACCEPT_KEYWORDS="x86"
54 ACCEPT_LICENSE="* -@EULA"
55 CBUILD="i686-pc-linux-gnu"
56 CFLAGS="-O2 -march=i686 -pipe"
57 CHOST="i686-pc-linux-gnu"
58 CONFIG_PROTECT="/etc /usr/lib/fax /var/spool/fax/etc"
59 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
60 CXXFLAGS="-O2 -march=i686 -pipe"
61 DISTDIR="/usr/portage/distfiles"
62 FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
63 GENTOO_MIRRORS="http://distfiles.gentoo.org"
64 LDFLAGS="-Wl,-O1 -Wl,--as-needed"
65 MAKEOPTS="-j5"
66 PKGDIR="/usr/portage/packages"
67 PORTAGE_CONFIGROOT="/"
68 PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
69 PORTAGE_TMPDIR="/var/tmp"
70 PORTDIR="/usr/portage"
71 SYNC="rsync://rsync.gentoo.org/gentoo-portage"
72 USE="acl apache2 berkdb bzip2 cgi cli cracklib crypt cups cxx dbi dri fam ffmpeg fortran gd gdbm gif gpm gsm iconv imap iodbc ipv6 jabber jpeg libwww mad maildir managesieve mbox modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl
73 nptlonly odbc ogg openmp pam pcre perl png postgres pppd python readline session sieve snmp sox speex sqlite3 sse sse2 ssl sysfs syslog tcpd unicode x86 xml xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106
74 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
75 hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
76 authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation
77 rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap
78 syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
79 INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint
80 intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat
81 logmark ipmark dhcpmac delude chaos account"
82 Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
83
84 ========================================================================
85
86
87 Any ideas?
88
89 --
90
91 Take care and have fun,
92 Mike Diehl.

Replies

Subject Author
Re: [gentoo-user] Can't emerge php-5.3.6 Todd Goodman <tsg@×××××××××.net>