Re: rpm cpio error: prelink and SBCL

2009-12-21 Thread Jerry James
On Thu, Dec 17, 2009 at 2:09 PM, Jerry James loganje...@gmail.com wrote: On Thu, Dec 17, 2009 at 1:54 PM, Jakub Jelinek ja...@redhat.com wrote: You need to first prelink -u on a copy of the program, then run it and let it dump itself, then package it up. Ah, thanks. FWIW, this didn't work.

Re: rpm cpio error: prelink and SBCL

2009-12-21 Thread Jerry James
FWIW, this didn't work.  It solved the problem with generating uninstallable RPMs, but the binary RPM contains a pristine SBCL image.  I know a good image was dumped, because it is executed during the build to generate some auxiliary files.  I see it running in the log, so something about the

rpm cpio error: prelink and SBCL

2009-12-17 Thread Jerry James
I'm trying to package up a Common Lisp application that is built with SBCL. Near the end of the rpmbuild run, I see this right before the list of Provides: prelink: /home/jamesjer/rpmbuild/BUILDROOT/pvs-sbcl-4.2-2.svn20091008.fc12.x86_64/usr/lib64/pvs/bin/ix86_64-Linux/runtime/pvs-sbclisp:

Re: rpm cpio error: prelink and SBCL

2009-12-17 Thread yersinia
On Thu, Dec 17, 2009 at 5:13 PM, Jerry James loganje...@gmail.com wrote: Is that due to prelink?  If so, what is broken?  SBCL, because it You probably have a prelinked file in BUILD ROOT (objdump -s file | grep prelink) . Try to get rid of this in %install with prelink -u Regards --

Re: rpm cpio error: prelink and SBCL

2009-12-17 Thread Jerry James
On Thu, Dec 17, 2009 at 10:12 AM, yersinia yersinia.spi...@gmail.com wrote: You probably have a prelinked file in BUILD ROOT (objdump -s file | grep prelink) . Try to get rid of this in %install with prelink -u Oh ho! The sbcl executable has already been prelinked. When save-lisp-and-die is

Re: rpm cpio error: prelink and SBCL

2009-12-17 Thread Jerry James
On Thu, Dec 17, 2009 at 11:24 AM, Jerry James loganje...@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

Re: rpm cpio error: prelink and SBCL

2009-12-17 Thread Jakub Jelinek
On Thu, Dec 17, 2009 at 01:48:20PM -0700, Jerry James wrote: On Thu, Dec 17, 2009 at 11:24 AM, Jerry James loganje...@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

Re: rpm cpio error: prelink and SBCL

2009-12-17 Thread Jerry James
On Thu, Dec 17, 2009 at 1:54 PM, Jakub Jelinek ja...@redhat.com wrote: You need to first prelink -u on a copy of the program, then run it and let it dump itself, then package it up. Ah, thanks. I'd actually argue that such packaging is broken anyway, because you didn't compile the binary you