rpm cpio error: prelink and SBCL

Jakub Jelinek jakub at redhat.com
Thu Dec 17 20:54:06 UTC 2009

On Thu, Dec 17, 2009 at 01:48:20PM -0700, Jerry James wrote:
> On Thu, Dec 17, 2009 at 11:24 AM, Jerry James <loganjerry at gmail.com> wrote:
> > So this is going to hit anybody who tries to package up an executable
> > produced by SBCL.  Perhaps this should be noted on
> > https://fedoraproject.org/wiki/Packaging:Lisp.
> And it's even worse than I thought: "prelink -u saved-image" strips
> out the dumped Lisp image!  I had a saved image go from 43MB to 171552
> bytes when I did that.  It looks like putting this in the spec file
> works:

You need to first prelink -u on a copy of the program, then
run it and let it dump itself, then package it up.

I'd actually argue that such packaging is broken anyway, because you didn't
compile the binary you are packaging from source, you copied it from


More information about the fedora-devel-list mailing list