RPM Community Forums

Mailing List Message of <rpm-users>

Re: Spec file help

From: Patrick <thegauvenator@gmail.com>
Date: Mon 22 Dec 2008 - 18:01:12 CET
Message-ID: <21c999c0812220901g234d0a55ue6f204cdf9630ede@mail.gmail.com>
ok so this could be a problem with the .rpmmacros?  Forgive me if my
specfile is sloppy...i'm new to making rpms, and the guides i've been using
are several years old...if someone has a good link to a more recent guide I
would appreciate it.

Heres my .rpmmacros:

%_topdir               /root/rpm
%_tmppath              /root/rpm/tmp

On Mon, Dec 22, 2008 at 9:54 AM, Eric MSP Veith <eveith@wwweb-library.net>wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Seems as if something's wrong with your buildpath:
>
> On Monday 22 December 2008, Patrick <thegauvenator@gmail.com> wrote:
> > BuildRoot: /var/tmp/wget-1.11-4-buildroot
> > [...]
> > Processing files: wget-1.11-4.x86_64
> > error: File not found: /root/rpm/tmp/wget-root/usr/share/man/man1/wget.1
> > error: File not found: /root/rpm/tmp/wget-root/usr/bin/wget
> > error: File not found: /root/rpm/tmp/wget-root/usr/share/info/wget.info
> > error: File not found: /root/rpm/tmp/wget-root/usr/share/gettext/po/
> > Makefile.in.in
> > error: File not found:
> > /root/rpm/tmp/wget-root/usr/share/locale/ga/LC_MESSAGES/wget.mo
> > error: File not found:
> > /root/rpm/tmp/wget-root/usr/share/locale/{be,bg,ca,cs,da,de,el,en_GB,eo,e
> >s,et,eu,fi,fr,ga,gl,he,hr,hu,id,it,ja,nb,nl,pl,pt,pt_BR,ro,ru,sk,sl,sr,sv,
> >tr,uk,vi,zh_CN,zh_TW}/LC_MESSAGES/wget.mo error: File not found:
> > /root/rpm/tmp/wget-root/etc/wgetrc
> > Checking for unpackaged file(s): /usr/lib/rpm/check-files
> > /root/rpm/tmp/wget-root
>
> Have a look at your macros file, a %_buildroot directive there has
> precedence over what is defined in the spec file.
>
> You should clean up the spec file a bit, though. Have a look at the
> attached
> one.
>
>                -- Eric
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAklPqi0ACgkQfkUtd7QNU/uObgCgjSior2kbduC92PCTdHZedqNo
> 3N8An2B1/W+SSsU4BfubM2FxgpSWvAz1
> =nSGH
> -----END PGP SIGNATURE-----
>
Received on Mon Dec 22 18:01:15 2008
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.