gnome-base/orbit doesn't cross-compile Reproducible: Always Steps to Reproduce: emerge-armv4tl-softfloat-linux-gnueabi orbit Actual Results: compilation fails Expected Results: compilation shouldn't fail max_posedon armv4tl-softfloat-linux-gnueabi # emerge-armv4tl-softfloat-linux-gnueabi --info Portage 2.1.6.8 (!/home/data/gentoo/openmoko-overlay/openmoko-target/profiles/openmoko, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29-rc7-git1 i686) ================================================================= System uname: Linux-2.6.29-rc7-git1-i686-Genuine_Intel-R-_CPU_T2130_@_1.86GHz-with-glibc2.0 Timestamp of tree: Mon, 16 Mar 2009 21:00:02 +0000 app-shells/bash: 3.2_p48-r1 dev-java/java-config: 1.3.7-r1, 2.1.7 dev-lang/python: 2.5.2-r8 dev-python/pycrypto: 2.0.1-r7 dev-util/cmake: 2.6.3 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.3-r1 sys-apps/sandbox: 1.5 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 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 ~arm" CBUILD="i686-pc-linux-gnu" CFLAGS="-Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/" 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/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="-Os -pipe -march=armv4t -mtune=arm920t -fomit-frame-pointer -I/usr/armv4tl-softfloat-linux-gnueabi/usr/include/ -I/usr/armv4tl-softfloat-linux-gnueabi/include/" DISTDIR="/home/data/gentoo/distfiles" FEATURES="distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-L/usr/armv4tl-softfloat-linux-gnueabi/usr/lib -L/usr/armv4tl-softfloat-linux-gnueabi/lib" MAKEOPTS="-j3" PKGDIR="/usr/armv4tl-softfloat-linux-gnueabi/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="/home/data/gentoo/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/home/data/gentoo/openmoko-overlay/openmoko-target" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arm dbus dri gps hal iconv midi minimal multicall ncurses nls nptl opengl pam python readline sdl sqlite ssl unicode xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspalfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="tslib mouse keyboard evdev void" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glamo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 185233 [details] gnome-base/orbit-2.14.17 build log build log before patch
Created attachment 185235 [details, diff] gnome-base/orbit-2.14.17.ebuild patch This patch fixes orbit cross-compilation
Created attachment 185241 [details, diff] gnome-base/orbit-2.14.17.ebuild patch Checking host orbit-idl-2(gnome-base/orbit) version presents added.
Created attachment 185243 [details] gnome-base/orbit-2.14.17.ebuild patch checking present via better way
doesn't sound crazy
Should continue using gnome2_src_compile. Can pass stuff via G2CONF variable probably. Discussing on IRC about it in #gentoo-embedded already.
Created attachment 185317 [details, diff] gnome-base/orbit-2.14.17.ebuild patch use G2CONF for extra params
Created attachment 185319 [details, diff] gnome-base/orbit-2.14.17.ebuild patch
Created attachment 185320 [details] gnome-base/orbit-2.14.17.ebuild patch
Committed slightly modified. Thanks!
Created attachment 207881 [details] Fix cross-compile regression introduced when EAPI changed to 2. Cross-compile became broken once the orbit ebuild was moved to EAPI=2. src_configure is an explicit step in EAPI=2.
Cross compile became broken was the EAPI of this ebuid was changed to 2. Patch to fix attached.