Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342061 - dev-lang/php-5.3.3-r1 fails to build with phar USE flag
Summary: dev-lang/php-5.3.3-r1 fails to build with phar USE flag
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: PHP Bugs
URL: http://rededog.homelinux.com:88/build...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-21 19:37 UTC by Joel Koglin
Modified: 2010-12-27 22:45 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (build.log,799.26 KB, text/plain)
2010-10-21 22:13 UTC, Joel Koglin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Koglin 2010-10-21 19:37:50 UTC
emerge -DuN world pulls in dev-lang/php-5.3.3-r1 which segfaults during build.

Reproducible: Always

Steps to Reproduce:
1. emerge -DuN =dev-lang/php-5.3.3-r1
Actual Results:  
segfault


rededog ~ # emerge -DuN world -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-lang/php-5.3.3-r1 [5.2.14] USE="apache2 bcmath berkdb bzip2 cli crypt ctype curl exif fileinfo%* filter ftp gd gdbm hash iconv imap json kerberos ldap mysql mysqli nls phar%* posix readline session simplexml snmp ssl threads tokenizer truetype unicode xml xmlreader xmlrpc xmlwriter xsl zip zlib -adabas -birdstep -calendar -cdb -cgi -cjk -concurrentmodphp -curlwrappers -db2 -dbmaker -debug -doc -embed -empress -empress-bcs -enchant% -esoob -firebird -flatfile -fpm% -frontbase -gd-external -gmp -inifile -interbase -intl% -iodbc -ipv6 -kolab -ldap-sasl -libedit -mssql -mysqlnd% -oci8 -oci8-instant-client -odbc -pcntl -pdo -pic -postgres -qdbm -recode -sapdb -sharedext -sharedmem -soap -sockets -solid -spell -sqlite -sqlite3% -suhosin -sybase-ct -sysvipc -tidy -wddx -xpm (-dbase%) (-discard-path%) (-fdftk%) (-force-cgi-redirect%) (-mcve%) (-mhash%) (-msql%) (-ncurses%*) (-pcre%*) (-reflection%*) (-spl%*) (-yaz%)" 0 kB
[ebuild  NS   ] virtual/httpd-php-5.3 [5.2] 0 kB
[ebuild     U ] app-text/ghostscript-gpl-8.71-r6 [8.71-r1] USE="cups jpeg2k -X -bindist -cairo -djvu -gtk" LINGUAS="-ja -ko -zh_CN -zh_TW" 0 kB

Total: 3 packages (2 upgrades, 1 in new slot), Size of downloads: 0 kB

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

rededog scripts # emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/server, gcc-4.4.3, glibc-2.11.2-r0, 2.6.31-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 21 Oct 2010 17:00:22 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl apache2 bcmath berkdb bzip2 cario cracklib crypt ctype cups curl cxx deflate dri exif fortran ftp gdbm gpm iconv imap jpeg jpeg2k json kerberos latin1 ldap lzma mmx modules mudflap mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nls nptl nptlonly openmp pam perl php png posix pppd python quotas radius readline samba sasl snmp sse sse2 ssl sysfs syslog tcpd threads tiff truetype unicode vhosts vim-syntax x86 xml xmlreader xmlrpc xmlwriter xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 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 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 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 rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

rededog scripts # gcc-config -c
i686-pc-linux-gnu-4.4.3
rededog scripts # gcc-config -E
export PATH="/usr/i686-pc-linux-gnu/gcc-bin/4.4.3:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3"
export GCC_SPECS=""
rededog scripts # gcc-config -B
/usr/i686-pc-linux-gnu/gcc-bin/4.4.3
rededog scripts # gcc-config -L
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3
rededog scripts # gcc-config -X
/usr/lib/gcc/i686-pc-linux-gnu/4.4.3/include/g++-v4
rededog scripts # equery l gcc
[ Searching for package 'gcc' in all categories among: ]
 * installed packages
[I--] [  ] sys-devel/gcc-4.3.4 (4.3)
[I--] [  ] sys-devel/gcc-4.4.3-r2 (4.4)
[I--] [  ] sys-devel/gcc-config-1.4.1 (0)

build log: http://rededog.homelinux.com:88/build.log
yes i know it specifically says not to link to build logs but the commit was too big and it told me to attach it which i don't see any options for (i've looked twice) so sorry in advanced.
Comment 1 Joel Koglin 2010-10-21 22:13:15 UTC
Created attachment 251499 [details]
Build log

found the attach file thing now that i am viewing it instead of creating
Comment 2 Joel Koglin 2010-10-22 03:58:36 UTC
removing the phar use flag allowed php to build without a segfault

USE="-phar" emerge =dev-lang/php-5.3.3-r1
Comment 3 Joel Koglin 2010-10-22 04:00:27 UTC
removin the phar use flag allowed php to build correctly

USE="-phar" emerge =dev-lang/php-5.3.3-r1
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2010-12-22 23:17:11 UTC
This might be a duplicate of bug #341579
Can you please rebuild snmp (if enabled) and curl? Better yet, run revdep-rebuild to collect and rebuild everything still depends on openssl-0.9.8, then remerge php. Does that make the error go away?
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-12-27 22:45:57 UTC
(In reply to comment #4)
> This might be a duplicate of bug #341579
> Can you please rebuild snmp (if enabled) and curl? Better yet, run
> revdep-rebuild to collect and rebuild everything still depends on
> openssl-0.9.8, then remerge php. Does that make the error go away?
> 

I guess we can go one step farther and close this bug while waiting for information. Please re-open the bug if you can reproduce the issue after fixing your system there. thx.