First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 76509
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: OKUMURA N. Shin-ya <oku.ns@dream.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
slashem-va_copy.patch slashem va_copy patch patch OKUMURA N. Shin-ya 2005-01-03 04:58 0000 637 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 76509 depends on: Show dependency tree
Bug 76509 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-01-03 04:54 0000
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 From OKUMURA N. Shin-ya 2005-01-03 04:58:12 0000 -------
Created an attachment (id=47475) [edit]
slashem va_copy patch

This patch modifies to use 'va_copy' macro instead of assignment operator
from/to va_list object.

------- Comment #2 From Mr. Bones. 2005-01-27 12:39:04 0000 -------
patch added to portage.  Thanks for the bug report and patch.

First Last Prev Next    No search results available      Search page      Enter new bug