Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 223877 - dev-perl/Geo-IP-1.33 fails ‘GeoIPRecord’ has no member named ‘charset’
Summary: dev-perl/Geo-IP-1.33 fails ‘GeoIPRecord’ has no member named ‘charset’
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-27 18:57 UTC by Dan Coats
Modified: 2008-09-26 14:27 UTC (History)
1 user (show)

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


Attachments
Geo-IP build log (dev-perl:Geo-IP-1.34:20080924-154822.log,2.32 KB, text/plain)
2008-09-24 15:57 UTC, Dan Coats
Details
environment (environment,86.30 KB, text/plain)
2008-09-24 15:58 UTC, Dan Coats
Details
geoip config.log (config.log,33.76 KB, text/plain)
2008-09-25 12:25 UTC, Dan Coats
Details
geoip build log (geoip-build.log,1.60 KB, text/plain)
2008-09-25 12:30 UTC, Dan Coats
Details
Correct geoip build log (geoip-build.log,41.61 KB, text/plain)
2008-09-25 12:33 UTC, Dan Coats
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Coats 2008-05-27 18:57:44 UTC
dev-perl/Geo-IP-1.33 fails ‘GeoIPRecord’ has no member named ‘charset’

Reproducible: Always

Actual Results:  
>>> Emerging (1 of 1) dev-perl/Geo-IP-1.33 to /
 * Geo-IP-1.33.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                              [ ok ]
 * checking Geo-IP-1.33.tar.gz ;-) ...                                                                                                              [ ok ]
>>> cfg-update-1.8.2-r1: Creating checksum index...
>>> Unpacking source...
>>> Unpacking Geo-IP-1.33.tar.gz to /var/tmp/portage/dev-perl/Geo-IP-1.33/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/dev-perl/Geo-IP-1.33/work/Geo-IP-1.33 ...
 * Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Writing Makefile for Geo::IP
cp lib/Geo/Mirror.pm blib/lib/Geo/Mirror.pm
cp lib/Geo/IP/Record.pod blib/lib/Geo/IP/Record.pod
cp lib/Geo/IP/Record.pm blib/lib/Geo/IP/Record.pm
cp lib/Geo/IP.pm blib/lib/Geo/IP.pm
/usr/bin/perl5.8.8 /usr/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  IP.xs > IP.xsc && mv IP.xsc IP.c
i686-pc-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe -Wdeclaration-after-statement -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=athlon-xp -pipe -fomit-frame-pointer   -DVERSION=\"1.33\" -DXS_VERSION=\"1.33\" -fPIC "-I/usr/lib/perl5/5.8.8/i686-linux-thread-multi/CORE"  -DPERL_EXT IP.c
IP.xs: In function ‘XS_Geo__IP__Record_city’:
IP.xs:288: error: ‘GeoIPRecord’ has no member named ‘charset’
IP.xs:288: error: ‘GEOIP_CHARSET_UTF8’ undeclared (first use in this function)
IP.xs:288: error: (Each undeclared identifier is reported only once
IP.xs:288: error: for each function it appears in.)
make: *** [IP.o] Error 1
 * 
 * ERROR: dev-perl/Geo-IP-1.33 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2306:  Called perl-module_src_compile
 *             environment, line 2042:  Called die
 * The specific snippet of code:
 *           make ${mymake} || die "compilation failed";
 *  The die message:
 *   compilation failed



 # emerge --info
Portage 2.1.5.2 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.7-r2, 2.6.25-gentoo-r4 i686)
=================================================================
System uname: 2.6.25-gentoo-r4 i686 AMD Athlon(tm) XP 2500+
Timestamp of tree: Tue, 27 May 2008 13:18:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.4-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.25-r3
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.0/env /usr/kde/4.0/share/config /usr/kde/4.0/shutdown /usr/share/config /var/bind /var/lib/hsqldb /var/qmail/alias /var/qmail/control /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://open-systems.ufl.edu/mirrors/gentoo http://mirrors.acm.cs.rpi.edu/gentoo/"
LANG="en_US.utf8"
LDFLAGS=""
LINGUAS="en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/portage/local/layman/nx /usr/portage/local"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac accessibility acl acpi adns aiglx aim alsa apache2 arts audiofile avahi bash-completion bcmath berkdb bidi bindinst bluetooth branding browserplugin bzip2 cairo calendar caps cdr cli cracklib crypt cups curlwrappers dbus dedicated dga dio divx divx4linux dlloader dri dts dvd dvdr dvdread eds emacs emacs-w3 emboss emerald encode erandom escreen esd ethereal etwin evo examples expat fam fastcgi fbcon fbcondecor ffmpeg firefox font fortran ftp gd gdbm gif glitz glut gnome gnusetup gnutls gpm gs gstreamer gtk gtkhtml hal hardened iconv imap immqt-bc inifile innodb ipod ipv6 isdnlog ithreads java javascript jp2 jpeg jpeg2k kde kerberos krb4 ldap libcaca libclamv libffi libnotify live lm_sensors lzo mad maildir mailwrapper midi mikmod milter mime ming mmap mmx modplug mono motif mozbranding mp3 mp4 mpeg mpi msn mudflap musicbrainz ncurses nls nptl nptlonly nsplugin nvidia oav objc ogg opengl openmp oracle oscar oss pam pcre pdf perl php pic png portaudio posix ppds pppd python qt3 qt3support qt4 quicktime readline real realmedia reflection samba sdl session shared spell spl sqlite sse ssl startup-notification svg symlink tcltktcpd tcpd test threads tiff truetype type1 unicode urandom usb usepackagedmakefiles userlocales vcd vhosts videos vorbis win32codecs wma wmf wxwindows x86 xcomposite xinerama xml xorg xpm xprint xrandr xv xvid xvmc yahoo zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-05-27 19:03:19 UTC
Which version of dev-libs/geoip do you have?
Comment 2 Dan Coats 2008-05-27 19:12:05 UTC
1.4.4
Comment 3 Dan Coats 2008-05-27 19:14:06 UTC
For the record, fails on 5 of my boxes the same way.
Granted they are not that much different.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2008-09-24 13:57:07 UTC
Looks like you've managed to build geoip without city support. Please try with geoip-1.4.5 and if that fails attach full build log and config.log of geoip-1.4.5. Thank you.
Comment 5 Dan Coats 2008-09-24 15:57:11 UTC
Created attachment 166280 [details]
Geo-IP build log

still fails for me with dev-libs/geoip-1.4.5
Comment 6 Dan Coats 2008-09-24 15:58:27 UTC
Created attachment 166281 [details]
environment
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2008-09-25 08:23:30 UTC
Ah, no. I've asked build log and config.log (could be found in geoip directory after configure run) of *geoip*. Not Geo-IP :) thanks.
Comment 8 Dan Coats 2008-09-25 12:25:31 UTC
Created attachment 166374 [details]
geoip config.log
Comment 9 Dan Coats 2008-09-25 12:30:13 UTC
Created attachment 166375 [details]
geoip build log
Comment 10 Dan Coats 2008-09-25 12:33:14 UTC
Created attachment 166376 [details]
Correct geoip build log
Comment 11 Dan Coats 2008-09-26 14:27:33 UTC
Sorry for wasting any ones time at all. I found the problem. Back in 2006 I Had been testing and Implementing Bind and GeoIP lookups via 3rd party bind patches to do match-clients { country_US; country_PO; country_DE; country_AR; }; etc... etc..., I had left some old Geo-IP stuff in /usr/local that caused my mess. Sorry for the false report..