Failed ct-ng build

Development on core packages and the distribution goes on in here.

Failed ct-ng build

Postby hstimer » Tue Sep 04, 2012 3:27 pm

Following these directions: http://archlinuxarm.org/developers/dist ... -compiling

I got this failure:
$this->bbcode_second_pass_code('', '[ERROR] >> Build failed in step 'Extracting and patching toolchain components'
[ERROR] >> called in step '(top-level)'
')
I followed the instructions twice to make sure I didn't make a mistake, but I got the same result.

I am hosting from ArchLinux (64):
$this->bbcode_second_pass_code('', '○ → cat /proc/version
Linux version 3.5.3-1-ARCH (tobias@T-POWA-LX) (gcc version 4.7.1 20120721 (prerelease) (GCC) ) #1 SMP PREEMPT Sun Au
')

Build output:
$this->bbcode_second_pass_code('', ' archlinux-64 in ~/cross/bin
○ → ./ct-ng build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20120904.012523
[INFO ] Building environment variables
[EXTRA] Preparing working directories
[EXTRA] Installing user-supplied crosstool-NG configuration
[EXTRA] =================================================================
[EXTRA] Dumping internal crosstool-NG configuration
[EXTRA] Building a toolchain for:
[EXTRA] build = x86_64-unknown-linux-gnu
[EXTRA] host = x86_64-unknown-linux-gnu
[EXTRA] target = arm-unknown-linux-gnueabi
[EXTRA] Dumping internal crosstool-NG configuration: done in 0.08s (at 00:02)
[INFO ] =================================================================
[INFO ] Retrieving needed toolchain components' tarballs
[EXTRA] Retrieving 'gmp-5.0.5'
[EXTRA] Saving 'gmp-5.0.5.tar.xz' to local storage
[EXTRA] Retrieving 'mpfr-3.1.1'
[EXTRA] Saving 'mpfr-3.1.1.tar.xz' to local storage
[EXTRA] Retrieving 'ppl-0.11.2'
[EXTRA] Saving 'ppl-0.11.2.tar.lzma' to local storage
[EXTRA] Retrieving 'cloog-ppl-0.15.11'
[EXTRA] Saving 'cloog-ppl-0.15.11.tar.gz' to local storage
[EXTRA] Retrieving 'mpc-0.9'
[EXTRA] Saving 'mpc-0.9.tar.gz' to local storage
[EXTRA] Retrieving 'glibc-2.16.0'
[EXTRA] Saving 'glibc-2.16.0.tar.xz' to local storage
[EXTRA] Retrieving 'glibc-ports-2.16.0'
[EXTRA] Saving 'glibc-ports-2.16.0.tar.xz' to local storage
[INFO ] Retrieving needed toolchain components' tarballs: done in 50.17s (at 00:52)
[INFO ] =================================================================
[INFO ] Extracting and patching toolchain components
[WARN ] 'linux-custom' not found in '/home/hans/cross/bin/.build/tarballs'
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Extracting and patching toolchain components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: do_kernel_extract[scripts/build/kernel/linux.sh@745]
[ERROR] >> called from: main[scripts/crosstool-NG.sh@558]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '/home/hans/cross/share/doc/crosstool-ng/ct-ng.1.15.2/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 0:51.33)
[00:52] / make: *** [build] Error 1')

Contents of .build/tarballs:
$this->bbcode_second_pass_code('', ' archlinux-64 in ~/cross/bin
○ → ll .build/tarballs/
total 8
drwxr-xr-x 2 hans users 4096 Sep 4 00:49 .
drwxr-xr-x 6 hans users 4096 Sep 4 00:48 ..
lrwxrwxrwx 1 hans users 42 Sep 4 00:49 binutils-2.22.tar.bz2 -> /home/hans/cross/src/binutils-2.22.tar.bz2
lrwxrwxrwx 1 hans users 45 Sep 4 00:49 cloog-ppl-0.15.11.tar.gz -> /home/hans/cross/src/cloog-ppl-0.15.11.tar.gz
lrwxrwxrwx 1 hans users 38 Sep 4 00:49 gcc-4.7.1.tar.bz2 -> /home/hans/cross/src/gcc-4.7.1.tar.bz2
lrwxrwxrwx 1 hans users 40 Sep 4 00:49 glibc-2.16.0.tar.xz -> /home/hans/cross/src/glibc-2.16.0.tar.xz
lrwxrwxrwx 1 hans users 46 Sep 4 00:49 glibc-ports-2.16.0.tar.xz -> /home/hans/cross/src/glibc-ports-2.16.0.tar.xz
lrwxrwxrwx 1 hans users 37 Sep 4 00:48 gmp-5.0.5.tar.xz -> /home/hans/cross/src/gmp-5.0.5.tar.xz
lrwxrwxrwx 1 hans users 38 Sep 4 00:48 linux-custom.tar.bz2 -> /home/hans/cross/src/linux-3.1.tar.bz2
lrwxrwxrwx 1 hans users 35 Sep 4 00:49 mpc-0.9.tar.gz -> /home/hans/cross/src/mpc-0.9.tar.gz
lrwxrwxrwx 1 hans users 38 Sep 4 00:48 mpfr-3.1.1.tar.xz -> /home/hans/cross/src/mpfr-3.1.1.tar.xz
lrwxrwxrwx 1 hans users 40 Sep 4 00:49 ppl-0.11.2.tar.lzma -> /home/hans/cross/src/ppl-0.11.2.tar.lzma
')

Contents of src:
$this->bbcode_second_pass_code('', ' archlinux-64 in ~/cross
○ → ll src
total 171348
drwxr-xr-x 2 hans users 4096 Sep 3 14:44 .
drwxr-xr-x 7 hans users 4096 Sep 4 00:47 ..
-rw-r--r-- 1 hans users 18458394 May 13 19:46 binutils-2.22.tar.bz2
-rw-r--r-- 1 hans users 78835966 Jul 28 23:57 gcc-4.7.1.tar.bz2
-rw-r--r-- 1 hans users 78147838 Jan 4 2012 linux-3.2.tar.bz2')
hstimer
 
Posts: 2
Joined: Sat Sep 01, 2012 10:03 pm

Re: Failed ct-ng build

Postby fpnipo » Sat Sep 22, 2012 4:33 am

Im having the same error... did you get solve?

Thanks,
Felipe Nipo.
fpnipo
 
Posts: 7
Joined: Mon Aug 27, 2012 1:03 am

Re: Failed ct-ng build

Postby WarheadsSE » Sat Sep 22, 2012 3:20 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm


Return to Arch Linux ARM

Who is online

Users browsing this forum: No registered users and 4 guests