yhfudev / arch-kali-odroidc1

The build scripts for Kali image of Odroid C1, runing on Debian & Arch Linux.
12 stars 4 forks source link

Latest Update won't build #1

Closed cyrus104 closed 9 years ago

cyrus104 commented 9 years ago

I just updated and on attempting to rebuild an image, I removed the directory did a fresh clone and am getting issues with files and folders not existing.

yhfudev commented 9 years ago

Can you please paste the error message as well as the linux distribution you used?

Thanks!!

cyrus104 commented 9 years ago

Kali Linux, x86-64 on an intel core i7

root@**-kali:~/arch-kali-odroidc1# sudo ./runme.sh Cloning into '/root/arch-kali-odroidc1/fakemakepkg-git'... remote: Counting objects: 160, done. remote: Compressing objects: 100% (147/147), done. remote: Total 160 (delta 96), reused 75 (delta 13), pack-reused 0 Receiving objects: 100% (160/160), 30.58 KiB, done. Resolving deltas: 100% (96/96), done. Already up-to-date. test line [INFO] Detected Debian system: Kali 1.1.0 moto [DBG] mkdir for required dir ... [DBG] srcdir=/root/arch-kali-odroidc1/src [DBG] pkgdir=/root/arch-kali-odroidc1/pkg/ [DBG] SRCDEST=/root/arch-kali-odroidc1/srcdst [DBG] SRCPKGDEST=/root/arch-kali-odroidc1/srcpkgdst [DryRun] mkdir -p /root/arch-kali-odroidc1/src [DryRun] mkdir -p /root/arch-kali-odroidc1/pkg/ [DryRun] mkdir -p /root/arch-kali-odroidc1/srcdst /root/arch-kali-odroidc1/PKGBUILD: line 749: syntax error near unexpected token }' /root/arch-kali-odroidc1/PKGBUILD: line 749:}' Checking runtime dependencies... Installing missing dependencies with 3rd tools... try to install 3rd packages: pixz Reading package lists... Done Building dependency tree
Reading state information... Done pixz is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: git Reading package lists... Done Building dependency tree
Reading state information... Done git is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: bc Reading package lists... Done Building dependency tree
Reading state information... Done bc is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: build-essential Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: bash Reading package lists... Done Building dependency tree
Reading state information... Done bash is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: libncurses-dev Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libncurses5-dev' instead of 'libncurses-dev' libncurses5-dev is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: lzop Reading package lists... Done Building dependency tree
Reading state information... Done lzop is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: u-boot-tools Reading package lists... Done Building dependency tree
Reading state information... Done u-boot-tools is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: qemu Reading package lists... Done Building dependency tree
Reading state information... Done qemu is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: qemu-user-static Reading package lists... Done Building dependency tree
Reading state information... Done qemu-user-static is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: binfmt-support Reading package lists... Done Building dependency tree
Reading state information... Done binfmt-support is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: debootstrap Reading package lists... Done Building dependency tree
Reading state information... Done debootstrap is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: parted Reading package lists... Done Building dependency tree
Reading state information... Done parted is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: dosfstools Reading package lists... Done Building dependency tree
Reading state information... Done dosfstools is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: apt-file Reading package lists... Done Building dependency tree
Reading state information... Done apt-file is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: kpartx Reading package lists... Done Building dependency tree
Reading state information... Done kpartx is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: lib32stdc++6 Reading package lists... Done Building dependency tree
Reading state information... Done lib32stdc++6 is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: lib32z1 Reading package lists... Done Building dependency tree
Reading state information... Done lib32z1 is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: build-essential Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: devscripts Reading package lists... Done Building dependency tree
Reading state information... Done devscripts is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: fakeroot Reading package lists... Done Building dependency tree
Reading state information... Done fakeroot is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. [DryRun] mkdir -p /root/arch-kali-odroidc1/srcdst [DBG] down url=kali-arm-build-scripts-git::git+https://github.com/yhfudev/kali-arm-build-scripts.git [DBG] try git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git ... [DryRun] git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 393: cd: kali-arm-build-scripts-git: No such file or directory [DryRun] bash [DryRun] git fetch --all /root/arch-kali-odroidc1 [DBG] down url=linux-hardkernel-git::git+https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ... [DryRun] git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 393: cd: linux-hardkernel-git: No such file or directory [DryRun] bash [DryRun] git fetch --all /root/arch-kali-odroidc1 /root/arch-kali-odroidc1/PKGBUILD: line 112: cd: /root/arch-kali-odroidc1/src/kali-arm-build-scripts-git: No such file or directory [DBG] check version: 61d4156 [DryRun] mkdir -p /root/arch-kali-odroidc1/pkg/ [DryRun] rm -rf /root/arch-kali-odroidc1/pkg/ DONT remove /root/arch-kali-odroidc1/src/! [DryRun] mkdir -p /root/arch-kali-odroidc1/src [DBG] checkout url=kali-arm-build-scripts-git::git+https://github.com/yhfudev/kali-arm-build-scripts.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/kali-arm-build-scripts-git /root/arch-kali-odroidc1/src/kali-arm-build-scripts-git ... [DryRun] git clone /root/arch-kali-odroidc1/srcdst/kali-arm-build-scripts-git /root/arch-kali-odroidc1/src/kali-arm-build-scripts-git [DBG] checkout url=linux-hardkernel-git::git+https://github.com/hardkernel/linux.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/linux-hardkernel-git /root/arch-kali-odroidc1/src/linux-hardkernel-git ... [DryRun] git clone /root/arch-kali-odroidc1/srcdst/linux-hardkernel-git /root/arch-kali-odroidc1/src/linux-hardkernel-git [DBG] checkout url=http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DryRun] rm -f /root/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DryRun] ln -s /root/arch-kali-odroidc1/srcdst/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz /root/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 544: cd: /root/arch-kali-odroidc1/src/: No such file or directory [DBG] checkout url=firmware-linux-git::git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/firmware-linux-git /root/arch-kali-odroidc1/src/firmware-linux-git ... [DryRun] git clone /root/arch-kali-odroidc1/srcdst/firmware-linux-git /root/arch-kali-odroidc1/src/firmware-linux-git [DBG] checkout url=kali-wifi-injection-3.18.patch [DryRun] rm -f /root/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch [DryRun] ln -s /root/arch-kali-odroidc1/kali-wifi-injection-3.18.patch /root/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 550: cd: /root/arch-kali-odroidc1/src/: No such file or directory [DBG] checkout url=odroidc1-3.10.config [DryRun] rm -f /root/arch-kali-odroidc1/src/odroidc1-3.10.config [DryRun] ln -s /root/arch-kali-odroidc1/odroidc1-3.10.config /root/arch-kali-odroidc1/src/odroidc1-3.10.config /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 550: cd: /root/arch-kali-odroidc1/src/: No such file or directory [DBG] checkout url=odroidc1-kernel-config.patch [DryRun] rm -f /root/arch-kali-odroidc1/src/odroidc1-kernel-config.patch [DryRun] ln -s /root/arch-kali-odroidc1/odroidc1-kernel-config.patch /root/arch-kali-odroidc1/src/odroidc1-kernel-config.patch /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 550: cd: /root/arch-kali-odroidc1/src/: No such file or directory [DBG] checkout url=http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DryRun] rm -f /root/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DryRun] ln -s /root/arch-kali-odroidc1/srcdst/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz /root/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 544: cd: /root/arch-kali-odroidc1/src/: No such file or directory [DBG] checkout url=uboot-hardkernel-git::git+https://github.com/hardkernel/u-boot.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /root/arch-kali-odroidc1/src/uboot-hardkernel-git ... [DryRun] git clone /root/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /root/arch-kali-odroidc1/src/uboot-hardkernel-git [DBG] checkout url=boot.ini.template [DryRun] rm -f /root/arch-kali-odroidc1/src/boot.ini.template [DryRun] ln -s /root/arch-kali-odroidc1/boot.ini.template /root/arch-kali-odroidc1/src/boot.ini.template /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 550: cd: /root/arch-kali-odroidc1/src/: No such file or directory [DBG] checkout url=sd_fusing.sh [DryRun] rm -f /root/arch-kali-odroidc1/src/sd_fusing.sh [DryRun] ln -s /root/arch-kali-odroidc1/sd_fusing.sh /root/arch-kali-odroidc1/src/sd_fusing.sh /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 550: cd: /root/arch-kali-odroidc1/src/: No such file or directory /root/arch-kali-odroidc1/fakemakepkg-git/makepkg.sh: line 150: type: prepare: not found /root/arch-kali-odroidc1/fakemakepkg-git/makepkg.sh: line 157: type: build: not found /root/arch-kali-odroidc1/fakemakepkg-git/makepkg.sh: line 164: type: package: not found [DBG] make package ... [DryRun] cd /root/arch-kali-odroidc1/src [DryRun] makepkg_tarpkg test line [INFO] Detected Debian system: Kali 1.1.0 moto [DBG] mkdir for required dir ... [DBG] srcdir=/root/arch-kali-odroidc1/src [DBG] pkgdir=/root/arch-kali-odroidc1/pkg/ [DBG] SRCDEST=/root/arch-kali-odroidc1/srcdst [DBG] SRCPKGDEST=/root/arch-kali-odroidc1/srcpkgdst /root/arch-kali-odroidc1/PKGBUILD: line 749: syntax error near unexpected token }' /root/arch-kali-odroidc1/PKGBUILD: line 749:}' Checking runtime dependencies... Installing missing dependencies with 3rd tools... try to install 3rd packages: pixz Reading package lists... Done Building dependency tree
Reading state information... Done pixz is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: git Reading package lists... Done Building dependency tree
Reading state information... Done git is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: bc Reading package lists... Done Building dependency tree
Reading state information... Done bc is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: build-essential Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: bash Reading package lists... Done Building dependency tree
Reading state information... Done bash is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: libncurses-dev Reading package lists... Done Building dependency tree
Reading state information... Done Note, selecting 'libncurses5-dev' instead of 'libncurses-dev' libncurses5-dev is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: lzop Reading package lists... Done Building dependency tree
Reading state information... Done lzop is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: u-boot-tools Reading package lists... Done Building dependency tree
Reading state information... Done u-boot-tools is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: qemu Reading package lists... Done Building dependency tree
Reading state information... Done qemu is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: qemu-user-static Reading package lists... Done Building dependency tree
Reading state information... Done qemu-user-static is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: binfmt-support Reading package lists... Done Building dependency tree
Reading state information... Done binfmt-support is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: debootstrap Reading package lists... Done Building dependency tree
Reading state information... Done debootstrap is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: parted Reading package lists... Done Building dependency tree
Reading state information... Done parted is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: dosfstools Reading package lists... Done Building dependency tree
Reading state information... Done dosfstools is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: apt-file Reading package lists... Done Building dependency tree
Reading state information... Done apt-file is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: kpartx Reading package lists... Done Building dependency tree
Reading state information... Done kpartx is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: lib32stdc++6 Reading package lists... Done Building dependency tree
Reading state information... Done lib32stdc++6 is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: lib32z1 Reading package lists... Done Building dependency tree
Reading state information... Done lib32z1 is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: build-essential Reading package lists... Done Building dependency tree
Reading state information... Done build-essential is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: devscripts Reading package lists... Done Building dependency tree
Reading state information... Done devscripts is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. try to install 3rd packages: fakeroot Reading package lists... Done Building dependency tree
Reading state information... Done fakeroot is already the newest version. The following packages were automatically installed and are no longer required: libafpclient0 libcrypt-passwdmd5-perl libgadu3 libmozjs24d libtsk3-3 python-flask python-jinja2 python-markupsafe python-werkzeug unrar-free xulrunner-24.0 Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded. [DBG] down url=kali-arm-build-scripts-git::git+https://github.com/yhfudev/kali-arm-build-scripts.git [DBG] try git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git ... Cloning into 'kali-arm-build-scripts-git'... remote: Counting objects: 424, done. remote: Total 424 (delta 0), reused 0 (delta 0), pack-reused 424 Receiving objects: 100% (424/424), 575.17 KiB, done. Resolving deltas: 100% (281/281), done. Fetching origin /root/arch-kali-odroidc1/srcdst [DBG] down url=linux-hardkernel-git::git+https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ... Cloning into 'linux-hardkernel-git'... remote: Counting objects: 4231052, done. remote: Total 4231052 (delta 0), reused 0 (delta 0), pack-reused 4231051 Receiving objects: 100% (4231052/4231052), 1.05 GiB | 5.19 MiB/s, done. Resolving deltas: 100% (3516464/3516464), done. fatal: A branch named 'odroid-3.0.y' already exists. Branch odroid-3.0.y-android set up to track remote branch odroid-3.0.y-android from origin. Branch odroid-3.13.y set up to track remote branch odroid-3.13.y from origin. Branch odroid-3.13.y-linaro set up to track remote branch odroid-3.13.y-linaro from origin. Branch odroid-3.14.y-linaro set up to track remote branch odroid-3.14.y-linaro from origin. Branch odroid-3.8.y set up to track remote branch odroid-3.8.y from origin. Branch odroid-3.8.y-rt set up to track remote branch odroid-3.8.y-rt from origin. Branch odroidc-3.10.y set up to track remote branch odroidc-3.10.y from origin. Branch odroidc-3.10.y-android set up to track remote branch odroidc-3.10.y-android from origin. Branch odroidw-3.12.y set up to track remote branch odroidw-3.12.y from origin. Branch odroidw-3.12.y-test set up to track remote branch odroidw-3.12.y-test from origin. Branch odroidxu-3.4.y set up to track remote branch odroidxu-3.4.y from origin. Branch odroidxu-3.4.y-android set up to track remote branch odroidxu-3.4.y-android from origin. Branch odroidxu-3.4.y-android-jb set up to track remote branch odroidxu-3.4.y-android-jb from origin. Branch odroidxu3-3.10.y set up to track remote branch odroidxu3-3.10.y from origin. Branch odroidxu3-3.10.y-android set up to track remote branch odroidxu3-3.10.y-android from origin. Fetching origin /root/arch-kali-odroidc1/srcdst /root/arch-kali-odroidc1/PKGBUILD: line 112: cd: /root/arch-kali-odroidc1/src/kali-arm-build-scripts-git: No such file or directory [DBG] check version: 61d4156 DONT remove /root/arch-kali-odroidc1/src/! [DBG] checkout url=kali-arm-build-scripts-git::git+https://github.com/yhfudev/kali-arm-build-scripts.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/kali-arm-build-scripts-git /root/arch-kali-odroidc1/src/kali-arm-build-scripts-git ... Cloning into '/root/arch-kali-odroidc1/src/kali-arm-build-scripts-git'... done. [DBG] checkout url=linux-hardkernel-git::git+https://github.com/hardkernel/linux.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/linux-hardkernel-git /root/arch-kali-odroidc1/src/linux-hardkernel-git ... Cloning into '/root/arch-kali-odroidc1/src/linux-hardkernel-git'... done. Checking out files: 100% (38797/38797), done. [DBG] checkout url=http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Not found file: /root/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DBG] checkout url=firmware-linux-git::git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/firmware-linux-git /root/arch-kali-odroidc1/src/firmware-linux-git ... fatal: repository '/root/arch-kali-odroidc1/srcdst/firmware-linux-git' does not exist [DBG] checkout url=kali-wifi-injection-3.18.patch SKIP /root/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch: unknown type ... [DBG] checkout url=odroidc1-3.10.config SKIP /root/arch-kali-odroidc1/src/odroidc1-3.10.config: unknown type ... [DBG] checkout url=odroidc1-kernel-config.patch SKIP /root/arch-kali-odroidc1/src/odroidc1-kernel-config.patch: unknown type ... [DBG] checkout url=http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz Not found file: /root/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DBG] checkout url=uboot-hardkernel-git::git+https://github.com/hardkernel/u-boot.git [DBG] try git clone /root/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /root/arch-kali-odroidc1/src/uboot-hardkernel-git ... fatal: repository '/root/arch-kali-odroidc1/srcdst/uboot-hardkernel-git' does not exist [DBG] checkout url=boot.ini.template SKIP /root/arch-kali-odroidc1/src/boot.ini.template: unknown type ... [DBG] checkout url=sd_fusing.sh SKIP /root/arch-kali-odroidc1/src/sd_fusing.sh: unknown type ... /root/arch-kali-odroidc1/fakemakepkg-git/makepkg.sh: line 150: type: prepare: not found /root/arch-kali-odroidc1/fakemakepkg-git/makepkg.sh: line 157: type: build: not found /root/arch-kali-odroidc1/fakemakepkg-git/makepkg.sh: line 164: type: package: not found [DBG] make package ... [DBG] PREFIX=kali-odroidc1-image-f7fd199-x86_64 /root/arch-kali-odroidc1/fakemakepkg-git//libmkpkg.sh: line 601: cd: /root/arch-kali-odroidc1/pkg/: No such file or directory

yhfudev commented 9 years ago

It's due to a script error which contains a function without content.

cyrus104 commented 9 years ago

I wanted to check and see if this script error has been corrected. Thanks

yhfudev commented 9 years ago

Hi,

I'm working on the project and now I have a working Kali for Odroid C1. Now we can login to the system and start a X window. There're some issues to be solved though.

Since the Odroid C1 needs config the hardware, you have to check the file boot.ini in the first partition of your SD card. Such as the display setting, you have to adjust it for your monitor. For example, I leave the settings to its "official" defaults, and I have to adjust the values after I burned my SD card:

setenv m "1024x768p60hz" setenv vout_mode "dvi"

for my old monitor with DVI port.

Yunhui

On Tue, Mar 10, 2015 at 6:34 PM, cyrus104 notifications@github.com wrote:

I wanted to check and see if this script error has been corrected. Thanks

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78163355 .

cyrus104 commented 9 years ago

Understood, but I am getting the same issue with files not being found after they are downloaded. Pretty much the same as above.

yhfudev commented 9 years ago

I think you need to:

  1. update the current source code: git pull
  2. remove the cache folders (you may want to save the debian package cache dir "src/apt-cache-kali-armhf", and restore it after you clean the folder) rm -rf src rm -rf pkg rm -rf fakemakepkg-git

and then try again.

I used a seperate ubuntu 14 VM to test the script and it generated a working image.

Yunhui

On Thu, Mar 12, 2015 at 4:48 PM, cyrus104 notifications@github.com wrote:

Understood, but I am getting the same issue with files not being found after they are downloaded. Pretty much the same as above.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78610330 .

cyrus104 commented 9 years ago

Hmmm, I actually just rm -rf arch-kali-odroidc1 folder completely and then cloned the git again and then tried to run it again. Is there a cache that is not in that folder that could cause issues?

yhfudev commented 9 years ago

Nope. All of the files are in the source folder. Acturally, I use global cache folders for srcdst, fakemakepkg-git, and src/apt-cache-kali-armhf for my build. You'd better to paste the log message, so I can take a look what's happened.

Yunhui

On Thu, Mar 12, 2015 at 6:08 PM, cyrus104 notifications@github.com wrote:

Hmmm, I actually just rm -rf arch-kali-odroidc1 folder completely and then cloned the git again and then tried to run it again. Is there a cache that is not in that folder that could cause issues?

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78648234 .

cyrus104 commented 9 years ago

This was just run on a completely different system that is running long term ubuntu 14.04.

Use 'apt-get autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded. [DBG] down url=kali-arm-build-scripts-git::git+ https://github.com/yhfudev/kali-arm-build-scripts.git [DBG] try git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git ... Cloning into 'kali-arm-build-scripts-git'... remote: Counting objects: 424, done. remote: Total 424 (delta 0), reused 0 (delta 0), pack-reused 424 Receiving objects: 100% (424/424), 575.17 KiB | 0 bytes/s, done. Resolving deltas: 100% (281/281), done. Checking connectivity... done. Fetching origin /home/dade/odroidkalic1/arch-kali-odroidc1/srcdst [DBG] down url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ... Cloning into 'linux-hardkernel-git'... remote: Counting objects: 4231078, done. remote: Compressing objects: 100% (27/27), done. remote: Total 4231078 (delta 16), reused 0 (delta 0), pack-reused 4231051 Receiving objects: 100% (4231078/4231078), 1.05 GiB | 6.56 MiB/s, done. Resolving deltas: 100% (3516480/3516480), done. Checking connectivity... done. fatal: A branch named 'odroid-3.0.y' already exists. Branch odroid-3.0.y-android set up to track remote branch odroid-3.0.y-android from origin. Branch odroid-3.13.y set up to track remote branch odroid-3.13.y from origin. Branch odroid-3.13.y-linaro set up to track remote branch odroid-3.13.y-linaro from origin. Branch odroid-3.14.y-linaro set up to track remote branch odroid-3.14.y-linaro from origin. Branch odroid-3.8.y set up to track remote branch odroid-3.8.y from origin. Branch odroid-3.8.y-rt set up to track remote branch odroid-3.8.y-rt from origin. Branch odroidc-3.10.y set up to track remote branch odroidc-3.10.y from origin. Branch odroidc-3.10.y-android set up to track remote branch odroidc-3.10.y-android from origin. Branch odroidw-3.12.y set up to track remote branch odroidw-3.12.y from origin. Branch odroidw-3.12.y-test set up to track remote branch odroidw-3.12.y-test from origin. Branch odroidxu-3.4.y set up to track remote branch odroidxu-3.4.y from origin. Branch odroidxu-3.4.y-android set up to track remote branch odroidxu-3.4.y-android from origin. Branch odroidxu-3.4.y-android-jb set up to track remote branch odroidxu-3.4.y-android-jb from origin. Branch odroidxu3-3.10.y set up to track remote branch odroidxu3-3.10.y from origin. Branch odroidxu3-3.10.y-android set up to track remote branch odroidxu3-3.10.y-android from origin. Fetching origin /home/dade/odroidkalic1/arch-kali-odroidc1/srcdst /home/dade/odroidkalic1/arch-kali-odroidc1/PKGBUILD: line 134: cd: /home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git: No such file or directory [DBG] check version: 2488cbc DONT remove /home/dade/odroidkalic1/arch-kali-odroidc1/src/! [DBG] checkout url=kali-arm-build-scripts-git::git+ https://github.com/yhfudev/kali-arm-build-scripts.git [DBG] try git clone /home/dade/odroidkalic1/arch-kali-odroidc1/srcdst/kali-arm-build-scripts-git /home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git ... Cloning into '/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git'... done. [DBG] checkout url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone /home/dade/odroidkalic1/arch-kali-odroidc1/srcdst/linux-hardkernel-git /home/dade/odroidkalic1/arch-kali-odroidc1/src/linux-hardkernel-git ... Cloning into '/home/dade/odroidkalic1/arch-kali-odroidc1/src/linux-hardkernel-git'... done. Checking out files: 100% (38797/38797), done. [DBG] checkout url= http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Not found file: /home/dade/odroidkalic1/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DBG] checkout url=firmware-linux-git::git+ https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git [DBG] try git clone /home/dade/odroidkalic1/arch-kali-odroidc1/srcdst/firmware-linux-git /home/dade/odroidkalic1/arch-kali-odroidc1/src/firmware-linux-git ... fatal: repository '/home/dade/odroidkalic1/arch-kali-odroidc1/srcdst/firmware-linux-git' does not exist [DBG] checkout url=kali-wifi-injection-3.18.patch SKIP /home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch: unknown type ... [DBG] checkout url=odroidc1-3.10.config SKIP /home/dade/odroidkalic1/arch-kali-odroidc1/src/odroidc1-3.10.config: unknown type ... [DBG] checkout url=odroidc1-kernel-config.patch SKIP /home/dade/odroidkalic1/arch-kali-odroidc1/src/odroidc1-kernel-config.patch: unknown type ... [DBG] checkout url= http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz Not found file: /home/dade/odroidkalic1/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DBG] checkout url=uboot-hardkernel-git::git+ https://github.com/hardkernel/u-boot.git [DBG] try git clone /home/dade/odroidkalic1/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /home/dade/odroidkalic1/arch-kali-odroidc1/src/uboot-hardkernel-git ... fatal: repository '/home/dade/odroidkalic1/arch-kali-odroidc1/srcdst/uboot-hardkernel-git' does not exist [DBG] checkout url=boot.ini.template SKIP /home/dade/odroidkalic1/arch-kali-odroidc1/src/boot.ini.template: unknown type ... [DBG] checkout url=sd_fusing.sh SKIP /home/dade/odroidkalic1/arch-kali-odroidc1/src/sd_fusing.sh: unknown type ... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /home/dade/odroidkalic1/arch-kali-odroidc1/src/uboot-hardkernel-git ... /home/dade/odroidkalic1/arch-kali-odroidc1/PKGBUILD: line 821: cd: /home/dade/odroidkalic1/arch-kali-odroidc1/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

On Thu, Mar 12, 2015 at 6:12 PM, Yunhui Fu notifications@github.com wrote:

Nope. All of the files are in the source folder. Acturally, I use global cache folders for srcdst, fakemakepkg-git, and src/apt-cache-kali-armhf for my build. You'd better to paste the log message, so I can take a look what's happened.

Yunhui

On Thu, Mar 12, 2015 at 6:08 PM, cyrus104 notifications@github.com wrote:

Hmmm, I actually just rm -rf arch-kali-odroidc1 folder completely and then cloned the git again and then tried to run it again. Is there a cache that is not in that folder that could cause issues?

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78648234

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78648989 .

yhfudev commented 9 years ago

It's a very weird log message. the folder is not exist: /home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

cyrus104 commented 9 years ago

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu notifications@github.com wrote:

It's a very weird log message. the folder is not exist: /home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979 .

yhfudev commented 9 years ago

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz git clone --no-checkout https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git firmware-linux-git wget -c http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 notifications@github.com wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu notifications@github.com wrote:

It's a very weird log message. the folder is not exist: /home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838 .

yhfudev commented 9 years ago

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz git clone --no-checkout https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git firmware-linux-git wget -c http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 notifications@github.com wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu notifications@github.com wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838 .

cyrus104 commented 9 years ago

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu notifications@github.com wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 notifications@github.com wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu notifications@github.com wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842 .

yhfudev commented 9 years ago

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu notifications@github.com wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 notifications@github.com wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu notifications@github.com wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598 .

cyrus104 commented 9 years ago

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu notifications@github.com wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu notifications@github.com wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 notifications@github.com wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898 .

cyrus104 commented 9 years ago

~/odroidkalic1/arch-kali-odroidc1$ git pull Already up-to-date.

On Thu, Mar 12, 2015 at 9:32 PM, Derek Murphy cyrus104@gmail.com wrote:

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu notifications@github.com wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu notifications@github.com wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 <notifications@github.com

wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898 .

cyrus104 commented 9 years ago

I think there is something wrong with this part of the script maybe: [DBG] down url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ...

On Thu, Mar 12, 2015 at 9:34 PM, Derek Murphy cyrus104@gmail.com wrote:

~/odroidkalic1/arch-kali-odroidc1$ git pull Already up-to-date.

On Thu, Mar 12, 2015 at 9:32 PM, Derek Murphy cyrus104@gmail.com wrote:

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu notifications@github.com wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu notifications@github.com wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 < notifications@github.com> wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898 .

cyrus104 commented 9 years ago

Sorry to keep killing this post but once I remove: --no-checkout it's working so far.

On Thu, Mar 12, 2015 at 9:37 PM, Derek Murphy cyrus104@gmail.com wrote:

I think there is something wrong with this part of the script maybe: [DBG] down url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ...

On Thu, Mar 12, 2015 at 9:34 PM, Derek Murphy cyrus104@gmail.com wrote:

~/odroidkalic1/arch-kali-odroidc1$ git pull Already up-to-date.

On Thu, Mar 12, 2015 at 9:32 PM, Derek Murphy cyrus104@gmail.com wrote:

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu notifications@github.com wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu notifications@github.com wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 < notifications@github.com> wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898 .

yhfudev commented 9 years ago

what's your git version?

I have following version and works correctly: git version 2.3.1, 1.7.10.1, 1.9.1

On Thu, Mar 12, 2015 at 9:40 PM, cyrus104 notifications@github.com wrote:

Sorry to keep killing this post but once I remove: --no-checkout it's working so far.

On Thu, Mar 12, 2015 at 9:37 PM, Derek Murphy cyrus104@gmail.com wrote:

I think there is something wrong with this part of the script maybe: [DBG] down url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ...

On Thu, Mar 12, 2015 at 9:34 PM, Derek Murphy cyrus104@gmail.com wrote:

~/odroidkalic1/arch-kali-odroidc1$ git pull Already up-to-date.

On Thu, Mar 12, 2015 at 9:32 PM, Derek Murphy cyrus104@gmail.com wrote:

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu notifications@github.com wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu < notifications@github.com> wrote:

you need also run

echo "for branch in \$(git branch -a grep remotes grep -v HEAD grep -v master); do git branch --track \${branch##*/} \$branch ; done"

bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a grep remotes grep -v HEAD grep -v master); do git branch --track \${branch##*/} \$branch ; done"

bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 < notifications@github.com> wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78739090 .

yhfudev commented 9 years ago

and if you want to change the git argument, you need to locate it in file fakemakepkg-git/libmkpkg.sh

On Thu, Mar 12, 2015 at 9:52 PM, Yunhui Fu yhfudev@gmail.com wrote:

what's your git version?

I have following version and works correctly: git version 2.3.1, 1.7.10.1, 1.9.1

On Thu, Mar 12, 2015 at 9:40 PM, cyrus104 notifications@github.com wrote:

Sorry to keep killing this post but once I remove: --no-checkout it's working so far.

On Thu, Mar 12, 2015 at 9:37 PM, Derek Murphy cyrus104@gmail.com wrote:

I think there is something wrong with this part of the script maybe: [DBG] down url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ...

On Thu, Mar 12, 2015 at 9:34 PM, Derek Murphy cyrus104@gmail.com wrote:

~/odroidkalic1/arch-kali-odroidc1$ git pull Already up-to-date.

On Thu, Mar 12, 2015 at 9:32 PM, Derek Murphy cyrus104@gmail.com wrote:

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu notifications@github.com wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 notifications@github.com wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu < notifications@github.com> wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 < notifications@github.com> wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78739090 .

cyrus104 commented 9 years ago

git 1.7 on kali -- would have to manually update it git 2.1 on ubuntu lte

On Thu, Mar 12, 2015 at 9:53 PM, Yunhui Fu notifications@github.com wrote:

and if you want to change the git argument, you need to locate it in file fakemakepkg-git/libmkpkg.sh

On Thu, Mar 12, 2015 at 9:52 PM, Yunhui Fu yhfudev@gmail.com wrote:

what's your git version?

I have following version and works correctly: git version 2.3.1, 1.7.10.1, 1.9.1

On Thu, Mar 12, 2015 at 9:40 PM, cyrus104 notifications@github.com wrote:

Sorry to keep killing this post but once I remove: --no-checkout it's working so far.

On Thu, Mar 12, 2015 at 9:37 PM, Derek Murphy cyrus104@gmail.com wrote:

I think there is something wrong with this part of the script maybe: [DBG] down url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git ...

On Thu, Mar 12, 2015 at 9:34 PM, Derek Murphy cyrus104@gmail.com wrote:

~/odroidkalic1/arch-kali-odroidc1$ git pull Already up-to-date.

On Thu, Mar 12, 2015 at 9:32 PM, Derek Murphy cyrus104@gmail.com wrote:

This is the command that I am using: git clone https://github.com/yhfudev/arch-kali-odroidc1.git

On Thu, Mar 12, 2015 at 9:30 PM, Yunhui Fu < notifications@github.com> wrote:

It seems that your code not the latest one, since it lack of a very long check list of existing packages:

Checking runtime dependencies... check installed pkg: git check installed pkg: git return ok! check installed pkg: bc check installed pkg: bc return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: bash check installed pkg: bash return ok! check installed pkg: ncurses check installed pkg: libncurses-dev return ok! check installed pkg: lzop check installed pkg: lzop return ok! check installed pkg: uboot-tools check installed pkg: u-boot-tools return ok! check installed pkg: qemu check installed pkg: qemu return ok! check installed pkg: qemu-user-static-exp check installed pkg: qemu-user-static return ok! check installed pkg: binfmt-support check installed pkg: binfmt-support return ok! check installed pkg: debootstrap check installed pkg: debootstrap return ok! check installed pkg: parted check installed pkg: parted return ok! check installed pkg: dosfstools check installed pkg: dosfstools return ok! check installed pkg: pkgfile check installed pkg: apt-file return ok! check installed pkg: multipath-tools check installed pkg: kpartx return ok! check installed pkg: lib32-libstdc++5 check installed pkg: lib32stdc++6 return ok! check installed pkg: lib32-zlib check installed pkg: lib32z1 return ok! check installed pkg: base-devel error: package 'base-devel' was not found check installed pkg: build-essential return ok! check installed pkg: abs check installed pkg: devscripts return ok! check installed pkg: fakeroot check installed pkg: fakeroot return ok!

On Thu, Mar 12, 2015 at 9:20 PM, cyrus104 < notifications@github.com> wrote:

All of the Git / Wget commands that you sent worked fine. Any thoughts on why they didn't work when using the runme script.

On Thu, Mar 12, 2015 at 9:18 PM, Yunhui Fu < notifications@github.com> wrote:

you need also run

echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

for each of the repo, for example,

cd srcdst/linux-hardkernel-git/ echo "for branch in \$(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track \${branch##*/} \$branch ; done" | bash

On Thu, Mar 12, 2015 at 9:13 PM, Yunhui Fu yhfudev@gmail.com wrote:

please make sure your internet connection is stable.

You may download the source repo by manual to make sure every thing are ok.

rm -rf srcdst/ rm -rf src pkg

mkdir srcdst cd srcdst

git clone --no-checkout https://github.com/yhfudev/kali-arm-build-scripts.git kali-arm-build-scripts-git git clone --no-checkout https://github.com/hardkernel/linux.git linux-hardkernel-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz

git clone --no-checkout

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

firmware-linux-git wget -c

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz

git clone --no-checkout https://github.com/hardkernel/u-boot.git uboot-hardkernel-git

cd .. ./runme.sh

On Thu, Mar 12, 2015 at 8:29 PM, cyrus104 < notifications@github.com> wrote:

I only have: kali-arm-build-scripts-git linux-hardkernel-git

On Thu, Mar 12, 2015 at 7:03 PM, Yunhui Fu < notifications@github.com> wrote:

It's a very weird log message. the folder is not exist:

/home/dade/odroidkalic1/arch-kali-odroidc1/src/kali-arm-build-scripts-git

it seems git checkout return failure. You need also check the /srcdst, which is the source code repo cache, make sure it's correctly created. The last failed build may leave a broken srcdst dir.

Here's the contents of my srcdst/: apt-cache-kali-armhf firmware-linux-git gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz kali-arm-build-scripts-git linux-hardkernel-git uboot-hardkernel-git

if possible, please also remove the srcdst. The other dir "src" is a working folder for compiling, which basically is a copy of the srcdst/,

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78677979

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78714838

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78731842

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78732598

.

— Reply to this email directly or view it on GitHub <

https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78735898

.

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78739090

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78743556 .

vchekan commented 9 years ago

I am getting similar error (uname -a): Linux kali 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /root/c1-build-2/src/uboot-hardkernel-git ... /root/c1-build-2/PKGBUILD: line 821: cd: /root/c1-build-2/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

yhfudev commented 9 years ago

vchekan, Can you please post the information of the system you used? For example, which OS(iso download link) you installed, what the status of your system (did you update to the lastest version)? git version etc.

I can't get the problems your guys point out (I tested in Ubuntu 14.04, Kali 1.1.0, Arch linux, and all works), so I need a environment as the same as yours. Or can you please prepare a clean VM that has the same problem so I can download?

Thanks!

Yunhui

On Fri, Mar 13, 2015 at 7:09 AM, Vadim Chekan notifications@github.com wrote:

I am getting similar error (uname -a): Linux kali 3.18.0-kali3-amd64 #1 https://github.com/yhfudev/arch-kali-odroidc1/issues/1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /root/c1-build-2/src/uboot-hardkernel-git ... /root/c1-build-2/PKGBUILD: line 821: cd: /root/c1-build-2/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78921744 .

cyrus104 commented 9 years ago

Interestingly enough, I removed the --no-checkout from the file specified but it's still throwing the same errors as above. I'm not sure, it might be a syntax problem.

Based on commit do you know what changed shortly before my first post? On Mar 13, 2015 10:44 AM, "Yunhui Fu" notifications@github.com wrote:

vchekan, Can you please post the information of the system you used? For example, which OS(iso download link) you installed, what the status of your system (did you update to the lastest version)? git version etc.

I can't get the problems your guys point out (I tested in Ubuntu 14.04, Kali 1.1.0, Arch linux, and all works), so I need a environment as the same as yours. Or can you please prepare a clean VM that has the same problem so I can download?

Thanks!

Yunhui

On Fri, Mar 13, 2015 at 7:09 AM, Vadim Chekan notifications@github.com wrote:

I am getting similar error (uname -a): Linux kali 3.18.0-kali3-amd64 #1 https://github.com/yhfudev/arch-kali-odroidc1/issues/1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /root/c1-build-2/src/uboot-hardkernel-git ... /root/c1-build-2/PKGBUILD: line 821: cd: /root/c1-build-2/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-78921744

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-79003558 .

vchekan commented 9 years ago

@yhfudev my linux is vanilla Kali from official download link: Linux kali 3.18.0-kali3-amd64 #1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

I suspect the problem is makepkg/fakemakepkg My linux does not have makepkg. Does yours? Because mine is Debian and yours Arch Linux. @cyrus104 what about you?

yhfudev commented 9 years ago

vadim,

I wrote fakemakepkg to simulate the makepkg in other linux distribution other than Arch, specifically, it's fakemakepkg/makepkg.sh, So don't worry about the absence of makepkg, we have makepkg.sh :-)

On Fri, Mar 13, 2015 at 7:48 PM, Vadim Chekan notifications@github.com wrote:

@yhfudev https://github.com/yhfudev my linux is vanilla Kali from official download link: Linux kali 3.18.0-kali3-amd64 #1 https://github.com/yhfudev/arch-kali-odroidc1/issues/1 SMP Debian 3.18.6-1~kali2 (2015-03-02) x86_64 GNU/Linux

I suspect the problem is makepkg/fakemakepkg My linux does not have makepkg. Does yours? @cyrus104 https://github.com/cyrus104 what about you?

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-79536581 .

vchekan commented 9 years ago

@yhfudev this is exacly what I mean, could it be that you are testing on arch linux with native makepkg?

BTW, I've installed fresh Linux ubuntu-vm 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux and got slightly different error:

... [DBG] checkout url=linux-hardkernel-git::git+https://github.com/hardkernel/linux.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/linux-hardkernel-git /home/vadim/arch-kali-odroidc1/src/linux-hardkernel-git ... Cloning into '/home/vadim/arch-kali-odroidc1/src/linux-hardkernel-git'... done. Checking out files: 100% (38797/38797), done. [DBG] checkout url=http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Not found file: /home/vadim/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DBG] checkout url=firmware-linux-git::git+https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/firmware-linux-git /home/vadim/arch-kali-odroidc1/src/firmware-linux-git ... fatal: repository '/home/vadim/arch-kali-odroidc1/srcdst/firmware-linux-git' does not exist [DBG] checkout url=kali-wifi-injection-3.18.patch SKIP /home/vadim/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch: unknown type ... [DBG] checkout url=odroidc1-3.10.config SKIP /home/vadim/arch-kali-odroidc1/src/odroidc1-3.10.config: unknown type ... [DBG] checkout url=odroidc1-kernel-config.patch SKIP /home/vadim/arch-kali-odroidc1/src/odroidc1-kernel-config.patch: unknown type ... [DBG] checkout url=http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz Not found file: /home/vadim/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DBG] checkout url=uboot-hardkernel-git::git+https://github.com/hardkernel/u-boot.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git ... fatal: repository '/home/vadim/arch-kali-odroidc1/srcdst/uboot-hardkernel-git' does not exist [DBG] checkout url=boot.ini.template SKIP /home/vadim/arch-kali-odroidc1/src/boot.ini.template: unknown type ... [DBG] checkout url=sd_fusing.sh SKIP /home/vadim/arch-kali-odroidc1/src/sd_fusing.sh: unknown type ... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git ... /home/vadim/arch-kali-odroidc1/PKGBUILD: line 821: cd: /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

cyrus104 commented 9 years ago

I just did a fresh install of Ubuntu 14.10 in a vm and I am getting the same error.

On Fri, Mar 13, 2015 at 9:33 PM, Vadim Chekan notifications@github.com wrote:

@yhfudev https://github.com/yhfudev this is exacly what I mean, could it be that you are testing on arch linux with native makepkg?

BTW, I've installed fresh Linux ubuntu-vm 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux and got slightly different error:

... [DBG] checkout url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/linux-hardkernel-git /home/vadim/arch-kali-odroidc1/src/linux-hardkernel-git ... Cloning into '/home/vadim/arch-kali-odroidc1/src/linux-hardkernel-git'... done. Checking out files: 100% (38797/38797), done. [DBG] checkout url= http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Not found file: /home/vadim/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DBG] checkout url=firmware-linux-git::git+ https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/firmware-linux-git /home/vadim/arch-kali-odroidc1/src/firmware-linux-git ... fatal: repository '/home/vadim/arch-kali-odroidc1/srcdst/firmware-linux-git' does not exist [DBG] checkout url=kali-wifi-injection-3.18.patch SKIP /home/vadim/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch: unknown type ... [DBG] checkout url=odroidc1-3.10.config SKIP /home/vadim/arch-kali-odroidc1/src/odroidc1-3.10.config: unknown type ... [DBG] checkout url=odroidc1-kernel-config.patch SKIP /home/vadim/arch-kali-odroidc1/src/odroidc1-kernel-config.patch: unknown type ... [DBG] checkout url= http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz Not found file: /home/vadim/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DBG] checkout url=uboot-hardkernel-git::git+ https://github.com/hardkernel/u-boot.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git ... fatal: repository '/home/vadim/arch-kali-odroidc1/srcdst/uboot-hardkernel-git' does not exist [DBG] checkout url=boot.ini.template SKIP /home/vadim/arch-kali-odroidc1/src/boot.ini.template: unknown type ... [DBG] checkout url=sd_fusing.sh SKIP /home/vadim/arch-kali-odroidc1/src/sd_fusing.sh: unknown type ... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git ... /home/vadim/arch-kali-odroidc1/PKGBUILD: line 821: cd: /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-79656004 .

yhfudev commented 9 years ago

Hi,

I found the where's the problem. The problem was cause a weird bash bug. I'm sorry I didn't find the problem because of using source code caching.

On Fri, Mar 13, 2015 at 9:56 PM, cyrus104 notifications@github.com wrote:

I just did a fresh install of Ubuntu 14.10 in a vm and I am getting the same error.

On Fri, Mar 13, 2015 at 9:33 PM, Vadim Chekan notifications@github.com wrote:

@yhfudev https://github.com/yhfudev this is exacly what I mean, could

it be that you are testing on arch linux with native makepkg?

BTW, I've installed fresh Linux ubuntu-vm 3.16.0-23-generic #31-Ubuntu SMP Tue Oct 21 17:56:17 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux and got slightly different error:

... [DBG] checkout url=linux-hardkernel-git::git+ https://github.com/hardkernel/linux.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/linux-hardkernel-git /home/vadim/arch-kali-odroidc1/src/linux-hardkernel-git ... Cloning into '/home/vadim/arch-kali-odroidc1/src/linux-hardkernel-git'... done. Checking out files: 100% (38797/38797), done. [DBG] checkout url=

http://dn.odroid.com/toolchains/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz Not found file:

/home/vadim/arch-kali-odroidc1/src/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz [DBG] checkout url=firmware-linux-git::git+

https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/firmware-linux-git /home/vadim/arch-kali-odroidc1/src/firmware-linux-git ... fatal: repository '/home/vadim/arch-kali-odroidc1/srcdst/firmware-linux-git' does not exist [DBG] checkout url=kali-wifi-injection-3.18.patch SKIP /home/vadim/arch-kali-odroidc1/src/kali-wifi-injection-3.18.patch: unknown type ... [DBG] checkout url=odroidc1-3.10.config SKIP /home/vadim/arch-kali-odroidc1/src/odroidc1-3.10.config: unknown type ... [DBG] checkout url=odroidc1-kernel-config.patch SKIP /home/vadim/arch-kali-odroidc1/src/odroidc1-kernel-config.patch: unknown type ... [DBG] checkout url=

http://dn.odroid.com/toolchains/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz Not found file:

/home/vadim/arch-kali-odroidc1/src/gcc-linaro-arm-none-eabi-4.8-2014.04_linux.tar.xz [DBG] checkout url=uboot-hardkernel-git::git+ https://github.com/hardkernel/u-boot.git [DBG] try git clone /home/vadim/arch-kali-odroidc1/srcdst/uboot-hardkernel-git /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git ... fatal: repository '/home/vadim/arch-kali-odroidc1/srcdst/uboot-hardkernel-git' does not exist [DBG] checkout url=boot.ini.template SKIP /home/vadim/arch-kali-odroidc1/src/boot.ini.template: unknown type ... [DBG] checkout url=sd_fusing.sh SKIP /home/vadim/arch-kali-odroidc1/src/sd_fusing.sh: unknown type ... [DBG] call user prepare() ... [DBG] in prepare_hardkernel_toolchains() ... [DBG] cd /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git ... /home/vadim/arch-kali-odroidc1/PKGBUILD: line 821: cd: /home/vadim/arch-kali-odroidc1/src/uboot-hardkernel-git: No such file or directory error: pathspec 'odroidc-v2011.03' did not match any file(s) known to git. Error in git

— Reply to this email directly or view it on GitHub < https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-79656004

.

— Reply to this email directly or view it on GitHub https://github.com/yhfudev/arch-kali-odroidc1/issues/1#issuecomment-79684734 .

cyrus104 commented 9 years ago

In the process of testing it now, will close this issue soon as I find out.

Thanks again

cyrus104 commented 9 years ago

It's now building but goings a few other issues that I will open.