Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 76509 - games-roguelike/slashem-0.0.760.ebuild fails 'error: incompatible types in assignment'
Summary: games-roguelike/slashem-0.0.760.ebuild fails 'error: incompatible types in as...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-03 04:54 UTC by OKUMURA N. Shin-ya
Modified: 2005-01-27 12:39 UTC (History)
0 users

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


Attachments
slashem va_copy patch (slashem-va_copy.patch,637 bytes, patch)
2005-01-03 04:58 UTC, OKUMURA N. Shin-ya
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description OKUMURA N. Shin-ya 2005-01-03 04:54:04 UTC
With my environment, emerge =games-roguelike/slashem-0.0.760 fails as follows.
--------
(...snip...)
gcc -pipe -march=k8 -I../include -I/usr/X11R6/include -c ../win/proxy/nhext.c
../win/proxy/nhext.c: In function `nhext_init':
../win/proxy/nhext.c:36: warning: cast to pointer from integer of different size
../win/proxy/nhext.c:37: warning: cast to pointer from integer of different size
../win/proxy/nhext.c: In function `nhext_subprotocol0_write_line':
../win/proxy/nhext.c:89: warning: cast to pointer from integer of different size
../win/proxy/nhext.c: In function `nhext_subprotocol0_read_line':
../win/proxy/nhext.c:255: warning: cast to pointer from integer of different size
../win/proxy/nhext.c: In function `nhext_rpc_vparams1':
../win/proxy/nhext.c:376: error: incompatible types in assignment
../win/proxy/nhext.c:445: error: incompatible types in assignment
../win/proxy/nhext.c: In function `nhext_store_reply':
../win/proxy/nhext.c:593: warning: cast to pointer from integer of different size
../win/proxy/nhext.c:596: warning: cast to pointer from integer of different size
make[1]: *** [nhext.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/slashem-0.0.760/work/slashem-0.0.7E6F3/src'
make: *** [slashem] Error 2

!!! ERROR: games-roguelike/slashem-0.0.760 failed.
!!! Function src_compile, Line 84, Exitcode 2
!!! make all
!!! If you need support, post the topmost build error, NOT this status message.
--------
It seems va_list object copying problem.
I suggest using 'va_copy' instead.

My 'emerge info' shows;
Gentoo Base System version 1.6.8
Portage 2.0.51-r8 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3500+
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 28 2004, 06:01:59)]
distcc 2.17 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.3, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6, 1.5
sys-devel/binutils:  2.15.92.0.2-r2, 2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-pipe -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/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/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-pipe -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
LDFLAGS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acl acpi alsa arts avi berkdb bitmap-fonts bmp bonobo bzlib canna cdr cjk crypt cups doc esd f77 fam fortran gcj gdbm gif gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib ipv6 java jp2 jpeg junit kde ldap libg++ libwww lzw lzw-tiff mbox mikmod mime mng motif mozilla mule multilib ncurses nls objc oggvorbis opengl oss pam pdflib perl php png postgres python qt readline samba sdl slang ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales wmf xml xml2 xmms xpm xrandr xv zlib"
Comment 1 OKUMURA N. Shin-ya 2005-01-03 04:58:12 UTC
Created attachment 47475 [details, diff]
slashem va_copy patch

This patch modifies to use 'va_copy' macro instead of assignment operator
from/to va_list object.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-01-27 12:39:04 UTC
patch added to portage.  Thanks for the bug report and patch.