[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

bug in apt-cross?



I've been messing with the emdebian toolchain builds in order to get
them in-sync and installable for testing as well as unstable.

The scripts are now in pretty good order thaks to Zumbi's sterling
work but if you build a set of tools in a testing chroot then you get
the wrong glibc, and all the tools built against that glibc
(currently 2.6.1-1 in testing, 2.7-3 in unstable).

If you do:
apt-cross -v -v -a arm -S testing -m http://ftp.uk.debian.org/debian -f -b libc6

then we get:
Filename: libc6_2.7-2_arm.deb
Download: (nothing to do)                 ]
Server Error: file not found on backend
apt-cross: Error. Failed to locate libc6.
checking libc6_2.7-2_arm.deb dependencies . . . 
dpkg-deb: unexpected end of file in version number in
libc6_2.7-2_arm.deb
Use of uninitialized value in scalar chomp at /usr/bin/apt-cross line
710.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/AptPkg/PkgRecords.pm line 20.
Use of uninitialized value in pattern match (m//) at
/usr/share/perl5/Cache/Apt/Package.pm line 179.
Use of uninitialized value in hash element at
/usr/share/perl5/Cache/Apt/Lookup.pm line 750.
Use of uninitialized value in hash element at
/usr/share/perl5/Cache/Apt/Lookup.pm line 751.
Use of uninitialized value in subroutine entry at
/usr/lib/perl5/AptPkg/Cache.pm line 52.
Use of uninitialized value in concatenation (.) or string at
/usr/share/perl5/Cache/Apt/Lookup.pm line 678.
W: Unable to locate package 
Calling 'dpkg-cross  -v -b -A --arch arm' for libc6_2.7-2_arm.deb
dpkg-deb: unexpected end of file in version number in
libc6_2.7-2_arm.deb
dpkg-cross: conversion of libc6_2.7-2_arm.deb failed.
Excluding: gcc binutils gpm cpp debianutils xfree86-common
libpam-runtime xlibs-data debconf tzdata
Trying to build: libc6_2.7-2_arm.deb
Going to convert libc6_2.7-2_arm.deb
Extracting libc6_2.7-2_arm.deb

amd an empty file libc6_2.7-2_arm.deb created.

Should apt-cross have gone and got the testing version, as asked?

And why is it failing to get and make a cross-package from the version
it has picked?

/etc/apt/sources.list only lists lenny, and
.dpkg-cross/sources.testing also only lists testing sources, but
apt-cross -a arm -u still gets a load of stuff from unstable.

Similarly for gcc-4.2. it chooses gcc-4.2.2-4 instead of -3. Although
in this case it does make some cross-packages.

apt-cross is v0.5.1

These tests done inside /jails/amd64-testing/ chroot

Am I missing something, or is it broken?

Wookey
-- 
Principal hats:  Balloonz - Toby Churchill - Aleph One - Debian
http://wookware.org/



Reply to: