Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 3877 - korean patch breaks gaim-0.58-r2 compile
Summary: korean patch breaks gaim-0.58-r2 compile
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Stuart Bouyer (RETIRED)
URL: http://gaim.sourceforge.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-18 23:37 UTC by Duke
Modified: 2003-02-04 19:42 UTC (History)
0 users

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 Duke 2002-06-18 23:37:50 UTC
When updating gaim to 0.58-r2, I get the following error:

make[3]: Entering directory `/var/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src'
gcc -DHAVE_CONFIG_H -I. -I. -I..     -march=i686 -O3 -pipe -I/usr/local/include
-I/opt/include -I.. -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -fno-strict-aliasing
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
-I/usr/lib/perl5/5.6.1/i686-linux/CORE  -DLOCALEDIR=\"/usr/share/locale\"
-DLIBDIR=\"/usr/lib/gaim/\"  -c util.c
util.c: In function `strdup_withhtml':
util.c:941: warning: assignment discards qualifiers from pointer target type
util.c: In function `init_utf8_converter':
util.c:1133: `LC_ALL' undeclared (first use in this function)
util.c:1133: (Each undeclared identifier is reported only once
util.c:1133: for each function it appears in.)
util.c: In function `utf8_to_str':
util.c:1223: warning: passing arg 2 of `iconv' from incompatible pointer type
util.c: In function `str_to_utf8':
util.c:1313: warning: passing arg 2 of `iconv' from incompatible pointer type
make[3]: *** [util.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gaim-0.58-r2/work/gaim-0.58/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gaim-0.58-r2/work/gaim-0.58'
make: *** [all-recursive-am] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line -52, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/net-im/gaim/gaim-0.58-r2.ebuild .

It seems there's a problem with LC_ALL, perhaps.  It may be that this var may
not be getting exported properly on my system.  I'm using zsh, with my own
zprofile and .zshrc files, and I don't use LC_ALL at all.  Would the problem lie
therein?

I've kept up with all the updates since Gentoo 1.1a.  I'm using Linux kernel
2.4.18, gcc version 2.95.3 20010315 (release).  If more information is required,
please let me know.

Thanks,

     -- Duke.
Comment 1 Paul Belt 2002-06-21 22:30:57 UTC
A better CVS update command ... replaces 'cvs -q up -d' in the ebuild

cvs -z3 -d:pserver:anonymous@cvs.gaim-e.sf.net:/cvsroot/gift co gaim-e

The line above comes from the current INSTALL file from the cvs update

Comment 2 Paul Belt 2002-06-21 22:31:24 UTC
wrong bug number -- ignore previous comment
Comment 3 Stuart Bouyer (RETIRED) gentoo-dev 2002-06-24 08:33:48 UTC
I can't replicate this bug with bash or default zsh
Even with LC_ALL= I can co,pile this.

Can you try again with export LC_ALL="" or LC_ALL=en_US and see if it works?
Otherwise attach your zprofile and .zshrc files or email them to me and I'll
give it a try here

StuBear
Comment 4 Duke 2002-06-24 20:02:45 UTC
No dice with LC_ALL="" or LC_ALL=en_US.
I don't have a zprofile, but I do have a zlogin, which consists of one line:

export LS_COLORS=`cat /etc/DIR_COLORS`

My .zshrc is this:

PS1="[%T](%n@%m%)|%B%b<%?>[%!]%# "
RPS1="<%~>"
alias ls='ls --color'
setopt AUTO_LIST AUTO_MENU
alias lirc='irc 127.0.0.1'
compctl -g '*.tar.gz *.tgz' tar 
export DISPLAY=:0.0

I also get the same error using the default shell (which I'm assuming is
/bin/sh).  My profile and profile.env are the default files provided by gentoo.
 I havn't chnaged them at all.
Perhaps you could email me your profile information?

Thanks,

    -- Duke.
Comment 5 Stuart Bouyer (RETIRED) gentoo-dev 2002-06-25 09:50:43 UTC
The korean patch needs to have nls in USE.

This is a duplicate of bug 4140
http://bugs.gentoo.org/show_bug.cgi?id=4140