rpmbuild not working on FC 10

Todd Zullinger tmz at pobox.com
Wed Jan 7 19:56:34 UTC 2009


Linux student wrote:
> I am trying to build rpm using same spec files i've used on FC8 but
> after upgrading my system to FC10 rpmbuild not working for me :
>
> rpmbuild  -bb xxxxxxxx.spec
>
> Processing files: xxxxxxxxxxxx-1.0-1
> error: File not found:
> /root/rpmbuild/BUILDROOT/xxxxxxxx-1.0-1.i386/usr/local/bin/xxxxxxxxx
> error: File not found:
> /root/rpmbuild/BUILDROOT/xxxxxxxx-1.0-1.i386/usr/local/bin/xxxxxxx
> error: File not found:
> /root/rpmbuild/BUILDROOT/xxxxxxxxx-1.0-1.i386/etc/cron.d/xxxxxxxx

As Mark said, you need to ensure that these files exist.  If they
don't, you might have to modify the %build, %install, and/or %files
section of your spec file.

Also (and it's hard to stress this enough): You should NOT be building
packages as root.  Use a normal user account for building packages.

-- 
Todd        OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Lazlo's Chinese Relativity Axiom:
    No matter how great your triumphs or how tragic your defeats --
    approximately one billion Chinese couldn't care less.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 542 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20090107/3cc5faef/attachment-0001.sig>


More information about the fedora-list mailing list