akmods with external copr repo fails

[09:35:24 g.i/t/apple-dots:latest] => 11.01 Resolving dependencies...done
[09:35:24 g.i/t/apple-dots:latest] => 11.03 error: Could not depsolve transaction; 1 problem detected:
[09:35:24 g.i/t/apple-dots:latest] => 11.03 Problem: package kernel-uki-virt-6.11.10-300.fc41.x86_64 from updates-archive requires kernel-modules-core-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - package kmod-facetimehd-0.6.8.1-1.20240319git0.6.8.1.fc41.x86_64 from @commandline requires kernel-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - cannot install both kernel-modules-core-6.11.10-300.fc41.x86_64 from updates-archive and kernel-modules-core-6.11.3-300.fc41.x86_64 from @System
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - cannot install both kernel-core-6.11.10-300.fc41.x86_64 from updates-archive and kernel-core-6.11.3-300.fc41.x86_64 from @System
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - conflicting requests
[09:35:24 g.i/t/apple-dots:latest] => 11.01 Resolving dependencies...done
[09:35:24 g.i/t/apple-dots:latest] => 11.03 error: Could not depsolve transaction; 1 problem detected:
[09:35:24 g.i/t/apple-dots:latest] => 11.03 Problem: package kernel-uki-virt-6.11.10-300.fc41.x86_64 from updates-archive requires kernel-modules-core-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - package kmod-facetimehd-0.6.8.1-1.20240319git0.6.8.1.fc41.x86_64 from @commandline requires kernel-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - cannot install both kernel-modules-core-6.11.10-300.fc41.x86_64 from updates-archive and kernel-modules-core-6.11.3-300.fc41.x86_64 from @System
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - cannot install both kernel-core-6.11.10-300.fc41.x86_64 from updates-archive and kernel-core-6.11.3-300.fc41.x86_64 from @System
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - conflicting requests
is that not the same kernel package?
13 Replies
ScreechingBagel
ScreechingBagelOP•6d ago
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name>
name: apple-dots
# description will be included in the image's metadata
description: MacBookPro14,2 work maybe???

# the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/aurora-dx
image-version: stable # latest is also supported if you want new updates ASAP

modules:
- type: files
files:
- source: system/etc
destination: /etc
- source: system/usr
destination: /usr
- source: system/lib/firmware # brcmfmac43602-pcie.txt config taken from https://github.com/Dunedan/mbp-2016-linux/issues/47#issuecomment-663926000
destination: /lib/firmware

- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/repo/fedora-%OS_VERSION%/mulderje-facetimehd-kmod-fedora-%OS_VERSION%.repo

install:
- tiny-dfr
# - bpftune # oh it isn't available in the repos lol; if i ever feel like it, gotta compile at build
# - facetimehd-kmod # webcam kernel module
- mbpfan

- type: akmods
install:
- facetimehd # available as an akmod

- type: script
scripts:
# pull Wifi/BT firmware sources from arch-t2 mirror
# using asahi-installer fork to package for use in fedora
# it's hacky <3
- apple-bcm-firmware.sh

# - type: initramfs # rebuild initramfs (https://github.com/blue-build/modules/pull/376)
- type: signing # this sets up the proper policy & signing files for signed images to work fully
---
# yaml-language-server: $schema=https://schema.blue-build.org/recipe-v1.json
# image will be published to ghcr.io/<user>/<name>
name: apple-dots
# description will be included in the image's metadata
description: MacBookPro14,2 work maybe???

# the base image to build on top of (FROM) and the version tag to use
base-image: ghcr.io/ublue-os/aurora-dx
image-version: stable # latest is also supported if you want new updates ASAP

modules:
- type: files
files:
- source: system/etc
destination: /etc
- source: system/usr
destination: /usr
- source: system/lib/firmware # brcmfmac43602-pcie.txt config taken from https://github.com/Dunedan/mbp-2016-linux/issues/47#issuecomment-663926000
destination: /lib/firmware

- type: rpm-ostree
repos:
- https://copr.fedorainfracloud.org/coprs/mulderje/facetimehd-kmod/repo/fedora-%OS_VERSION%/mulderje-facetimehd-kmod-fedora-%OS_VERSION%.repo

install:
- tiny-dfr
# - bpftune # oh it isn't available in the repos lol; if i ever feel like it, gotta compile at build
# - facetimehd-kmod # webcam kernel module
- mbpfan

- type: akmods
install:
- facetimehd # available as an akmod

- type: script
scripts:
# pull Wifi/BT firmware sources from arch-t2 mirror
# using asahi-installer fork to package for use in fedora
# it's hacky <3
- apple-bcm-firmware.sh

# - type: initramfs # rebuild initramfs (https://github.com/blue-build/modules/pull/376)
- type: signing # this sets up the proper policy & signing files for signed images to work fully
fiftydinar
fiftydinar•6d ago
that akmod probably isn't built for latest kernel version, hence the build failure 6.11.11 is the latest kernel version, while that akmod requires 6.11.10 So the only thing you can do is wait for the akmod rebuild to happen with compatible kernel version
ScreechingBagel
ScreechingBagelOP•6d ago
ohh for next time, where were you able to check what version the akmod requires? thanks!
fiftydinar
fiftydinar•6d ago
It says it in logs, although a bit unclear. This part of log is clearer:
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - package kmod-facetimehd-0.6.8.1-1.20240319git0.6.8.1.fc41.x86_64 from @commandline requires kernel-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
[09:35:24 g.i/t/apple-dots:latest] => 11.03 - package kmod-facetimehd-0.6.8.1-1.20240319git0.6.8.1.fc41.x86_64 from @commandline requires kernel-uname-r = 6.11.10-300.fc41.x86_64, but none of the providers can be installed
ScreechingBagel
ScreechingBagelOP•6d ago
dam missed a zero thx hm, wait, since it's being pulled from a repo i supplied anyways, could i make my own repo and have an updated build there?
fiftydinar
fiftydinar•6d ago
In comments, I see that this repo is recommended instead: https://copr.fedorainfracloud.org/coprs/mulderje/intel-mac-rpms ublue-os akmods should update the link
ScreechingBagel
ScreechingBagelOP•6d ago
why does the original repo have automatic builds but not the new one 😭 tyty!
ScreechingBagel
ScreechingBagelOP•6d ago
description also has the old link
No description
ScreechingBagel
ScreechingBagelOP•6d ago
we'll seeeee
fiftydinar
fiftydinar•6d ago
ublue-os akmods should also update the build actions to use this link, not just readme
ScreechingBagel
ScreechingBagelOP•6d ago
i'll open a pr and tag mulderje ig
fiftydinar
fiftydinar•6d ago
I asked ublue to rebuild akmods for 6.11.11 kernel
ScreechingBagel
ScreechingBagelOP•4d ago
seems like that repo's builds also require the same version, so i won't for now wait but i actually want it for 6.11.3 don't i since it's aurora-dx:stable 6.11.3-300.fc41.x86_64 hm when trying to install it in the rpm-ostree module:
l/apple-dots:latest => #24 17.02 Building /usr/src/akmods/facetimehd-kmod-0.6.8.1-1.20240319git0.6.8.1.fc41.src.rpm for kernel 6.11.3-300.fc41.x86_64
l/apple-dots:latest => #24 17.03 ERROR: Not to be used as root; start as user or 'akmodsbuild' instead.
l/apple-dots:latest => #24 17.02 Building /usr/src/akmods/facetimehd-kmod-0.6.8.1-1.20240319git0.6.8.1.fc41.src.rpm for kernel 6.11.3-300.fc41.x86_64
l/apple-dots:latest => #24 17.03 ERROR: Not to be used as root; start as user or 'akmodsbuild' instead.
which doesn't fail the build anymore?
Want results from more Discord servers?
Add your server