Issue compiling firmware

Post here to get support
Post Reply
r0b0tn1k
Member
Posts: 32
Joined: Fri Aug 30, 2019 9:53 pm

Issue compiling firmware

Post by r0b0tn1k »

Trying to compile firmware but getting stuck at installing the arm library.

Any ideas?

Ubuntu (in docker):
E: The repository 'http://ppa.launchpad.net/team-gcc-arm-e ... ppa/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

Ubuntu (actual PC):
The following NEW packages will be installed:
gcc-arm-embedded
0 upgraded, 1 newly installed, 0 to remove and 157 not upgraded.
1 not fully installed or removed.
Need to get 0 B/68,9 MB of archives.
After this operation, 451 MB of additional disk space will be used.
(Reading database ... 266511 files and directories currently installed.)
Preparing to unpack .../gcc-arm-embedded_7-2018q2-1~bionic1_amd64.deb ...
Unpacking gcc-arm-embedded (7-2018q2-1~bionic1) ...
dpkg: error processing archive /var/cache/apt/archives/gcc-arm-embedded_7-2018q2-1~bionic1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/libcc1.so.0.0.0', which is also in package gcc-avr 1:5.4.0+Atmel3.6.0-1build1
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/gcc-arm-embedded_7-2018q2-1~bionic1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
kimberly
Bitcraze
Posts: 527
Joined: Fri Jul 06, 2018 11:13 am

Re: Issue compiling firmware

Post by kimberly »

Which ubuntu version are you using?
r0b0tn1k
Member
Posts: 32
Joined: Fri Aug 30, 2019 9:53 pm

Re: Issue compiling firmware

Post by r0b0tn1k »

PC:
Welcome to Ubuntu 18.04.4 LTS (GNU/Linux 4.15.0-112-generic x86_64)

Docker:
Distributor ID: Ubuntu
Description: Ubuntu 20.04 LTS
Release: 20.04
Codename: focal
kristoffer
Bitcraze
Posts: 322
Joined: Tue Jun 30, 2015 7:47 am

Re: Issue compiling firmware

Post by kristoffer »

Not sure what the problem is, but if you want to check out how we install gcc in our official docker builder image you can find it here https://github.com/bitcraze/docker-buil ... le#L17-L18

If you don't want to install the compiler locally you can use the toolbelt instead, see https://github.com/bitcraze/toolbelt
It uses the builder image mentioned above when compiling.
Post Reply