WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xci-devel

Re: [Xci-devel] Problem building glib2/dbus libs

To: Andreas Sommer <AndiDog@xxxxxx>
Subject: Re: [Xci-devel] Problem building glib2/dbus libs
From: Damien Bruley <damien.bruley@xxxxxxxxx>
Date: Sun, 11 Oct 2009 10:21:59 +0200
Cc: xci-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sun, 11 Oct 2009 01:22:03 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=AEy6SsmkYWH+UEn7QbbbonNa5sn/ACiqKf/r5fHzExw=; b=VOHMERH7zgh9lzx/0gcJ8ha47hhPHRY5Kfb5nBLh+j4B4RXAKZw9lIeaoqCODxszwF T34VRyv/BF0d5UdydoKcOmdWegVQFfhSQeqtPN1vyzll5d4cU7UohRxfJLWopi7fp99l IRk9p9gKEWK4GuqeViVGQax+CdgQL4vjkjBwI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=gRgSe3JTtIBKDJVKgYPkbdCwpRDgCJvMOhIefq55387mkExhY2G1TICUAatDocP2jP Ort4rmUXB5mmlCXCfhhabv0Vj2cfxVEPeVhz6ivSaXogNAK+YXqDR0UfTwh6LMKTxBGz Wo4BPafgGcdwgKxltp+5s7PRKbh2wckwQg4HQ=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4AD10BAC.6040907@xxxxxx>
List-archive: <http://lists.xensource.com/archives/html/xci-devel>
List-help: <mailto:xci-devel-request@lists.xensource.com?subject=help>
List-id: xci-devel.lists.xensource.com
List-post: <mailto:xci-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xci-devel>, <mailto:xci-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4AD10BAC.6040907@xxxxxx>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi Andreas,
This is a known bug that can be resolved by doing a simple link :
ln -s /usr/src /usr/src/build/build_i686/staging_dir/usr/src
cheers

2009/10/11 Andreas Sommer <AndiDog@xxxxxx>
Hi,

I followed the building instructions on the website (with a brand new Debian lenny and unmodified config file) and ran into the following make problem after a while:


/usr/bin/make -j5 -C /usr/src/build/build_i686/dbus-glib-0.80 all
make[1]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80'
/usr/bin/make  all-recursive
make[2]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80'
Making all in dbus
make[3]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80/dbus'
/usr/bin/make  all-recursive
make[4]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80/dbus'
Making all in .
make[5]: Entering directory `/usr/src/build/build_i686/dbus-glib-0.80/dbus'
/bin/sh ../libtool --tag=CC   --mode=link /usr/src/build/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc -Os  -I/usr/src/build/build_i686/staging_dir/usr/include -I/usr/src/build/build_i686/staging_dir/include --sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot /usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb   -Os  -I/usr/src/build/build_i686/staging_dir/usr/include -I/usr/src/build/build_i686/staging_dir/include --sysroot=/usr/src/build/build_i686/staging_dir/ -isysroot /usr/src/build/build_i686/staging_dir -mtune=i686 -march=i686 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -ggdb  -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -export-symbols-regex "^[^_].*" -version-info 3:0:1 -no-undefined -L/usr/src/build/build_i686/staging_dir/lib -L/usr/src/build/build_i686/staging_dir/usr/lib --sysroot=/usr/src/build/build_i686/staging_dir/ -ggdb  -o libdbus-glib-1.la -rpath /usr/lib dbus-glib.lo dbus-gmain.lo dbus-gmarshal.lo dbus-gobject.lo dbus-gproxy.lo dbus-gtest.lo dbus-gvalue.lo dbus-gthread.lo dbus-gtype-specialized.lo dbus-gutils.lo dbus-gsignature.lo dbus-gvalue-utils.lo -ldbus-1 -lpthread   -lgobject-2.0 -lglib-2.0 -lintl   
grep: /usr/src/build/build_i686/staging_dir/usr/src/build/build_i686/libglib2-2.15.4/glib/libglib-2.0.la: No such file or directory
/usr/src/build/toolchain_build_i686/bin/sed: can't read /usr/src/build/build_i686/staging_dir/usr/src/build/build_i686/libglib2-2.15.4/glib/libglib-2.0.la: No such file or directory
libtool: link: `/usr/src/build/build_i686/staging_dir/usr/src/build/build_i686/libglib2-2.15.4/glib/libglib-2.0.la' is not a valid libtool archive
make[5]: *** [libdbus-glib-1.la] Error 1
make[5]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80/dbus'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80/dbus'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80/dbus'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/usr/src/build/build_i686/dbus-glib-0.80'
make: *** [/usr/src/build/build_i686/dbus-glib-0.80/.compiled] Error 2



The most obvious problem is marked red: The /usr/src/... path is appended to itself. I thought this might be a problem with the --sysroot argument, so for each sysroot-containing command I removed the /usr/src/build/build_i686/staging_dir/ prefix in the -L and -I arguments, but still get some other problems afterwards. So does this work for you or do you have the same issue? BTW I also tried an older snapshot from September -- same problem.

Best regards

_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel


_______________________________________________
Xci-devel mailing list
Xci-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xci-devel
<Prev in Thread] Current Thread [Next in Thread>