All pastes #965877 Raw Edit

bertrand

public text v1 · immutable
·published 2008-04-01 08:51 UTC
rendered paste body
#!/bin/sh -e
export localstatedir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/var"

export prefix="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr"

export CPP="gcc -E"

export mandir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/man"

export STRIP="strip"

export STAGING_SIPDIR="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/sip"

export BUILD_CC="gcc"

export BUILD_CXXFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2 -fpermissive"

export OBJCOPY="objcopy"

export AR="ar"

export PSTAGING_ACTIVE="0"

export libexecdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/libexec"

export QTDIR="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/qt2"

export datadir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share"

export PERLCONFIGTARGET="no"

export BUILD_CXX="g++"

export LD="ld"

export EXTRA_OEMAKE="-e MAKEFLAGS="

export LDFLAGS="-L/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath-link,/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath,/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib -Wl,-O1"

export bindir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/bin"

export TARGET_CXXFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2 -fpermissive"

export MAKE="make"

export includedir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include"

export SHELLCMDS="bash --rcfile $TERMRCFILE"

export PERL_INC="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/perl/5.8.8/CORE"

export OPIEDIR="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux"

export BUILD_LDFLAGS="-L/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath-link,/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib -Wl,-rpath,/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib -Wl,-O1"

unset TARGET_ARCH

export OBJDUMP="objdump"

export BUILD_LD="ld"

export BUILD_SYS="i686-linux"

export exec_prefix="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr"

export BUILD_RANLIB="ranlib"

export oldincludedir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include"

export CCLD="gcc"

export QPEDIR="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux"

export BUILD_CCLD="gcc"

export BBPATH="/home/bertrand/workspace/poky/meta/packages/perl:/home/bertrand/workspace/poky/meta/packages/perl:/home/bertrand/workspace/poky/meta/conf/distro/include:/home/bertrand/workspace/poky/meta/conf/distro/include:/home/bertrand/workspace/poky/meta/conf/distro/include:/home/bertrand/workspace/poky/meta/conf/machine/include:/home/bertrand/workspace/poky/build:/home/bertrand/.oe:/home/bertrand/.poky:/home/bertrand/workspace/poky/meta:/home/bertrand/workspace/poky/bitbake"

export base_libdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/lib"

export PATH="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/bin:/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/sbin:/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/bin:/home/bertrand/workspace/poky/build/tmp/cross/bin:/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/sbin:/home/bertrand/workspace/poky/bitbake//bin/:/home/bertrand/workspace/poky/scripts:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"

export TARGET_CFLAGS="-fexpensive-optimizations -fomit-frame-pointer -frename-registers -O2"

export base_bindir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/bin"

export servicedir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/srv"

export BUILD_CPP="cpp"

unset MACHINE

export sbindir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/sbin"

export CFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2"

export BUILD_AR="ar"

export sharedstatedir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/com"

export F77="g77"

export BUILD_CFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2"

unset DISTRO

export STAGING_IDLDIR="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/idl"

export QMAKE_MKSPEC_PATH="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/qmake"

export PKG_CONFIG_DIR="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/pkgconfig"

export palmtopdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/opie"

export PKG_CONFIG_DISABLE_UNINSTALLED="yes"

export infodir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/info"

export libdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib"

export base_prefix="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux"

export CC="gcc"

export palmqtdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/opie"

export BUILD_F77="g77"

export RANLIB="ranlib"

export TARGET_LDFLAGS="-Wl,-O1"

export CPPFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include"

export docdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/doc"

export base_sbindir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/sbin"

export CXX="g++"

export PKG_CONFIG_PATH="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/pkgconfig:/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/pkgconfig${EXTRA_NATIVE_PKGCONFIG_PATH}"

export PATCH_GET="0"

export CXXFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2"

export MANIFEST="/home/bertrand/workspace/poky/meta/packages/perl/files/./manifest"

export BUILD_STRIP="strip"

export AS="as"

export sysconfdir="/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc"

export BUILD_CPPFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include"

do_fetchall() {
	base_do_fetchall

}

die() {
	oefatal "$*"

}

base_do_install() {
	:

}

do_compile() {
	cpan_do_compile

}

do_stage() {
	cpan_do_stage

}

base_do_fetchall() {
	:

}

base_do_package() {
	:

}

oe_soinstall() {
	# Purpose: Install shared library file and
	#          create the necessary links
	# Example:
	#
	# oe_
	#
	#oenote installing shared library $1 to $2
	#
	libname=`basename $1`
	install -m 755 $1 $2/$libname
	sonamelink=`readelf -d $1 |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
	solink=`echo $libname | sed -e 's/\.so\..*/.so/'`
	ln -sf $libname $2/$sonamelink
	ln -sf $libname $2/$solink

}

oe_machinstall() {
	# Purpose: Install machine dependent files, if available
	#          If not available, check if there is a default
	#          If no default, just touch the destination
	# Example:
	#                $1  $2   $3         $4
	# oe_machinstall -m 0644 fstab /home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/image/etc/fstab
	#
	# TODO: Check argument number?
	#
	filename=`basename $3`
	dirname=`dirname $3`

	for o in `echo task_do_populate_staging:local:qemux86:poky:linux:i686:build-linux:fail-fast:pn-libxml-parser-perl-native | tr ':' ' '`; do
		if [ -e $dirname/$o/$filename ]; then
			oenote $dirname/$o/$filename present, installing to $4
			install $1 $2 $dirname/$o/$filename $4
			return
		fi
	done
#	oenote overrides specific file NOT present, trying default=$3...
	if [ -e $3 ]; then
		oenote $3 present, installing to $4
		install $1 $2 $3 $4
	else
		oenote $3 NOT present, touching empty $4
		touch $4
	fi

}

package_stagefile_shell() {
	if [ "$PSTAGING_ACTIVE" = "1" ]; then
		srcfile=$1
		destfile=`echo $srcfile | sed s#/home/bertrand/workspace/poky/build/tmp#${PSTAGE_TMPDIR_STAGE}#`
		destdir=`dirname $destfile`
		mkdir -p $destdir
		cp -dp $srcfile $destfile
	fi

}

oefatal() {
	echo "FATAL:" "$*"
	exit 1

}

base_do_buildall() {
	:

}

cpan_do_install() {
	if [ no == "yes" ]; then
		oe_runmake install_vendor
	fi

}

do_configure() {
	cpan_do_configure

}

cpan_do_compile() {
	if [ "yes" = "yes" ]; then
		oe_runmake PASTHRU_INC="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2" CCFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2" LD="gcc "
	else
		# You must use gcc to link on sh
		OPTIONS=""
		if test i686 = "sh3" -o i686 = "sh4"; then
			OPTIONS="LD=i686-linux-gcc"
		fi
		if test i686 = "powerpc" ; then
			OPTIONS="LD=i686-linux-gcc"
		fi
		oe_runmake PASTHRU_INC="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2" CCFLAGS="-isystem/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include -O2" $OPTIONS
	fi

}

oe_libinstall() {
	# Purpose: Install a library, in all its forms
	# Example
	#
	# oe_libinstall libltdl /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/
	# oe_libinstall -C src/libblah libblah /home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/image//home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/
	dir=""
	libtool=""
	silent=""
	require_static=""
	require_shared=""
	staging_install=""
	while [ "$#" -gt 0 ]; do
		case "$1" in
		-C)
			shift
			dir="$1"
			;;
		-s)
			silent=1
			;;
		-a)
			require_static=1
			;;
		-so)
			require_shared=1
			;;
		-*)
			oefatal "oe_libinstall: unknown option: $1"
			;;
		*)
			break;
			;;
		esac
		shift
	done

	libname="$1"
	shift
	destpath="$1"
	if [ -z "$destpath" ]; then
		oefatal "oe_libinstall: no destination path specified"
	fi
	if echo "$destpath/" | egrep '^/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/' >/dev/null
	then
		staging_install=1
	fi

	__runcmd () {
		if [ -z "$silent" ]; then
			echo >&2 "oe_libinstall: $*"
		fi
		$*
	}

	if [ -z "$dir" ]; then
		dir=`pwd`
	fi
	dotlai=$libname.lai
	dir=$dir`(cd $dir;find . -name "$dotlai") | sed "s/^\.//;s/\/$dotlai\$//;q"`
	olddir=`pwd`
	__runcmd cd $dir

	lafile=$libname.la

	# If such file doesn't exist, try to cut version suffix
	if [ ! -f "$lafile" ]; then
		libname1=`echo "$libname" | sed 's/-[0-9.]*$//'`
		lafile1=$libname.la
		if [ -f "$lafile1" ]; then
			libname=$libname1
			lafile=$lafile1
		fi
	fi

	if [ -f "$lafile" ]; then
		# libtool archive
		eval `cat $lafile|grep "^library_names="`
		libtool=1
	else
		library_names="$libname.so* $libname.dll.a"
	fi

	__runcmd install -d $destpath/
	dota=$libname.a
	if [ -f "$dota" -o -n "$require_static" ]; then
		__runcmd install -m 0644 $dota $destpath/
	fi
	if [ -f "$dotlai" -a -n "$libtool" ]; then
		if test -n "$staging_install"
		then
			# stop libtool using the final directory name for libraries
			# in staging:
			__runcmd rm -f $destpath/$libname.la
			__runcmd sed -e 's/^installed=yes$/installed=no/' \
				     -e '/^dependency_libs=/s,/home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11[[:alnum:]/\._+-]*/\([[:alnum:]\._+-]*\),/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/\1,g' \
				     -e "/^dependency_libs=/s,\([[:space:]']+\)/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib,\1/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib,g" \
				     $dotlai >$destpath/$libname.la
		else
			__runcmd install -m 0644 $dotlai $destpath/$libname.la
		fi
	fi

	for name in $library_names; do
		files=`eval echo $name`
		for f in $files; do
			if [ ! -e "$f" ]; then
				if [ -n "$libtool" ]; then
					oefatal "oe_libinstall: $dir/$f not found."
				fi
			elif [ -L "$f" ]; then
				__runcmd cp -P "$f" $destpath/
			elif [ ! -L "$f" ]; then
				libfile="$f"
				__runcmd install -m 0755 $libfile $destpath/
			fi
		done
	done

	if [ -z "$libfile" ]; then
		if  [ -n "$require_shared" ]; then
			oefatal "oe_libinstall: unable to locate shared library"
		fi
	elif [ -z "$libtool" ]; then
		# special case hack for non-libtool .so.#.#.# links
		baselibfile=`basename "$libfile"`
		if (echo $baselibfile | grep -qE '^lib.*\.so\.[0-9.]*$'); then
			sonamelink=`readelf -d $libfile |grep 'Library soname:' |sed -e 's/.*\[\(.*\)\].*/\1/'`
			solink=`echo $baselibfile | sed -e 's/\.so\..*/.so/'`
			if [ -n "$sonamelink" -a x"$baselibfile" != x"$sonamelink" ]; then
				__runcmd ln -sf $baselibfile $destpath/$sonamelink
			fi
			__runcmd ln -sf $baselibfile $destpath/$solink
		fi
	fi

	__runcmd cd "$olddir"

}

base_do_compile() {
	if [ -e Makefile -o -e makefile ]; then
		oe_runmake || die "make failed"
	else
		oenote "nothing to compile"
	fi

}

cpan_do_configure() {
	yes '' | perl Makefile.PL EXPATLIBPATH=/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib EXPATINCPATH=/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/include
	if [ "i686-linux" != "i686-linux" ]; then
		. /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/perl/config.sh
		if [ "yes" = "yes" ]; then
			sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \
				-e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \
				-e "s:\(INSTALLVENDORLIB = \).*:\1/home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/image/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/share/perl5:" \
				-e "s:\(INSTALLVENDORARCH = \).*:\1/home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/image/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/perl5:" \
				-e "s:\(LDDLFLAGS.*\)/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib:\1/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib:" \
				Makefile
		else
			sed -i -e "s:\(SITELIBEXP = \).*:\1${sitelibexp}:" \
				-e "s:\(SITEARCHEXP = \).*:\1${sitearchexp}:" \
				-e "s:\(INSTALLVENDORLIB = \).*:\1/home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/image/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/perl5/site_perl/${version}:" \
				-e "s:\(INSTALLVENDORARCH = \).*:\1/home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/image/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib/perl5/site_perl/${version}:" \
				-e "s:\(LDDLFLAGS.*\)/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib:\1/home/bertrand/workspace/poky/build/tmp/staging/i686-linux/usr/lib:" \
				Makefile
		fi
	fi

}

devshell_do_devshell() {
	export TERMWINDOWTITLE="Bitbake Developer Shell"
	gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"
	if [ $? -ne 0 ]; then
	    echo "Fatal: 'gnome-terminal --disable-factory -t "$TERMWINDOWTITLE"' not found. Check TERMCMD variable."
	    exit 1
	fi

}

oewarn() {
	echo "WARNING:" "$*"

}

do_install() {
	cpan_do_install

}

cpan_do_stage() {
	if [ no == "no" ]; then
		oe_runmake install_vendor
	fi

}

oenote() {
	echo "NOTE:" "$*"

}

package_update_index_ipk() {
	set -x

	ipkgarchs="all any noarch i686 x86 qemux86"

	if [ ! -z "${DEPLOY_KEEP_PACKAGES}" ]; then
		return
	fi

	touch /home/bertrand/workspace/poky/build/tmp/deploy/ipk/Packages
	ipkg-make-index -r /home/bertrand/workspace/poky/build/tmp/deploy/ipk/Packages -p /home/bertrand/workspace/poky/build/tmp/deploy/ipk/Packages -l /home/bertrand/workspace/poky/build/tmp/deploy/ipk/Packages.filelist -m /home/bertrand/workspace/poky/build/tmp/deploy/ipk

	for arch in $ipkgarchs; do
		if [ -e /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/ ] ; then
			touch /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/Packages
			ipkg-make-index -r /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/Packages -p /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/Packages -l /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/Packages.filelist -m /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/
		fi
		if [ -e /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/ ] ; then
			touch /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/Packages
			ipkg-make-index -r /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/Packages -p /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/Packages -l /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/Packages.filelist -m /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/
		fi
	done

}

do_package_write() {
	:

}

package_generate_ipkg_conf() {
	mkdir -p /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/
	echo "src oe file:/home/bertrand/workspace/poky/build/tmp/deploy/ipk" > /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/opkg.conf
	echo "src oe file:/home/bertrand/workspace/poky/build/tmp/deploy/ipk" > /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/opkg-sdk.conf
	ipkgarchs="all any noarch i686 x86 qemux86"
	priority=1
	for arch in $ipkgarchs; do
		echo "arch $arch $priority" >> /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/opkg.conf
		echo "arch i686-$arch-sdk $priority" >> /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/opkg-sdk.conf
		priority=$(expr $priority + 5)
		if [ -e /home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch/Packages ] ; then
		        echo "src oe-$arch file:/home/bertrand/workspace/poky/build/tmp/deploy/ipk/$arch" >> /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/opkg.conf
		fi
		if [ -e /home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk/Packages ] ; then
		        echo "src oe-i686-$arch-sdk file:/home/bertrand/workspace/poky/build/tmp/deploy/ipk/i686-$arch-sdk" >> /home/bertrand/workspace/poky/build/tmp/staging/i686-linux/etc/opkg-sdk.conf
		fi
	done

}

ldconfig_postinst_fragment() {
if [ x"$D" = "x" ]; then
	[ -x /sbin/ldconfig ] && /sbin/ldconfig
fi

}

base_do_stage() {
	:

}

base_do_configure() {
	:

}

do_devshell() {
	devshell_do_devshell

}

oedebug() {
	test $# -ge 2 || {
		echo "Usage: oedebug level \"message\""
		exit 1
	}

	test ${OEDEBUG:-0} -ge $1 && {
		shift
		echo "DEBUG:" $*
	}

}

oe_runmake() {
	if [ x"$MAKE" = x ]; then MAKE=make; fi
	oenote make -e MAKEFLAGS= "$@"
	make -e MAKEFLAGS= "$@" || die "oe_runmake failed"

}

MIRRORS() {
ftp://ftp.debian.org/debian/pool/main	http://snapshot.debian.net/archive/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.de.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.au.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.cl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hr.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.fi.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hk.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.hu.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.ie.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.it.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.jp.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.no.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.pl.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.ro.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.si.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.es.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.se.debian.org/debian/pool
ftp://ftp.debian.org/debian/pool	ftp://ftp.tr.debian.org/debian/pool
ftp://ftp.gnu.org/gnu	ftp://mirrors.kernel.org/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.matrix.com.br/pub/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.cs.ubc.ca/mirror2/gnu
ftp://ftp.gnu.org/gnu	ftp://sunsite.ust.hk/pub/gnu
ftp://ftp.gnu.org/gnu	ftp://ftp.ayamura.org/pub/gnu
http://kernel.org/	http://www.kernel.org/pub
http://kernel.org/	ftp://ftp.us.kernel.org/pub
http://kernel.org/	ftp://ftp.uk.kernel.org/pub
http://kernel.org/	ftp://ftp.hk.kernel.org/pub
http://kernel.org/	ftp://ftp.au.kernel.org/pub
http://kernel.org/	ftp://ftp.jp.kernel.org/pub
ftp://ftp.gnupg.org/gcrypt/     ftp://ftp.franken.de/pub/crypt/mirror/ftp.gnupg.org/gcrypt/
ftp://ftp.gnupg.org/gcrypt/     ftp://ftp.surfnet.nl/pub/security/gnupg/
ftp://ftp.gnupg.org/gcrypt/     http://gulus.USherbrooke.ca/pub/appl/GnuPG/
ftp://dante.ctan.org/tex-archive ftp://ftp.fu-berlin.de/tex/CTAN
ftp://dante.ctan.org/tex-archive http://sunsite.sut.ac.jp/pub/archives/ctan/
ftp://dante.ctan.org/tex-archive http://ctan.unsw.edu.au/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnutls.org/pub/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.gnupg.org/gcrypt/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://www.mirrors.wiretapped.net/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls ftp://ftp.mirrors.wiretapped.net/pub/security/network-security/gnutls/
ftp://ftp.gnutls.org/pub/gnutls http://josefsson.org/gnutls/releases/
http://ftp.info-zip.org/pub/infozip/src/ http://mirror.switch.ch/ftp/mirror/infozip/src/
http://ftp.info-zip.org/pub/infozip/src/ ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tau.ac.il/pub/unix/admin/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.cert.dfn.de/pub/tools/admin/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.fu-berlin.de/pub/unix/tools/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.kaizo.org/pub/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tu-darmstadt.de/pub/sysadmin/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://ftp.tux.org/pub/sites/vic.cc.purdue.edu/tools/unix/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://gd.tuwien.ac.at/utils/admin-tools/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://sunsite.ualberta.ca/pub/Mirror/lsof/
ftp://lsof.itap.purdue.edu/pub/tools/unix/lsof/  ftp://the.wiretapped.net/pub/security/host-security/lsof/
http://www.apache.org/dist  http://archive.apache.org/dist

ftp://.*/.*/    http://www.o-hand.com/~richard/poky/sources/
http://.*/.*/   http://www.o-hand.com/~richard/poky/sources/

}

cd /home/bertrand/workspace/poky/build/tmp/work/i686-linux/libxml-parser-perl-native-2.34-r11/XML-Parser-2.34
do_stage