Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 208976
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
slang-support.patch slang-support.patch patch Azamat H. Hackimov 2008-02-10 23:51 0000 786 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 208976 depends on: Show dependency tree
Bug 208976 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: 2008-02-05 09:40 0000
When I install sys-apps/util-linux-2.13-r2 with USE-flag nls Iget broken
interface:
                          cfdisk (util-linux-ng 2.13)

                ▒~Tи▒~Aков▒~Kй накопи▒~Bел▒~L: /dev/hde
                Разме▒~@: 250059350016 бай▒~B, 250.0 ▒~S▒~Q
▒~Sоловок: 255   Сек▒~Bо▒~@ов на до▒~@ожк▒~C: 63  
Цилин
д▒~@▒
   ▒~Xм▒~O    Флаги Тип ▒~@▒Тип ФС                    
[▒~\е▒~Bка  Разме
▒------------------------------------------------------------------------------
    hde1        ▒~Wаг▒~@▒~▒~^▒~AноLinux ext3                     
250056,74

Normally it must draw:

                          cfdisk (util-linux-ng 2.13)

                         Дисковый накопитель: /dev/hde
                      Размер: 250059350016 байт, 250.0 ГБ
           Головок: 255   Секторов на дорожку: 63  
Цилиндров: 30401

    Имя         Флаги      Тип разделаТип ФС          
[Метка]        Размер (МБ
)------------------------------------------------------------------------------
    hde1        Загрузочный Основной  Linux ext3            
         250056,74


This error occure because I use UTF8-locale. Maybe this is ncurses issue, I
don't know. I have sys-libs/ncurses-5.6-r2


System info:

emerge --info
Portage 2.1.3.19 (default-linux/x86/2006.1, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-ge                                              ntoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Pentium III (Coppermine)
Timestamp of tree: Mon, 28 Jan 2008 01:47:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disable                                              d]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shu                                              tdown
/usr/share/config /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/
/et                                              c/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /et                          
                   c/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/samba/all_gentoo_distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
stri                                              ct unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="ru_RU.UTF-8"
LC_ALL=""
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
                                              --force --whole-file --delete
--delete-after --stats --timeout=180 --exclude=/di                             
                stfiles --exclude=/local --exclude=/packages
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://86.57.151.3/ftp/pub/gentoo/gentoo-portage/"
USE="X acl acpi ads alsa authdaemond berkdb bitmap-fonts bzip2 cli cracklib
cryp                                              t ctype dmi dri gdbm gpm hal
iconv isdnlog maildir maildrop mailwrapper midi mmx                            
                  mod_irc mod_muc mod_pubsub mudflap mysql nagios-ping
nagios-ssh ncurses nls npt                                              l
nptlonly openmp pam pcre perl plugins ppds pppd python qt3 readline reflection 
                                             samba session spl sse sse2 ssl
tcpd truetype truetype-fonts type1-fonts unicode                               
               x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem
bt87x ca0106 cmi                                              pci emu10k1
emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 inte           
                                  l8x0m 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
mulaw multi null plug rate route share shm softvol" A                          
                   PACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_                                             
default authn_file authz_dbm authz_default authz_groupfile authz_host
authz_owne                                              r authz_user autoindex
cache dav dav_fs dav_lock deflate dir disk_cache env expi                      
                       res ext_filter file_cache filter headers include info
log_config logio mem_cache                                               mime
mime_magic negotiation rewrite setenvif speling status unique_id userdir u     
                                        sertrack vhost_alias" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL=                                   
          "linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216
lcdm001 mtxorb nc                                              urses text"
LINGUAS="ru en" USERLAND="GNU" VIDEO_CARDS="vesa nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_C                                              OMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always

Steps to Reproduce:
1. USE="nls" emerge sys-apps/util-linux
2. LANG="ru_RU.UTF-8" cfdisk
3. Get broken interface

------- Comment #1 From SpanKY 2008-02-09 22:22:22 0000 -------
did util-linux-2.12* work ?  what about 2.13.1 ?

------- Comment #2 From Azamat H. Hackimov 2008-02-10 14:07:21 0000 -------
(In reply to comment #1)
> did util-linux-2.12* work ?  what about 2.13.1 ?

2.12* not have russian interface.
2.13.1 give same problem

------- Comment #3 From SpanKY 2008-02-10 21:37:57 0000 -------
ok, so it isnt a regression

try without a UTF8 locale ... just LANG=ru_RU

------- Comment #4 From Azamat H. Hackimov 2008-02-10 22:12:42 0000 -------
(In reply to comment #3)
> ok, so it isnt a regression
> 
> try without a UTF8 locale ... just LANG=ru_RU
> 
This work, but I use UTF-8 console, and I get screen with squares instead
letters.

I think it's issue of ncurses. Same problem appears with mc long time ago.

------- Comment #5 From SpanKY 2008-02-10 22:27:08 0000 -------
util-linux atm forces linking against the narrow versions of ncurses ... i'm
just trying to make sure that this is indeed the source of your troubles

------- Comment #6 From Azamat H. Hackimov 2008-02-10 23:50:27 0000 -------
OK, I solved this problem. cfdisk may be compiled with slang support, this
might be workaround. Patch iincluded.

------- Comment #7 From Azamat H. Hackimov 2008-02-10 23:51:33 0000 -------
Created an attachment (id=143172) [details]
slang-support.patch

Add slang support for cfdisk

------- Comment #8 From SpanKY 2008-03-29 21:31:46 0000 -------
upstream now handles ncurses/ncursesw properly.  ive added that as well as
slang support to the ebuild (as slang is a terrible library to depend on).

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug