fam
[Top] [All Lists]

Re: [fam] Updated fam.spec file?

To: fam@xxxxxxxxxxx
Subject: Re: [fam] Updated fam.spec file?
From: Nathan Thompson-Amato <nathan.thompson-amato@xxxxxxxxxxxxxx>
Date: Mon, 05 Nov 2001 16:44:29 -0500
Organization: D.N. American
References: <Pine.LNX.4.33.0111051523040.31545-100000@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-fam@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011012
Alex Larsson wrote:

On Mon, 5 Nov 2001, Nathan Thompson-Amato wrote:

Just get the specfile and sources from the source rpm and do "rpm -ba fam.spec". That should give you a working rpm.



Okay.  I did this:

  o Installed the source RPM (version 2.6.4-14)
  o Untarred the fam-oss-2.6.4.tar.gz
  o Copied fam-oss-2.6.4 into fam-oss-2.6.4-alex
  o Applied, in order,
      - fam_build.patch,
      - fam-oss-changed_race.patch,
      - fam-2.6.4-creds.patch
      - fam-2.6.4-dnotify.patch
  o cd fam-oss-2.6.4-alex ;
  o Replace all the NULLs in include/BTree.h with zeros
  o Add #include <stdlib.h> to test/test.c++
  o ./configure --prefix=/usr --sysconfdir=/etc ; make
  o make dist
  o cp fam-oss-2.6.4.tar.gz ../
  o cd ../ ; rpm -ba fam-oss-2.6.4/build/rpm/fam.spec

I get, at the end of the RPM build process, this:

make[2]: Leaving directory `/usr/src/redhat/BUILD/fam-oss-2.6.4'
make[1]: Leaving directory `/usr/src/redhat/BUILD/fam-oss-2.6.4'
+ /usr/lib/rpm/brp-compress
+ /usr/lib/rpm/brp-strip
+ /usr/lib/rpm/brp-strip-comment-note
error: Bad owner/group: /usr/src/redhat/SOURCES/fam-oss-2.6.4/build/rpm/fam.spec

RPM build errors:
    Bad owner/group: /usr/src/redhat/SOURCES/fam-oss-2.6.4/build/rpm/fam.spec

RPM build errors:
    Bad owner/group: /usr/src/redhat/SOURCES/fam-oss-2.6.4/build/rpm/fam.spec

I don't know what this means -- I chown'd and chgrp'd the fam.spec file to root with the same results. I can only assume that you're doing things a little bit differently. :-p Any suggestions?

Nathan


--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>