ncurses abi 5

Jan Rękorajski baggins at pld-linux.org
Sun Jan 3 12:22:23 CET 2016


On Sun, 03 Jan 2016, Elan Ruusamäe wrote:

> On 02.01.2016 23:03, Jan Rękorajski wrote:
> > On Sat, 02 Jan 2016, Elan Ruusamäe wrote:
> >
> >> >hi
> >> >
> >> >why was abi 5 dropped? it's still possible to build it with 6.0, fedora
> >> >does that.
> >> >
> >> >and while at it, perhaps some restructuring, like having different
> >> >packages (subpackage(s)) for abi5 and abi6? name suggestions?
> >> >
> >> >ncurses-libs for abi6?
> >> >ncurses-libs5, ncurses5-libs, ncurses-compat-libs, compat-ncurses-libs
> >> >for abi5?
> > poldek:/all-avail> ls compat-ncurses5-*
> > compat-ncurses5-5.9.20150117-1.x86_64
> > compat-ncurses5-ext-5.9.20150117-1.x86_64
> 
> yet it's not offered by poldek:
> 
> poldek-0.30.1-15.x86_64
> rpm-5.4.15-31.x86_64
> 
> root at glen ~# poldek -u ncurses
> Processing dependencies...
> ncurses-5.9.20150117-5.x86_64 obsoleted by ncurses-6.0-3.x86_64
> error: libncurses.so.5()(64bit) is required by installed 
> dropbox-3.10.8-1.x86_64
>    greedy upgrade ncurses-ext-5.9.20150117-5.x86_64 to 6.0-3.x86_64 
> (unresolved libncurses.so.5()(64bit))
>     ncurses-ext-5.9.20150117-5.x86_64 obsoleted by ncurses-ext-6.0-3.x86_64
> error: libncurses.so.5()(64bit) is required by installed 
> ruby18-modules-1.8.7.352-1.x86_64
> There are 2 packages to install (1 marked by dependencies), 2 to remove:
> I ncurses-6.0-3.x86_64
> D ncurses-ext-6.0-3.x86_64
> R ncurses-5.9.20150117-5.x86_64  ncurses-ext-5.9.20150117-5.x86_64
> This operation will free 308.3KB of disk space.
> Need to get 527.1KB of archives (59.7KB to download).
> 
> error: 2 unresolved dependencies

Weird, looks like problem in poldek.

poldek:/all-avail> what-provides libncurses.so.5()(64bit)
1 package(s) found:
compat-ncurses5-5.9.20150117-1.x86_64

> also, if 6.0 allows building abi-5, shouldn't it be used instead (to 
> have more up to date ncurses patches)

Feel free to chenge ncurses.spec and build compat-libs there.

> >> >ps: i think base terminfo should be also placed to some subpackage for
> >> >noarch (ncurses-base? terminfo-minimal?)
> > The reason being?

> mainly so i could poldek -i ncurses:
> 
> root at glen ~# poldek -i ncurses
> 
> There are 1 package to install:
> I ncurses-6.0-3.x86_64
> This operation will use 1.5MB of disk space.
> Need to get 467.4KB of archives.
> Executing pm-command.sh --install -vh --root / --define 
> _check_dirname_deps 1...
> Preparing... ########################################### [100%]
> error: Install/Erase problems:
> ...
>          file /usr/share/terminfo/E/Eterm-88color from install of 
> ncurses-6.0-3.x86_64 conflicts with file from package ncurses-
>          file /usr/share/terminfo/E/Eterm-color from install of 
> ncurses-6.0-3.x86_64 conflicts with file from package ncurses-5.
>          file /usr/share/terminfo/g/gnome from install of 
> ncurses-6.0-3.x86_64 conflicts with file from package
> ncurses-5.9.2015A
[...]

Use compat-ncurses5 for this instead of creating yet another unnecessary
package.

-- 
Jan Rękorajski                    | PLD/Linux
SysAdm | baggins<at>pld-linux.org | http://www.pld-linux.org/


More information about the pld-devel-en mailing list