Problem with Ruby GEM w/ native code

Casey Dahlin cdahlin at redhat.com
Fri Apr 24 01:52:23 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Darryl L. Pierce wrote:
> I'm hoping to get a little help with this. If this is the wrong list to
> discuss packaging issues, please point me to the appropriate list.
> 
> I'm trying to package a Ruby GEM (RedCloth) for Fedora. I used gem2rpm
> to generate the initial spec file. When I build it, things seem to go
> fine until the very end. At that point I see this:
> 
> error: Bad exit status from
> /home/mcpierce/Packaging/rpms/tmp/rpm-tmp.PEH4Wm (%install)
> 


Something in the install phase is failing (obviously, since that's the
only code section filled in your spec file).

I'd hope whatever it was would complain in the logs. You can add "||
echo 'foocmd failed'" to see which one is erroring (note this will eat
the error, likely subjecting you to some other stranger error message
down the line, but you can ignore that one).

- --CJD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAknxG1cACgkQIHOkVH4pLz67OwCdG8eduDbuVqOKmoPWUtLzdLlh
kbIAn04hE+3gTfSQHsRSZcXLTiJNQ1sg
=hZP+
-----END PGP SIGNATURE-----




More information about the devel mailing list