this change basically only contains two changes: a new hash and version 33.
When running for example nix-build pkgs/build-support/vm/test.nix -A buildPatchelfRPM in combination with this new fedora33 image, the cpio process proclaims that the content of the rpms is garbage.
Using ${libarchive}/bin/bsdcpio in place seems to work.
But then, at the later stage ldconfig and rpm don't run in the chroot, i get the error message failed to run command ... No such file or directory. I double-checked that the file is there and executable. ldd says that it's partly linked against /nix/store paths and although these are accessible i can't say why they don't execute.
I am not sure how to fix this:
is this the wrong rpm and ldconfig executable in that chroot?
are the fedora packages different in a way that this can't work any longer?
Describe the bug When adding Fedora 33 to
pkgs/build-support/vm/default.nix
like this:this change basically only contains two changes: a new hash and version
33
.When running for example
nix-build pkgs/build-support/vm/test.nix -A buildPatchelfRPM
in combination with this new fedora33 image, thecpio
process proclaims that the content of the rpms is garbage.Using
${libarchive}/bin/bsdcpio
in place seems to work.But then, at the later stage
ldconfig
andrpm
don't run in the chroot, i get the error messagefailed to run command ... No such file or directory
. I double-checked that the file is there and executable.ldd
says that it's partly linked against /nix/store paths and although these are accessible i can't say why they don't execute.I am not sure how to fix this:
rpm
andldconfig
executable in that chroot?/cc @lsix @symphorien @rbvermaa