Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bruce-the-terrible opened this issue Oct 31, 2024 · 4 comments
Open

Comments

@bruce-the-terrible
Copy link

bruce-the-terrible commented Oct 31, 2024

Device Information | 设备信息

  • SOC: [e.g. S095x3]
  • Model [e.g. HK1]

Armbian Version | 系统版本

  • Kernel Version: [e.g. 5.15.100]
  • Release: [e.g. jammy/bullseye]

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
Copy link
Owner

ophub commented Nov 1, 2024

Snip20241101_1

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

@bruce-the-terrible
Copy link
Author

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

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

@ophub
Copy link
Owner

ophub commented Nov 1, 2024

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

Snip20241101_4

@bruce-the-terrible
Copy link
Author

bruce-the-terrible commented Nov 1, 2024

这么看来问题可能出在两个地方:
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants