I can confirm this issue trying to build zfs 2.2.6 on Ubuntu 22.04.

Build ends in

    Unpacking of 'zfs-2.2.6-1.x86_64.rpm' failed at
/usr/share/perl5/Alien/Package/Rpm.pm line 168.

which can be narrowed down to the shell-out there doing

    rpm2cpio 'zfs-2.2.6-1.x86_64.rpm' | (cd zfs-2.2.6;  cpio --extract
--make-directories --no-absolute-filenames --preserve-modification-time)

Splitting up that action into

    rpm2cpio zfs-2.2.6-1.x86_64.rpm > zfs-2.2.6-1.x86_64.cpio
    cpio --extract --make-directories --no-absolute-filenames 
--preserve-modification-time < zfs-2.2.6-1.x86_64.cpio

confirms it's the cpio command that fails.

Downgrading cpio to the non-security-update release version solves the
issue and the build succeeds.

    apt install cpio=2.13+dfsg-7

Is this something that should be fixed in zfs or is it purely this cpio
patch to blame?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066157

Title:
  cpio 2.13+dfsg-2ubuntu0.4 breaks zfs build (alien command fails)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cpio/+bug/2066157/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to