The ncurses ebuild tries to create a symlink from /usr/$(get_libdir)/terminfo to /usr/share/terminfo, but due to the two-part libdir structure doesn't get the number of "..":s right: lrwxrwxrwx 1 root root 17 Jul 4 11:22 /usr/lib64/lp64d/terminfo -> ../share/terminfo This points to /usr/lib64/share/terminfo, which does not exist. There should have been one more leading "..". Reproducible: Always Steps to Reproduce: 1.Select profile default/linux/riscv/17.0/rv64gc/lp64d on a RV64GC system 2.emerge ncurses 3.Observe the QA notice and the broken link /usr/lib64/lp64d/terminfo Actual Results: * A QA notice is shown * A broken link /usr/lib64/lp64d/terminfo can be found Expected Results: * No QA notice * No broken link (not sure if a fixed link is necessary, but it probably can't hurt) Portage 2.3.67 (python 3.7.3-final-0, default/linux/riscv/17.0/rv64gc/lp64d, gcc-9.1.0, glibc-2.29-r2, 4.19.44+ riscv64) ================================================================= System uname: Linux-4.19.44+-riscv64-with-gentoo-2.6 KiB Mem: 8186924 total, 5490016 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sat, 29 Jun 2019 09:00:01 +0000 Head commit of repository gentoo: 10bc5187398e01ac5cfba5084aa70ed6794deb57 sh bash 5.0_p7 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p7::gentoo dev-lang/perl: 5.30.0::gentoo dev-lang/python: 3.7.3::gentoo dev-util/cmake: 3.14.5::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.17::gentoo sys-devel/autoconf: 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.32-r1::gentoo sys-devel/gcc: 9.1.0-r1::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.1::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-verify-max-age: 24 sync-rsync-verify-jobs: 1 sync-rsync-extra-opts: sync-rsync-verify-metamanifest: yes zeldin location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="riscv ~riscv" ACCEPT_LICENSE="@FREE" CBUILD="riscv64-unknown-linux-gnu" CFLAGS="-O2 -pipe -fomit-frame-pointer" CHOST="riscv64-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" 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 -march=rv64gc -mabi=lp64d" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=rv64gc -mabi=lp64d" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="sv_SE.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" 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="/tmp/" USE="acl berkdb bzip2 cli crypt cxx dri fortran gdbm iconv ipv6 ncurses nls nptl openmp pcre readline riscv ssl tcpd unicode xattr zlib" ABI_RISCV="lp64d" 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" 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="libinput keyboard mouse" KERNEL="linux" 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="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af23de819dd42afa5e23b3851ee66339e4c4866 commit 5af23de819dd42afa5e23b3851ee66339e4c4866 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-07-16 15:12:59 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-07-16 15:13:26 +0000 sys-libs/ncurses: Bump to version 6.1_p20190609 Added ugly workaround against riscv two part libdir symlink issue Closes: https://bugs.gentoo.org/689240 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> sys-libs/ncurses/Manifest | 1 + sys-libs/ncurses/ncurses-6.1_p20190609.ebuild | 314 ++++++++++++++++++++++++++ 2 files changed, 315 insertions(+)