You are not logged in.

#1 2013-04-14 20:00:36

JaCk0
New member
Registered: 2013-04-13
Posts: 3

php package failure emerge

Hi, i'm installing php in my odroid-u2. Emerge fails build php. Portage info:

Portage 2.3.5-r7 (funtoo/1.0/linux-gnu/arch/arm-32bit/armv7a_hardfp, gcc-4.6.2, glibc-2.13-r4, 3.0.63 armv7l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.0.63-armv7l-ARMv7_Processor_rev_0_-v7l-with-gentoo-2.2.0
KiB Mem:     1969536 total,     83580 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 13 Apr 2013 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.4-r1000, 3.2.4-r1000
dev-util/cmake:           2.8.10.2-r1
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.2-r8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.2-r1
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
ACCEPT_KEYWORDS="arm ~arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv7a-hardfloat-linux-gnueabi"
CFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-psabi"
CHOST="armv7a-hardfloat-linux-gnueabi"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wno-psabi"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="es"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="git://github.com/funtoo/experimental-mini-2011.git"
SYNC_USER="root"
USE="X acl alsa apng arm berkdb bzip2 cdr cracklib crypt cups curl cxx dbus dvdr dvdread flac fpm gdbm gif gpm iconv icu jpeg lame mad modules mp3 mpeg mudflap mysql mysqli ncurses neon nls nptl ogg opengl openmp pam pcre pdo png policykit pppd python readline resolvconf sqlite3 ssl tcpd tiff truetype udev unicode vorbis wavpack xml xmlwriter 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="es" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset dav empty_gif fastcgi geo gzip limit_req limit_zone map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="fbdev omapfb" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

emerge error info:

checking for png_write_image in -lpng... no
configure: error: Problem with libpng.(a|so) or libz.(a|so). Please check config.log for more informat$

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/dev-lang/php-5.3.23-r1/work/sapis-build/cli/config.log
 ^[[31;01m*^[[0m ERROR: dev-lang/php-5.3.23-r1 failed (configure phase):
 ^[[31;01m*^[[0m   econf failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m          ebuild.sh, line   93:  Called src_configure
 ^[[31;01m*^[[0m        environment, line 4063:  Called econf '--prefix=/usr/lib/php5.3' '--mandir=/us$
 ^[[31;01m*^[[0m   phase-helpers.sh, line  511:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m                        die "econf failed"
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-lang/php-5.3.23-r1'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-lang/php-5.3.23-r1'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-lang/php-5.3.23-r1/temp/bu$
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-lang/php-5.3.23-r1/te$
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-lang/php-5.3.23-r1/work/sapis-build/cli'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-lang/php-5.3.23-r1/work/php-5.3.23'

I tried reemerge libz and libpng without results. Do anyone have issues?

Thanks in advance.

Offline

#2 2013-05-01 19:46:34

jeanfrancis
Staff
From: Québec (Canada)
Registered: 2010-10-07
Posts: 267

Re: php package failure emerge

Hi!

On a fresh ARMv7-a installation on my Odroid U2, I could not reproduce this problem, php-5.3.23-r1 built successfully. Do you still experience this issue?

Offline

Board footer

Powered by FluxBB