versions 0.2.15 and 0.2.17 of tclspice, a dependancy for gEDA, fail to compile on AMD64 in the function preprocess_lst_files of pp_lst.c in the src/xspice/cmpp directory because of a problem with conflicting types for malloc Here is the relevent compiler output: Making all in cmpp make[3]: Entering directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice/cmpp' x86_64-pc-linux-gnu-gcc -O2 -march=k8 -m64 -pipe -Wall -I/usr/include -O2 -march=k8 -m64 -pipe -Wall -I/usr/include -c -o main.o main.c main.c:72: warning: return type defaults to `int' main.c: In function `main': main.c:74: warning: implicit declaration of function `init_error' main.c:81: warning: implicit declaration of function `exit' main.c:84: warning: implicit declaration of function `strcmp' x86_64-pc-linux-gnu-gcc -O2 -march=k8 -m64 -pipe -Wall -I/usr/include -O2 -march=k8 -m64 -pipe -Wall -I/usr/include -c -o pp_ifs.o pp_ifs.c pp_ifs.c: In function `preprocess_ifs_file': pp_ifs.c:73: warning: implicit declaration of function `exit' x86_64-pc-linux-gnu-gcc -O2 -march=k8 -m64 -pipe -Wall -I/usr/include -O2 -march=k8 -m64 -pipe -Wall -I/usr/include -c -o pp_lst.o pp_lst.c pp_lst.c:55: error: conflicting types for 'malloc' pp_lst.c:55: error: conflicting types for 'malloc' pp_lst.c: In function `preprocess_lst_files': pp_lst.c:134: warning: implicit declaration of function `exit' pp_lst.c: In function `check_uniqueness': pp_lst.c:621: warning: implicit declaration of function `str_to_lower' pp_lst.c: In function `read_udn_type_name': pp_lst.c:995: warning: unused variable `msg' make[3]: *** [pp_lst.o] Error 1 make[3]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice/cmpp' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src/xspice' make[1]: *** [tcl-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/tclspice-0.2.17/work/tclspice/src' make: *** [tcl] Error 2 looking at the line with the issue, it seems to be void *malloc(unsigned size); also, it seems like someone else ran into a similar problem, posted it on upstream's bug-tracker, but there were no replies. the link to that is http://sourceforge.net/tracker/index.php?func=detail&aid=1015166&group_id=76276&atid=546604 Reproducible: Always Steps to Reproduce: 1. emerge -av tclspice Actual Results: !!! ERROR: sci-electronics/tclspice-0.2.17 failed. !!! Function src_compile, Line 40, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Expected Results: tclspice has been sucessfully merged. # emerge --info Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0, 2.6.12-gentoo-r4 x86_64) ================================================================= System uname: 2.6.12-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 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.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -m64 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -m64 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib alsa avi berkdb bitmap-fonts cdr cjk crypt cups curl dvd dvdr eds encode esd fam firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 guile howl imagemagick imap imlib ipv6 java jpeg junit libwww lzw lzw-tiff mad mono motif mozilla mp3 mpeg mysql nas ncurses nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl spell sqlite ssl tcltk tcpd tetex tex tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xine xml xml2 xmms xpm xv zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
that's probably why it doesn't have the amd64 keyword