Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174944

Summary: net-libs/xulrunner-1.8.1.3 fails to compile due to invalid pointer conversion
Product: Gentoo Linux Reporter: Maarten Maathuis <madman2003>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Maarten Maathuis 2007-04-17 17:36:07 UTC
Error message:

PyGInputStream.cpp: In member function ‘virtual nsresult PyG_nsIInputStream::Read(char*, PRUint32, PRUint32*)’:
PyGInputStream.cpp:108: error: cannot convert ‘int*’ to ‘Py_ssize_t*’ for argument ‘3’ to ‘int PyObject_AsReadBuffer(PyObject*, const void**, Py_ssize_t*)’
gmake[4]: *** [PyGInputStream.o] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.8.1.3/work/mozilla/extensions/python/xpcom/src'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.8.1.3/work/mozilla/extensions/python/xpcom'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.8.1.3/work/mozilla/extensions'
gmake[1]: *** [tier_99] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-libs/xulrunner-1.8.1.3/work/mozilla'
make: *** [default] Error 2

Summary:

Someone made a change and forgot that size_t isn't 32 bits on a 64 bits system.
I am not a 100% sure how to fix this, so i'll leave this to someone more capable.

emerge --info:
Portage 2.1.2.4 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r1, 2.6.20-rt8 x86_64)
=================================================================
System uname: 2.6.20-rt8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 17 Apr 2007 15:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r7
dev-lang/python:     2.4.4, 2.5-r2
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -Os -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -Os -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/"
INSTALL_MASK="/usr/bin/emerge"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en nl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/pro-audio /usr/portage/local/layman/science /usr/local/portage /usr/local/nouveau /usr/local/pkgcore"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X accessibility alsa amd64 aotuv berkdb bitmap-fonts cairo caps cdr cli cracklib crypt cups curl dbus dhcp dri dvd dvdr eds emboss encode fam firefox flac fortran gdbm gif gimpprint gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack jpeg ldap libg++ mad midi mikmod minimal mp3 mpeg musepack ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pcre pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse3 ssl svg tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis xml xorg xv xvmc zlib" ALSA_CARDS="ice1724" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en nl" USERLAND="GNU" VIDEO_CARDS="nv nouveau"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Raúl Porcel (RETIRED) gentoo-dev 2007-04-17 18:22:27 UTC
python extensions are disabled for now.

Thanks for reporting.