Peter, thanks for the speedy reply, actually i am using version 10.0, the fact that i have a reference to 9.2 in my earlier email was a result of an effort to re-state from the example i am following from http://rau.homedns.org/twiki/bin/view/Anaconda/CustomizingAnaconda so my actuall diff command is as follows: diff -ruN anaconda-10.0.orig anaconda-10.0 > /usr/src/redhat/SOURCES/leap-changes.patch However, i have started to use anaconda-10.2 instead , i am now getting a different build error while attempting to rebuild the source rpm of anaconda fo 10.2 i.e. rpmbuild –ba anaconda.spec isys.c: In function `init_isys': isys.c:566: warning: statement with no effect make[1]: *** [isys.lo] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/anaconda-10.2.0.27/isys' make: *** [subdirs] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.64079 (%build) can anyone please direct or point me to the solution to this problem? RPM build errors: Bad exit status from /var/tmp/rpm-tmp.64079 (%build) thanks Bayo On Fri, 11 Mar 2005 21:18:44 -0500, Peter Jones <pjones@xxxxxxxxxx> wrote: > On Fri, 2005-03-11 at 18:51 -0500, abayomi onibudo wrote: > > Hi, > > > > i have just mdofied a custom anaconda src such that it only allows > > installation for desktop-install i.e. server, custom and workstation > > sources taken out of BUILD/anaconda-10.0/installclassses/ > > I have also created the patch using diff -ruN anaconda-9.2.orig > > anaconda-9.2 > /usr/src/redhat/SOURCES/my-changes.patch > > and updated the anaconda.spec with custom patch > > > > can anyone tell me why i am getting the follow rpmbuild error > > error > [... error clipped ...] > > Because you're taking buggy code from anaconda-9 and using it in > anaconda-10, which is being built with -Wall -Werror . > > I'm a little wary of explaining what the error means. You're clearly > taking buggy code that you don't understand from an old anaconda and > putting it into a newer version. > > If you really must know, look up "-Wpacked" in the gcc info pages. If > you really need that code, fix it appropriately. > > -- > Peter > >