Re: armhf toolchain is broken in the repository
Neil Williams <[email protected]>
| Newsgroups | gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <[email protected]> |
On Sat, 10 Nov 2012 13:21:30 +0100 Patrik Kluba <[email protected]> wrote: > On Sat, Nov 10, 2012 at 12:17 PM, Neil Williams <[email protected]> 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/
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iQIcBAEBCAAGBQJQnma5AAoJEPFn5DyBQ7aCszcQAJ3kUIq9mhF5DLlX7ILLiQjQ NxhSfQo0Kx43oHnWpbztHgk4smhkDjcGH3WF5SR0VKdJu5aGeaGmy5MyJq6BNdqd IzJ+4fAb1JgzTBbt7k80YfrA6qlDak9nX2tH61DrQ34uD6FcgqCgNHPciT8LM9m/ V20Yte6pHCF3m4a7Y11kDcWIr2MfouMnrP8rZbTpvtTeSKzYBiW925hKr+CBJrrg p409mMG4QRQIRI6/cBM2CHcajQ+t7WxYHnzvcUzqHaJ14afwZnPALPFHCpCbta9K HF0e7fxjeUkbYuF2dRWXAgfNVKYQYUa0f2t3nweY5PqDxhQEqAhCi41KezMNEU7X mX3QYRJijXwLzM/ztaqaYF2xtlUcw45ukasIZffiyI6zAfErEAg4eAmnkCEpd3Dh MCStbcGGHJ7P7oUrf0+UWO+gQuwUw6UBFQ/Dj/GHtps86J3yerhd1yHmahLSkD3I S6rTpFlW3m3KqepqATsXfosfNyqA/ffCgasoKvzJr0TK1T2Rrv+HdoHiyTuGhWqt 2MYQpn1wMpp4lX/q2n+84y9wpLxbNI+Y3nAlU3hrD7Mr0B876Ld18dQtODAGipPw oRFI9Pw+hCpzAjxGsuNXvsMb6WqhbvomHzWkCLNLkWFnVqDPThsA/xe72+tYsX3R oF98kUkEZxdR0S6iPJvm =8OFG -----END PGP SIGNATURE-----