Jump to content

Build environment


Dmitriy Zhuk

Recommended Posts

                     Hello.

 

Now, build environment is only Ubuntu 18.04 (bionic).

But some time ago, the build environment was Ubuntu 16.04 (xenial).

 

How can I build armbian on Xenial?

 

Maybe, I have to change branch to another, or checkout to certain commit?

 

Help me please...

Link to comment
Share on other sites

Thank you for answer.

 

I have additional information.

I've built the image.

 

But I can't boot.

 

There are errors during building:
 

Quote

 

The following NEW packages will be installed:
  debconf-utils dirmngr html2text libksba8 libnpth0
0 upgraded, 5 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 422 kB of archives.
After this operation, 976 kB of additional disk space will be used.
Err:1 http://ports.ubuntu.com xenial/universe armhf debconf-utils all 1.5.58ubuntu1
  Could not resolve 'ports.ubuntu.com'
Ign:2 http://ports.ubuntu.com xenial-updates/main armhf libksba8 armhf 1.3.3-1ubuntu0.16.04.1
Err:3 http://ports.ubuntu.com xenial/main armhf libnpth0 armhf 1.2-3
  Could not resolve 'ports.ubuntu.com'
Ign:4 http://ports.ubuntu.com xenial-updates/main armhf dirmngr armhf 2.1.11-6ubuntu2.1
Err:5 http://ports.ubuntu.com xenial/universe armhf html2text armhf 1.3.2a-18
  Could not resolve 'ports.ubuntu.com'
Err:2 http://ports.ubuntu.com xenial-updates/main armhf libksba8 armhf 1.3.3-1ubuntu0.16.04.1
  Could not resolve 'ports.ubuntu.com'
Err:4 http://ports.ubuntu.com xenial-updates/main armhf dirmngr armhf 2.1.11-6ubuntu2.1
  Could not resolve 'ports.ubuntu.com'
E: Failed to fetch http://ports.ubuntu.com/pool/universe/d/debconf/debconf-utils_1.5.58ubuntu1_all.deb Could not resolve 'ports.ubuntu.com'

E: Failed to fetch http://ports.ubuntu.com/pool/main/libk/libksba/libksba8_1.3.3-1ubuntu0.16.04.1_armhf.deb Could not resolve 'ports.ubuntu.com'

E: Failed to fetch http://ports.ubuntu.com/pool/main/n/npth/libnpth0_1.2-3_armhf.deb Could not resolve 'ports.ubuntu.com'

E: Failed to fetch http://ports.ubuntu.com/pool/main/g/gnupg2/dirmngr_2.1.11-6ubuntu2.1_armhf.deb Could not resolve 'ports.ubuntu.com'

E: Failed to fetch http://ports.ubuntu.com/pool/universe/h/html2text/html2text_1.3.2a-18_armhf.deb Could not resolve 'ports.ubuntu.com'

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

 

What it means?
And why it happens?

Link to comment
Share on other sites

              Hello friends.

 

Now I return to my task.

 

And I still can't compile on Ubuntu 16.04

I have such error:

 

[ o.k. ] Compiling u-boot [ 2018.05 ]
[ error ] ERROR in function compile_uboot [ compilation.sh:114 ]
[ error ] Could not find required toolchain [ arm-linux-gnueabihf-gcc > 7.0 ]
[ o.k. ] Process terminated

 

Could you please advise me, how to compile, or checkout to old branch, when environment was Ubuntu 16.04?

 

Thank you in advance.

Link to comment
Share on other sites

I've manually downloaded toolchain, and now I have such error:

  CC      kernel/bounds.s
/home/dmitriy/clock/build/cache/sources/linux-sun8i/sun8i/./Kbuild:35: recipe for target 'kernel/bounds.s' failed
Makefile:988: recipe for target 'prepare0' failed
[ error ] ERROR in function compile_kernel [ compilation.sh:360 ]
[ error ] Kernel was not built [ @host ]
[ o.k. ] Process terminated

 

Why? How to avoid it?

Link to comment
Share on other sites

2 hours ago, Dmitriy Zhuk said:

Why?


Start with a clean build and use recommended build options. If you go outside those areas, expect troubles and the problem ti fix things is yours.

If you don't want to use Ubuntu Bionic, use Docker which should run also on Debian host.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines