Comment # 9 on bug 978993 from
The mechanism of the bug appearing is simple:

Old versions checked for ncursesw library. Everything worked OK.

Newer versions of util-linux don't check for ncursesw library any more. They
check only for ncursesw.pc pkgconfig file. But that file does not exist in our
ncurses5 packages.

Newer version of SUSE contain ncurses6, which contains ncursesw.pc. Everything
works again.


In case of Leap 42.1 and SLE 12, the detection of ncursesw failed, and
util-linux went to use fallback detection for ncurses (and ncurses only, not
ncursesw) library. It succeeded => util-linux was compiled with a non-widechar
version of ncurses.

So there are two problems:

- Mangled cfdisk with a non-widechar curses library. Cleanly an upstream bug
that is still present in the current git repository. The mechanism of appearing
is not clean to me yet.

- Not using ncursesw. This is cleanly an incompatibility of util-linux-2.25
with ncurses5.


Fixing only one of these two issues is sufficient.


I am not sure whether we should fix the second issue. It would introduce
different dependencies of util-linux.


The errneous sequence is:
esc ( B esc [ 0 m esc [ 3 2 m sp sp sp sp M - b ~ T ~ T M - b ~ T ~ @


You are receiving this mail because: