Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 143334 - x11-wm/icewm-1.2.29 and earlier fail with FEATURES=test and USE=-nls
Summary: x11-wm/icewm-1.2.29 and earlier fail with FEATURES=test and USE=-nls
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Steve Dibb (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-09 05:19 UTC by Sascha G.
Modified: 2007-01-01 08:52 UTC (History)
3 users (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 Sascha G. 2006-08-09 05:19:44 UTC
>>> Source compiled.
>>> Test phase [check]: x11-wm/icewm-1.2.26
testlocale.cc: In function `int main()':
testlocale.cc:43: error: 'class YLocale' has no member named 'unicodeString'
testlocale.cc:48: error: 'class YLocale' has no member named 'unicodeString'
make[1]: *** [testlocale.o] Error 1
make: *** [check] Error 2

!!! ERROR: x11-wm/icewm-1.2.26 failed.Call stack:
  ebuild.sh, line 1543:   Called dyn_test
  ebuild.sh, line 986:   Called src_test
  ebuild.sh, line 616:   Called die

[ebuild   R   ] x11-wm/icewm-1.2.26  USE="-esd -gnome imlib -nls silverxp -spell truetype xinerama" 0 kB 

This has been the case for several versions now.


Portage 2.1.1_pre4-r4 (selinux/2005.1/x86/hardened, gcc-3.4.6/hardened, glibc-2.3.6-r4, 2.6.16-hardened-r11 i686)
=================================================================
System uname: 2.6.16-hardened-r11 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz
Gentoo Base System version 1.12.4
Last Sync: Tue, 08 Aug 2006 16:20:01 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"FEATURES="autoconfig collision-protect distlocks loadpolicy parallel-fetch sandbox selinux sfperms strict stricter userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from /etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X a52 aac alsa bzip2 caps cjk crypt cups curl dts dvd dvdread elibc_glibc ffmpeg flac ftp gif gtk hardened idn input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 jpeg kdeenablefinal kernel_linux linguas_en mad mikmod mmap mmx mp3 ncurses nptl offensive ogg opengl pam pdf pic png selinux sndfile sse sse2 ssl theora threads tiff truetype unicode userland_GNU video_cards_nvidia vorbis win32codecs xinerama xv xvid zlib"
Unset:  CTARGET, INSTALL_MASK, LC_ALL
Comment 1 Hanno Böck gentoo-dev 2006-08-19 08:35:58 UTC
morfic, you seem to be the one touching icewm lately. Mind having a look and add yourself to metadata?

However, it compiles fine on my sys with FEATURES="test", so it worksforme.
Comment 2 Sascha G. 2006-08-20 16:17:31 UTC
(In reply to comment #1)
> However, it compiles fine on my sys with FEATURES="test", so it worksforme.

Try with USE=-nls, then it shouldn't work. I was able to dig out my *really* rusty knowledge of C and came up with the possible reason.

In src/ylocale.h:

class YLocale {
public:
    YLocale(char const * localeName = "");
    ~YLocale();
    
#ifdef CONFIG_I18N
    static iconv_t getConverter (char const *from, char const **& to);
    static YLChar *localeString(YUChar const *uStr, size_t const uLen,
                                size_t &lLen);
    static YUChar *unicodeString(YLChar const *lStr, size_t const lLen,
                                 size_t &uLen);
#endif

The nls USE flag sets and unsets both nls and i18n, so to me it looks like this test cannot run through without it.
Comment 3 Hanno Böck gentoo-dev 2006-12-05 04:30:59 UTC
bcowan, reassigning to you, as I've removed myself from being icewm-maintainer.

However, this bug is now fixed upstream, so a simple bump should do it.
Comment 4 Sascha G. 2006-12-05 14:26:42 UTC
(In reply to comment #3)
> However, this bug is now fixed upstream, so a simple bump should do it.

In 1.2.28 (the current version according to www.icewm.org), this has not been fixed. The error message is the same.
Comment 5 Sascha G. 2006-12-11 12:36:36 UTC
Still not solved in 1.2.29, same error message.
Comment 6 Steve Dibb (RETIRED) gentoo-dev 2006-12-31 09:39:53 UTC
Try 1.2.30, seems to workforme
Comment 7 Sascha G. 2007-01-01 08:52:29 UTC
(In reply to comment #6)
> Try 1.2.30, seems to workforme
 
Yes, works nicely, thanks. Closing.