Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332273 - dev-lang/php-5.2.14 fails to emerge on stable amd64 systems (64bit pointer problems)
Summary: dev-lang/php-5.2.14 fails to emerge on stable amd64 systems (64bit pointer pr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 15:56 UTC by SpanKY
Modified: 2010-08-11 22:30 UTC (History)
0 users

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


Attachments
dev-lang:php-5.2.14:20100811-152905.log.bz2 (dev-lang:php-5.2.14:20100811-152905.log.bz2,34.10 KB, application/octet-stream)
2010-08-11 15:56 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2010-08-11 15:56:04 UTC
looks like Bug 230809 in some form

 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `strptime' implicitly converted to pointer at /var/tmp/portage/dev-lang/php-5.2.14/work/sapis-build/cli/ext/standard/datetime.c:112
 * Function `strptime' implicitly converted to pointer at /var/tmp/portage/dev-lang/php-5.2.14/work/sapis-build/cgi/ext/standard/datetime.c:112
 * Function `strptime' implicitly converted to pointer at /var/tmp/portage/dev-lang/php-5.2.14/work/sapis-build/apache2/ext/standard/datetime.c:112



Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34 x86_64)
=================================================================
System uname: Linux-2.6.34-x86_64-AMD_Opteron-tm-_Processor_252-with-gentoo-1.12.13
Timestamp of tree: Wed, 11 Aug 2010 01:45:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 1.3.7-r1, 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.16.1-r3, 2.17-r1, 2.18-r3, 2.20.1-r1
sys-devel/gcc:       3.3.6-r1, 3.4.5-r1, 3.4.6-r1, 4.1.0-r1, 4.1.1-r3, 4.1.2, 4.3.2-r3, 4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
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 /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests buildsyspkg ccache collision-protect distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF8"
LDFLAGS="-Wl,-O1 -Wl,-z,relro"
LINGUAS="en de en_GB en_US"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
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"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/nouveau"
SYNC="rsync://gentoo/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 asf aspell audiofile berkdb branding bzip2 cairo cddb cdparanoia cdr chm cli console consolekit cracklib crypt css cups curl cvs cxx dbus doc dri dts dv dvb dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg firefox flac fontconfig fortran fpx gcj gd gdbm gif glitz glut gmp gphoto2 gpm graphviz gs gsm gtk gtk2 hal httpd iconv idea ieee1394 imagemagick iproute2 ipv6 irda jadetex javascript jbig joystick jpeg jpeg2k kde kerberos lame lcms ldap libcaca libnotify lirc live lzo mad madwifi matroska mikmod ming mjpeg mmx mmxext mng mod modplug modules mp3 mp4 mpeg mplayer mudflap multilib multislot mysql ncurses network nls nptl nptlonly nsplugin ntfs nvidia ogg openal openexr opengl openmp openntpd pango pcre pdf perl php png ppds pppd python qt qt3support qt4 readline reflection reiserfs rss rtsp samba sasl scanner sdl session shout skins slp sndfile snmp socks5 speex spell spl sql sqlite sse sse2 ssl startup-notification stream subversion svg sysfs tcl tcpd tga theora threads tiff tk truetype unicode upnp usb v4l v4l2 vcd vdr vorbis webkit wideband wifi wma wmf wxwindows x264 xanim xcb xcomposite xfs xine xinerama xinetd xml xorg xosd xpm xprint xrandr xscreensaver xulrunner xv xvid xvmc zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de en_GB en_US" LIRC_DEVICES="sir" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia nv vga sisusb" 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, LC_ALL, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2010-08-11 15:56:34 UTC
Created attachment 242435 [details]
dev-lang:php-5.2.14:20100811-152905.log.bz2
Comment 2 Matti Bickel (RETIRED) gentoo-dev 2010-08-11 18:53:07 UTC
As hoffie before me, I fail to reproduce this. And I'm on amd64, too. I'll have a look, tho.
Comment 3 Matti Bickel (RETIRED) gentoo-dev 2010-08-11 21:15:05 UTC
Okay, I need to correct that. Using my CFLAGS="-march=native -O2 -pipe", the build finishes fine. Using your CFLAGS, it fails like you said.

I'm trying to come up with a patch I can send upstream.
Comment 4 Matti Bickel (RETIRED) gentoo-dev 2010-08-11 22:30:48 UTC
I've readded -D_GNU_SOURCE to src_configure, this is the easiest solution for this build system.

However, php-5.3.3-r1 does not need this.