Re: [coreboot] Coreboot is failing to build
I actually worked around it, it was some MITM proxy that decompresses the gzipped tarball, for some reason, that didn't happen why I tried fetching libelf tarball from https://www.mirrorservice.org/sites/libreboot.org/release/20150518/crossgcc/libelf-0.8.13.tar.gz but anyway, I was able to build coreboot and I flashed it but it seems that I bricked the board, it showed multiple flash chips and I had to choose, so I picked the first one and everything went alright until I rebooted. I am going to flash it externally now, any tips so I don't screw up this time? Raiz -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
Re: [coreboot] Coreboot is failing to build
Here is what you asked for, Raiz Tar version: tar (GNU tar) 1.29 Shell (/bin/sh): GNU bash, version 4.3.46(1)-release (x86_64-unknown-linux-gnu) Distro: Manjaro-OpenRC (rolling) (Linux manjaro 4.4.16-1-MANJARO #1 SMP PREEMPT Wed Jul 27 21:09:47 UTC 2016 x86_64 GNU/Linux) + for P in '$PACKAGES' + unpack_and_patch LIBELF + package=LIBELF ++ eval echo '$LIBELF_ARCHIVE' +++ echo http://www.mr511.de/software/libelf-0.8.13.tar.gz + archive=http://www.mr511.de/software/libelf-0.8.13.tar.gz ++ eval echo '$LIBELF_DIR' +++ echo libelf-0.8.13 + dir=libelf-0.8.13 + test -d libelf-0.8.13 ++ basename http://www.mr511.de/software/libelf-0.8.13.tar.gz + printf ' * libelf-0.8.13.tar.gz\n' * libelf-0.8.13.tar.gz + FLAGS=zxf ++ echo http://www.mr511.de/software/libelf-0.8.13.tar.gz ++ sed 's,.*\.,,' + suffix=gz + '[' gz = gz ']' + '[' -n '' ']' + '[' gz = gz ']' + FLAGS=zxf ++ basename http://www.mr511.de/software/libelf-0.8.13.tar.gz + tar zxf tarballs/libelf-0.8.13.tar.gz gzip: stdin: not in gzip format tar: Child returned status 1 tar: Error is not recoverable: exiting now + for patch in 'patches/${dir}_*.patch' + test -r 'patches/libelf-0.8.13_*.patch' + continue + touch libelf-0.8.13/.unpack_success touch: cannot touch 'libelf-0.8.13/.unpack_success': No such file or directory + exit 1 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 -- coreboot mailing list: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot
[coreboot] Coreboot is failing to build
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: coreboot@coreboot.org https://www.coreboot.org/mailman/listinfo/coreboot