The same issue occurs when trying to convert Oracle SQL*Plus RPMs to deb using 
alien.
CPIO no longer respects the --make-directories flag.

Steps to reproduce the isse:

1.
Download link: 
https://www.oracle.com/database/technologies/instant-client/linux-x86-64-downloads.html
Use the link "SQL*Plus Package (OL8 RPM)", i.e., 
oracle-instantclient-sqlplus-21.15.0.0.0-1.el8.x86_64.rpm

2.
Convert to cpio archive format
rpm2cpio oracle-instantclient-sqlplus-21.15.0.0.0-1.el8.x86_64.rpm > test.cpio

3.
Extract the cpio archive - this fails:
$ cpio --extract --make-directories --no-absolute-filenames 
--preserve-modification-time < test.cpio
cpio: ./usr/bin/sqlplus: Cannot open: No such file or directory
cpio: ./usr/bin/sqlplus64: Cannot open: No such file or directory
6549 blocks

3.b
Precreate the usr/bin directory - and cpio no longer fails:
$ (restart test directory)
$ mkdir -p usr/bin
$ cpio --extract --make-directories --no-absolute-filenames 
--preserve-modification-time < test.cpio
6549 blocks

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to