cross compile error failure on "make install" make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9' make[1]: Leaving directory `/var/tmp/portage/sys-apps/coreutils-6.9-r1/work/coreutils-6.9' mv: cannot stat `df': No such file or directory !!! ERROR: sys-apps/coreutils-6.9-r1 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' ebuild.sh, line 44: Called src_install coreutils-6.9-r1.ebuild, line 133: Called die Reproducible: Always Steps to Reproduce: 1.install crossdev armeb-softfloat-linux-uclibc 2.xmerge coreutils 3. Expected Results: compile and install cleanly
Created attachment 118158 [details] build.log
This same issue applies to coreutils-6.7 and coreutils-6.9-r1
Note: I tested removing "df" from "local fhs=" in src_install() and it installs cleanly. I suppose if i need "df" i can symlink to busybox
i wouldnt define df not being installed as "clean" ;)
this test fails: m4/jm-macros.m4:coreutils_MACROS() # Build df only if there's a point to it. if test $gl_cv_list_mounted_fs = yes && test $gl_cv_fs_space = yes; then DF_PROG='df$(EXEEXT)' fi
it's going wrong in here somewhere ... post the config.log from the coreutils build dir as an attachment please checking for listmntent... no checking for getmntinfo... no checking for sys/ucred.h... no checking for sys/mount.h... (cached) yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking for sys/fs_types.h... (cached) no checking for struct fsstat.f_fstypename... no checking for library containing getmntent... none required checking for getmntent... yes checking for listmntent of Cray/Unicos-9... no checking for mntctl function and struct vmount... no checking for one-argument getmntent function... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking for struct statfs.f_fstypename... no checking for library containing nanosleep... none required
Created attachment 118249 [details] config.log.bz2 config.log as requested.
hmm that series of tests passed, but the second set failed: here's what you get: configure: checking how to get file system space usage checking for statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... no checking for four-argument statfs (AIX-3.2.5, SVR3)... no checking for two-argument statfs with statfs.fsize member (4.4BSD and NetBSD)... no checking for two-argument statfs with struct fs_data (Ultrix)... no here's what it should be: configure: checking how to get file system space usage checking for statvfs function (SVR4)... no checking for 3-argument statfs function (DEC OSF/1)... no checking for two-argument statfs with statfs.bsize member (AIX, 4.3BSD)... yes
grr, it's because they're all AC_TRY_RUN's which will obviously fail when cross-compiling ... coreutils/m4/fsusage.m4
ive added a workaround to 6.9-r1 while this gets worked out upstream: [[ ${CHOST} == *-linux* ]] && export fu_cv_sys_stat_statvfs=yes
Created attachment 183630 [details] coreutils-7.1-build.log Happens again with coreutils-7.1 when crosscompiling to arm.
Portage 2.2_rc23 (default/linux/arm/2008.0, gcc-4.3.3, unavailable, 2.6.28-gentoo-r2 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r2-x86_64-AMD_Phenom-tm-_9350e_Quad-Core_Processor-with-glibc2.2.5 Timestamp of tree: Sun, 01 Mar 2009 19:00:01 +0000 ccache version 2.4 [enabled] app-shells/bash: 3.2_p48-r1 dev-java/java-config: 2.1.7 dev-lang/python: 2.5.4-r2 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.3.8 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.19.1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.28-r1 ACCEPT_KEYWORDS="arm" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=armv4t -mtune=arm920t -Os -pipe" CHOST="armv4tl-softfloat-linux-gnueabi" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /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 /etc/udev/rules.d" CXXFLAGS="-march=armv4t -mtune=arm920t -Os -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y -j5 --load-average=8 --keep-going" FEATURES="buildpkg ccache collision-protect distlocks fixpackages parallel-fetch preserve-libs preserved-rebuild protect-owned sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirrors.evolva.ro/gentoo http://ftp.roedu.net/pub/mirrors/gentoo.org http://mirrors.xservers.ro/gentoo http://distfiles.gentoo.org" LANG="ro_RO.UTF-8" LC_ALL="ro_RO.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ro en eo" MAKEOPTS="-j5 --load-average=8" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/usr/armv4tl-softfloat-linux-gnueabi/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="arm ipv6 minimal nls readline symlink unicode" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="tslib" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ro en eo" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
*** Bug 268482 has been marked as a duplicate of this bug. ***
*** Bug 279830 has been marked as a duplicate of this bug. ***