Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113399 - app-crypt/hashsum-1.6 is TESTED on AMD64
Summary: app-crypt/hashsum-1.6 is TESTED on AMD64
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on: 148530
Blocks:
  Show dependency tree
 
Reported: 2005-11-23 14:54 UTC by Nico Erfurth
Modified: 2006-10-08 09:45 UTC (History)
1 user (show)

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


Attachments
Patch to fix typecasting problem, also works with hashsum-1.7 (hashsum-1.6-amd64.patch,2.49 KB, patch)
2005-11-23 14:56 UTC, Nico Erfurth
Details | Diff
Patch for hashsum-1.6.ebuild (hashsum-1.6.ebuild.patch,849 bytes, patch)
2005-11-23 14:58 UTC, Nico Erfurth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nico Erfurth 2005-11-23 14:54:00 UTC
app-crypt/hashsum has some typecasting (void* -> int) problems. It will build
with a small patch that changes the crypto_name and crypto_name_rev functions.
Please add ~amd64 to KEYWORDS.



Reproducible: Always
Steps to Reproduce:
1. emerge hashsum


Actual Results:  
gcc  -o hashcom.o -c hashcom.c -Wall -Werror -ansi -DLINUX32 -DHASHCOM_BASIC_API
-DHASHCOM_REASONABLE -O3 -s
hashcom.c: In function `crypto_name':
hashcom.c:91: warning: cast from pointer to integer of different size
hashcom.c: In function `crypto_name_rev':
hashcom.c:102: warning: cast from pointer to integer of different size



athlon64 hashsum # emerge --info
Portage 2.0.51.22-r3 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r2,
2.6.13-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.13-gentoo-r5 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ftracer -frename-registers -fweb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /us
ib64/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -ftracer -frename-registers -fweb"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 16bit 16bittmp 64bit 7zip S3TC X a52 aac abook acpi adns aim
aimextras alsa amd amuled ao aotuv apache apache2 apm ares async atm audiofile aut
unt avi bash-completion berkdb bidi big-tables bigpatch bitmap-fonts
blender-game bluetooth bmp boo bootsplash bzip2 c++ cacheemu calendar cdb cdda
cddb c
 cdparanoia cdr cdrom cg cgi chroot clock-screen commercial corba cpudetection
crosscompile crypt css csv ctype cups curl curlwrappers daap dba dbm dbx de
 devmap dga dio divx4linux dmalloc dnd dnsdb doc dpms dri dv dvb dvd dvdr
dvdread dvi ecc edl emboss emul-linux-x86 encode escreen esd ethereal examples e
 expat experimental ext-iiimf ext-png ext-zlib extensions extraengine extraicons
extramodules fam fame fastcgi ffmpeg fftw figlet flac flash flatfile floo
mod font-server fontconfig foomaticdb fping fpx freetts freetype ftp gd
gd-external gdb gdbm general geoip geometry gif gimp gimpprint glut glx gnome gnom
rint gnomecanvas gnomedb gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml gvim hddtemp
hdf hdf5 high-ints hlapi hou hpn html http httpd icecast icp icq icu id3 
a idn ieee1394 image imagemagick imap imlib imlib2 inifile innodb inode
insecure-savers iproute2 ipv6 irc irda irmc jabber jack java javascript jit john j
jpeg jpeg2k jumpplay junit justify kde kdgraphics keyscrub lame lapack largenet
largeterminal lcd lcms ldap ldirectord lesstif libcaca libtommath libvisua
ibwww lighttpd live lj lm_sensors lnbsharing logrotate ltsp lua lzo lzw lzw-tiff
mad matroska mcal md5sum mdb mhash mikmod mime mimencode ming mixer mjpeg
ap mng mnogosearch mod motif mozcalendar mozdevelop mozilla mozsha1 mozsvg
mozxmlterm mp3 mp4live mpd-mad mpeg mpeg2 mpeg4 mplayer mpm-prefork msession ms
usic musicbrainz mysql mysqli nas ncurses net netpbm network nforce2 nls nntp
no-old-linux nocd nowin nptl nsplugin nspr ntlm nvidia nvram objc offensive 
 on-the-fly-crypt openal opengl openssl osc oscache oscar oss pam pam_chroot
pam_console pam_timestamp parse-clocks passfile pccts pcntl pcre pda pdf pdfk
pdflib pear perl physfs player pmu png portaudio posix povray ppds prelude
priority python qdbm qt quicktime rar raw-mode rcu rdesktop readline real recod
emote rle rogue rss rtc ruby samba scanner scp screen sdl sendfile sensord
session sharedmem shorten shout silc simplexml smp sms smtp sndfile soap socket
ou sounds spell sqlite sqlite3 ssl stats stream subp subtitles subversion svg
svgz sysfs syslog szip tdb tetex text tga theora threads tidy tiff timidity 
lbar tools transcode truetype truetype-fonts type1-fonts udev uim unicode usb
userlocales v4l v4l2 vcd vcdimager vfat videos vim vim-pager vim-with-x vlm 
bis wddx webdav wma123 wmf wxwindows x11vnc xattr xine xinerama xml xml2 xmlrpc
xmms xosd xpm xprint xrandr xscreensaver xsl xslt xv xvid xvmc yahoo yv12 
 zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Nico Erfurth 2005-11-23 14:56:24 UTC
Created attachment 73455 [details, diff]
Patch to fix typecasting problem, also works with hashsum-1.7
Comment 2 Nico Erfurth 2005-11-23 14:58:06 UTC
Created attachment 73456 [details, diff]
Patch for hashsum-1.6.ebuild
Comment 3 Luis Medinas (RETIRED) gentoo-dev 2005-11-28 04:42:26 UTC
add the maintainer... hanno is this patch ok for you ?
Comment 4 Nico Erfurth 2006-01-28 05:06:17 UTC
*BUMP*

Any solution for this yet?
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-10-08 09:45:31 UTC
see bug 148530