Summary: | sys-libs/ncurses: fails to cross-build w/o the same version in build host | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tee KOBAYASHI <xtkoba> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | cross |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=820506 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
The full build.log
Full build.log for ncurses-6.2-r1 Full build.log for armv7a-unknown-linux-musleabihf-emerge -1 =sys-libs/ncurses-6.2-r1 Proposed fix for ebuilds |
Description
Tee KOBAYASHI
2021-10-27 11:20:44 UTC
Created attachment 746967 [details]
The full build.log
Created attachment 747000 [details] Full build.log for ncurses-6.2-r1 This issue also reproduces for ncurses-6.2-r1 (with ncurses-6.3 installed in the base system), for which the full build.log is attached. I would expect the same failure also for ncurses-6.3 if the same version of ncurses were not installed natively. I believe this is not much relevant to the other issue I have recently filed for cross-building ncurses, i.e. https://bugs.gentoo.org/820506, which should not happen for ncurses-6.2-r1 that has "threads" USE flag available. An easy workaround would be to synchronize the versions of ncurses between natively-installed and cross-built. Created attachment 747075 [details] Full build.log for armv7a-unknown-linux-musleabihf-emerge -1 =sys-libs/ncurses-6.2-r1 This also happens when cross-building ncurses-6.2-r1 for armv7a-unknown-linux-musleabihf. I guess target host is irrelevant. The full build.log is attached for completeness, but the symptom looks the same: make[1]: Leaving directory '/usr/armv7a-unknown-linux-musleabihf/tmp/portage/sys-libs/ncurses-6.2-r1/work/cross/c++' make -j2 -C progs tic make: *** progs: No such file or directory. Stop. armv7a-unknown-linux-musleabihf-emerge --info: Portage 3.0.28 (python 3.10.0-final-0, embedded, gcc-11.2.0, unavailable, 5.4.134-gentoo x86_64) ================================================================= System uname: Linux-5.4.134-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_U7500_@_1.06GHz-with-glibc2.33 KiB Mem: 1516768 total, 168784 free KiB Swap: 49351676 total, 49096116 free Timestamp of repository gentoo: Wed, 27 Oct 2021 01:21:29 +0000 sh bash 5.1_p8 ld GNU ld (Gentoo 2.37_p1 p0) 2.37 Repositories: gentoo location: /var/db/repos/gentoo sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="@FREE" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -mfpu=neon-vfpv4 -pipe -fomit-frame-pointer" CHOST="armv7a-unknown-linux-musleabihf" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/angband/gamedata/ /etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /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="-O2 -mfpu=neon-vfpv4 -pipe -fomit-frame-pointer" DISTDIR="/var/cache/distfiles" FCFLAGS="-Os -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news nodoc noinfo noman parallel-fetch preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-Os -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="" LINGUAS="en" PKGDIR="/usr/armv7a-unknown-linux-musleabihf/packages/" PORTAGE_CONFIGROOT="/usr/armv7a-unknown-linux-musleabihf/" 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="/usr/armv7a-unknown-linux-musleabihf/tmp/" USE="arm kdrive minimal multicall zlib" ELIBC="musl" INPUT_DEVICES="evdev" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, ENV_UNSET, INSTALL_MASK, LANG, LC_ALL, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS Created attachment 747153 [details, diff]
Proposed fix for ebuilds
*** This bug has been marked as a duplicate of bug 711590 *** |