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

Re: rpmbuild not working on FC 10



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.

Attachment: pgpmQMA4OpDoq.pgp
Description: PGP signature


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