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

Re: armhf toolchain is broken in the repository



On Sat, 10 Nov 2012 13:21:30 +0100
Patrik Kluba <kpajko79@gmail.com> wrote:

> On Sat, Nov 10, 2012 at 12:17 PM, Neil Williams <codehelp@debian.org> wrote:
> > > the older version of architecture independent packages got disappeared
> > > somehow. For example, there's no
> > > libstdc++6-4.6-dev-armhf-cross_4.6.3-8_all.deb just
> > > libstdc++6-4.6-dev-armhf-cross_4.6.3-12_all.deb
> >
> > -cross packages need to be updated using xapt and then kept in line
> > from time to time. -cross packages are Architecture: all and this
> > won't change because the -cross method is outdated and needs to be
> > replaced by MultiArch.
> >
> >
> That does not work.

In a clean wheezy chroot, it clearly does work. I've just reproduced it.

> xapt fails to find the package with the specified
> version (but it works with the latest version). I have tried to generate
> libstdc++6-4.7-armhf-cross_4.7.1-7_all.deb with it by doing:
> 
> xapt -a armhf -b -m libstdc++6=4.7.1-7

http://packages.qa.debian.org/g/gcc-4.7.html

That's the version for testing.

In a fresh wheezy chroot, the correct command works just fine:

$ xapt -a armhf -b  -m libstdc++6

dpkg-deb: building package `libstdc++6-armhf-cross' in `./libstdc+
+6-armhf-cross_4.7.1-7_all.deb'.

There's no guarantee that xapt will work nicely with all of the apt
options but I've also tested the full command and that works too.

xapt -a armhf -b  -m libstdc++6=4.7.1-7

> The response was:
> 
> E: Version '4.7.1-7' for 'libstdc++6' was not found

apt is very sensitive to extra apt sources like sid or multimedia or
private repos and / or PPA's. A clean source works just fine. apt also
doesn't tell you (or xapt) why it cannot work with your complete set of
sources, it just fails.

Pinning does not apply to xapt commands, apt refuses to handle
cross-architecture pinning unless done via MultiArch, not dpkg-cross.

> I have checked the Packages file fetched by xapt, and it indeed does not
> reference that version. However the armhf package can be downloaded from
> the repository.

Wheezy does contain that version and has done since 2012-09-05, if you
are using wheezy. If you are using sid, you need to specify the sid
version 4.7.2-4


-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

Attachment: pgpzlHjNVbnP3.pgp
Description: PGP signature


Reply to: