On 01/13/2017 01:23 PM, Radovan Birdic wrote: > Package: duperemove > Version: 0.11~beta4-1 > Tags: sid + patch > Justification: FTBFS > User: debian-m...@lists.debian.org > Usertags: mips-patch > With these patches, package builds successfully on mips, mipsel, mips64el and > i386.
Alas, while it does compile (also on amd64, armhf, powerpc), it doesn't actually work: root@debian-sid-mipsel:/mnt/vol1# duperemove -Ardh a b Using 128K blocks Using hash: murmur3 Gathering file list... Error 25: Inappropriate ioctl for device while finding subvolid for file "/mnt/vol1/a". Skipping. Error 25: Inappropriate ioctl for device while finding subvolid for file "/mnt/vol1/b". Skipping. This is not just duperemove, though: root@debian-sid-mipsel:/mnt/vol1# btrfs fi sync . ERROR: sync ioctl failed on '.': Inappropriate ioctl for device Looks like this set of ioctls, like many others, breaks when mixing 64-bit kernel with 32-bit userspace. Do any non-ancient machines run 32-bit kernels on MIPS these days? As far as I know, they don't, thus fixing this FTBFS is rather pointless without fixing COMPAT ioctls on the kernel side first. Meow! -- Autotools hint: to do a zx-spectrum build on a pdp11 host, type: ./configure --host=zx-spectrum --build=pdp11