ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
6.23k stars 2k forks source link

编译lckfb-tspi板子的desktop时,遇到空间不足问题 #2624

Open bruce-the-terrible opened 3 weeks ago

bruce-the-terrible commented 3 weeks ago

Device Information | 设备信息

Armbian Version | 系统版本

Describe the bug | 问题描述 All issues will only remain open for one week to prioritize resolving them. After that period, they will be closed but can still continue to be discussed in the thread. 所有的问题都只保留一周的开启状态供重点关注解决,超时将关闭,但仍然可以长期继续跟帖讨论。

Please provide a detailed description of the issue and, if necessary, attach a screenshot. 详细描述问题,并在必要时附上屏幕截图。 --------------------------------问题描述----------------------------------- 修改build-armbian.yml,意图编译一个gnome的桌面系统

      - name: Compile Armbian [ ${{ inputs.set_release }} ]
        id: compile
        working-directory: /builder
        if: ${{ steps.down.outputs.status }} == 'success' && !cancelled()
        run: |
          # Compile method and parameter description: https://docs.armbian.com/Developer-Guide_Build-Options
          cd build/
              ./compile.sh RELEASE=${{ inputs.set_release }} BOARD=odroidn2 BRANCH=current BUILD_MINIMAL=no \
                           BUILD_ONLY=default HOST=armbian BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED='browsers internet desktop_tools'\
                           DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base EXPERT=yes KERNEL_CONFIGURE=no \
                           COMPRESS_OUTPUTIMAGE="sha" SHARE_LOG=yes
          echo "status=success" >> ${GITHUB_OUTPUT}

上述文件虽然写的board为odroin2,实际编译的时候选择的是lckfb-tspi 用action编译就会遇到空间不足的错误,终止。 有没有办法把磁盘空间再扩大一点,或者清理一批临时文件,使得编译继续? 还是又遇到了什么bug?

ophub commented 3 weeks ago

Snip20241101_1

这步编译时空间有110G呢,你编译的固件比110G大?

bruce-the-terrible commented 3 weeks ago

所以……是遇到bug了?你用action试一下看看呗。我没改其他东西。

上述文件虽然写的board为odroin2,实际编译的时候选择的是lckfb-tspi------------------这里还必须这么写,在action配置的时候改为lckfb-tspi,否则会出错

ophub commented 3 weeks ago

我编译了多次了,你看我的Actions里都正常编译了,没发现BUG,使用的board也正确。

Snip20241101_4

bruce-the-terrible commented 3 weeks ago

这么看来问题可能出在两个地方: 1、lckfb-tsp对应的配置。毕竟我编译时选择的是这个板子,和你选择的不一样。而且我就只编译这一个版本 2、对目标板配置的ROM空间太小,装不下带有desktop的软件包

我在自己虚拟机里面编译完整的armbian,空间消耗离100G差很远,那个空间不够的提示可能是目标板ROM的配置。

出错log

[ STEPS ] Start building Armbian... (1.1) Start building Armbian [ lckfb-tspi - rk35xx/6.1.75 ]. Remaining space is 104G. [🌿] (1/7) Extract armbian files. [🌿] (2/7) Make new armbian image. [🌿] (3/7) Copy the Armbian files. cp: error writing '/home/runner/work/_actions/ophub/amlogic-s9xxx-armbian/main/build/tmp_dir/tmp_build/rootfs/usr/share/icons/Humanity/mimes/128/package-x-generic.svg': No space left on device cp: error writing '/home/runner/work/_actions/ophub/amlogic-s9xxx-armbian/main/build/tmp_dir/tmp_build/rootfs/usr/share/icons/Humanity/mimes/128/text-html.svg': No space left on device cp: error writing '/home/runner/work/_actions/ophub/amlogic-s9xxx-armbian/main/build/tmp_dir/tmp_build/rootfs/usr/share/icons/Humanity/mimes/128/text-x-install.svg': No space left on device cp: error writing '/home/runner/work/_actions/ophub/amlogic-s9xxx-armbian/main/build/tmp_dir/tmp_build/rootfs/usr/share/icons/Humanity/mimes/128/text-x-java-source.svg': No space left on device cp: error writing '/home/runner/work/_actions/ophub/amlogic-s9xxx-armbian/main/build/tmp_dir/tmp_build/rootfs/usr/share/icons/Humanity/mimes/128/text-x-preview.icon': No space left on device