Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

failure building the docker image #38

Open
ChristThePhone opened this issue Apr 5, 2018 · 3 comments
Open

failure building the docker image #38

ChristThePhone opened this issue Apr 5, 2018 · 3 comments

Comments

@ChristThePhone
Copy link

Ran the make file on my Ubuntu 16.04 VM but the build ended pretty early with this :

`Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
crossbuild-essential-arm64 : Depends: gcc-aarch64-linux-gnu (>= 4.9.1-1) but it is not going to be installed
Depends: g++-aarch64-linux-gnu (>= 4.9.1-1) but it is not going to be installed
crossbuild-essential-armel : Depends: gcc-arm-linux-gnueabi (>= 4.9.1-1) but it is not going to be installed
Depends: g++-arm-linux-gnueabi (>= 4.9.1-1) but it is not going to be installed
crossbuild-essential-armhf : Depends: gcc-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
Depends: g++-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
crossbuild-essential-mipsel : Depends: gcc-mipsel-linux-gnu (>= 4.9.1-1) but it is not going to be installed
Depends: g++-mipsel-linux-gnu (>= 4.9.1-1) but it is not going to be installed
crossbuild-essential-ppc64el : Depends: gcc-powerpc64le-linux-gnu (>= 4.9.1-1) but it is not going to be installed
Depends: g++-powerpc64le-linux-gnu (>= 4.9.1-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c set -x; echo deb http://emdebian.org/tools/debian/ jessie main > /etc/apt/sources.list.d/emdebian.list && curl -sL http://emdebian.org/tools/debian/emdebian-toolchain-archive.key | apt-key add - && dpkg --add-architecture arm64 && dpkg --add-architecture armel && dpkg --add-architecture armhf && dpkg --add-architecture i386 && dpkg --add-architecture mips && dpkg --add-architecture mipsel && dpkg --add-architecture powerpc && dpkg --add-architecture ppc64el && apt-get update && apt-get install -y -q autoconf automake autotools-dev bc binfmt-support binutils-multiarch binutils-multiarch-dev build-essential clang crossbuild-essential-arm64 crossbuild-essential-armel crossbuild-essential-armhf crossbuild-essential-mipsel crossbuild-essential-ppc64el curl devscripts gdb git-core libtool llvm mercurial multistrap patch python-software-properties software-properties-common subversion wget xz-utils cmake qemu-user-static && apt-get clean' returned a non-zero code: 100
Makefile:17: recipe for target '.built' failed
make: *** [.built] Error 1`

Any ideas how to fix it ?

@lezsakdomi
Copy link

I've played a little with the Dockerfile.
Inserted a new apt-get update && apt-get install {gcc,g++}-{*} to the beginning of dependency installation. Got this log: http://termbin.com/vlyz

@OliPro007
Copy link

OliPro007 commented Jun 17, 2018

It seems emdebian is not a trusted source anymore. It probably got broken dependencies.
https://lists.debian.org/debian-embedded/2015/01/msg00013.html
https://lists.debian.org/debian-embedded/2015/01/msg00015.html

@andrusha
Copy link

#40 this helps, but the Darwin SDK needs to be updated (it points to Dropbox for some reason, not sure who has access to it)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants