sys-apps/coreutils-8.24 fails cross-compilation, when sys-apps/coreutils-8.23 compiles. Reproducible: Always Steps to Reproduce: 1. Use crossdev to make a cross compilation toolchain. (In my case, GCC 4.9.3, host is x86_64, target is armv7a-hardfloat-linux-gnueabi) 2. cross-emerge sys-apps/coreutils-8.24 Actual Results: sys-apps/coreutils-8.24 fails compilation. Expected Results: sys-apps/coreutils-8.24 compiles. The first errors during compilation: GEN man/nice.1 GEN man/stty.1 GEN man/df.1 GEN man/chroot.1 GEN man/stdbuf.1 GEN man/basename.1 GEN man/base64.1 GEN man/cat.1 GEN man/chcon.1 GEN man/chgrp.1 GEN man/chmod.1 GEN man/chown.1 GEN man/cksum.1 GEN man/comm.1 GEN man/cp.1 GEN man/cut.1 GEN man/csplit.1 GEN man/date.1 GEN man/dd.1 GEN man/dir.1 GEN man/dirname.1 GEN man/dircolors.1 GEN man/du.1 GEN man/echo.1 GEN man/env.1 GEN man/expr.1 GEN man/expand.1 GEN man/factor.1 help2man: can't get `--help' info from man/pinky.td/pinky Try `--no-discard-stderr' if option outputs to stderr Makefile:14245: recipe for target 'man/pinky.1' failed make[2]: *** [man/pinky.1] Error 255 make[2]: *** Waiting for unfinished jobs.... help2man: can't get `--help' info from man/who.td/who Try `--no-discard-stderr' if option outputs to stderr Makefile:14245: recipe for target 'man/who.1' failed make[2]: *** [man/who.1] Error 255 help2man: can't get `--help' info from man/users.td/users Try `--no-discard-stderr' if option outputs to stderr Makefile:14245: recipe for target 'man/users.1' failed make[2]: *** [man/users.1] Error 255 help2man: can't get `--help' info from man/nice.td/nice Try `--no-discard-stderr' if option outputs to stderr help2man: can't get `--help' info from man/chcon.td/chcon Try `--no-discard-stderr' if option outputs to stderr Makefile:14245: recipe for target 'man/nice.1' failed make[2]: *** [man/nice.1] Error 255 Makefile:14245: recipe for target 'man/chcon.1' failed make[2]: *** [man/chcon.1] Error 255 help2man: can't get `--help' info from man/base64.td/base64 ...
Please attach the failign build log and emerge --info.
sh-4.3# armv7a-hardfloat-linux-gnueabi-emerge --info '=sys-apps/coreutils-8.24::gentoo' Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/arm/13.0, gcc-4.9.3, unavailable, 3.19.0-25-generic x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.19.0-25-generic-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_v3_@_2.40GHz-with-gentoo-2.2 KiB Mem: 131929116 total, 34335196 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Mon, 23 Nov 2015 16:30:01 +0000 sh bash 4.3_p39 ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1 Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 (my overlay, which does not replace anything important) location: /var/lib/(my overlay, which does not replace anything important) masters: gentoo priority: 0 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -fomit-frame-pointer -fPIC" CHOST="armv7a-hardfloat-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo" CXXFLAGS="-O3 -pipe -fomit-frame-pointer -fPIC" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2" FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j32" PKGDIR="/usr/armv7a-hardfloat-linux-gnueabi/packages/" PORTAGE_CONFIGROOT="/usr/armv7a-hardfloat-linux-gnueabi/" 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" PORTAGE_TMPDIR="/usr/armv7a-hardfloat-linux-gnueabi/tmp/" USE="acl arm berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 jpeg jpeg2k modules ncurses nls nptl openmp pcre png readline seccomp session ssl static-libs tcpd tiff unicode vanilla xattr zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="exynos fbdev omap omapfb dummy 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" USE_PYTHON="2.7" Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Changed the adventurous "-O3 -pipe -fomit-frame-pointer -fPIC" to the more mundane "-O2 -pipe" and the problem persists.
we have logic to disable man page regeneration. i guess part of that isn't working again.
this should be fixed with 8.25