pdebuild-cross + xapt not functionnal anymore

Gilles Filippini <[email protected]>
Newsgroups gmane.linux.debian.devel.embedded
Message-ID <[email protected]>
Hi,

[ Please CC me on answer as I'm not subscribed to the list ]

Until recently, I used to cross-build on my amd64 box a few packages for
my OpenMoko Freerunner phone (armel).

But all my last attempts in June were unsuccessful.

You'll find below my pdebuild-cross.rc and the multistrap configuration
files.

If I set "arch=" (as it used to be) in the multistrap conf file, the
sources.list in the chroot are forced to amd64 and xapt don't know about
armel:
 deb [arch=amd64] http://ftp.fr.debian.org/debian unstable main
 deb-src http://ftp.fr.debian.org/debian unstable main
 deb [arch=amd64] http://www.emdebian.org/debian squeeze main
 deb-src http://www.emdebian.org/debian squeeze main

Then I tried "arch=armel" but then pdebuild-cross-create fail with:
 W: Failed to fetch
http://www.emdebian.org/debian/dists/squeeze/InRelease  Unable to find
expected entry 'main/binary-armel/Packages' in Release file (Wrong
sources.list entry or malformed file)
 E: Some index files failed to download. They have been ignored, or old
ones used instead.
apt update failed. Exit value: 100

Is there any recent change or workaround one ought to know relating to
such a use case?

Many thanks in advance,

_g.

# pdebuild-cross.rc
# -----------------------------------------------
CROSSARCH=armel
DEBBUILDOPTS="-aarmel"
MULTISTRAPFILE=/etc/multistrap/armel-sid.conf
BASETGZ=/var/lib/pdebuild-cross/pdebuild-cross.tgz
#BASETGZ=/home/pdebuild-cross.tgz
BUILDPLACE=/var/lib/pdebuild-cross/build/
BUILDRESULT=..
APTCACHE=/var/lib/pdebuild-cross/aptcache/
APTCACHEHARDLINK=no
PBUILDERSATISFYDEPENDSCMD=/usr/sbin/embuilddeps
PBUILDERSATISFYDEPENDSOPT="-m -a armel"
USEDEVPTS=yes
AUTO_DEBSIGN=no
# End -------------------------------------------

# Multistrap configuration file
# -----------------------------------------------
[General]
#arch=
arch=armel
directory=
# same as --tidy-up option if set to true
cleanup=true
# same as --no-auth option if set to true
# keyring packages listed in each debootstrap will
# still be installed.
noauth=false
# whether to add the /suite to be explicit about where apt
# needs to look for packages. Default is false.
explicitsuite=true
# extract all downloaded archives (default is true)
unpack=true

omitrequired=false
configscript=
setupscript=/usr/share/multistrap/setcrossarch.sh
debootstrap=Debian Toolchains Debian.old
aptsources=Debian Toolchains
tarballname=pdebuild-cross.tgz

[Toolchains]
packages=g++-4.4-arm-linux-gnueabi linux-libc-dev-armel-cross
reinstall=binutils-multiarch
source=http://www.emdebian.org/debian
keyring=emdebian-archive-keyring
suite=squeeze

[Debian]
packages=dpkg-dev binutils-multiarch build-essential dpkg-cross makedev
source=http://ftp.fr.debian.org/debian
keyring=debian-archive-keyring
suite=unstable
omitdebsrc=false

[Debian.old]
packages=libgmp3c2
#source=http://ftp.fr.debian.org/debian
source=http://ftp.debian.org/debian
keyring=debian-archive-keyring
suite=stable
omitdebsrc=false
# End -------------------------------------------
signature.asc (application/pgp-signature, 490 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBCAAGBQJP037ZAAoJEO/obGx//s+DIvgH/RhKO/8F1r1OSsuqmMBe0nx1
ov3geyyWLvy6GH6XTTIrcO7GmvY02fUbQCs7iOK5FSyr8KyvFh3STVTJI8uAKBEq
pxin2K6qwp90zxtUrL5xiSHG7r71rSCuUlu8qCLLszOsP+kPyyhompGabm95skmn
ESjyIU2C9A/2s9/78Etpjpa/9/tq+LAkEWJhALkBkj8OD50uydA5EOuiM2BN95Pd
J6fRlv2pWhbVUon4e25XC6h0RL1j19o5vq5oNFpWiQbqb201RSer3aAbX/aAS5xo
DeM5yonnF6ihIunNZI17HC6yrTHxDUeg9fdZDgl3A5ZhdeJuMZd6ERRWYwfWAUk=
=yD8b
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.