Ubuntu Linaro Build Fail

Moderators: Oren.R, Leonid.S

Posts: 20
Joined: Mon Sep 19, 2016 9:18 pm

Ubuntu Linaro Build Fail

Postby bwrenn » Wed Oct 12, 2016 1:14 pm

1. SOM version number

2. Your build system version.
Ubuntu Linaro

3. Linux version information:
$ cat /proc/version

Linux version 4.2.0-27-generic (buildd@lcy01-23) (gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1) ) #32~14.04.1-Ubuntu SMP Fri Jan 22 15:32:26 UTC 2016

$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 70
model name : Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz
stepping : 1
cpu MHz : 2194.918
cache size : 6144 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
apicid : 0
initial apicid : 0
fpu : yes
fpu_exception : yes
cpuid level : 13
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx rdtscp lm constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 x2apic movbe popcnt aes xsave avx rdrand hypervisor lahf_lm abm
bugs :
bogomips : 4389.83
clflush size : 64
cache_alignment : 64
address sizes : 39 bits physical, 48 bits virtual
power management:

4. Detail logs of command you executed to create a build issue or complete boot log in case of operating system issue..

Note I have prepended "@@@@@" to commands run within the shell to clearly mark them.

@@@@@ git clone https://github.com/varigit/DART-SD410-kernel.git kernel
Cloning into 'kernel'...
remote: Counting objects: 4874078, done.
remote: Total 4874078 (delta 0), reused 0 (delta 0), pack-reused 4874078
Receiving objects: 100% (4874078/4874078), 1014.81 MiB | 6.84 MiB/s, done.
Resolving deltas: 100% (4113950/4113950), done.
Checking connectivity... done.
Checking out files: 100% (46199/46199), done.

@@@@@ git checkout -b release/qcomlt-4.2
fatal: Not a git repository (or any of the parent directories): .git

@@@@@ ./makebootimg.sh
./makebootimg.sh: No such file or directory

@@@@@ export CROSS_COMPILE=aarch64-linux-gnu-

@@@@@ export ARCH=arm64

@@@@@ sudo apt-get install gcc-aarch64-linux-gnu
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
binutils-aarch64-linux-gnu cpp-4.8-aarch64-linux-gnu cpp-aarch64-linux-gnu
gcc-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu-base
libatomic1-arm64-cross libc6-arm64-cross libc6-dev-arm64-cross
libgcc-4.8-dev-arm64-cross libgcc1-arm64-cross libgomp1-arm64-cross
libitm1-arm64-cross linux-libc-dev-arm64-cross
Suggested packages:
binutils-doc gcc-4.8-locales cpp-doc gcc-4.8-doc libgcc1-dbg-arm64-cross
libgomp1-dbg-arm64-cross libitm1-dbg-arm64-cross libatomic1-dbg-arm64-cross
libasan0-dbg-arm64-cross libtsan0-dbg-arm64-cross
libquadmath-dbg-arm64-cross automake1.9 gdb-aarch64-linux-gnu gcc-doc
The following packages will be REMOVED:
g++-multilib gcc-multilib
The following NEW packages will be installed:
binutils-aarch64-linux-gnu cpp-4.8-aarch64-linux-gnu cpp-aarch64-linux-gnu
gcc-4.8-aarch64-linux-gnu gcc-4.8-aarch64-linux-gnu-base
gcc-aarch64-linux-gnu libatomic1-arm64-cross libc6-arm64-cross
libc6-dev-arm64-cross libgcc-4.8-dev-arm64-cross libgcc1-arm64-cross
libgomp1-arm64-cross libitm1-arm64-cross linux-libc-dev-arm64-cross
0 upgraded, 14 newly installed, 2 to remove and 194 not upgraded.
Need to get 14.8 MB of archives.
After this operation, 47.6 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
WARNING: The following packages cannot be authenticated!
gcc-4.8-aarch64-linux-gnu-base cpp-4.8-aarch64-linux-gnu
binutils-aarch64-linux-gnu libgcc1-arm64-cross libgomp1-arm64-cross
libitm1-arm64-cross libatomic1-arm64-cross libgcc-4.8-dev-arm64-cross
Install these packages without verification? [y/N] Y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8-aarch64-linux-gnu-base amd64 4.8.4-2ubuntu1~14.04.1cross0.11.2 [14.9 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main cpp-4.8-aarch64-linux-gnu amd64 4.8.4-2ubuntu1~14.04.1cross0.11.2 [3,961 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/main cpp-aarch64-linux-gnu amd64 4:4.8.2-1 [1,964 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main binutils-aarch64-linux-gnu amd64 2.24-5ubuntu14cross0.11.2 [2,750 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libc6-arm64-cross all 2.19-0ubuntu2cross0.10 [992 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc1-arm64-cross all 1:4.8.4-2ubuntu1~14.04.1cross0.11.2 [29.2 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libgomp1-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [18.5 kB]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libitm1-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [24.1 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libatomic1-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [5,902 B]
Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libgcc-4.8-dev-arm64-cross all 4.8.4-2ubuntu1~14.04.1cross0.11.2 [163 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main gcc-4.8-aarch64-linux-gnu amd64 4.8.4-2ubuntu1~14.04.1cross0.11.2 [4,437 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty/main gcc-aarch64-linux-gnu amd64 4:4.8.2-1 [1,138 B]
Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty/main linux-libc-dev-arm64-cross all 3.13.0-12.32cross0.10 [754 kB]
Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty/main libc6-dev-arm64-cross all 2.19-0ubuntu2cross0.10 [1,688 kB]
Fetched 14.8 MB in 2s (6,336 kB/s)
(Reading database ... 217645 files and directories currently installed.)
Removing g++-multilib (4:4.8.2-1ubuntu6) ...
Removing gcc-multilib (4:4.8.2-1ubuntu6) ...
Selecting previously unselected package gcc-4.8-aarch64-linux-gnu-base.
(Reading database ... 217643 files and directories currently installed.)
Preparing to unpack .../gcc-4.8-aarch64-linux-gnu-base_4.8.4-2ubuntu1~14.04.1cross0.11.2_amd64.deb ...
Unpacking gcc-4.8-aarch64-linux-gnu-base (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package cpp-4.8-aarch64-linux-gnu.
Preparing to unpack .../cpp-4.8-aarch64-linux-gnu_4.8.4-2ubuntu1~14.04.1cross0.11.2_amd64.deb ...
Unpacking cpp-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package cpp-aarch64-linux-gnu.
Preparing to unpack .../cpp-aarch64-linux-gnu_4%3a4.8.2-1_amd64.deb ...
Unpacking cpp-aarch64-linux-gnu (4:4.8.2-1) ...
Selecting previously unselected package binutils-aarch64-linux-gnu.
Preparing to unpack .../binutils-aarch64-linux-gnu_2.24-5ubuntu14cross0.11.2_amd64.deb ...
Unpacking binutils-aarch64-linux-gnu (2.24-5ubuntu14cross0.11.2) ...
Selecting previously unselected package libc6-arm64-cross.
Preparing to unpack .../libc6-arm64-cross_2.19-0ubuntu2cross0.10_all.deb ...
Unpacking libc6-arm64-cross (2.19-0ubuntu2cross0.10) ...
Selecting previously unselected package libgcc1-arm64-cross.
Preparing to unpack .../libgcc1-arm64-cross_1%3a4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ...
Unpacking libgcc1-arm64-cross (1:4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package libgomp1-arm64-cross.
Preparing to unpack .../libgomp1-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ...
Unpacking libgomp1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package libitm1-arm64-cross.
Preparing to unpack .../libitm1-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ...
Unpacking libitm1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package libatomic1-arm64-cross.
Preparing to unpack .../libatomic1-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ...
Unpacking libatomic1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package libgcc-4.8-dev-arm64-cross.
Preparing to unpack .../libgcc-4.8-dev-arm64-cross_4.8.4-2ubuntu1~14.04.1cross0.11.2_all.deb ...
Unpacking libgcc-4.8-dev-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package gcc-4.8-aarch64-linux-gnu.
Preparing to unpack .../gcc-4.8-aarch64-linux-gnu_4.8.4-2ubuntu1~14.04.1cross0.11.2_amd64.deb ...
Unpacking gcc-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Selecting previously unselected package gcc-aarch64-linux-gnu.
Preparing to unpack .../gcc-aarch64-linux-gnu_4%3a4.8.2-1_amd64.deb ...
Unpacking gcc-aarch64-linux-gnu (4:4.8.2-1) ...
Selecting previously unselected package linux-libc-dev-arm64-cross.
Preparing to unpack .../linux-libc-dev-arm64-cross_3.13.0-12.32cross0.10_all.deb ...
Unpacking linux-libc-dev-arm64-cross (3.13.0-12.32cross0.10) ...
Selecting previously unselected package libc6-dev-arm64-cross.
Preparing to unpack .../libc6-dev-arm64-cross_2.19-0ubuntu2cross0.10_all.deb ...
Unpacking libc6-dev-arm64-cross (2.19-0ubuntu2cross0.10) ...
Processing triggers for man-db ( ...
Setting up gcc-4.8-aarch64-linux-gnu-base (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up cpp-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up cpp-aarch64-linux-gnu (4:4.8.2-1) ...
Setting up binutils-aarch64-linux-gnu (2.24-5ubuntu14cross0.11.2) ...
Setting up libc6-arm64-cross (2.19-0ubuntu2cross0.10) ...
Setting up libgcc1-arm64-cross (1:4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up libgomp1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up libitm1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up libatomic1-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up libgcc-4.8-dev-arm64-cross (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up gcc-4.8-aarch64-linux-gnu (4.8.4-2ubuntu1~14.04.1cross0.11.2) ...
Setting up gcc-aarch64-linux-gnu (4:4.8.2-1) ...
Setting up linux-libc-dev-arm64-cross (3.13.0-12.32cross0.10) ...
Setting up libc6-dev-arm64-cross (2.19-0ubuntu2cross0.10) ...
Processing triggers for libc-bin (2.19-0ubuntu6.7) ...

@@@@@ make O=build-arm64 defconfig
make: *** No rule to make target `defconfig'. Stop.

5. Detail description.
I followed the instructions of this wiki and highlighted problems in red.

Return to “Ubuntu / Debian”

Who is online

Users browsing this forum: No registered users and 1 guest