While trying to emerge dev-php5/pecl-geoip-1.0.7-r1 it stops with the following error: * ERROR: dev-php5/pecl-geoip-1.0.7-r1 failed: * Unable to make code * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 3370: Called php-ext-pecl-r2_src_compile * environment, line 2949: Called php-ext-source-r2_src_compile * environment, line 3075: Called die * The specific snippet of code: * emake || die "Unable to make code"; * * If you need support, post the output of 'emerge --info =dev-php5/pecl-geoip-1.0.7-r1', * the complete build log and the output of 'emerge -pqv =dev-php5/pecl-geoip-1.0.7-r1'. * The complete build log is located at '/var/tmp/portage/dev-php5/pecl-geoip-1.0.7-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-php5/pecl-geoip-1.0.7-r1/temp/environment'. * S: '/var/tmp/portage/dev-php5/pecl-geoip-1.0.7-r1/work/php5.3' Reproducible: Always Steps to Reproduce: 1. emerge -av dev-php5/pecl-geoip Actual Results: Stopped with: ----- /var/tmp/portage/dev-php5/pecl-geoip-1.0.7-r1/work/php5.3/geoip.c: In function 'zif_geoip_record_by_name': /var/tmp/portage/dev-php5/pecl-geoip-1.0.7-r1/work/php5.3/geoip.c:480: error: 'GeoIPRecord' has no member named 'metro_code' make: *** [geoip.lo] Error 1 emake failed ----- Expected Results: Compiled # emerge --info Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo i686) ================================================================= System uname: Linux-2.6.36-gentoo-i686-Intel-R-_Core-TM-2_CPU_6320_@_1.86GHz-with-gentoo-1.12.14 Timestamp of tree: Tue, 04 Jan 2011 08:15:01 +0000 distcc 3.1 i686-pc-linux-gnu [disabled] app-shells/bash: 4.1_p7 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-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 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /usr/share/openvpn/easy-rsa /var/bind /var/run/dspam" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en nl de fr" MAKEOPTS="-j7" 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://ftp.snt.utwente.nl/gentoo-portage/" USE="acl apache2 berkdb bzip2 caps cli cracklib crypt cups cxx dri examples fortran gdbm gif gpm iconv imap ipv6 jpeg maildir mbox modules mudflap ncurses nls nntp nptl nptlonly openmp oss pam pcre php png pppd python readline screen session skey sqlite ssl sysfs tcpd unicode x86 xattr xorg 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="access auth authn_dbm authz_dbm auth_anon auth_digest alias file-cache echo charset-lite cache disk-cache mem-cache ext-filter case_filter case-filter-in filter unique_id deflate mime-magic cern-meta expires headers usertrack unique-id proxy proxy-connect proxy-ftp proxy-http info include cgi cgid dav dav-fs vhost-alias speling rewrite log_config logio env setenvif mime status autoindex asis negotiation dir imap actions userdir so authz_host auth_basic authn_default authn_file authz_groupfile authz_owner authz_user ext_filter mime_magic vhost_alias authn_alias authn_anon authn_dbd authz_default" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache cpu disk dns entropy exec hddtemp iptables mysql network nginx ntpd processes uptime users" 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 nl de fr" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint 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 logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 258821 [details] build.log
# emerge -pqv =dev-php5/pecl-geoip-1.0.7-r1 [ebuild N ] dev-php5/pecl-geoip-1.0.7-r1 PHP_TARGETS="php5-3 -php5-2"
This: checking for geoip support... yes, shared checking for geoip files in default path... found in /usr/local found in /usr means it's probably INVALID. Check your installed geoip version.
(In reply to comment #3) > This: > checking for geoip support... yes, shared > checking for geoip files in default path... found in /usr/local > found in /usr > > means it's probably INVALID. > > Check your installed geoip version. > Thanks.. *feels stupid* :( Works now correctly.