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

Package radxa-overlays-dkms is not configured yet #42

Open
gknows opened this issue Nov 15, 2024 · 6 comments
Open

Package radxa-overlays-dkms is not configured yet #42

gknows opened this issue Nov 15, 2024 · 6 comments
Assignees

Comments

@gknows
Copy link

gknows commented Nov 15, 2024

Build Error

`Setting up cpp (4:10.2.1-1) ...
Setting up gcc (4:10.2.1-1) ...
Setting up perl (5.32.1-4+deb11u4) ...
Setting up libdpkg-perl (1.20.13) ...
Setting up dpkg-dev (1.20.13) ...
Setting up dkms (2.8.4-3) ...
Setting up radxa-overlays-dkms (0.1.17) ...
Loading new radxa-overlays-0.1.17 DKMS files...
It is likely that 6.1.0-26-amd64 belongs to a chroot's host
Building for 5.10.160-38-rk356x
Building initial module for 5.10.160-38-rk356x
Error! Bad return status for module build on kernel: 5.10.160-38-rk356x (aarch64)
Consult /var/lib/dkms/radxa-overlays/0.1.17/build/make.log for more information.
dpkg: error processing package radxa-overlays-dkms (--configure):
installed radxa-overlays-dkms package post-installation script subprocess returned error exit status 10
dpkg: dependency problems prevent configuration of linux-image-radxa-zero3:
linux-image-radxa-zero3 depends on radxa-overlays-dkms; however:
Package radxa-overlays-dkms is not configured yet.

dpkg: error processing package linux-image-radxa-zero3 (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.31-13+deb11u11) ...
Errors were encountered while processing:
radxa-overlays-dkms
linux-image-radxa-zero3
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: run_chroot failed: E: command failed: set -e

APT_CONFIG="$MMDEBSTRAP_APT_CONFIG"
apt-get install -oDPkg::Chroot-Directory="$1" -y
radxa-bootutils python-is-python3

APT_CONFIG="$MMDEBSTRAP_APT_CONFIG"
apt-get install -oDPkg::Chroot-Directory="$1" -y
u-boot-radxa-zero3 linux-headers-radxa-zero3

APT_CONFIG="$MMDEBSTRAP_APT_CONFIG"
apt-get install -oDPkg::Chroot-Directory="$1" -y
linux-image-radxa-zero3

APT_CONFIG="$MMDEBSTRAP_APT_CONFIG"
apt-get install -oDPkg::Chroot-Directory="$1" -y
-oDpkg::Options::=--force-confnew --install-recommends
task-radxa-zero3

APT_CONFIG="$MMDEBSTRAP_APT_CONFIG"
apt-get full-upgrade -oDPkg::Chroot-Directory="$1" -y
-oDpkg::Options::=--force-confnew --allow-downgrades
W: listening on child socket failed:
I: removing tempdir /tmp/mmdebstrap.xL6g_Jar8V...
E: mmdebstrap failed to run
bdebstrap ERROR: mmdebstrap failed with exit code 255. See above for details.`

@RadxaYuntian
Copy link
Contributor

Please run with --debug flag, which will leave the rootfs in output directory unpacked. Then you can upload the content of /var/lib/dkms/radxa-overlays/0.1.17/build/make.log from that folder.

@gknows
Copy link
Author

gknows commented Nov 15, 2024

There is no dkms folder under the lib directory after running.

@RadxaYuntian
Copy link
Contributor

There should be a rootfs folder and you should check there.

@gknows
Copy link
Author

gknows commented Nov 15, 2024

make.log

@RadxaYuntian
Copy link
Contributor

Seems to be the same issue here: #38 (comment)

Are you also using Ubuntu 24.04?

@gknows
Copy link
Author

gknows commented Nov 26, 2024

Debian 12

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

3 participants