Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
dev-db/metakit-2.4.9.3-r2 has keyword 'amd64' on portage, but i have an error: /bin/sh ./libtool --mode=compile x86_64-pc-linux-gnu-g++ -c -O2 -mtune=k8 -Iunix/../include -Iunix/../python/scxx -I/usr/include/python2.4 unix/../python/PyStorage.cpp unix/../python/PyRowRef.cpp: In function 'int PyRowRef_print(PyRowRef*, FILE*, int)': unix/../python/PyRowRef.cpp:27: error: cast from 'PyRowRef*' to 'int' loses precision unix/../python/PyRowRef.cpp: In function 'int PyRORowRef_print(PyRowRef*, FILE*, int)': unix/../python/PyRowRef.cpp:32: error: cast from 'PyRowRef*' to 'int' loses precision rm -f .libs/PyStorage.lo x86_64-pc-linux-gnu-g++ -c -O2 -mtune=k8 -Iunix/../include -Iunix/../python/scxx -I/usr/include/python2.4 unix/../python/PyStorage.cpp -fPIC -DPIC make: *** [PyRowRef.o] Ошибка 1 make: *** Ожидание завершения заданий... mv -f PyStorage.o .libs/PyStorage.lo x86_64-pc-linux-gnu-g++ -c -O2 -mtune=k8 -Iunix/../include -Iunix/../python/scxx -I/usr/include/python2.4 unix/../python/PyStorage.cpp >/dev/null 2>&1 mv -f .libs/PyStorage.lo PyStorage.lo !!! ERROR: dev-db/metakit-2.4.9.3-r2 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile metakit-2.4.9.3-r2.ebuild, line 47: Called die My emerge --info: Portage 2.1_rc1-r2 (default-linux/amd64/2006.0, gcc-4.1.0, glibc-2.4-r1, 2.6.14-gentoo-r5-v12aml-v1 x86_64) ================================================================= System uname: 2.6.14-gentoo-r5-v12aml-v1 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.0_pre19 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5-r2, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: 0.4.2 sys-apps/sandbox: 1.2.18 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mtune=k8" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mtune=k8" DISTDIR="/var/ftp/distfiles" FEATURES="autoconfig candy ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="ftp://192.168.99.8/gentoo/ ftp://mirror.aiya.ru/pub/gentoo/ ftp://ftp.citkit.ru/pub/Linux/gentoo" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LINGUAS="ru en" MAKEOPTS="-j2" PKGDIR="/var/ftp/packages/amd64" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://192.168.99.8/gentoo-portage" USE="X a52 aac aalib accessibility acl acpi alsa amazon amd64 apache2 ares artworkextra audacious avahi avi bash-completion bashlogger berkdb bidi bitmap-fonts bl bonobo bookmarks bootsplash browserplugin buttons bzip2 cairo caps cdda cddb cdparanoia cdr cli corba cpudetection crypt cups curl daap dbus doc double-precision dri dts dvb dvd dvdread dynagraph eds effects emboss encode enscript epiphany evo exif extensions fastcgi ffmpeg firefox flac fontconfig foomaticdb fortran freetts gdbm geoip gif glep glitz gnome gnuplot gnutls gpm graphviz gstreamer gstreamer010 gtk gtk2 gtkhtml hal howl hub iconv imagemagick imlib inkjar iproute2 ipv6 isdnlog jabber jpeg libcaca libnotify libsexy linguas_ru live logrotate lvm lzo lzw lzw-tiff mad matroska md5sum mikmod mod mono mozcalendar mozsvg mp3 mpeg mppe-mppc musepack music musicbrainz nautilus ncurses network new-login nfs nls nptl nptlonly nsplugin ntp nvidia offensive ogg ole on-the-fly-crypt openal opengl osd pam pcre pda pdf pdflib perl png pppd python pyx qt quicktime readline reflection reiserfs scenarios sdl search server session shout silc silvercity skins slang sndfile speex spell spl spreadsheet sqlite srv ssl stream svg tagwriting tcpd theora threads tiff timidity truetype truetype-fonts type1-fonts underscores unicode usb v4l vcd vhosts videos vlm vorbis webservices wmf wxwindows xanim xchat xine xinetd xml xml2 xorg xosd xpm xprint xtended xv xvid xvmc zero-penalty-hit zlib elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created an attachment (id=87122) [edit] config.log
Created an attachment (id=90828) [edit] Patch to metakit-2.4.9.3 for 64-bit cleanliness The failing lines convert a pointer to an int for display, which is bad on 64-bit arches, as int may not be the same size as a pointer. This patch changes those to casts to longs, which is safe.
Created an attachment (id=90829) [edit] updated patch I forgot to change the format specifiers from %x to %lx in the original patch
you should instead use %p
the patch in portage uses %p. thanks for the initial one though!