Skip to contentSkip to conversation

Error when building Fuego for the first time, Emdebian packages crossbuild-essential-armhf, gcc-arm-linux-gnueabihf

Fuego Thomas Preston 2 participants 2 messages Mar 19, 2018

lore
Share & tools
lore
#0 lore raw

Hi,
I'm seeing an issue when building the Fuego container for the first time. Step 52/53 fails when trying to install crossbuild-essential-armhf and gcc-arm-linux-gnueabihf. These lines appear to have been added in the initial LAVA support patch: 7d6a953455ada9b79d8a3a7ede523cd79647de5c

The packages appear to come from Emdebian repos, which I believe were frozen in 2014. Is it still correct to pull packages from these repos? Has anyone else seen this issue before?

Steps to reproduce, following the quickstart guide:

http://fuegotest.org/wiki/Fuego_Quickstart_Guide

After running:

git clone https://bitbucket.org/tbird20d/fuego.git
git clone https://bitbucket.org/tbird20d/fuego-core.git
cd fuego; ./install.sh

I'm seeing the following error:

[snip]
Step 52/53 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-armhf cpp-arm-linux-gnueabihf gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
---> Running in 2e3c7c8a2703
Reading package lists...
Building dependency tree...
Reading state information...
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-armhf : Depends: g++-arm-linux-gnueabihf (>= 4.9.1-1) but it is not going to be installed
gcc-arm-linux-gnueabihf : Depends: gcc-4.9-arm-linux-gnueabihf (>= 4.9.2-10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-armhf cpp-arm-linux-gnueabihf gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf' returned a non-zero code: 100

Thanks,
Thomas

#1 lore raw

Thomas, Heron2015, and others,

Thank you for the bug report. This problem has been caused by some package updates in the Debian security repository, that unexpectedly created some conflicts with the emdebian armhf cross toolchain installation in Fuego.

I will post a separate e-mail about the solution for this, and some of the ramifications and work needed to fully resolve this. But the short story is that I've made a change to the fuego master branch with the needed fix.

You can either check out the fuego repository again, or just pull the latest fix and try the install again:

   $ cd fuego ; git pull ; ./install.sh

Regards,
-- Tim

Quoted 54 lines

-----Original Message-----
From: Thomas Preston
Hi,
I'm seeing an issue when building the Fuego container for the first time. Step 52/53 fails when trying to install crossbuild-essential-armhf and gcc-arm- linux-gnueabihf. These lines appear to have been added in the initial LAVA support patch: 7d6a953455ada9b79d8a3a7ede523cd79647de5c

The packages appear to come from Emdebian repos, which I believe were frozen in 2014. Is it still correct to pull packages from these repos? Has anyone else seen this issue before?

Steps to reproduce, following the quickstart guide:

http://fuegotest.org/wiki/Fuego_Quickstart_Guide

After running:

git clone https://bitbucket.org/tbird20d/fuego.git
git clone https://bitbucket.org/tbird20d/fuego-core.git
cd fuego; ./install.sh

I'm seeing the following error:

[snip]
Step 52/53 : RUN DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-armhf cpp-arm-linux-gnueabihf gcc-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
---> Running in 2e3c7c8a2703
Reading package lists...
Building dependency tree...
Reading state information...
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-armhf : Depends: g++-arm-linux-gnueabihf (>= 4.9.1-1)
but it is not going to be installed
gcc-arm-linux-gnueabihf : Depends: gcc-4.9-arm-linux-gnueabihf (>= 4.9.2-
10) but it is not going to be installed
E: Unable to correct problems, you have held broken packages. The command '/bin/sh -c DEBIAN_FRONTEND=noninteractive apt-get -yV install crossbuild-essential-armhf cpp-arm-linux-gnueabihf gcc-arm-linux- gnueabihf binutils-arm-linux-gnueabihf' returned a non-zero code: 100

Thanks,
Thomas
_______________________________________________
Fuego mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/fuego