Hi Ali, The build script seems to be working for me, so it might be your network connection or your environment. Currently we don't run the checksum routine again after downloading the file. We probably need to do that.
My first thought is that it didn't download correctly for some reason. If you try to build again, does it try to download the libelf tarball again? If so, it didn't get properly downloaded. You might try downloading it manually and putting it in the tarballs folder. If that's not what's happening, it's probably something in your environment: - What shell is being used? ls -al /bin/sh; /bin/sh --version - What version of tar is getting run? tar --version - If you're running a less widely used OS or Distro, what are you running? Try running the buildgcc command directly with -x enabled and see what's actually getting run for the tar command: /bin/sh -x util/crossgcc/buildgcc Martin On Sun, Aug 14, 2016 at 2:12 AM, Ali H. Fardan <[email protected]> wrote: > Greetings, > > Coreboot is failing to build after running 'make crossgcc' > this error occured when building libreboot too, could any- > one figure it out? Might be that the mirror of libelf is > outdated. > > Raiz > > user@user-ThinkPad-X200:~/Downloads/coreboot$ make crossgcc V=1 > rm -rf doxygen > make -C payloads/coreinfo clean; make -C payloads/nvramcui clean; make > -C payloads/libpayload clean; make -C payloads/external/depthcharge clean; > make -C payloads/external/SeaBIOS clean; make -C payloads/external/U-Boot > clean; make -C payloads/external/Memtest86Plus clean; make -C > payloads/external/iPXE clean; make -C payloads/external/tint clean; > rm -rf build/*.elf build/*.o .xcompile > rm -f nvramcui.elf > rm -rf doxygen > rm -f build/libpayload.a > rm -f .xcompile > rm -f > rmdir -p 2>/dev/null >/dev/null || true > rm -f .ccwrap junit_config junit_config.old > test -d > /home/user/Downloads/coreboot/payloads/external/depthcharge/depthcharge/build > && rm -rf > /home/user/Downloads/coreboot/payloads/external/depthcharge/depthcharge/build > || exit 0 > test -d seabios/out && rm -rf seabios/out || exit 0 > test -d u-boot && make -C u-boot clean || exit 0 > test -d > /home/user/Downloads/coreboot/payloads/external/Memtest86Plus/memtest86plus > && make -C > /home/user/Downloads/coreboot/payloads/external/Memtest86Plus/memtest86plus > clean || exit 0 > test -d ipxe && make -C ipxe/src veryclean || exit 0 > rm -f ipxe/ipxe.rom > test -d tint && make -C tint clean || exit 0 > rm -f build/ramstage?* build/coreboot.romstage build/coreboot.pre* > build/coreboot.bootblock build/coreboot.a > rm -rf build/bootblock?* build/romstage?* build/location.* > rm -f build/option_table.* build/crt0.S build/ldscript > rm -f build/mainboard//static.c build/mainboard//config.py > build/mainboard//static.dot > rm -f build/mainboard//crt0.s build/mainboard//crt0.disasm > rm -f build/mainboard//romstage.inc > rm -f build/mainboard//bootblock.* build/dsdt.* > rm -f build/cpu/x86/smm/smm_bin.c build/cpu/x86/smm/smm.* > build/cpu/x86/smm/smm > rm -rf build .xcompile > make -C util/crossgcc all_without_gdb SKIP_CLANG=1 > make SKIP_GDB=1 build-i386 build-x64 build-arm build-mips \ > build-riscv build-aarch64 build-power8 build-nds32le \ > build_clang build_iasl build_make > bash ./buildgcc -p i386-elf \ > -d /home/user/Downloads/coreboot/util/crossgcc/xgcc > Welcome to the coreboot cross toolchain builder v1.42 (August 11th, 2016) > > Target architecture is now i386-elf > Downloading tarballs ... > * gmp-6.1.0.tar.xz (cached) > * mpfr-3.1.4.tar.xz (cached) > * mpc-1.0.3.tar.gz (cached) > * libelf-0.8.13.tar.gz (downloading from > http://www.mr511.de/software/libelf-0.8.13.tar.gz) ..100% > * binutils-2.26.1.tar.bz2 (cached) > * gcc-5.3.0.tar.bz2 (cached) > Downloaded tarballs ... ok > Unpacking and patching ... > * libelf-0.8.13.tar.gz > > gzip: stdin: not in gzip format > tar: Child returned status 1 > tar: Error is not recoverable: exiting now > touch: cannot touch 'libelf-0.8.13/.unpack_success': No such file or > directory > make[3]: *** [build_gcc] Error 1 > make[2]: *** [build-i386] Error 2 > make[1]: *** [all_without_gdb] Error 2 > make: *** [crossgcc] Error 2 > > > -- > coreboot mailing list: [email protected] > https://www.coreboot.org/mailman/listinfo/coreboot -- coreboot mailing list: [email protected] https://www.coreboot.org/mailman/listinfo/coreboot

