OpenELEC / OpenELEC.tv

OpenELEC - The living room PC for everyone
http://openelec.tv
1.61k stars 884 forks source link

RPi build failing #2481

Closed cpswan closed 11 years ago

cpswan commented 11 years ago

I've tried the usual remedies... make clean, different machines etc., but I've not been able to get a build to complete for 'PROJECT=RPi ARCH=arm make release' for a few days now.

The problem seems to be in scons > Python-host > zlib

Here's what I'm seeing:

./scripts/image release -e

Configuration for OpenELEC (unofficial)

Buildoptions:

sraue commented 11 years ago

yeah have seen such report, sadly it cant replacte here, can you do 2 things:

cpswan commented 11 years ago

OK. I did both things...

1) http://resources.pichimney.com/OpenELEC/dev_builds/diag/zlib-1.2.8-cpswan.tar.gz 2) Here's what I get from stdout:

BUILD zlib (host) Compiler error reporting is too harsh for /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure (perhaps remove -Werror). \ /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure aborting.

the stderr output is too big to paste in here, so please download from:

http://resources.pichimney.com/OpenELEC/dev_builds/diag/zlib.err

sraue commented 11 years ago

ok... thanks much can you please run on you shell this:

pre_build_host () {
echo yes
}

then run pre_build_host this should show "yes" then run type -t pre_build_host

and tell me what this command shows

cpswan commented 11 years ago

It looks like you already have this figured out. But for completeness... the pre_build_host type you asked for is shown as 'function'

sraue commented 11 years ago

hmm thats a bit weird, because "function" is what i expect, but maybe a script runs a different shell (dash in your case?) which shows something different... please try with this change and report back

cpswan commented 11 years ago

Confirmed fixed - thanks.