Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331253 - dev-python/geoip-python-1.2.4 fails to emerge on amd64
Summary: dev-python/geoip-python-1.2.4 fails to emerge on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-04 20:05 UTC by Matthijs
Modified: 2012-05-14 08:50 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs 2010-08-04 20:05:11 UTC
I tried to update gentoo and it wants to upgrade dev-python/geoip-python but fails. This is the log;

Got this error message:
 * CPV:  dev-python/geoip-python-1.2.4
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib userland_GNU
>>> Unpacking source...
>>> Unpacking GeoIP-Python-1.2.4.tar.gz to /var/tmp/portage/dev-python/geoip-python-1.2.4/work
>>> Source unpacked in /var/tmp/portage/dev-python/geoip-python-1.2.4/work
>>> Preparing source in /var/tmp/portage/dev-python/geoip-python-1.2.4/work/GeoIP-Python-1.2.4 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-python/geoip-python-1.2.4/work/GeoIP-Python-1.2.4 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-python/geoip-python-1.2.4/work/GeoIP-Python-1.2.4 ...
 * Building of dev-python/geoip-python-1.2.4 with CPython 2.6...
python2.6 setup.py build -b build-2.6
running build
running build_ext
building 'GeoIP' extension
creating build-2.6
creating build-2.6/temp.linux-x86_64-2.6
x86_64-pc-linux-gnu-gcc -pthread -march=athlon64 -O2 -pipe -msse3 -fPIC
-I/usr/local/include -I/usr/include/python2.6 -c py_GeoIP.c -o
build-2.6/temp.linux-x86_64-2.6/py_GeoIP.o
py_GeoIP.c: In function 'GeoIP_range_by_ip_Py':
py_GeoIP.c:292: warning: assignment makes pointer from integer without a cast
py_GeoIP.c: In function 'initGeoIP':
py_GeoIP.c:448: error: 'GEOIP_CHARSET_ISO_8859_1' undeclared (first use in this
function)
py_GeoIP.c:448: error: (Each undeclared identifier is reported only once
py_GeoIP.c:448: error: for each function it appears in.)
py_GeoIP.c:452: error: 'GEOIP_CHARSET_UTF8' undeclared (first use in this
function)
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
 * ERROR: dev-python/geoip-python-1.2.4 failed:
 *   Building failed with CPython 2.6 in distutils_building() function
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 3390:  Called distutils_src_compile
 *   environment, line 1030:  Called python_execute_function
'distutils_building'
 *   environment, line 2181:  Called die
 * The specific snippet of code:
 *                       die "${failure_message}";
 *
 * If you need support, post the output of 'emerge --info
=dev-python/geoip-python-1.2.4',
 * the complete build log and the output of 'emerge -pqv
=dev-python/geoip-python-1.2.4'.
 * The complete build log is located at
'/var/tmp/portage/dev-python/geoip-python-1.2.4/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/dev-python/geoip-python-1.2.4/temp/environment'.
 * S: '/var/tmp/portage/dev-python/geoip-python-1.2.4/work/GeoIP-Python-1.2.4'


Reproducible: Always

Steps to Reproduce:
emerge --update --deep --newuse world -av

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] dev-python/geoip-python-1.2.4 [1.2.0] 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB

or
emerge geoip-python (gives same result)

Actual Results:  
>>> Failed to emerge dev-python/geoip-python-1.2.4, Log file:

>>>  '/var/tmp/portage/dev-python/geoip-python-1.2.4/temp/build.log'

(see description for the log)


emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.25-gentoo-r7 x86_64)
=================================================================
System uname: Linux-2.6.25-gentoo-r7-x86_64-AMD_Sempron-tm-_Processor_3000+-with-gentoo-1.12.13
Timestamp of tree: Wed, 04 Aug 2010 11:30:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
virtual/os-headers:  2.6.30-r1
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /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/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
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"
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 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Matthijs 2010-08-26 09:16:48 UTC
Pity there is no update on this matter, seems I am the only one :-(
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-18 14:51:18 UTC
Which version of dev-libs/geoip do you use?
Comment 3 Matthijs 2011-01-18 17:08:02 UTC
As requested: dev-libs/geoip-1.4.6
Comment 4 Ian Delaney (RETIRED) gentoo-dev 2011-11-16 09:52:49 UTC
not any more

Portage 2.1.10.34 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 2.6.38-tuxonice-r1-amd64 x86_64)
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) dev-python/geoip-python-1.2.4
>>> Installing (1 of 1) dev-python/geoip-python-1.2.4
Comment 5 Matthijs 2011-11-16 17:41:13 UTC
Solved, see -> https://bugs.gentoo.org/show_bug.cgi?id=388305
Comment 6 Dirkjan Ochtman (RETIRED) gentoo-dev 2012-05-14 08:50:00 UTC
Seems to be fixed.