Mailinglist Archive: opensuse-bugs (3349 mails)

< Previous Next >
[Bug 978993] Weird device node names in cfdisk
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Tue, 31 May 2016 19:09:03 +0000
  • Message-id: <bug-978993-21960-veujhYNwXC@http.bugzilla.opensuse.org/>
http://bugzilla.opensuse.org/show_bug.cgi?id=978993
http://bugzilla.opensuse.org/show_bug.cgi?id=978993#c9

--- Comment #9 from Stanislav Brabec <sbrabec@xxxxxxxx> ---
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:
You are on the CC list for the bug.
< Previous Next >
References