Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 427184 - sys-devel/crossdev: do not export fu_cv_sys_stat_statvfs in config.site
Summary: sys-devel/crossdev: do not export fu_cv_sys_stat_statvfs in config.site
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
: 408857 411237 427272 427382 427434 427466 427532 428730 (view as bug list)
Depends on:
Blocks: 427272
  Show dependency tree
 
Reported: 2012-07-19 07:47 UTC by Justin Lecher (RETIRED)
Modified: 2012-10-30 20:51 UTC (History)
16 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
mc-4.8.4:20120719-074506.log (mc-4.8.4:20120719-074506.log,32.32 KB, text/plain)
2012-07-19 07:48 UTC, Justin Lecher (RETIRED)
Details
config.log (config.log,457.29 KB, text/plain)
2012-07-19 09:31 UTC, Justin Lecher (RETIRED)
Details
config.h (config.h,26.01 KB, text/x-chdr)
2012-07-19 17:39 UTC, Justin Lecher (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2012-07-19 07:47:33 UTC
  CC     usermenu.lo
  CC     mountlist.lo
filegui.c: In function 'filegui__check_attrs_on_fs':
filegui.c:246:5: warning: implicit declaration of function 'statfs' [-Wimplicit-function-declaration]
filegui.c:246:5: warning: nested extern declaration of 'statfs' [-Wnested-externs]
filegui.c:250:41: error: 'struct statvfs' has no member named 'f_type'
make[3]: *** [filegui.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/app-misc/mc-4.8.4/work/mc-4.8.4/src/filemanager'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-misc/mc-4.8.4/work/mc-4.8.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-misc/mc-4.8.4/work/mc-4.8.4'
make: *** [all] Error 2
 * ERROR: app-misc/mc-4.8.4 failed (compile phase):




$ einfo =app-misc/mc-4.8.4
Portage 2.2.0_alpha120 (default/linux/amd64/10.0, gcc-4.7.1-asneeded, glibc-2.15-r2, 3.4.5-lh-iommu x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.4.5-lh-iommu-x86_64-Intel-R-_Core-TM-_i7-2600_CPU_@_3.40GHz-with-gentoo-2.1
Timestamp of tree: Thu, 19 Jul 2012 07:00:01 +0000
distcc[3850] (dcc_set_trace_from_env) ERROR: failed to open logfile /var/log/distcc.log: Permission denied [disabled]
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p36
dev-java/java-config:     2.1.12
dev-lang/python:          2.6.8, 2.7.3-r2, 3.1.5, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.4.7, 4.5.4, 4.6.3, 4.7.0, 4.7.1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo sunrise bicatali betagarden dummy neurogeek science last-hope g-ctan
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wimplicit-function-declaration"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/eselect/ /usr/share/gnupg/qualified.txt /usr/share/nano/ /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /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"
CXXFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g -Wenum-compare"
DISTDIR="/mnt/sdd/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=4 --load-average=12 -t --keep-going --autounmask-write --autounmask --quiet-build=n"
FCFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g"
FEATURES="assume-digests binpkg-logs buildsyspkg ccache collision-protect distlocks ebuild-locks fixlafiles metadata-transfer multilib-strict news noinfo parallel-fetch parallel-install parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms sign split-log splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -ftracer -march=corei7-avx -mtune=corei7-avx -mcx16 -msahf -mno-movbe -maes -mpclmul -mpopcnt -mno-abm -mno-lwp -mno-fma -mno-fma4 -mno-xop -mno-bmi -mno-bmi2 -mno-tbm -mavx -mno-avx2 -msse4.2 -msse4.1 -mno-lzcnt --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=8192 -frecord-gcc-switches -g"
GENTOO_MIRRORS=" /mnt/tmpfs/ http://gentoo.j-schmitz.net/mirror/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common"
LINGUAS="en"
MAKEOPTS="-j16 -l12"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-z -e -9 -v"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/local/overlays/sunrise-reviewed /local/overlays/bicatali /local/overlays/betagarden /local/overlays/dummy /local/overlays/neurogeek /local/overlays/sci /local/overlays/lh/ebuilds /local/overlays/g-ctan"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 avx bash-completion berkdb branding bzip2 cairo caps cli cracklib crypt cups cxx dbus dri fortran gdbm gif gmp gnome gnome-keyring gpm gstreamer gtk iconv icu ipv6 jpeg jpeg2k mmx mmxext modules mudflap multilib ncurses network-cron nls nptl nsplugin numa opengl openmp pam pcre png pppd pulseaudio qt3support raw readline session smp sse sse2 sse3 sse4 sse4_1 sse4a ssl startup-notification tcpd threads tiff truetype unicode vaapi vdpau xinerama xorg zlib" ALSA_CARDS="hda-intel" 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 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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 ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PYTHON_TARGETS="pypy1_9 python3_1 python3_2 python2_6 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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.6 2.7 3.1 3.2 2.7-pypy-1.9"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2012-07-19 07:48:26 UTC
Created attachment 318610 [details]
mc-4.8.4:20120719-074506.log

build.log
Comment 2 Bob Raitz 2012-07-19 08:24:47 UTC
Having the same issue with both x86 and amd64.

emerge --info (x86 only):

Portage 2.1.11.9 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.15-r2, 3.4.4 i686)
=================================================================
System uname: Linux-3.4.4-i686-Intel-R-_Celeron-R-_M_CPU_440_@_1.86GHz-with-gentoo-2.1
Timestamp of tree: Thu, 19 Jul 2012 07:35:01 +0000
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p36
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo Local-Portage-Overlay
Installed sets: @system
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA Broadcom dlj-1.1 AdobeFlash-10.3 Oracle-BCLA-JavaSE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="${EPREFIX}/etc/gconf /etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=prescott -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.105/gentoo-portage"
USE="X a52 aac acl acpi alsa ao apache2 apng aspell audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cgi cli consolekit cracklib crypt css cups cxx dbus declarative dlloader dri dts dv dvd dvdr dvdread eds encode fam fbcon ffmpeg fftw flac fontconfig foomaticdb fortran gdbm gif gimp gles2 glib gnutls gpm gsl gtk gudev handboook hwdb iconv icu jpeg kde ladspa lame libsamplerate lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap mysql nas ncurses nls nptl nptlonly objc ogg opengl openmp oss pam pcre pdf perl php png pppd pyqt4 python qt3support qt4 quicktime readline reflection samba sdl semantic-desktop session slang slp sndfile spell spl sql sqlite sse sse2 ssl startup-notification svg swat tcpd theora thunar tiff truetype udev unicode usb v4l v4l2 vaapi vhosts vidix vorbis webkit wifi win32codecs wxwindows x264 x86 xcb xine xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="intel 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:  CPPFLAGS, CTARGET, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 3 Neil Bothwick 2012-07-19 08:38:31 UTC
I get this on one system, but not on another, both using ~amd64. The obvious difference between the two systems is that the one that works is headless and so does not have the X or gpm USE flags set.

emerge --info from the system that fails

Portage 2.2.0_alpha120 (default/linux/amd64/10.0/desktop/kde, gcc-4.6.3, glibc-2.15-r2, 3.4.5-gentoo x86_64)                                                                                                                                 
=================================================================                                                                                                                                                                            
System uname: Linux-3.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.1                                                                                                                                             
Timestamp of tree: Thu, 19 Jul 2012 06:15:01 +0000                                                                                                                                                                                           
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                                                                                                                                                    
app-shells/bash:          4.2_p36                                                                                                                                                                                                            
dev-java/java-config:     2.1.12                                                                                                                                                                                                             
dev-lang/python:          2.7.3-r2, 3.2.3-r1                                                                                                                                                                                                 
dev-util/cmake:           2.8.8-r3                                                                                                                                                                                                           
dev-util/pkgconfig:       0.27                                                                                                                                                                                                               
sys-apps/baselayout:      2.1-r1                                                                                                                                                                                                             
sys-apps/openrc:          0.10.5                                                                                                                                                                                                             
sys-apps/sandbox:         2.6                                                                                                                                                                                                                
sys-devel/autoconf:       2.13, 2.69                                                                                                                                                                                                         
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.12.2                                                                                                                                                                                   
sys-devel/binutils:       2.22-r1                                                                                                                                                                                                            
sys-devel/gcc:            4.5.4, 4.6.3                                                                                                                                                                                                       
sys-devel/gcc-config:     1.7.3                                                                                                                                                                                                              
sys-devel/libtool:        2.4.2                                                                                                                                                                                                              
sys-devel/make:           3.82-r3                                                                                                                                                                                                            
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)                                                                                                                                                                                        
sys-libs/glibc:           2.15-r2                                                                                                                                                                                                            
Repositories: gentoo arduino MythTV-0-25-fixes sunrise digimed                                                                                                                                                                               
Installed sets: @base, @claws-mail, @kde4, @lxf, @missingdeps, @mpd, @mythtv, @temp, @xorg-temp, @zenus-deps
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-block -floop-strip-mine -floop-interchange"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/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"
CXXFLAGS="-O2 -march=native -fomit-frame-pointer -pipe -floop-block -floop-strip-mine -floop-interchange"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs --load-average 12 --quiet-unmerge-warn"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="--jobs --load 10"
PKGDIR="/mnt/portage/packages/hactar"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/mnt/portage/luksans-arduino /mnt/portage/layman/mt-mythtv /mnt/portage/layman/sunrise /mnt/portage/local"
SYNC="rsync://marvin/portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth bluray branding bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt css cups cxx dbus declarative device-mapper djvu dri dts dv dvb dvd dvdr ebook encode exif fam ffmpeg firefox flac foomaticdb fortran gallium gd gdbm gif gmp gnutls gpg gphoto2 gpm gtk gtk3 iconv id3 imap jabber java jpeg jpeg2k kde kdeenablefinal kipi libnotify logrotate lzma mad matroska mmx mmxext mng modules mp3 mp4 mpeg mplayer mudflap multilib mysql ncurses nptl nsplugin ntfs offensive ogg ogm opengl openmp oss pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 quicktime rdesktop readline reiserfs samba scanner sdl semantic-desktop session slp snmp spell sse sse2 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb v4l2 vnc vorbis wav wxwidgets x264 xcb xcomposite xinerama xml xmp xorg xscreensaver xv xvid xvmc zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi krita sheets stage words" CAMERAS="canon nikon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020 hp1022" 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 ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev aiptek" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="vesa nouveau" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


emerge --info from the system that compiles

Portage 2.2.0_alpha120 (default/linux/amd64/10.0, gcc-4.6.3, glibc-2.15-r2, 3.4.4-gentoo x86_64)
=================================================================
System uname: Linux-3.4.4-gentoo-x86_64-Intel-R-_Atom-TM-_CPU_D510_@_1.66GHz-with-gentoo-2.1
Timestamp of tree: Thu, 19 Jul 2012 06:15:01 +0000
ccache version 3.1.7 [disabled]
app-shells/bash:          4.2_p36
dev-lang/python:          2.7.3-r2, 3.2.3-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r3
dev-util/pkgconfig:       0.27
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.5
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.2
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.4, 4.6.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.4-r1 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo digimed
Installed sets: @temp
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/mnt/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --jobs 2 --usepkg"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.heanet.ie/pub/gentoo/ http://gentoo.blueyonder.co.uk ftp://gentoo.blueyonder.co.uk/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/"
LANG="en_GB"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/mnt/portage/packages/marvin"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=500 --progress"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/mnt/portage/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow amd64 apache2 bzip2 cli cracklib crypt cups curl cxx dbus dri fam foomaticdb fortran ftp gd gdbm gmp gnutls iconv idn imap jpeg logrotate maildir mbox mmx modules mudflap multilib mysql ncurses netboot nptl openmp pcre png ppds pppd readline session snmp sse sse2 ssl svg tcpd threads unicode usb vhosts xml xorg zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" FOO2ZJS_DEVICES="hp1020 hp1022" 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 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" LINGUAS="en_GB" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" 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:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Comment 4 Rafał Mużyło 2012-07-19 09:24:03 UTC
config.log would be useful here (built fine for me).
Comment 5 Justin Lecher (RETIRED) gentoo-dev 2012-07-19 09:31:52 UTC
Created attachment 318618 [details]
config.log

config.log
Comment 6 Rafał Mużyło 2012-07-19 10:01:07 UTC
Given
checking for statvfs function (SVR4)... (cached) yes

a trick question: how many of the machines that fail have crossdev installed ?
Comment 7 Justin Lecher (RETIRED) gentoo-dev 2012-07-19 10:05:36 UTC
/me rises hands
Comment 8 Rafał Mużyło 2012-07-19 10:11:32 UTC
See m4.include/fsusage.m4 - that check should fail on Linux, but there's
'fu_cv_sys_stat_statvfs=yes' in wrappers/site/linux (in crossdev 20110819 at least).
Comment 9 Neil Bothwick 2012-07-19 13:33:37 UTC
The one that fails has crossdev install, the one that works doesn't. I've just tried to install it on another box with crossdev installed and that fails too.
Comment 10 Sergei Trofimovich (RETIRED) gentoo-dev 2012-07-19 17:27:17 UTC
Justin, can you attach generated config.h as well?
Comment 11 Justin Lecher (RETIRED) gentoo-dev 2012-07-19 17:39:32 UTC
Created attachment 318652 [details]
config.h

config.h
Comment 12 Sergei Trofimovich (RETIRED) gentoo-dev 2012-07-19 17:51:40 UTC
(In reply to comment #8)
> See m4.include/fsusage.m4 - that check should fail on Linux, but there's
> 'fu_cv_sys_stat_statvfs=yes' in wrappers/site/linux (in crossdev 20110819 at
> least).

Yeah, the same is here. Seems crossdev spoils even native builds.
Does not sount good.

CCing crossdev@ folks.
Comment 13 Sergei Trofimovich (RETIRED) gentoo-dev 2012-07-19 18:10:57 UTC
Build failure is easily reproducible on current live crossdev:

sf app-misc # diff -u mc-4.8.4{,.crossdev}/work/mc-4.8.4/config.h
--- mc-4.8.4/work/mc-4.8.4/config.h     2012-07-19 21:07:10.885628513 +0300
+++ mc-4.8.4.crossdev/work/mc-4.8.4/config.h    2012-07-19 21:02:30.000000000 +0300
@@ -716,7 +716,7 @@
 
 /* Define if statfs takes 2 args and struct statfs has a field named f_bsize.
    (4.3BSD, SunOS 4, HP-UX, AIX PS/2) */
-#define STAT_STATFS2_BSIZE 1
+/* #undef STAT_STATFS2_BSIZE */
 
 /* Define if statfs takes 2 args and struct statfs has a field named f_fsize.
    (4.4BSD, NetBSD) */
@@ -733,7 +733,7 @@
 /* #undef STAT_STATFS4 */
 
 /* Define if there is a function named statvfs. (SVR4) */
-/* #undef STAT_STATVFS */
+#define STAT_STATVFS 1
 
 /* Define if statvfs64 should be preferred over statvfs. */
 /* #undef STAT_STATVFS64 */
Comment 14 Rafał Mużyło 2012-07-20 09:13:49 UTC
*** Bug 427272 has been marked as a duplicate of this bug. ***
Comment 15 Rafał Mużyło 2012-07-20 20:21:47 UTC
*** Bug 427382 has been marked as a duplicate of this bug. ***
Comment 16 Xavier Miller (RETIRED) gentoo-dev 2012-07-20 20:29:52 UTC
I also have crossdev.

*BUT* the error arises also from machines without crossdev (armv6j and armv7l).
Comment 17 Xavier Miller (RETIRED) gentoo-dev 2012-07-20 20:39:03 UTC
(In reply to comment #16)
> I also have crossdev.
> 
> *BUT* the error arises also from machines without crossdev (armv6j and
> armv7l).

As I remember, I had a bug caused by the pro-audio overlay, which redefined "src_unpack". Maybe crossdev and/or overlays could cause trouble.
Comment 18 Xavier Miller (RETIRED) gentoo-dev 2012-07-20 21:31:08 UTC
(In reply to comment #16)
> I also have crossdev.
> 
> *BUT* the error arises also from machines without crossdev (armv6j and
> armv7l).

/me bad. It is OK on my ARM machines (which don't have crossdev installed)
Comment 19 Samuli Suominen (RETIRED) gentoo-dev 2012-07-21 08:21:22 UTC
*** Bug 427434 has been marked as a duplicate of this bug. ***
Comment 20 Rafał Mużyło 2012-07-21 12:41:05 UTC
*** Bug 427466 has been marked as a duplicate of this bug. ***
Comment 22 Rafał Mużyło 2012-07-21 19:03:08 UTC
*** Bug 427532 has been marked as a duplicate of this bug. ***
Comment 23 SpanKY gentoo-dev 2012-08-20 02:47:25 UTC
*** Bug 411237 has been marked as a duplicate of this bug. ***
Comment 24 Pacho Ramos gentoo-dev 2012-09-16 08:45:32 UTC
*** Bug 408857 has been marked as a duplicate of this bug. ***
Comment 25 Sergei Trofimovich (RETIRED) gentoo-dev 2012-10-30 20:51:46 UTC
*** Bug 428730 has been marked as a duplicate of this bug. ***