BitchX fails to build with the following error: window.c:5003: warning: cast to pointer from integer of different size alpha-unknown-linux-gnu-gcc -o BitchX alias.o alist.o array.o art.o banlist.o bot_link.o compat.o cdcc.o cdns.o cdrom.o chelp.o commands.o commands2.o ctcp.o cset.o dcc.o debug.o encrypt.o exec.o flood.o files.o fset.o functions.o funny.o glob.o hash.o hebrew.o help.o history.o hook.o if.o ignore.o input.o irc.o ircaux.o ircsig.o keys.o lastlog.o list.o log.o mail.o misc.o modules.o names.o network.o newio.o notice.o notify.o numbers.o output.o parse.o queue.o readlog.o reg.o screen.o server.o stack.o status.o struct.o tcl_public.o term.o timer.o translat.o user.o userlist.o vars.o who.o whowas.o window.o words.o -lcrypt -lcrypto -ldl -lm -lncurses -lresolv -lssl commands.o: In function `e_hostname': commands.o(.text+0x6ed8): the use of `tmpnam' is dangerous, better use `mkstemp' gmake[1]: Leaving directory `/var/tmp/portage/bitchx-1.0.19-r3/work/BitchX/source' !!! ERROR: net-irc/bitchx-1.0.19-r3 failed. !!! Function src_compile, Line -106, Exitcode 2 !!! (no error message)
Hey Ted, could you paste an "emerge info" please? -phoen][x-
emerge info as requested ortage 2.0.44 (default-alpha-1.4, gcc-3.2, glibc-2.2.5-r7) ================================================================= System uname: 2.4.9-32.5 alpha USE="oss dvd xv libwww jpeg nls mitshm gif qt kde mozilla alpha gnome-libs gdbm berkdb slang readline aalib tcltk ruby mysql sdl gpm tcpd pam ssl perl python esd imlib oggvorbis motif opengl X gtk gnome -alsa" ARCH="alpha" COMPILER="gcc3" CHOST="alpha-unknown-linux-gnu" CFLAGS="-mcpu=ev56 -O2 -pipe " CXXFLAGS="-mcpu=ev56 -O2 -pipe " ACCEPT_KEYWORDS="alpha" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Stealing this bug. -phoen][x-
Try to remerge this package, please. It should work now (Thanks to bjb for the help). -phoen][x-
I"m getting the same error, with the same ebuild. I did a 'emerge rsync' before I tried to emerge again. What am I doing wrong?
Ted, try emerge rsync again. It almost looks as if the updated 1.0.19-r3 ebuild didnt get populated to the mirrors when you where trying it. You can check if the change that phoen][x did is in by searching in the -r3 ebuild for the line: [ "${ARCH}" = "alpha" ] && append-flags "-fPIC" without it , I got the exact same error you reported. With it enabled it emerges just fine (on my box).
Bug fixed. Compiles just fine (al beit with tons of warnings). Marking as fixed. Program runs! Thanks, Ted