esirplayground / AutoBuild-OpenWrt

Build OpenWrt using GitHub Actions | 使用 GitHub Actions 编译 OpenWrt | 感谢P3TERX的项目源码|感谢KFERMercer的项目源码
MIT License
1.75k stars 4.48k forks source link

Build_OP_x86_64.yml编译失败 #289

Closed yiyule10 closed 1 year ago

yiyule10 commented 1 year ago

image 这个是下载的日志文件 logs_2.zip

heronaly commented 1 year ago

我也是一样的,怎那么回事啊

b8kings0ga commented 1 year ago

我也一样

LeoMonkey commented 1 year ago

我也一样,会不会是这个action开始限制使用的资源了,不懂这个,瞎猜的

image 没有改动过什么配置,就去掉了push的注释之后开始运行的

yyxp1989 commented 1 year ago

一样编译失败 LOG

2022-12-13T19:18:30.2622187Z WARNING: Install qemu-img to create VDI/VMDK images 2022-12-13T19:18:30.2626769Z make[5]: [Makefile:164: /home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/build_dir/target-x86_64_musl/linux-x86_64/tmp/openwrt-x86-64-generic-squashfs-combined-efi.vmdk] Error 1 2022-12-13T19:18:30.2627436Z make[5]: Waiting for unfinished jobs.... 2022-12-13T19:18:31.3127254Z make[5]: Leaving directory '/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/target/linux/x86/image' 2022-12-13T19:18:31.3130623Z make[4]: [Makefile:27: install] Error 2 2022-12-13T19:18:31.3131131Z make[4]: Leaving directory '/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/target/linux/x86' 2022-12-13T19:18:31.3140600Z make[3]: [Makefile:11: install] Error 2 2022-12-13T19:18:31.3141090Z make[3]: Leaving directory '/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/target/linux' 2022-12-13T19:18:31.3141440Z time: target/linux/install#330.61#8.76#188.25 2022-12-13T19:18:31.3141819Z ERROR: target/linux failed to build. 2022-12-13T19:18:31.3171924Z make[2]: [target/Makefile:30: target/linux/install] Error 1 2022-12-13T19:18:31.3172525Z make[2]: Leaving directory '/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt' 2022-12-13T19:18:31.3176821Z make[1]: [target/Makefile:24: /home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/staging_dir/target-x86_64_musl/stamp/.target_install] Error 2 2022-12-13T19:18:31.9723260Z make[1]: Leaving directory '/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt' 2022-12-13T19:18:31.9826524Z make: *** [/home/runner/work/AutoBuild-OpenWrt/AutoBuild-OpenWrt/openwrt/include/toplevel.mk:231: world] Error 2 2022-12-13T19:18:32.0003357Z ##[error]Process completed with exit code 2. 2022-12-13T19:18:32.0369511Z Post job cleanup.

Zaphkito commented 1 year ago

依赖没有部署全(lean的源码有了新的依赖) 打开你用得到的yml文件(此处为x86_64的yml),替换Initialization environment当中的

sudo -E apt-get update
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean

为以下命令

sudo -E apt-get update
sudo -E apt-get full-upgrade -y
sudo -E apt-get -y install ack antlr3 aria2 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean

替换后即可编译成功 image

yiyule10 commented 1 year ago

依赖没有部署全(lean的源码有了新的依赖) 打开你用得到的yml文件(此处为x86_64的yml),替换Initialization environment当中的

sudo -E apt-get update
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean

为以下命令

sudo -E apt-get update
sudo -E apt-get full-upgrade -y
sudo -E apt-get -y install ack antlr3 aria2 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean

替换后即可编译成功 image

非常感谢您提供的解决方法,谢谢

esirplayground commented 1 year ago

依赖没有部署全(lean的源码有了新的依赖) 打开你用得到的yml文件(此处为x86_64的yml),替换Initialization environment当中的

sudo -E apt-get update
sudo -E apt-get -y install build-essential asciidoc binutils bzip2 gawk gettext git libncurses5-dev libz-dev patch python3 python2.7 unzip zlib1g-dev lib32gcc1 libc6-dev-i386 subversion flex uglifyjs git-core gcc-multilib p7zip p7zip-full msmtp libssl-dev texinfo libglib2.0-dev xmlto qemu-utils upx libelf-dev autoconf automake libtool autopoint device-tree-compiler g++-multilib antlr3 gperf wget curl swig rsync
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean

为以下命令

sudo -E apt-get update
sudo -E apt-get full-upgrade -y
sudo -E apt-get -y install ack antlr3 aria2 asciidoc autoconf automake autopoint binutils bison build-essential bzip2 ccache cmake cpio curl device-tree-compiler fastjar flex gawk gettext gcc-multilib g++-multilib git gperf haveged help2man intltool libc6-dev-i386 libelf-dev libglib2.0-dev libgmp3-dev libltdl-dev libmpc-dev libmpfr-dev libncurses5-dev libncursesw5-dev libreadline-dev libssl-dev libtool lrzsz mkisofs msmtp nano ninja-build p7zip p7zip-full patch pkgconf python2.7 python3 python3-pip libpython3-dev qemu-utils rsync scons squashfs-tools subversion swig texinfo uglifyjs upx-ucl unzip vim wget xmlto xxd zlib1g-dev
sudo -E apt-get -y autoremove --purge
sudo -E apt-get clean

替换后即可编译成功 image

非常感谢您提供的解决方法,谢谢

Updated