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

[Xci-devel] Problem building glib2/dbus libs

To: xci-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xci-devel] Problem building glib2/dbus libs
From: Andreas Sommer <AndiDog@xxxxxx>
Date: Sun, 11 Oct 2009 00:33:16 +0200
Delivery-date: Sat, 10 Oct 2009 15:34:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xci-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)
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
<Prev in Thread] Current Thread [Next in Thread>