Re: rpm cpio error: prelink and SBCL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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
/usr/bin.

	Jakub

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux