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

Re: Unmet dependencies problem in CrossToolchains



+++ John Morris [2015-03-06 02:53 -0600]:
> On 01/16/2015 01:18 PM, Wookey wrote:
> 
> I'm looking to do some x86_64 cross ARM builds in Jessie, and came
> across the [same instructions] as the OP.
> 
> [same instructions]: https://wiki.debian.org/CrossToolchains
> 
> Setting up the repo as described and running `apt-get install
> crossbuild-essential-armhf` fails with the error message:
> 
>     The following packages have unmet dependencies:
>      crossbuild-essential-armhf : Depends: g++-arm-linux-gnueabihf
>       (>= 4.9.1-1) but it is not going to be installed
> 
> The dependency problem can be traced to the emdebian.org g++
> cross-compiler package requiring a version+release-identical
> libstdc++ package, which doesn't match the current mainline package:
> 
>     # apt-cache show g++-4.9-arm-linux-gnueabihf | grep Depends:
>     Depends:  cpp-4.9-arm-linux-gnueabihf (>= 4.9.1-19),
>      gcc-4.9-arm-linux-gnueabihf (= 4.9.1-19), libstdc++-4.9-dev:armhf
>      (= 4.9.1-19), libc6 (>= 2.14), libcloog-isl4 (>= 0.17),
>      libgmp10 (>= 2:5.0.1~), libisl10 (>= 0.10), libmpc3, libmpfr4
>      (>= 3.1.2), zlib1g (>= 1:1.1.4)
>     # apt-cache policy libstdc++-4.9-dev:armhf
>     libstdc++-4.9-dev:armhf:
>       Installed: 4.9.2-10
>       Candidate: 4.9.2-10
>       Version table:
>      *** 4.9.2-10 0
>         500 http://http.debian.net/debian/ jessie/main armhf Packages
>         100 /var/lib/dpkg/status
> 
> Unstable has been on g++ v. 4.9.2 since November, but the above
> quote indicates that the emdebian.org packages worked in January,
> aside from a known complication that doesn't look like the same
> problem and sounds fixed anyway.
> 
> What am I missing?  Thanks-

I'm not sure - can you clarify whether you are trying to install to
jessie or unstable?

Everything has just changed for jessie anyway as 4.9.2-10 gcc migrated
to testing so 4.9.1-19 is now obsolete. I've migrated some packages to
the jessie repo and am building some more. Hopefully everything will
be back in working order in a couple of days.

However if you have been trying to install on unstable, then emdebian
doesn't have much to do with it. The gcc in the main archive should be
installable without extra bits from the emdebian archive.

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/


Reply to: