Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 431726 - =sys-apps/coreutils-8.18 - IUSE=unicode is missing
Summary: =sys-apps/coreutils-8.18 - IUSE=unicode is missing
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 10:40 UTC by zhoujingmiller
Modified: 2012-08-17 17:11 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 zhoujingmiller 2012-08-17 10:40:52 UTC
coreutils no longer has unicode enabled due to interix use.mask change

Reproducible: Always

Steps to Reproduce:
1. run USE=unicode emerge -1va coretutils on a recent Gentoo.
2. watch for the unicode flag
3. the flag is forcibly disabled
Actual Results:  
coreutils has unicode disabled

Expected Results:  
coreutils has unicode enabled
Comment 1 zhoujingmiller 2012-08-17 10:41:25 UTC
The trouble maker:

/usr/portage/profiles/prefix/windows/interix/use.mask
Comment 2 zhoujingmiller 2012-08-17 10:41:56 UTC
Portage 2.1.11.9 (hardened/linux/amd64/no-multilib/selinux, gcc-4.6.3, glibc-2.16.0, 3.5.0-gentoo x86_64)
=================================================================
System uname: Linux-3.5.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2410M_CPU_@_2.30GHz-with-gentoo-2.1
Timestamp of tree: Fri, 17 Aug 2012 08:30:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.22.90
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.5 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo science gentoo-haskell
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=native -msse4.2 -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/grub /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=native -msse4.2 -mavx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox selinux sesandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-pipe -O2 -march=native -msse4.2 -mavx"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ http://mirrors.163.com/gentoo/ http://mirrors.xmu.edu.cn/gentoo/ http://mirrors.stuhome.net/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirrors.sohu.com/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/haskell"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi adns alsa amd64 ao apm atm avahi berkdb blas bluetooth bzip2 cairo caps cdda cddb cdparanoia cjk cli consolekit cracklib crypt cups curl cxx dbus djvu dri dv dvb dvd encode exif expat fam ffmpeg fftw flac fltk fontconfig fortran freetds ftp gdbm gif gmp gnuplot gnutls gphoto2 gpm graphviz gsl gsm gstreamer gtk hardened hdf5 hscolour iconv icu idn ieee1394 imagemagick imlib ios ipv6 java jbig jpeg jpeg2k justify kde lame lapack latex lcms libnotify libwww lm_sensors lua lzma lzo mad mmap mmx mng modules mp3 mpeg mssql mtp mudflap musepack mysql mysqli ncurses networkmanager nls nptl nsplugin odbc ogg open_perms openal openexr opengl openmp pam pax_kernel pcmcia pcre pdf peer_perms perl png policykit postgres pppd pulseaudio python qt4 quicktime radius readline ruby sasl sdl selinux semantic-desktop session slp sndfile soap socks5 speex spell sqlite sqlite3 sse sse2 ssl subversion svg syslog szip taglib tcl tcpd theora threads tiff tk truetype ubac udev unicode urandom usb v4l v4l2 vcd vorbis wavpack wifi wmf x264 xattr xcb xcomposite xft xinerama xinetd xml xmp xpm xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon plan stage" CAMERAS="adc65 agfa_cl20 aox ax203 barbie canon casio_qv clicksmart310 digigr8 digita dimagev dimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 jl2005a jl2005c kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 st2205 stv0674 stv0680 sx330z template topfield toshiba_pdrm11" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev void keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" SANE_BACKENDS="abaton agfafocus apple artec artec_eplus48u as6e avision bh canon canon630u canon_dr cardscan coolscan coolscan2 coolscan3 dc210 dc240 dc25 dell1600n_net dmc epjitsu epson epson2 fujitsu genesys gt68xx hp hp3500 hp3900 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb nec net niash p5 pie pixma plustek plustek_pp qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c st400 stv680 tamarack teco1 teco2 teco3 test u12 umax umax1220u umax_pp xerox_mfp" USERLAND="GNU" VIDEO_CARDS="vesa intel fglrx" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 zhoujingmiller 2012-08-17 10:43:23 UTC
Another trouble maker:

/usr/portage/profiles/prefix/windows/winnt/use.mask
Comment 4 zhoujingmiller 2012-08-17 10:45:13 UTC
I ran this script at /usr/portage/profiles to locate the problem:

for i in `find -name "use.mask"`; do
echo $i
cat $i | grep -i unicode
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-17 16:37:55 UTC
#  totally b0rked on interix
unicode

That's probably a good reason.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-17 16:39:33 UTC
oops
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-17 16:40:28 UTC
No, your analysis is flawed. You're not using that profile so the USE mask isn't bothering you.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2012-08-17 16:42:37 UTC
--- coreutils-8.17.ebuild       2012-07-18 02:13:35.000000000 +0200
+++ coreutils-8.18.ebuild       2012-08-12 16:55:22.000000000 +0200
@@ -1,6 +1,6 @@
 # Copyright 1999-2012 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.17.ebuild,v 1.3 2012/07/11 14:33:02 ryao Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/coreutils/coreutils-8.18.ebuild,v 1.1 2012/08/12 14:55:22 vapier Exp $
 
 EAPI="3"
 
@@ -18,7 +18,7 @@
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd"
-IUSE="acl caps gmp nls selinux static unicode userland_BSD vanilla xattr"
+IUSE="acl caps gmp nls selinux static userland_BSD vanilla xattr"
 
 RDEPEND="caps? ( sys-libs/libcap )
        gmp? ( dev-libs/gmp )
@@ -39,7 +39,7 @@
 
 src_prepare() {
        if ! use vanilla ; then
-               use unicode || rm -f "${WORKDIR}"/patch/000_all_coreutils-i18n.patch
+               use_if_iuse unicode || rm -f "${WORKDIR}"/patch/000_all_coreutils-i18n.patch
                EPATCH_SUFFIX="patch" \
                PATCHDIR="${WORKDIR}/patch" \
                EPATCH_EXCLUDE="001_all_coreutils-gen-progress-bar.patch" \


I assume there was a good reason for that.
Comment 9 SpanKY gentoo-dev 2012-08-17 17:11:09 UTC
coreutils-8.5 was the last version to actually include an i18n patch.  every version since has simply been lying when it listed IUSE=unicode as it was a simple no-op.  i updated 8.18 to reflect reality.