On Tue, 7 Jul 2015 14:31, Rusmir Duško wrote:
On Tue, 7 Jul 2015 14:09:52 Yamaban wrote:
On Tue, 7 Jul 2015 13:40, Rusmir Duško wrote:
Hello
I have problem with all packages since long time which use Ncurses, not only Games also now tmux
[ 13s] [76/118] cumulate ncurses-devel-5.9-67.18
[ 38s] checking curses.h usability... yes [ 38s] checking curses.h presence... yes [ 38s] checking for curses.h... yes .. [ 24s] checking for library containing setupterm... -lncurses
/var/tmp/build-root/openSUSE_Factory-x86_64/.build.packages/RPMS/x86_64/ > zypper in -f tmux-2.0-0.x86_64.rpm Loading repository data... Reading installed packages... Forcing installation of 'tmux-2.0-0.x86_64' from repository 'Plain RPM files cache'. Resolving package dependencies...
Problem: nothing provides libtinfo.so.5(NCURSES_TINFO_5.0.19991023)(64bit) needed by tmux-2.0-0.x86_64 Solution 1: do not install tmux-2.0-0.x86_64 Solution 2: break tmux-2.0-0.x86_64 by ignoring some of its dependencies [snip]
You do this build at your box, not on opensuse build-service, right?
Yes i build on local box and which to test before i commit.
Then, please, check your local build-service rpm-cache.
[snip list of obs-packages]
Do i need more to install?
There may be a out-of-date ncurses(-devel) package there, if so, remove them (the nurses-rpm-files) please, and start the build again, obs will get a fresh ncurses package for you.
I have removed in
/var/tmp/osbuild-packagecache/openSUSE:Factory/snapshot/x86_64/
ncurses-devel-5.9-67.18.x86_64.rpm libncurses5-5.9-67.18.x86_64.rpm libncurses6-5.9-67.18.x86_64.rpm
osc build
Have downloadet new packages
(openSUSE:Factory) libncurses5-5.9-67.18.x86_64.rpm 100% |==================================| 389 kB 00:00 (openSUSE:Factory) ncurses-devel-5.9-67.18.x86_64.rpm 100% |==================================| 3.4 MB 00:00 (openSUSE:Factory) libncurses6-5.9-67.18.x86_64.rpm 100% |==================================| 390 kB 00:00
The locally installed (used by running programs) versions of ncurses, as listed via zypper, have nothing to do with the versions used for the build system, which has its own chache of rpms to use.> - Yamaban.
Have also used
mv /var/tmp/osbuild-packagecache /var/tmp/osbuild-packagecache-
And again have get
zypper in -f tmux-2.0-0.x86_64.rpm Loading repository data... Reading installed packages... Forcing installation of 'tmux-2.0-0.x86_64' from repository 'Plain RPM files cache'. Resolving package dependencies...
Problem: nothing provides libtinfo.so.5(NCURSES_TINFO_5.0.19991023)(64bit) needed by tmux-2.0-0.x86_64 Solution 1: do not install tmux-2.0-0.x86_64 Solution 2: break tmux-2.0-0.x86_64 by ignoring some of its dependencies
Choose from above solutions by number or cancel [1/2/c] (c)
This is local
locate libtinfo.so.5 /lib/libtinfo.so.5 /lib/libtinfo.so.5.9 /lib64/libtinfo.so.5 /lib64/libtinfo.so.5.9
rpm -qf /lib64/libtinfo.so.5.9 libncurses5-5.9-52.2.3.x86_64
Oh! Not nice. Q: If you run "rpm -q -p --requires" on both tmux-rpms (local build and downloaded) is there a diff ? (without -p the locally installed package is questioned) Q: in your tmux.spec, do you use "BuildRequires: pkgconfig(ncurses)" or "BuildRequires: ncurses-devel", it could make a difference, but I'm unsure about that. For reference, see https://build.opensuse.org/package/view_file/utilities/tmux/tmux.spec?expand... - Yamaban.