Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
WARNING: terminal is not fully functional
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
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1148
Location: Tri-Cities, WA USA

PostPosted: Tue May 21, 2019 10:50 am    Post subject: WARNING: terminal is not fully functional Reply with quote

# man xxd
WARNING: terminal is not fully functional
- (press RETURN)
I read this older forum and reinstalled ncurses bash which did not help.

I'm running bash 4.4 and ncurses 6.1

Additionally when completed with emerge -va ncurses bash I get the following:
Code:
!!! existing preserved libs:
>>> package: sys-libs/ncurses-6.1-r2
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.4_p23-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.33-r1)
 *      used by /bin/more (sys-apps/util-linux-2.33-r1)
 *      used by 18 other files
Use emerge @preserved-rebuild to rebuild packages using these libraries


The older forum post is:
https://forums.gentoo.org/viewtopic-t-211489-highlight-warning+terminal+fully+functional.html
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
mike155
Advocate
Advocate


Joined: 17 Sep 2010
Posts: 2127
Location: Frankfurt, Germany

PostPosted: Tue May 21, 2019 11:31 am    Post subject: Reply with quote

Please run
Code:
emerge --update --deep --newuse -av @world
emerge @preserved-rebuild
emerge -a --depclean

If you still get the error, please post the output of
Code:
emerge --info
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7416

PostPosted: Tue May 21, 2019 11:34 am    Post subject: Reply with quote

Well assuming ncurse is at fault, preserved-libs keep old library version to keep bash... safe...
What you need to do is rebuilding the packages that use that old lib in order to use the new one and fix your mess.
choose your poison :)
Code:
revdep-rebuild -L /lib64/libncurses.so.5

should do that

Code:
quickpkg bash util-linux
FEATURES="-preserved-libs" emerge -1 bash util-linux

should also, but with middle finger to portage

Code:
emerge @preserved-libs

I'm not using preserved-libs functionality, but i think it should also do the work, and should be proper way to handle preserved-libs
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1148
Location: Tri-Cities, WA USA

PostPosted: Tue May 21, 2019 11:56 am    Post subject: Reply with quote

thank your for the posts.
I'm running this now: revdep-rebuild -L /lib64/libncurses.so.5

I've never used:
Code:
quickpkg bash util-linux
FEATURES="-preserved-libs" emerge -1 bash util-linux


I'll follow this guide
https://wiki.gentoo.org/wiki/Binary_package_guide

I think quickpkg does the following: emerge -1 bash util-linux ?
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7416

PostPosted: Tue May 21, 2019 11:58 am    Post subject: Reply with quote

no, quickpkg only build binary of an existing package you have install in your system.

why do that?
because if next command you do mess the system, you could ask portage to re-emerge the affected package from the binary, keeping you safe from most troubles.
and running FEATURES="-preserved-libs"... can harm your system, you're disabling a functionality that should protect you from some mess...
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1148
Location: Tri-Cities, WA USA

PostPosted: Wed May 22, 2019 3:51 am    Post subject: Reply with quote

revdep-rebuild -L /lib64/libncurses.so.5
The above did not fix the problem.

cwc@ciclo ~ $ man xxd
WARNING: terminal is not fully functional
- (press RETURN)



I still get this after updating world and emerge @preserved-rebuild

Code:

!!! existing preserved libs:
>>> package: sys-libs/ncurses-6.1-r2
 *  - /lib64/libncurses.so.5
 *  - /lib64/libncurses.so.5.9
 *      used by /bin/bash (app-shells/bash-4.4_p23-r1)
 *      used by /bin/dmesg (sys-apps/util-linux-2.33-r1)
 *      used by /bin/more (sys-apps/util-linux-2.33-r1)
 *      used by 18 other files




I'll emerge -a --depclean in the am
_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
cwc
Veteran
Veteran


Joined: 20 Mar 2006
Posts: 1148
Location: Tri-Cities, WA USA

PostPosted: Fri May 24, 2019 1:25 am    Post subject: Reply with quote

mike155 wrote:
Please run
Code:
emerge --update --deep --newuse -av @world
emerge @preserved-rebuild
emerge -a --depclean

If you still get the error, please post the output of
Code:
emerge --info


Thanks for the post. terminal is still buggy:
# man portage
WARNING: terminal is not fully functional
- (press RETURN)


Code:
# emerge --info
Portage 2.3.62 (python 3.6.5-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-8.3.0, glibc-2.29-r2, 4.19.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.19.27-gentoo-r1-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.6
KiB Mem:    32832672 total,   6173976 free
KiB Swap:   33554428 total,  33554428 free
Timestamp of repository gentoo: Thu, 23 May 2019 09:30:01 +0000
Head commit of repository gentoo: 6e14f32d8b69087a210315fb0978e474a43d3f11
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Oracle-BCLA-JavaSE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="ACL X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups cxx dbus dri dts dvd dvdr eds emboss encode evo exif fam flac fortran gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk iconv introspection ipv6 jpeg lcms ldap libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf php png policykit ppds pulseaudio qt5 readline sdl seccomp spell ssl startup-notification svg systemd tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="arm x86_64 sparc" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="amdgpu" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


_________________
Without diversity there can be no evolution:)
Back to top
View user's profile Send private message
altrent
n00b
n00b


Joined: 03 Mar 2004
Posts: 53

PostPosted: Mon Dec 30, 2019 3:36 pm    Post subject: Reply with quote

This is an old topic, but I just faced the issue myself with TERM=xterm-256color (which is needed for zsh-autosuggestions), and I was able to get rid of the warning by unmasking sys-libs/ncurses-compat.

Code:

~ # eix sys-libs/ncurses
[I] sys-libs/ncurses
     Available versions:  6.1_p20181020(0/6)^t 6.1_p20190609(0/6)^t {ada +cxx debug doc gpm minimal profile split-usr static-libs test threads tinfo trace unicode ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  6.1_p20190609(0/6)^t(02:29:15 PM 12/26/2019)(cxx gpm split-usr tinfo unicode -ada -debug -doc -minimal -profile -static-libs -test -threads -trace ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.gnu.org/software/ncurses/ https://invisible-island.net/ncurses/
     Description:         console display library

[I] sys-libs/ncurses-compat
     Available versions:  (5) 5.9(5/5) (~)6.1_p20190609(5/5)
       {gpm split-usr tinfo unicode ABI_MIPS="n32 n64 o32" ABI_RISCV="lp64 lp64d" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  6.1_p20190609(5/5)(10:32:50 AM 12/30/2019)(gpm split-usr tinfo unicode ABI_MIPS="-n32 -n64 -o32" ABI_RISCV="-lp64 -lp64d" ABI_S390="-32 -64" ABI_X86="64 -32 -x32")
     Homepage:            https://www.gnu.org/software/ncurses/ https://invisible-island.net/ncurses/
     Description:         console display library (ABI version 5)
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