Description of problem: When doing cross-arch builds with mock, it uses qemu-user-static under the hood, and qemu-user-static lacks support for Btrfs ioctls to emulate so that btrfs(8) commands work correctly. This is especially important for being able to do cross-arch image builds. Version-Release number of selected component (if applicable): 5.1.0-2.fc33 How reproducible: Always Steps to Reproduce: $ sudo dnf install mock qemu-user-static wget $ sudo usermod -a -G mock $USER $ newgrp mock $ mock --root fedora-rawhide-armhfp --install btrfs-progs util-linux $ mock --root fedora-rawhide-armhfp --chroot 'rm -f foo.img && dd if=/dev/zero of=foo.img bs=1G count=1 && losetup /dev/loop9 foo.img && mkfs.btrfs /dev/loop9 && mkdir /foo && mount /dev/loop9 /foo && btrfs subvol create /foo/subvol && umount /foo && losetup -d /dev/loop9' Actual results: Fails with errors like "ERROR: cannot create subvolume: Function not implemented" Expected results: Succeeds and creates subvolumes properly. Additional info: There is a patch series from a few days ago to add support for many btrfs ioctls https://lists.gnu.org/archive/html/qemu-devel/2020-08/msg05594.html
Thanks for the report. Neal can you file this with upstream qemu? It has a better chance of being seen by the relevant devs that way: https://launchpad.net/qemu
Sure, I copy-pasta'd it to Launchpad, though I don't know whether that would really help anything...
FEDORA-2020-9199d20f3f has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-9199d20f3f
Proposed as a Freeze Exception for 33-beta by Fedora user ngompa using the blocker tracking app because: This makes it so that emulated foreign architecture image builds work for our desktop variant image builds.
FEDORA-2020-9199d20f3f has been pushed to the Fedora 33 testing repository. In short time you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-9199d20f3f` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-9199d20f3f See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
Setting as AcceptedFreezeException per voting: https://pagure.io/fedora-qa/blocker-review/issue/68
FEDORA-2020-9199d20f3f has been pushed to the Fedora 33 stable repository. If problem still persists, please make note of it in this bug report.