dev-libs/geoip-1.4.8 installs fine but the perl part fails (have similar issue for php5 and python, but didn't report yet). And it seems they all depend on dev-libs/geoip. For dev-perl/Geo-IP-1.38 see logging Reproducible: Always Steps to Reproduce: 1. emerge -av Geo-IP Actual Results: cat build.log * Package: dev-perl/Geo-IP-1.38 * Repository: gentoo * Maintainer: netmon@gentoo.org perl@gentoo.org * USE: amd64 elibc_glibc kernel_linux multilib userland_GNU * FEATURES: sandbox >>> Unpacking source... >>> Unpacking Geo-IP-1.38.tar.gz to /var/tmp/portage/dev-perl/Geo-IP-1.38/work >>> Source unpacked in /var/tmp/portage/dev-perl/Geo-IP-1.38/work >>> Preparing source in /var/tmp/portage/dev-perl/Geo-IP-1.38/work/Geo-IP-1.38 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-perl/Geo-IP-1.38/work/Geo-IP-1.38 ... * Using ExtUtils::MakeMaker * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Geo-IP-1.38/image/ LIBS=-L/usr/lib64 Checking if your kit is complete... Looks good Writing Makefile for Geo::IP >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-perl/Geo-IP-1.38/work/Geo-IP-1.38 ... * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed make -j2 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' /usr/bin/perl5.12.4 /usr/lib64/perl5/vendor_perl/5.12.4/ExtUtils/xsubpp -typemap /usr/lib64/perl5/5.12.4/ExtUtils/typemap -typemap typemap IP.xs > IP.xsc && mv IP.xsc IP.c 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 Running Mkbootstrap for Geo::IP () chmod 644 IP.bs cp IP.bs blib/arch/auto/Geo/IP/IP.bs chmod 644 blib/arch/auto/Geo/IP/IP.bs x86_64-pc-linux-gnu-gcc -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=athlon64 -O2 -pipe -msse3 -DVERSION=\"1.38\" -DXS_VERSION=\"1.38\" -fPIC "-I/usr/lib64/perl5/5.12.4/x86_64-linux/CORE" -DPERL_EXT IP.c IP.xs: In function 'XS_Geo__IP_range_by_ip': IP.xs:154:4: warning: assignment makes pointer from integer without a cast IP.xs: In function 'XS_Geo__IP__Record_city': IP.xs:322:17: error: 'GeoIPRecord' has no member named 'charset' IP.xs:322:30: error: 'GEOIP_CHARSET_UTF8' undeclared (first use in this function) IP.xs:322:30: note: each undeclared identifier is reported only once for each function it appears in IP.xs: In function 'XS_Geo__IP__Record_continent_code': IP.xs:382:28: error: 'GeoIPRecord' has no member named 'continent_code' make: *** [IP.o] Error 1 emake failed * ERROR: dev-perl/Geo-IP-1.38 failed (compile phase): * Compilation failed * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2556: Called perl-module_src_compile * environment, line 2221: Called die * The specific snippet of code: * emake "$@" || die "Compilation failed"; * * If you need support, post the output of 'emerge --info =dev-perl/Geo-IP-1.38', * the complete build log and the output of 'emerge -pqv =dev-perl/Geo-IP-1.38'. * The complete build log is located at '/var/tmp/portage/dev-perl/Geo-IP-1.38/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Geo-IP-1.38/temp/environment'. * S: '/var/tmp/portage/dev-perl/Geo-IP-1.38/work/Geo-IP-1.38' emerge --info =dev-perl/Geo-IP-1.38 Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.12.2-r0, 2.6.38-gentoo-r6 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.38-gentoo-r6-x86_64-AMD_Sempron-tm-_Processor_3000+-with-gentoo-2.0.3 Timestamp of tree: Mon, 24 Oct 2011 07:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r4 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi alsa amd64 apache2 apm arts avi berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt ctype cups cxx dbus dlloader dri dvd dvdr eds emboss encode esd exif exim fam filter firefox fortran gd gdbm geoip gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg kde ldap libg++ lm_sensors logrptate mad mikmod mmx modules mp3 mpeg mudflap multilib mysql ncurses nforce2 nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdflib pdo perl php png ppds pppd procmail python pyzor qt qt3support razor readline reflection rrdtool samba sdl session sharedext sockets spell spl sse sse2 ssl swat sysfs tcpd truetype truetype-fonts type1-fonts udev unicode vorbis watchdog xml xorg xv 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 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 cgi 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" CALLIGRA_FEATURES="kexi words flow plan 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 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, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
...this works fine for me. Could you specify the USE flags on dev-libs/geoip ? maybe there's something there that would make a difference..
(In reply to comment #1) > ...this works fine for me. Could you specify the USE flags on dev-libs/geoip ? > maybe there's something there that would make a difference.. Could you be more specific, how I can see this? If I do emerge I see no USE flag behind the package, as I do see for geoip (ipv6): emerge --pretend --verbose Geo-IP These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-perl/Geo-IP-1.38 0 kB Total: 1 package (1 new), Size of downloads: 0 kB emerge --pretend --verbose geoip These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-libs/geoip-1.4.8 USE="ipv6 -perl-geoipupdate -static-libs" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB
Did you upgrade dev-lang/perl without running perl-cleaner afterwards?
Yep... I tried perl-cleaner, but as said have similar issue with php and python package of geoip. I can only install dev-libs/geoip-1.4.8 and this seems to work when using geoiplookup: geoiplookup gentoo.org GeoIP Country Edition: GB, United Kingdom I also did a rebuild of gcc and perl. Performed a revdep-rebuild. Did a: env-update && source /etc/profile What else to do or what needs to be checked?
PS ... to be more specific about perl-cleaner... I tried with --all and --reallyall flags.
I installed on an other machine, a bit simulaur and that goes fine. However I notice the USE="(multilib)" when running the info, could this have someting to do with the problem? emerge --info =dev-perl/Geo-IP-1.38 Portage 2.1.10.11 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.29-gentoo-r5 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.29-gentoo-r5-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-2.0.3 Timestamp of tree: Thu, 27 Oct 2011 07:00:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.7.1-r1, 3.1.3-r1 dev-util/cmake: 2.8.4-r1 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.0.3 sys-apps/openrc: 0.8.3-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13::<unknown repository>, 2.68 sys-devel/automake: 1.9.6-r2::<unknown repository>, 1.10.3, 1.11.1 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.4.5, 4.5.3-r1 sys-devel/gcc-config: 1.4.1-r1 sys-devel/libtool: 2.4-r4 sys-devel/make: 3.82-r1 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.12.2 Repositories: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -msse3" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -pipe -msse3" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j2" 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" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 apache2 arts avi berkdb bidi bitmap-fonts bzip2 cairo cdb cdda cddb cdio cdr cli cracklib crypt css ctype cups cxx daap dbus dlloader dri dts dvb dvd dvdr eds emboss encode esd exif exim faac faad fam ffmpeg fftw firefox flac fortran freetype gd gdbm gif gnome gpm gstreamer gtk gtk2 iconv ipv6 isdnlog ivtv jpeg ldap libg++ lirc live lm_sensors logrotate lua mad matroska mikmod mjpeg mmx mmxext modules mp3 mpeg mudflap multilib mysql mythtv ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss pam pcre pdflib perl php png ppds pppd python qt qt3support quicktime readline reflection sdl session sockets spell spl sqlite sse sse2 sse3 ssl stream sysfs tcpd theora transcode truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vdpau vlm vorbis wxwindows xml xorg xv xvmc 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 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 cgi 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" CALLIGRA_FEATURES="kexi words flow plan 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIRC_DEVICES="hauppauge" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= dev-perl/Geo-IP-1.38 was built with the following: USE="(multilib)"
I also notice gcc-4.4.5 on top, where mine is gcc-4.5.3. Even though it says "sys-devel/gcc: 4.4.5, 4.5.3-r1" on the machine where it's installed fine.
Problem solved... seems there was some old stuff (maybe installed manually) under /usr/local/share/GeoIP & /usr/local/include After removing this folder and geoip related files all seems to work fine now. Please close bug-report.
Thanks.