Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10932 - BitchX fails to build on alpha
Summary: BitchX fails to build on alpha
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: phoen][x
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-11-18 18:16 UTC by Ted Goodridge, Jr
Modified: 2002-11-20 10:05 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ted Goodridge, Jr 2002-11-18 18:16:50 UTC
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)
Comment 1 phoen][x 2002-11-19 06:43:28 UTC
Hey Ted,

could you paste an "emerge info" please?

-phoen][x-
Comment 2 Ted Goodridge, Jr 2002-11-19 10:58:37 UTC
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"
Comment 3 phoen][x 2002-11-19 12:00:20 UTC
Stealing this bug.

-phoen][x-
Comment 4 phoen][x 2002-11-19 12:06:41 UTC
Try to remerge this package, please. It should work now (Thanks to bjb for the
help).

-phoen][x-
Comment 5 Ted Goodridge, Jr 2002-11-19 12:32:28 UTC
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?
Comment 6 Bjoern Brauel (RETIRED) gentoo-dev 2002-11-20 08:48:25 UTC
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).
Comment 7 Ted Goodridge, Jr 2002-11-20 10:05:27 UTC
Bug fixed.  Compiles just fine (al beit with tons of warnings).  Marking as
fixed.  Program runs!
Thanks,
Ted