[OpenAFS] Re: rpmbuild

Axel Thimm openafs-info@openafs.org
Sun, 7 Oct 2007 13:50:32 +0300


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Oct 01, 2007 at 03:52:24PM +0100, Simon Wilkinson wrote:
>=20
> On 1 Oct 2007, at 15:45, Peter Metcalf wrote:
>=20
> >I have over the past several updates to the kernel failed at =20
> >building a new module for AFS.
> >Using:  rpmbuild --rebuild --target=3Di686 openafs.src.rpm
> >My error I get:
> >error: line 1: Unknown tag: %kmdl openafs
> >Any help with this one?

Try

yum install atrpms-rpm-config kernel-devel

before rpmbuild

(BTW why rebuild? Security concerns, custom kernels or maybe some
changes that more users might benefit from? The latter are always
welcomed in patch form :)

> You're using the ATRPMs packages, and not the OpenAFS ones.

Actually it's the ATrpms packages for OpenAFS. :)

> Trying asking on their mailing lists.
> (I think you need an additional RPM macro set installed in order to =20
> rebuild atrpms packages - I'm not sure how (or if) this is distributed.)

See above. For such a specific packaging question the ATrpms' lists
would had been more suitable indeed, but in general most openafs/rpm
questions turn out to be openafs proper topics, so people using
openafs through rpms (or debs etc.) should not feel discouraged to ask
questions here.
--=20
Axel.Thimm at ATrpms.net

--Nq2Wo0NMKNjxTN9z
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHCLn4QBVS1GOamfERAuUmAKCTBhrZSlN64UnX27D7S5wWsTK/xACgmwGN
Y+2vojA+QuFZ7y6WQ3CbHtU=
=nTNc
-----END PGP SIGNATURE-----

--Nq2Wo0NMKNjxTN9z--