Jump to content

failed to emerge ncurses-6.0-r1 (/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/cross/progs/tic: No such file or directory) [SOLVED]


s4uliu5
 Share

Recommended Posts

Hi,

 

while performing usual system update got failure while emerging sys-libs/ncurses-6.0-r1

...
mkdir -p /var/tmp/portage/sys-libs/ncurses-6.0-r1/image//usr/lib32/pkgconfig
** creating ncurses.pc
/usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c ncurses-config /var/tmp/portage/sys-libs/ncurses-6.0-r1/image//usr/bin/ncurses6-config
DESTDIR=/var/tmp/portage/sys-libs/ncurses-6.0-r1/image/ \
prefix=/usr \
exec_prefix=/usr \
bindir=/usr/bin \
top_srcdir=/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0 \
srcdir=/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0/misc \
datadir=/usr/share \
ticdir=/usr/share/terminfo \
source=terminfo.tmp \
cross_compiling=no \
/bin/bash ./run_tic.sh
** Building terminfo database, please wait...
Running /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/cross/progs/tic to install /var/tmp/portage/sys-libs/ncurses-6.0-r1/image//usr/share/terminfo ...

        You may see messages regarding extended capabilities, e.g., AX.
        These are extended terminal capabilities which are compiled
        using
                tic -x
        If you have ncurses 4.2 applications, you should read the INSTALL
        document, and install the terminfo without the -x option.

** creating panel.pc
./run_tic.sh: line 140: /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/cross/progs/tic: No such file or directory
? tic could not build /var/tmp/portage/sys-libs/ncurses-6.0-r1/image//usr/share/terminfo
Makefile:90: recipe for target 'install.data' failed
make[1]: *** [install.data] Error 1
make[1]: *** Waiting for unfinished jobs....
** creating menu.pc
** creating form.pc
** creating ncurses++.pc
touch pc-files
make[1]: Leaving directory '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_32.x86/ncurses/misc'
Makefile:113: recipe for target 'install' failed
make: *** [install] Error 2
make: Leaving directory '/var/tmp/portage/sys-libs/ncurses-6.0-r1/work/ncurses-6.0-abi_x86_32.x86/ncurses'
 * ERROR: sys-libs/ncurses-6.0-r1::gentoo failed (install phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=sys-libs/ncurses-6.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/ncurses-6.0-r1::gentoo'`.
...

I think a cause of the problem is

./run_tic.sh: line 140: /var/tmp/portage/sys-libs/ncurses-6.0-r1/work/cross/progs/tic: No such file or directory
? tic could not build /var/tmp/portage/sys-libs/ncurses-6.0-r1/image//usr/share/terminfo

Anybody has any ideas how to fix this?

 

Thanks.

 

--

Saulius

 

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

 

I found the solution.

 

I don't know how it happened, but somehow, during  emerge of some package, most of the ncurses files (in /etc and /usr/bin) had been deleted,
including /usr/bin/tic.

What makes it more interesting or strange is that at first ncurses-6.0-r1 were installed, but later it has been downgraded to 6.0 (without r1).

As I build (and store) binary packages too, I extracted missing files from /usr/portage/packages/sys-libs/ncurses-6.0-r1.tbz2. After that the emerge of ncurses-6.0-r1 succeeded.

 

So binary package saved the day. :)

 

 

 

Link to comment
Share on other sites

  • 2 months later...

hello,

 

i repaired this condition by compiling and installing  the source from portage distfiles.

 

    cd ~/devel

    tar xvf /usr/portage/distfiles/ncurses-6.0.tar.gz

    cd ncurses-6.0

    ./configure

    make

    sudo make install   ( this put ncurses in /usr/local )

    emerge ncurses ( result was sys-libs/ncurses-6.0-r1 installed ok )

    sudo make uninstall

 

 

regards

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...