Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262741 - gnome-base/orbit cross compilation fails because of possibly missing orbit on build host
Summary: gnome-base/orbit cross compilation fails because of possibly missing orbit on...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: ARM Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks: 262747
  Show dependency tree
 
Reported: 2009-03-16 23:01 UTC by Maksim 'max_posedon' Melnikau
Modified: 2009-10-22 03:41 UTC (History)
1 user (show)

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


Attachments
gnome-base/orbit-2.14.17 build log (build.log,49.02 KB, text/plain)
2009-03-16 23:02 UTC, Maksim 'max_posedon' Melnikau
Details
gnome-base/orbit-2.14.17.ebuild patch (orbit-2.14.17.ebuild-cross.patch,508 bytes, patch)
2009-03-16 23:05 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
gnome-base/orbit-2.14.17.ebuild patch (orbit-2.14.17.ebuild-cross.patch,694 bytes, patch)
2009-03-17 00:21 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
gnome-base/orbit-2.14.17.ebuild patch (orbit-2.14.17.ebuild-cross.patch,682 bytes, text/plain)
2009-03-17 00:32 UTC, Maksim 'max_posedon' Melnikau
Details
gnome-base/orbit-2.14.17.ebuild patch (orbit-2.14.17.ebuild-cross.patch,573 bytes, patch)
2009-03-17 14:57 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
gnome-base/orbit-2.14.17.ebuild patch (gconf-2.24.0.ebuild-cross.patch,364 bytes, patch)
2009-03-17 15:08 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
gnome-base/orbit-2.14.17.ebuild patch (orbit-2.14.17.ebuild-cross.patch,628 bytes, text/plain)
2009-03-17 15:09 UTC, Maksim 'max_posedon' Melnikau
Details
Fix cross-compile regression introduced when EAPI changed to 2. (orbit-2.14.17.ebuild-cross.patch,707 bytes, text/plain)
2009-10-22 03:39 UTC, Mandeep Singh Baines
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim 'max_posedon' Melnikau 2009-03-16 23:01:05 UTC
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
Comment 1 Maksim 'max_posedon' Melnikau 2009-03-16 23:02:54 UTC
Created attachment 185233 [details]
gnome-base/orbit-2.14.17 build log

build log before patch
Comment 2 Maksim 'max_posedon' Melnikau 2009-03-16 23:05:18 UTC
Created attachment 185235 [details, diff]
gnome-base/orbit-2.14.17.ebuild patch

This patch fixes orbit cross-compilation
Comment 3 Maksim 'max_posedon' Melnikau 2009-03-17 00:21:22 UTC
Created attachment 185241 [details, diff]
gnome-base/orbit-2.14.17.ebuild patch

Checking host orbit-idl-2(gnome-base/orbit) version presents added.
Comment 4 Maksim 'max_posedon' Melnikau 2009-03-17 00:32:47 UTC
Created attachment 185243 [details]
gnome-base/orbit-2.14.17.ebuild patch

checking present via better way
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-17 10:33:21 UTC
doesn't sound crazy
Comment 6 Mart Raudsepp gentoo-dev 2009-03-17 14:50:15 UTC
Should continue using gnome2_src_compile. Can pass stuff via G2CONF variable probably. Discussing on IRC about it in #gentoo-embedded already.
Comment 7 Maksim 'max_posedon' Melnikau 2009-03-17 14:57:56 UTC
Created attachment 185317 [details, diff]
gnome-base/orbit-2.14.17.ebuild patch

use G2CONF for extra params
Comment 8 Maksim 'max_posedon' Melnikau 2009-03-17 15:08:38 UTC
Created attachment 185319 [details, diff]
gnome-base/orbit-2.14.17.ebuild patch
Comment 9 Maksim 'max_posedon' Melnikau 2009-03-17 15:09:36 UTC
Created attachment 185320 [details]
gnome-base/orbit-2.14.17.ebuild patch
Comment 10 Mart Raudsepp gentoo-dev 2009-03-17 15:17:57 UTC
Committed slightly modified. Thanks!
Comment 11 Mandeep Singh Baines 2009-10-22 03:39:06 UTC
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.
Comment 12 Mandeep Singh Baines 2009-10-22 03:41:14 UTC
Cross compile became broken was the EAPI of this ebuid was changed to 2. Patch to fix attached.