Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262747 - gnome-base/gconf cross compilation fails because of possibly missing orbit on build host
Summary: gnome-base/gconf 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: 262741
Blocks:
  Show dependency tree
 
Reported: 2009-03-16 23:35 UTC by Maksim 'max_posedon' Melnikau
Modified: 2009-05-01 11:41 UTC (History)
1 user (show)

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


Attachments
gnome-base/gconf-2.24.0 build log (gconf-2.24.0.build.log,12.76 KB, text/plain)
2009-03-16 23:37 UTC, Maksim 'max_posedon' Melnikau
Details
gnome-base/gconf-2.24.0.ebuild patch (gconf-2.24.0.ebuild-cross.patch,364 bytes, patch)
2009-03-16 23:39 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
gnome-base/gconf-2.24.0.ebuild patch (gconf-2.24.0.ebuild-cross.patch,427 bytes, patch)
2009-03-17 16:15 UTC, Maksim 'max_posedon' Melnikau
Details | Diff
gnome-base/gconf-2.24.0.ebuild patch (gconf-2.24.0.ebuild-cross.patch,388 bytes, patch)
2009-03-19 01:26 UTC, Maksim 'max_posedon' Melnikau
Details | Diff

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:35:39 UTC
gnome-base/gconf doesn't cross-compile

Reproducible: Always

Steps to Reproduce:
emerge-armv4tl-softfloat-linux-gnueabi gconf
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:37:27 UTC
Created attachment 185237 [details]
gnome-base/gconf-2.24.0 build log

build log before patch
Comment 2 Maksim 'max_posedon' Melnikau 2009-03-16 23:39:22 UTC
Created attachment 185239 [details, diff]
gnome-base/gconf-2.24.0.ebuild patch

This patch fixes gconf cross-compilation
Comment 3 Maksim 'max_posedon' Melnikau 2009-03-17 16:15:15 UTC
Created attachment 185326 [details, diff]
gnome-base/gconf-2.24.0.ebuild patch

few notes about patch
1. gconf haven't any configure option for specifing IDL compiler, only make ORBIT_IDL=/usr/bin/orbit-idl-2 form
2. gnome2_src_compile don't take care about any emake extra params, so no away to pass param via EMAKE_EXTRA, or smth like this
3. patch is ok, for cross- and native- because of gconf has orbit *in* DEPENDS
Comment 4 Maksim 'max_posedon' Melnikau 2009-03-19 01:26:02 UTC
Created attachment 185480 [details, diff]
gnome-base/gconf-2.24.0.ebuild patch

better version, that uses EXTRA_EMAKE += for passing param to emake
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-03-21 22:19:39 UTC
isn't EXTRA_EMAKE reserved to user like ECONF_EXTRA ? Does:

 gnome2_src_compile ORBIT_IDL=/usr/bin/orbit-idl-2

or passing it throught G2CONF doesn't work ?
Comment 6 Maksim 'max_posedon' Melnikau 2009-03-21 23:34:55 UTC
(In reply to comment #5)
> isn't EXTRA_EMAKE reserved to user like ECONF_EXTRA ? 
May be, don't know, just don't know other neat solution.

> Does: gnome2_src_compile ORBIT_IDL=/usr/bin/orbit-idl-2
> or passing it throught G2CONF doesn't work ?
No it doesn't, this ORBIT_IDL should be passed directly to make, it isn't configure option, only make's. And yes, gnome2_src_compile ORBIT... doesn't work.

Comment 7 solar (RETIRED) gentoo-dev 2009-03-25 18:05:42 UTC
(In reply to comment #5)
> isn't EXTRA_EMAKE reserved to user like ECONF_EXTRA ? 

It's reserved for the user but can be used in ebuilds. Just no ebuild should completely overwrite them. appending is ok.

Comment 8 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-05-01 11:41:03 UTC
commited to 2.24 and 2.26 without a bump. Thanks for reporting and providing a patch.