emerge -1 make fails Reproducible: Always Portage 2.2_rc61 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.4.2, glibc-2.11-r1, 2.6.30-gentoo-r4-l0 ppc) ================================================================= System uname: Linux-2.6.30-gentoo-r4-l0-ppc-7447A,_altivec_supported-with-gentoo-2.0.1 Timestamp of tree: Mon, 18 Jan 2010 18:30:01 +0000 distcc 3.1 powerpc-unknown-linux-gnu [disabled] ccache version 2.4 [enabled] app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.10 dev-lang/python: 2.5.4-r4, 2.6.4, 3.1.1-r1 dev-python/pycrypto: 2.1.0 dev-util/ccache: 2.4-r8 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.6.3, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="ppc ~ppc" ACCEPT_LICENSE="* -@EULA IBM-J1.5 IBM-J1.6" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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" CXXFLAGS="-mcpu=7400 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec" DISTDIR="/in_n_outs/distfiles" FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ " LANG="C" LC_ALL="C" LDFLAGS="-Wl,-O1" LINGUAS="fr fr_FR" MAKEOPTS="-j2" PKGDIR="/in_n_outs/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman/java-overlay /usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d a52 aac acl alsa altivec apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope cups cxx dba dbus dri dts dvd dvdr eds emboss encode evo fam fbcon filter flac flash fortran gb gcj gd gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 java jikes jpeg kde kdehiddenvisibility kpathsea ldap libnotify mad mikmod mng modules mozdevelop mozsvg mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png povray ppc ppds pppd python qt qt3support qt4 quicktime readline reflection samba scanner sdl session speex spell spl ssl startup-notification svg sysfs tcpd tetex theora threads thunar tiff tk truetype udev unicode usb vorbis wmf x264 xine xinerama xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="snd-aoa" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse wacom evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr fr_FR" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="ati fbdev radeon" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Please attach the build log so that the error can be seen and understood by us
the same on arm...
Created attachment 216835 [details] build log, xcompile for arm
Created attachment 216836 [details] build.log Fails on arm too: Portage 2.1.7.16 (default/linux/arm/10.0, gcc-4.3.4, glibc-2.11-r1, 2.6.31-ER1 armv7l) ================================================================= System uname: Linux-2.6.31-ER1-armv7l-ARMv7_Processor_rev_1_-v7l-with-gentoo-2.0.1 Timestamp of tree: Mon, 18 Jan 2010 07:00:01 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4, 3.1.1-r1 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.65 sys-devel/automake: 1.10.3, 1.11.1 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="arm ~arm" ACCEPT_LICENSE="* -@EULA" CBUILD="armv7a-unknown-linux-gnueabi" CFLAGS="-Os -march=armv7-a -mfpu=vfp -mfloat-abi=softfp -pipe" CHOST="armv7a-unknown-linux-gnueabi" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconnf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -march=armv7-a -mfpu=vfp -mfloat-abi=softfp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo" LDFLAGS="-Wl,-O1" PKGDIR="/usr/portage/packages/armv7a-unknown-linux-gnueabi/unstable" PORTAGE_CONFIGROOT="/" 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://192.168.0.3/gentoo-portage" USE="X aac acl arm berkdb bindist bzip2 cli cracklib crypt cxx dbus fbcon flac fortran gdbm gpm iconv ipv6 jpeg kdrive modules mudflap ncurses nls nptl nptlonly ntp openmp pam pcre perl png pppd python readline reflection session spl ssl sysfs tcpd tiff unicode xorg zlib" 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="keyboard mouse evdev touchscreen void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="dummy fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Is everyone here too Cool to reassign the bug??
Works fine here: Tue Jan 19 05:13:20 CET 2010 Portage 2.1.6.13 (default/linux/powerpc/ppc32/10.0, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 ppc) ================================================================= System uname: Linux-2.6.31-gentoo-r6-ppc-740-750-with-gentoo-1.12.13 Timestamp of tree: Mon, 18 Jan 2010 16:15:01 +0000 distcc 3.1 powerpc-unknown-linux-gnu [enabled] app-shells/bash: 4.0_p35 dev-lang/python: 2.5.4-r3, 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.6.3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="ppc" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -Wall -ggdb" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color /usr/share/X11/xkb /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /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/udev/rules.d" CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -Wall -ggdb" DISTDIR="/keeps/gentoo/distfiles" FEATURES="autoaddcvs buildpkg cvs distcc distlocks fixpackages metadata-transfer notitles parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unmerge-orphans userfetch userpriv" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ " LC_ALL="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu" LINGUAS="en en_GB nl" MAKEOPTS="-j3" PKGDIR="/keeps/gentoo/packages/marga" PORTAGE_CONFIGROOT="/" 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="/keeps/gentoo/portage" PORTDIR_OVERLAY="/keeps/gentoo/local" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac aalib alsa asf audiofile bash-completion berkdb bl bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli cracklib crypt cscope css cups curl custom-cflags custom-cxxflags cxx dga dillo divx dri dv dvd dvdr dvdread edl elf encode fame fbcon ffmpeg flac flash fontforge foomaticdb fortran freetype fts3 gdbm ggi gif gimpprint glib glitz glut gmedia gnokii gnutls gpm gs gtk gtk2 iconv id3tag idn imlib inkjar ipv6 jingle jpeg kde lcms libcaca libsamplerate live logrotate lzo mad matroska midi mikmod mjpeg mng modplug modules mozilla mozsvg mozxmlterm mp3 mpeg mplayer mudflap musepack ncurses nethack network network-cron nl nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl optimisememory pam pcre pda pdf perl physfs plotutils png ppc pppd python quicktime readline realmedia reflection rtc rtsp samba screenshot server session sftplogging shout skins smux snmp speex spell spl ssl stream svg sysfs syslog tcpd test tetex tga theora threads tiff truetype unicode upnp usb userlocales utils v4l v4l2 vcd vidix vim vlm vorbis winbind wmp xanim xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r128" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
seeing the same problem on sparc
same fail on cross compile from x86_64 -> arm
the same problem... # emerge --info Portage 2.1.7.16 (default/linux/powerpc/ppc32/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 ppc) ================================================================= System uname: Linux-2.6.31-gentoo-r6-ppc-750CXe-with-gentoo-2.0.1 Timestamp of tree: Thu, 21 Jan 2010 15:15:01 +0000 app-shells/bash: 4.0_p37 dev-java/java-config: 2.1.9-r1 dev-lang/python: 2.6.4 dev-util/cmake: 2.6.4-r3 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.0 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65 sys-devel/automake: 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.3 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="ppc ~ppc" ACCEPT_LICENSE="* -@EULA" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=750 -mtune=750 -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -mcpu=750 -mtune=750 -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://ftp.udc.es/gentoo http://gentoo-euetib.upc.es/mirror/gentoo" LANG="es_ES.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="es_ES es" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" 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" PORTDIR_OVERLAY="/usr/local/portage/layman /usr/local/portage/overlays" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl agg alsa apm berkdb bluetooth branding bzip2 cairo cdda cddb cli consolekit cracklib crypt cups cxx dbus dri dts dvb dvd eds embedded emboss encode evo exif fam ffmpeg firefox flac fortran gdbm gif gimp gnome gnutls gphoto2 gpm gstreamer gtk hal ibam iconv ipv6 jpeg kde laptop lastfm lcms ldap libnotify mad mikmod mng modules mp3 mp3tunes mp4 mpeg msn mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl png ppc ppds pppd python qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd thunar tiff truetype unicode usb vorbis x264 xml xmp xorg xulrunner xv xvid zip zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r128 fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Hi there. The problem is that <linux/binfmts.h> from linux-headers-2.6.30-r1 declares... #define MAX_ARG_STRLEN (PAGE_SIZE * 32) ... but it's not fixed value for all platforms. You may use older os headers, it seems to work for Jeroen Roovers, or make a dirty hack until things are fixed in new header... #ifndef PAGE_SIZE #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) #endif Have a nice day Tharrrk
(In reply to comment #10) > #ifndef PAGE_SIZE > #define PAGE_SIZE sysconf(_SC_PAGE_SIZE) > #endif Indeed, I managed to compile it on an up-to-date ~arm system with: CPPFLAGS='-DPAGE_SIZE="sysconf(_SC_PAGE_SIZE)"' emerge -1av make Thanks, Tharrrk!
*** Bug 302455 has been marked as a duplicate of this bug. ***
*** Bug 304713 has been marked as a duplicate of this bug. ***
since it'll be awhile before newer linux-headers are stabilized, ive added a work around to the make patch: http://sources.gentoo.org/sys-devel/make/files/make-3.81-long-cmdline.patch?r1=1.1&r2=1.2 and it should be fixed in linux-headers-2.6.32+: http://sources.gentoo.org/gentoo/src/patchsets/gentoo-headers/2.6.32/0009-convert-PAGE_SIZE-usage.patch?rev=1.1
*** Bug 305017 has been marked as a duplicate of this bug. ***