Optimized compilation of whole system - advices,errors

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Optimized compilation of whole system - advices,errors

Postby mrthom » Mon May 28, 2012 7:36 am

Hello,
I want to compile whole OS (like make world on FreeBSD).
I need some help with this, because I am getting some errors on some packages.
I successfuly compiled kernel,gcc,glibc,binutils,coreutils,php,mysql,apache,...
I am compiling from ABS and Arch Linux ARM github PKGDUILDs.

My settings for makepkg.conf :

$this->bbcode_second_pass_code('', 'CARCH="arm"
CHOST="arm-unknown-linux-gnueabi"
CFLAGS="-mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm -O2"
CXXFLAGS="-mtune=arm1176jzf-s -mfpu=vfp -mfloat-abi=softfp -marm -O2"
LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"')

I am now getting error after long compiling (around 4 hours )while checking Perl from ABS:

$this->bbcode_second_pass_code('', ' # $Id: PKGBUILD 159280 2012-05-20 20:41:32Z bluewind $
# Maintainer: Angel Velasquez <angvp@archlinux.org>
# Contributor: kevin <kevin.archlinux.org>
# Contributor: judd <jvinet.zeroflux.org>
# Contributor: francois <francois.archlinux.org>
pkgname=perl
pkgver=5.14.2
pkgrel=7')

I got this error while testing the compilation:

$this->bbcode_second_pass_code('', '../lib/sigtrap.t .................................................. ok
../lib/sort.t ..................................................... ok
../lib/strict.t ................................................... ok
../lib/subs.t ..................................................... ok
../lib/utf8.t ..................................................... ok
../lib/vars.t ..................................................... ok
../lib/vars_carp.t ................................................ ok
../lib/version.t .................................................. ok
../lib/vmsish.t ................................................... ok
../lib/warnings.t ................................................. ok
x2p/s2p.t ......................................................... ok

Test Summary Report
-------------------
op/stat.t (Wstat: 0 Tests: 107 Failed: 1)
Failed test: 37
Files=2091, Tests=464814, 12207 wallclock secs (1409.18 usr 59.54 sys + 9374.92 cusr 526.23 csys = 11369.87 CPU)
Result: FAIL
make: *** [test_harness] Error 1
==> CHYBA: Došlo k chybě v check(). // ERROR in check()
Rušení... // Cancelling...
')


I tried to apply a patch (fix-h2ph-and-tests.patch ) but it is already applied.
Can you please advice me how to compile whole system without getting these errors ?
I know it will take about one week. but I have the time a want it to optimize my Raspberry Pi.

Thanks,
Tomas Trenz
mrthom
 
Posts: 2
Joined: Mon May 28, 2012 7:08 am

Re: Optimized compilation of whole system - advices,errors

Postby mrthom » Mon May 28, 2012 9:41 am

Please help me with this error

i run $this->bbcode_second_pass_code('', './perl -MTestInit t/op/stat.t')
and i get test 37 problem
$this->bbcode_second_pass_code('', '
not ok 37 - ls and -c agreeing on /dev (223 222)
# Failed test 37 - ls and -c agreeing on /dev (223 222) at t/op/stat.t line 292
# got "223"
# expected "222"
')
mrthom
 
Posts: 2
Joined: Mon May 28, 2012 7:08 am


Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 7 guests