Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
When I launch eselect I get errors on tput lines
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 12:07 pm    Post subject: When I launch eselect I get errors on tput lines Reply with quote

Code:
/usr/share/eselect/libs/output.bash: línea 20: tput: orden no encontrada
/usr/share/eselect/libs/output.bash: línea 21: tput: orden no encontrada
/usr/share/eselect/libs/output.bash: línea 22: tput: orden no encontrada
/usr/share/eselect/libs/output.bash: línea 23: tput: orden no encontrada
/usr/share/eselect/libs/output.bash: línea 24: tput: orden no encontrada
/usr/share/eselect/libs/output.bash: línea 25: tput: orden no encontrada
/usr/share/eselect/libs/output.bash: línea 54: tput: orden no encontrada


I searched for a solution but found nothing
Back to top
View user's profile Send private message
eeckwrk99
Apprentice
Apprentice


Joined: 14 Mar 2021
Posts: 166
Location: Gentoo forums

PostPosted: Tue Dec 26, 2023 12:24 pm    Post subject: Reply with quote

Is tput installed?
Code:
$ which tput

or
Code:
$ command -v tput


Maybe simply reinstalling sys-libs/ncurses would fix it?

Code:
$ equery belongs tput
 * Searching for tput ...
sys-libs/ncurses-6.4_p20230401 (/usr/bin/tput)


Code:
# emerge -1  sys-libs/ncurses


(Don't use -1, --oneshot if the package is in your world set, of course.)
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 12:59 pm    Post subject: Reply with quote

Quote:
Is tput installed?

which: no tput in (/usr/local/sbin:/usr/local/bin:/usr/bin:/opt/bin:/usr/lib/llvm/17/bin:/usr/lib/llvm/16/bin:/usr/lib/llvm/15/bin:/opt/cuda/bin:/usr/lib64/opencascade/bin)

I don't have it installed, which package is it?
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Tue Dec 26, 2023 1:08 pm    Post subject: Reply with quote

The package sys-libs/ncurses is a runtime dependency of app-admin/eselect.

What shows
Code:
emerge -pv eselect
?
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 1:16 pm    Post subject: Reply with quote

Quote:
The package sys-libs/ncurses is a runtime dependency of app-admin/eselect.

What shows

[ebuild R ] app-admin/eselect-1.4.27-r1::gentoo USE="-doc -emacs -vim-syntax" 0 KiB
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 1:19 pm    Post subject: Reply with quote

ncurses does not compile

make[1]: [Makefile:867: /tmp/portage/sys-libs/ncurses-6.4_p20230401/image/usr/lib/libtinfo.so.6.4] Error 1 (ignored)
make[1]: [Makefile:1735: /tmp/portage/sys-libs/ncurses-6.4_p20230401/image/usr/lib/libncurses.so.6.4] Error 1 (ignored)
make[1]: [Makefile:350: /tmp/portage/sys-libs/ncurses-6.4_p20230401/image/usr/lib/libpanel.so.6.4] Error 1 (ignored)
make[1]: [Makefile:391: /tmp/portage/sys-libs/ncurses-6.4_p20230401/image/usr/lib/libmenu.so.6.4] Error 1 (ignored)
make[1]: [Makefile:431: /tmp/portage/sys-libs/ncurses-6.4_p20230401/image/usr/lib/libform.so.6.4] Error 1 (ignored)

** Building terminfo database, please wait...
Running to install /tmp/portage/sys-libs/ncurses-6.4_p20230401/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.

./run_tic.sh: line 147: -V: command not found
./run_tic.sh: line 148: -x: command not found
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Tue Dec 26, 2023 1:20 pm    Post subject: Reply with quote

Looks good.

What shows
Code:
emerge -pv ncurses
?
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 1:23 pm    Post subject: Reply with quote

sys-libs/ncurses-6.4_p20230401:0/6::gentoo USE="cxx stack-realign (tinfo) -ada -debug -doc -gpm -minimal -profile (-split-usr) -static-libs -test -trace -verify-sig" ABI_X86="32 (64) (-x32)" 0 KiB
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Tue Dec 26, 2023 2:04 pm    Post subject: Reply with quote

Can you please provide the build log of ncurses (with the help of wgetpaste)?
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 2:59 pm    Post subject: Reply with quote

When I use wgetpaste /var/log/portage/sys-libs:ncurses-6.4_p20230401:20231226-144503.log I get this error:


Apparently nothing was received. Perhaps the connection failed. Enable --verbose or

--debug to get the output from wget that can help diagnose it correctly.


Code:
 wgetpaste -v ncurses-6.4_p20230401.log
Apparently nothing was received. Perhaps the connection failed.
--2023-12-26 15:59:13--  https://bpa.st/api/v1/paste
Resolving bpa.st... 2a01:4f9:5a:5159::2, 65.109.61.99
Connecting to bpa.st|2a01:4f9:5a:5159::2|:443... connected.
HTTP request sent, awaiting response... 413 Request Entity Too Large
2023-12-26 15:59:13 ERROR 413: Request Entity Too Large.
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 374

PostPosted: Tue Dec 26, 2023 3:32 pm    Post subject: Reply with quote

The build log is too big for the paste service. Please choose another one (I do not know, which one will accept bigger uploads).
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1584

PostPosted: Tue Dec 26, 2023 4:46 pm    Post subject: Reply with quote

Have you manually run "emerge -C" ?
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Tue Dec 26, 2023 6:06 pm    Post subject: Reply with quote

logrusx wrote:
Have you manually run "emerge -C" ?


it worked! I removed ncurses and reinstalled it, the eselect error disappeared.
Back to top
View user's profile Send private message
logrusx
Veteran
Veteran


Joined: 22 Feb 2018
Posts: 1584

PostPosted: Wed Dec 27, 2023 5:31 am    Post subject: Reply with quote

elover wrote:
logrusx wrote:
Have you manually run "emerge -C" ?


it worked! I removed ncurses and reinstalled it, the eselect error disappeared.


Just to be clear for whoever might come here, that wasn't a suggestion to do so. I asked because manually running emerge -C is very likely break your system.

Best Regards,
Georgi
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 159
Location: Spain

PostPosted: Wed Dec 27, 2023 3:51 pm    Post subject: Reply with quote

logrusx wrote:
elover wrote:
logrusx wrote:
Have you manually run "emerge -C" ?


it worked! I removed ncurses and reinstalled it, the eselect error disappeared.


Just to be clear for whoever might come here, that wasn't a suggestion to do so. I asked because manually running emerge -C is very likely break your system.

Best Regards,
Georgi


I had a backup /var/cache/binpkgs so I did it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum