Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't get past ncurses.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 259

PostPosted: Sun Nov 28, 2021 7:37 pm    Post subject: Can't get past ncurses. Reply with quote

Still trying to get "-uDN @world" going. Having an issue with ncureses.

Code:
$ sudo emerge -uDNp @world

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "sys-libs/ncurses:0/6=[unicode]".
!!! One of the following packages is required to complete your request:
- sys-libs/ncurses-6.2_p20210619::gentoo (Missing IUSE: unicode)
(dependency required by "dev-lang/ghc-8.0.2::gentoo" [installed])
(dependency required by "dev-haskell/semigroups-0.18.2::gentoo" [installed])
(dependency required by "dev-haskell/quickcheck-2.9.2::gentoo" [installed])
(dependency required by "dev-haskell/alex-3.1.7::gentoo" [installed])
(dependency required by "dev-haskell/language-c-0.4.7::gentoo" [installed])
(dependency required by "dev-haskell/c2hs-0.27.1::gentoo" [installed])
(dependency required by "dev-haskell/alsa-mixer-0.2.0.2::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Code:

$ emerge --info

    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="X acl alsa alsa-plugin amd64 apng berkdb boost bzip2 cairo cg cli conntrack crypt cups cxx dbus dri flash fortran freeimage gdbm gtk gudev gui iconv icu ipv6 libglvnd libtirpc lua minizip ncurses network nls nptl nsplugin ois opengl openmp pam pcap pcre pcre16 png printsupport pulseaudio python qt5 readline rendering sdl seccomp split-usr sqlite ssl stats tcl tiff tk tools transparent-proxy udev unicode webkit widgets xattr xcb xkb zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


In /etc/portage/package.use/ncurses, I have
Code:

sys-libs/ncurses tinfo unicode

I've rebuilt ncurses by iteself, to no avail. Help?
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4148
Location: Bavaria

PostPosted: Sun Nov 28, 2021 7:50 pm    Post subject: Re: Can't get past ncurses. Reply with quote

Tzuriel wrote:
In /etc/portage/package.use/ncurses, I have
Code:

sys-libs/ncurses tinfo unicode

I've rebuilt ncurses by iteself, to no avail. Help?

Delete this file and re-emerge "ncurses" again. Then try to do your "emerge -uDNp @world"

Here is an actual output of my (stable) system (update was before 8 hours):
Code:
 # emerge -pvD ncurses

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] sys-libs/ncurses-6.2_p20210619:0/6::gentoo  USE="cxx gpm (split-usr) (tinfo) -ada -debug -doc -minimal -profile -static-libs -test -trace" 0 KiB

You will see, ncurses doesnt have a use-flag "unicode" and "tinfo" is masked ...
Also you have the use-flag "unicode" in your system globally acivated.

If your update of @world doesnt work, we need to know your profile (eselect profile list) and your /etc/portage/make.conf and the COMPLETE output of "emerge --info"
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 259

PostPosted: Sun Nov 28, 2021 8:02 pm    Post subject: Reply with quote

Nope, that didn't work. Here are the additional details.

My profile is ...
Code:

  [12]  default/linux/amd64/17.1/no-multilib (stable) *


Complete output of emerge --info.
Code:

$ emerge --info                                               
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/no-multilib, gcc-
10.3.0, glibc-2.33-r1, 5.4.97-gentoo x86_64)                                   
=================================================================               
System uname: Linux-5.4.97-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GH
z-with-glibc2.33                                                               
KiB Mem:    32842936 total,  10662192 free                                     
KiB Swap:    1048572 total,   1048572 free                                     
Timestamp of repository gentoo: Sun, 28 Nov 2021 19:00:01 +0000                 
Head commit of repository gentoo: 190d6e9fff6f51a1d7e7a818f21c5e323a0714bb     
sh bash 5.1_p8                                                                 
ld GNU ld (Gentoo 2.37_p1 p0) 2.37                                             
app-shells/bash:          5.1_p8::gentoo                                       
dev-java/java-config:     2.3.1::gentoo                                         
dev-lang/perl:            5.34.0-r3::gentoo                                     
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.8::gentoo 
dev-lang/rust:            1.56.1::gentoo                                       
dev-util/cmake:           3.20.5::gentoo                                       
sys-apps/baselayout:      2.7-r3::gentoo                                       
sys-apps/openrc:          0.44.8::gentoo                                       
sys-apps/sandbox:         2.25::gentoo                                         
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo                     
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.4::gentoo                     
sys-devel/binutils:       2.37_p1::gentoo                                       
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo                     
sys-devel/gcc-config:     2.4::gentoo                                           
sys-devel/libtool:        2.4.6-r6::gentoo                                     
sys-devel/make:           4.3::gentoo                                           
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)                 
sys-libs/glibc:           2.33-r1::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-jobs: 1                                                   
    sync-rsync-verify-metamanifest: yes                                         
    sync-rsync-verify-max-age: 24                                                                                                                               local_overlay                                                                       location: /usr/local/portage                                                    masters: gentoo                                                             
    priority: 0                             

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="X acl alsa alsa-plugin amd64 apng berkdb boost bzip2 cairo cg cli conntrack crypt cups cxx dbus dri flash fortran freeimage gdbm gtk gudev gui iconv icu ipv6 libglvnd libtirpc lua minizip ncurses network nls nptl nsplugin ois opengl openmp pam pcap pcre pcre16 png printsupport pulseaudio python qt5 readline rendering sdl seccomp split-usr sqlite ssl stats tcl tiff tk tools transparent-proxy udev unicode webkit widgets xattr xcb xkb zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS


And here's /etc/portage/make.conf
Code:


$ cat /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
MAKEOPTS="-j8"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
INPUT_DEVICES="evdev wacom"
# INPUT_DEVICES="synaptics evdev"
VIDEO_CARDS="nvidia"
ACCEPT_LICENSE="*"
CCACHE_DIR="/var/tmp/ccache"
CLEAN_DELAY="3"
ABI_X86="64"
FEATURES="parallel-fetch nostrip"
PORTDIR_OVERLAY="/usr/local/portage"
#RUBY_TARGETS="ruby25 ruby26"
RUBY_TARGETS="ruby26 ruby27"

CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"

USE="xcb png dbus X acl alsa amd64 berkdb bzip2 cli crypt ssl -systemd udev gudev ncurses sqlite apng python gtk icu cups minizip opengl tk qt5 pcre16 xkb transparent-proxy stats ipv6 pcap conntrack pulseaudio nsplugin cg freeimage ois tools sdl tiff flash lua gui widgets boost tcl rendering alsa-plugin webkit network printsupport cxx cairo"


GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 4148
Location: Bavaria

PostPosted: Sun Nov 28, 2021 8:10 pm    Post subject: Reply with quote

Do you have the same error when trying "emerge -uDNp @world" ?
What is the output of "emerge --info ncurses" ?
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 259

PostPosted: Sun Nov 28, 2021 8:25 pm    Post subject: Reply with quote

Here's the output of "emerge -uDNp @world".
Code:

$ sudo emerge -uDNp @world
Password:

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "sys-libs/ncurses:0/6=[unicode]".
!!! One of the following packages is required to complete your request:
- sys-libs/ncurses-6.2_p20210619::gentoo (Missing IUSE: unicode)
(dependency required by "dev-lang/ghc-8.0.2::gentoo" [installed])
(dependency required by "dev-haskell/random-1.0.1.1-r1::gentoo" [installed])
(dependency required by "dev-haskell/tf-random-0.5::gentoo" [installed])
(dependency required by "dev-haskell/quickcheck-2.9.2::gentoo" [installed])
(dependency required by "dev-haskell/alex-3.1.7::gentoo" [installed])
(dependency required by "dev-haskell/language-c-0.4.7::gentoo" [installed])
(dependency required by "dev-haskell/c2hs-0.27.1::gentoo" [installed])
(dependency required by "dev-haskell/alsa-mixer-0.2.0.2::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


And here's the output of "emerge --info ncurses".

Code:

$ sudo emerge --info ncurses

KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Sun, 28 Nov 2021 19:00:01 +0000
Head commit of repository gentoo: 190d6e9fff6f51a1d7e7a818f21c5e323a0714bb
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r3::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.8.12_p1::gentoo, 3.9.8::gentoo
dev-lang/rust:            1.56.1::gentoo
dev-util/cmake:           3.20.5::gentoo
sys-apps/baselayout:      2.7-r3::gentoo
sys-apps/openrc:          0.44.8::gentoo
sys-apps/sandbox:         2.25::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.4::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            10.3.0-r2::gentoo, 11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33-r1::gentoo
Repositories:

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

local_overlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
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/config /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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 nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ http://gentoo.mirrors.pair.com/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ http://gentoo.mirrors.tds.net/gentoo rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
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="X acl alsa alsa-plugin amd64 apng berkdb boost bzip2 cairo cg cli conntrack crypt cups cxx dbus dri flash fortran freeimage gdbm gtk gudev gui iconv icu ipv6 libglvnd libtirpc lua minizip ncurses network nls nptl nsplugin ois opengl openmp pam pcap pcre pcre16 png printsupport pulseaudio python qt5 readline rendering sdl seccomp split-usr sqlite ssl stats tcl tiff tk tools transparent-proxy udev unicode webkit widgets xattr xcb xkb zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

sys-libs/ncurses-6.2_p20210619::gentoo was built with the following:
USE="cxx (split-usr) (tinfo) -ada -debug -doc -gpm -minimal -profile -static-libs -test -trace"
FEATURES="userfetch distlocks nostrip userpriv config-protect-if-modified fixlafiles binpkg-logs preserve-libs parallel-fetch unknown-features-warn protect-owned news unmerge-logs strict binpkg-docompress multilib-strict sfperms usersync sandbox pid-sandbox usersandbox xattr network-sandbox qa-unresolved-soname-deps binpkg-dostrip assume-digests unmerge-orphans merge-sync ebuild-locks ipc-sandbox"
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Sun Nov 28, 2021 8:47 pm    Post subject: Reply with quote

Tzuriel,

Try
Code:
emerge -uDNp @world --backtrack=250
do not use sudo, do it as root.

--backtrack=250 tells portage to try harder to find a dependency graph solution.
It needs to rebuild everything that wants sys-libs/ncurses with unicode support.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 259

PostPosted: Sun Nov 28, 2021 8:59 pm    Post subject: Reply with quote

Did this as root to no avail.

Code:

 # emerge -uDNp @world --backtrack=250

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "sys-libs/ncurses:0/6=[unicode]".
!!! One of the following packages is required to complete your request:
- sys-libs/ncurses-6.2_p20210619::gentoo (Missing IUSE: unicode)
(dependency required by "dev-lang/ghc-8.0.2::gentoo" [installed])
(dependency required by "dev-haskell/hashable-1.2.4.0::gentoo" [installed])
(dependency required by "dev-haskell/nats-1::gentoo" [installed])
(dependency required by "dev-haskell/semigroups-0.18.2::gentoo" [installed])
(dependency required by "dev-haskell/quickcheck-2.9.2::gentoo" [installed])
(dependency required by "dev-haskell/alex-3.1.7::gentoo" [installed])
(dependency required by "dev-haskell/language-c-0.4.7::gentoo" [installed])
(dependency required by "dev-haskell/c2hs-0.27.1::gentoo" [installed])
(dependency required by "dev-haskell/alsa-mixer-0.2.0.2::gentoo" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21624

PostPosted: Sun Nov 28, 2021 9:06 pm    Post subject: Reply with quote

You have a very old ghc installed, which is no longer in the tree. Your installed ghc needs an ncurses feature that no longer exists. Why is your ghc so old? The oldest I see in the tree is 8.8.4-r1. I suspect if you upgrade to a current ghc, your ncurses problem will go away.
Back to top
View user's profile Send private message
Tzuriel
Apprentice
Apprentice


Joined: 01 Jun 2004
Posts: 259

PostPosted: Sun Nov 28, 2021 9:26 pm    Post subject: Reply with quote

Hu wrote:
Why is your ghc so old? The oldest I see in the tree is 8.8.4-r1. I suspect if you upgrade to a current ghc, your ncurses problem will go away.


I couldn't say why, that's something I hardly know anything about. However, I did add the following to package.accept_keywords/ghc and have a new version building.
Code:

>=dev-lang/ghc-8.10.4-r1 ~amd64

Afterwards, will try "-uDNp @world" and update. Thanks.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54234
Location: 56N 3W

PostPosted: Sun Nov 28, 2021 9:59 pm    Post subject: Reply with quote

Tzuriel,

There are no stable ghc packages.
Code:
$ eix dev-lang/ghc
* dev-lang/ghc
     Available versions:  (~)8.8.4-r1(0/8.8.4)^t (~)8.10.4-r1(0/8.10.4)^t ...


That means that everything that depends on ghc must be testing too.
You need to update all your ghc packages, not just the Haskell compiler itself.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1678

PostPosted: Mon Nov 29, 2021 12:35 am    Post subject: Reply with quote

NeddySeagoon wrote:
Tzuriel,

There are no stable ghc packages.
Code:
$ eix dev-lang/ghc
* dev-lang/ghc
     Available versions:  (~)8.8.4-r1(0/8.8.4)^t (~)8.10.4-r1(0/8.10.4)^t ...


That means that everything that depends on ghc must be testing too.
You need to update all your ghc packages, not just the Haskell compiler itself.


Yep!

Add this to package.accept_keywords:
dev-haskell/*
dev-lang/ghc

See this bug for more details.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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