Closed cpswan closed 11 years ago
yeah have seen such report, sadly it cant replacte here, can you do 2 things:
PROJECT=RPi ARCH=arm sh -xv ./scripts/build zlib:host
after cleaning build.OpenELEC-RPi.arm-devel/zlib-1.2.8 and build.OpenELEC-RPi.arm-devel/.stamps/zlib and provide a log from the whole output you get?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
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
It looks like you already have this figured out. But for completeness... the pre_build_host type you asked for is shown as 'function'
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
Confirmed fixed - thanks.
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:
Graphic configuration:
Hardware decoder configuration:
Input device configuration:
Misc. hardware configuration:
Network service configuration:
OS configuration:
Misc. Filesystems:
XBMC configuration:
Include Goom Visualization: no
End Configuration for OpenELEC
/home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 1: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zlib.h: No such file /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 1: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zlib.h: No such file /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 1: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zlib.h: No such file /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 1: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zlib.h: No such file Checking for shared library support... No shared library support; try without defining CC and CFLAGS Building static library libz.a version with /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/toolchain/bin/host-gcc. Checking for off64_t... Yes. Checking for fseeko... Yes. Checking for strerror... Yes. cp: cannot stat
zconf.h.in': No such file or directory /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 483: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zconf.h: No such file mv: cannot stat
zconf.temp.h': No such file or directory Checking for unistd.h... Yes. /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 498: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zconf.h: No such file mv: cannot statzconf.temp.h': No such file or directory Checking for stdarg.h... Yes. Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf(). Checking for snprintf() in stdio.h... Yes. Checking for return value of snprintf()... Yes. Checking for attribute(visibility) support... Yes. /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 776: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open Makefile.in: No such file /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: 806: /home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/configure: cannot open zlib.pc.in: No such file make[1]: Entering directory
/home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/.x86_64-linux-gnu' make[1]: * No targets specified and no makefile found. Stop. make[1]: Leaving directory `/home/chris/OpenELEC.tv/build.OpenELEC-RPi.arm-devel/zlib-1.2.8/.x86_64-linux-gnu' make: * [release] Error 2