build icon indicating copy to clipboard operation
build copied to clipboard

[Bug]: err: The group i2c' already exists, but has a different GID

Open Malaysk opened this issue 1 month ago • 5 comments

What happened?

Hello. The board for which the compilation was done - luckfox pico max Compilation settings - ./compile.sh BOARD=luckfox-pico-max BRANCH=vendor KERNEL_CONFIGURE=no DEB_COMPRESS=xz ENABLE_EXTENSIONS="ha" KERNEL_BTF=yes INSTALL_ARMBIAN_FIRMWARE=no BUILD_DESKTOP=no BUILD_MINIMAL=no RELEASE=trixie When choosing - BUILD_MINIMAL=no the same error always happens [🔨] '/root/build/packages/blobs/splash/armbian-u-boot.bmp' -> '/root/build/.t mp/rootfs-d9a83615-41aa-4935-967e-cad9884378f6/boot/boot.bmp' [🌿] Applying family [ tweaks: luckfox-pico-max :: rockchip-rv1106 ] [🔨] err: The group i2c' already exists, but has a different GID. Exiting. [💥] Error 13 occurred in main shell [ at /root/build/lib/functions/logging/runn ers.sh:223 run_host_command_logged_raw() --> lib/functions/logging/runners.sh:223 chroot_sdcard() --> lib/functions/logging/runners.sh:134 family_tweaks() --> config/sources/families/rockchip-rv1106.co nf:130 install_distribution_agnostic() --> lib/functions/rootfs/distro-agnostic.sh:4 63 do_with_logging() --> lib/functions/logging/section-logging.sh:8 1 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:31 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.s h: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:208 main() --> ./compile.sh:50 ] [💥] Cleaning up [ please wait for cleanups to finish ] [🌿] Unmounting recursively [ SDCARD - be patient ] [🌿] Unmounting recursively [ MOUNT - be patient ] [🌿] ANSI log file built; inspect it by running: [ less -RS output/logs/log-buil d-d9a83615-41aa-4935-967e-cad9884378f6.log.ans ] [🌱] Share log manually: [ use one of the commands below (or add SHARE_LOG=yes n ext time!) ] [🌿] Share log manually: [ curl --data-binary @output/logs/log-build-d9a83615-41 aa-4935-967e-cad9884378f6.log.ans https://paste.armbian.com/log ] [🌿] Share log manually: [ curl --data-binary @output/logs/log-build-d9a83615-41 aa-4935-967e-cad9884378f6.log.ans https://paste.armbian.de/log ] [🌿] Share log manually: [ curl --data-binary @output/logs/log-build-d9a83615-41 aa-4935-967e-cad9884378f6.log.ans https://paste.next.armbian.com/log ] [🌿] Share log manually: [ curl --data-binary @output/logs/log-build-d9a83615-41 aa-4935-967e-cad9884378f6.log.ans https://paste.armbian.eu/log ] `

How to reproduce?

./compile.sh BOARD=luckfox-pico-max BRANCH=vendor KERNEL_CONFIGURE=no DEB_COMPRESS=xz ENABLE_EXTENSIONS="ha" KERNEL_BTF=yes INSTALL_ARMBIAN_FIRMWARE=no BUILD_DESKTOP=no BUILD_MINIMAL=no RELEASE=trixie

Branch

main (main development branch)

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

Debian 12 Bookworm

Are you building on Windows WSL2?

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

Relevant log URL

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

Malaysk avatar Nov 28 '25 10:11 Malaysk

Jira ticket: AR-2788

github-actions[bot] avatar Nov 28 '25 10:11 github-actions[bot]

no full logs - no issue unsupported build environment - no issue

EvilOlaf avatar Nov 28 '25 13:11 EvilOlaf

FWIW, I can confirm the build failure with the ha extension being removed from the compilation run: ./compile.sh BOARD=luckfox-pico-max BRANCH=vendor KERNEL_CONFIGURE=no DEB_COMPRESS=xz KERNEL_BTF=yes INSTALL_ARMBIAN_FIRMWARE=no BUILD_DESKTOP=no BUILD_MINIMAL=no RELEASE=trixie.

The problem is likely in config/sources/families/rockchip-rv1106.conf. Pinging @vidplace7

leggewie avatar Nov 29 '25 19:11 leggewie

I did somehow remember coming across something like this before but wasn't able to put my finger on it. This is being addressed in #8479, I think.

leggewie avatar Nov 30 '25 12:11 leggewie

Yes, known problem - we need to sort those groups framework wise and remove hacks that exists in family configs. Further then #8479

igorpecovnik avatar Nov 30 '25 17:11 igorpecovnik