Hello. > If you have no Makefile in EPS, don't run make in the %build stage. Thanks for your valuable inputs. I do have a makefile in EPS > I have a couple of other suggestions for when you've got your build > working: Use a buildroot and don't go via /home/pradeep - use the buildroot instead. This will allow > > people without permission on /home/pradeep to build EPS. But after posting the previous message, I made a few changes to the previous spec file and I am attaching the new one with this message. Now I am using the %setup macro, but I am getting a different error. By the way by buildroot do you mean via /usr/src/redhat..... The error that I get now is /*************************************************************************** ************************/ Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.29043 + umask 022 + cd /home/pradeep/rpms/BUILD + cd /home/pradeep/rpms/BUILD + rm -rf eps3-1.0 + /bin/gzip -dc /home/pradeep/rpms/SOURCES/eps3-1.0-1.tgz + tar -xvvf - drwxr-xr-x pradeep/root 0 2004-10-13 21:24:28 eps3-1.0/ -rw-r--r-- pradeep/root 5262 2004-10-13 21:24:05 eps3-1.0/AlarmHandler.cpp -rw-r--r-- pradeep/root 160 2004-10-13 21:24:05 eps3-1.0/AlarmHandler.h -rw-r--r-- pradeep/root 3199 2004-10-13 21:24:05 eps3-1.0/DriverManager.c -rw-r--r-- pradeep/root 13511 2004-10-13 21:24:05 eps3-1.0/EPSDataServer.cpp -rw-r--r-- pradeep/root 74 2004-10-13 21:24:05 eps3-1.0/EPSDataServer.h -rw-r--r-- pradeep/root 3039 2004-10-13 21:24:05 eps3-1.0/Globals.h -rw-r--r-- pradeep/root 6960 2004-10-13 21:24:05 eps3-1.0/Initialize.cpp -rw-r--r-- pradeep/root 1095 2004-10-13 21:24:05 eps3-1.0/Initialize.h -rw-r--r-- pradeep/root 3971 2004-10-13 21:24:06 eps3-1.0/RequestHandler.cpp -rw-r--r-- pradeep/root 60 2004-10-13 21:24:06 eps3-1.0/RequestHandler.h -rw-r--r-- pradeep/root 13930 2004-10-13 21:24:06 eps3-1.0/SubscriptionHandler.cpp -rw-r--r-- pradeep/root 1321 2004-10-13 21:24:06 eps3-1.0/SubscriptionHandler.h -rw-r--r-- pradeep/root 6752 2004-10-13 21:24:06 eps3-1.0/SubsystemManager.cpp -rw-r--r-- pradeep/root 436 2004-10-13 21:24:06 eps3-1.0/SubsystemManager.h -rw-r--r-- pradeep/root 2109 2004-10-13 21:24:06 eps3-1.0/XLNETLib.h -rw-r--r-- pradeep/root 8335 2004-10-13 21:24:06 eps3-1.0/cbusdefs.h -rw-r--r-- pradeep/root 15338 2004-10-13 21:24:06 eps3-1.0/drivermngr -rw-r--r-- pradeep/root 3758 2004-10-13 21:24:07 eps3-1.0/main.cpp -rw-r--r-- pradeep/root 778 2004-10-13 21:24:07 eps3-1.0/makefile -rw-r--r-- pradeep/root 22203 2004-10-13 21:24:07 eps3-1.0/xl500def.h + STATUS=0 + '[' 0 -ne 0 ']' + cd eps3-1.0 ++ /usr/bin/id -u + '[' 503 = 0 ']' ++ /usr/bin/id -u + '[' 503 = 0 ']' + /bin/chmod -Rf a+rX,g-w,o-w . + : command not found043: error: Bad exit status from /var/tmp/rpm-tmp.29043 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.29043 (%prep) /*************************************************************************** **************************/ Regards, Pradeep
Attachment:
eps3.spec
Description: Binary data
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list