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

[Bug]: Build fails for desktop on orangepione #7054

Closed
1 of 2 tasks
stephengraf opened this issue Aug 9, 2024 · 11 comments
Closed
1 of 2 tasks

[Bug]: Build fails for desktop on orangepione #7054

stephengraf opened this issue Aug 9, 2024 · 11 comments
Labels
Bug Something isn't working as it should

Comments

@stephengraf
Copy link
Contributor

What happened?

🌱] Checking MD5 sum of installed packages [ debsums ]
[🔨] debsums: changed file /usr/share/doc/base-files/changelog.gz (from base-files package)
[🔨] debsums: changed file /etc/os-release (from base-files package)
[🔨] debsums: changed file /etc/issue.net (from base-files package)
[🔨] debsums: changed file /etc/issue (from base-files package)
[💥] Error 2 occurred in main shell [ at /home/sysadmin/build/lib/functions/logging/runners.sh:211
run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211
chroot_sdcard() --> lib/functions/logging/runners.sh:122
create_new_rootfs_cache_via_debootstrap() --> lib/functions/rootfs/rootfs-create.sh:230
create_new_rootfs_cache() --> lib/functions/rootfs/create-cache.sh:69
do_with_logging() --> lib/functions/logging/section-logging.sh:81
artifact_rootfs_build_from_sources() --> lib/functions/artifacts/artifact-rootfs.sh:80
artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34
obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280
build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:392
get_or_create_rootfs_cache_chroot_sdcard() --> lib/functions/rootfs/create-cache.sh:83
build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:14
full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36
do_with_default_build() --> lib/functions/main/default-build.sh:42
cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25
armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136
cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176
main() --> compile.sh:50
]
[💥] Error context msg [ Check MD5 sum of installed packages failed ]

How to reproduce?

This happens with debian bookworm and ubuntu jammy desktop builds for current in main. Others have not been tested.
It happens when building with my desktop ubuntu 24 and on a KVM ubuntu 22.04 server.

Branch

main (main development branch)

On which host OS are you running the build script and observing this problem?

Ubuntu 22.04 Jammy

Are you building on Windows WSL2?

  • Yes, my Ubuntu/Debian/OtherOS is running on WSL2

Relevant log URL

https://paste.armbian.com/zimufoqisa

Code of Conduct

  • I agree to follow this project's Code of Conduct
@stephengraf stephengraf added the Bug Something isn't working as it should label Aug 9, 2024
Copy link

github-actions bot commented Aug 9, 2024

Jira ticket: AR-2454

@stephengraf
Copy link
Contributor Author

I am not sure this is worth fixing. An orangepione with 512MB of memory does not work very well with a desktop image.
However the build should work.
Builds of full server for legacy, current and edge work for orangepione.

@EvilOlaf
Copy link
Member

EvilOlaf commented Aug 9, 2024

Probably related to #7048 but leaving open since this affects main.

@igorpecovnik
Copy link
Member

igorpecovnik commented Aug 9, 2024

I am not sure this is worth fixing.

Build must work. I could not reproduced on my 22.04 build. (using v24.08 repo, which is almost identical to main at this point). Will repeat on main ... need coffee to be able to look into the logs. On first scan, nothing strange ... damn why this base-files makes troubles?

@EvilOlaf
Copy link
Member

EvilOlaf commented Aug 9, 2024

Try wiping your cache directory and retry.

@stephengraf
Copy link
Contributor Author

stephengraf commented Aug 9, 2024 via email

@igorpecovnik
Copy link
Member

We do have a problem here it seems as there are more reports.

@igorpecovnik
Copy link
Member

Quick fix would be to disable this checking or put it under the switch.

@stephengraf
Copy link
Contributor Author

stephengraf commented Aug 10, 2024 via email

@EvilOlaf
Copy link
Member

We are aware of the issue. Seems to occur randomly. Wiping cache sometimes helps. Still investigating.

@igorpecovnik
Copy link
Member

I think this was fixed. I checked and can't reproduce it anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working as it should
Development

No branches or pull requests

3 participants