Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102693 - app-i18n/zhcon can't compile
Summary: app-i18n/zhcon can't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
: 123577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-16 03:05 UTC by Zhang Le (RETIRED)
Modified: 2006-10-22 13:53 UTC (History)
3 users (show)

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


Attachments
modify /usr/include/linux/wait.h a little bit can solve it (zhcon-linux_headers-2.6.11-r2.patch,708 bytes, patch)
2005-08-16 03:10 UTC, Zhang Le (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Zhang Le (RETIRED) gentoo-dev 2005-08-16 03:05:25 UTC
error occurred when compiling src/inputmanager.cpp
see the "Actual results" for detail

Reproducible: Always
Steps to Reproduce:
1.emerge zhcon
2.
3.

Actual Results:  
In file included from /usr/include/linux/keyboard.h:14,
                 from inputmanager.cpp:517:
/usr/include/linux/wait.h: In function `int wait_on_bit(void*, int, int
(*)(void*), unsigned int)':
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const
volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int
constant_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h:376: error: invalid conversion from `void*' to `const
volatile long unsigned int*'
/usr/include/linux/wait.h:376: error:   initializing argument 2 of `int
variable_test_bit(int, const volatile long unsigned int*)'
/usr/include/linux/wait.h: In function `int wait_on_bit_lock(void*, int, int
(*)(void*), unsigned int)':
/usr/include/linux/wait.h:400: error: invalid conversion from `void*' to
`volatile long unsigned int*'
/usr/include/linux/wait.h:400: error:   initializing argument 2 of `int
test_and_set_bit(int, volatile long unsigned int*)'
make[3]: *** [inputmanager.o] Error 1


Expected Results:  
smoothly compiled

$ emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.3-20050110,
glibc-2.3.5-r0, 2.6.11-nitro0 i686)
=================================================================
System uname: 2.6.11-nitro0 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.12.0_pre5
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/share/config
/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/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/splash /etc/terminfo
/etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp"
LANG="en_US"
LDFLAGS="-Wl,-O1"
LINGUAS="zh_CN"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/got /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac aalib acl acpi alsa apm arts avi bash-completion berkdb
bitmap-fonts browserplugin bzip2 bzlib cairo caps cdparanoia cdr cdrom chroot
cjk codecs cpdflib crypt cscope css cups curl curlwrappers dbm dio directfb
divx4linux droproot dts dvd dvdr dvdread emboss encode esd ethereal exif fam fax
faxonly fb fbcon ffmpeg firefox flac flatfile font-server foomaticdb fortran fpx
freetype ftp ftruncate gdbm gif gimp glitz gnome gnutls gphoto2 gpm gps graphviz
gs gtk gtk2 hal iconv idea imagemagick imlib imlib2 immqt-bc java joystick jp2
jpeg jpeg2k junit kde kqemu lcms libcaca libg++ libwww linguas_zh_CN live lzo
lzw lzw-tiff mad matroska mbox md5sum mhash mikmod mime mimencode mjpeg mmap mmx
mmxext mng motif mozdevelop moznocompose moznoirc moznomail mozsvg mozxmlterm
mp3 mpeg mpeg4 mplayer ncurses net network nls nptl nptlonly ntlm offensive ogg
oggvorbis ooo-kde opengl oss pam pcmcia pcre pda pdf pdfkit pdflib perl png pnp
posix python qt quicktime readline real rtc ruby samba scanner sdl skey slang
sockets socks5 softmmu speex spell sse sse2 ssl svg svga szip tcltk tcpd tetex
theora tiff timidity truetype truetype-fonts type1 type1-fonts unicode usb v4l
v4l2 vcd vhosts visualization vnc vorbis win32codecs wmf xanim xinetd xml xml2
xmlrpc xmms xosd xprint xscreensaver xslt xv xvid xvmc zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-08-16 03:08:38 UTC
Do not file ebuild bugs under the Developer Relations category.
Comment 2 Zhang Le (RETIRED) gentoo-dev 2005-08-16 03:10:32 UTC
Created attachment 66062 [details, diff]
modify /usr/include/linux/wait.h a little bit can solve it
Comment 3 Zhang Le (RETIRED) gentoo-dev 2005-08-16 03:17:41 UTC
(In reply to comment #1)
> Do not file ebuild bugs under the Developer Relations category.

sorry, this is the first time to file a bug
;)
Comment 4 Ming Zhao (RETIRED) gentoo-dev 2005-11-20 09:25:20 UTC
This seems to be a linux-headers related bug. A simple cpp program can produce
compiling error:
#include <linux/wait.h>

int main(int argc, char** argv) {
        return 0;
}

Could x86-kernel team take a look at it?
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2006-02-21 12:20:09 UTC
*** Bug 123577 has been marked as a duplicate of this bug. ***
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-20 17:32:11 UTC
Is this still an issue?
Comment 7 Zhang Le (RETIRED) gentoo-dev 2006-10-20 21:43:38 UTC
(In reply to comment #6)
> Is this still an issue?
> 
now we use zhcon in gentoo-china overlay
layman -a gentoo-china
Comment 8 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-10-22 13:53:56 UTC
Considering this fixed now (mark verified if it is), in a month the new version can be asked to be marked stable and the old broken one can be removed.