Hi Rich, I have attached the RPM build output for your reference. Regs, Pradeep -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Richard Dawe Sent: Friday, October 15, 2004 1:37 PM To: RPM Package Manager Subject: RE: Help on RPM packaging !!! Hello. On Fri, 2004-10-15 at 06:23, Pradeepkumar, Pyatalo (IE10) wrote: > > Hi, > > > Have you installed make and binutils? > > Yes make and binutils have already been installed. [snip] Maybe you could resend the output of rpmbuild? Thanks, bye, Rich -- Richard Dawe Software Engineer - Mail Engine MessageLabs Ltd., UK ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9099 + 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-14 02:54:28 eps3-1.0/ -rw-r--r-- pradeep/root 5262 2004-10-14 02:54:05 eps3-1.0/AlarmHandler.cpp -rw-r--r-- pradeep/root 160 2004-10-14 02:54:05 eps3-1.0/AlarmHandler.h -rw-r--r-- pradeep/root 3199 2004-10-14 02:54:05 eps3-1.0/DriverManager.c -rw-r--r-- pradeep/root 13511 2004-10-14 02:54:05 eps3-1.0/EPSDataServer.cpp -rw-r--r-- pradeep/root 74 2004-10-14 02:54:05 eps3-1.0/EPSDataServer.h -rw-r--r-- pradeep/root 3039 2004-10-14 02:54:05 eps3-1.0/Globals.h -rw-r--r-- pradeep/root 6960 2004-10-14 02:54:05 eps3-1.0/Initialize.cpp -rw-r--r-- pradeep/root 1095 2004-10-14 02:54:05 eps3-1.0/Initialize.h -rw-r--r-- pradeep/root 3971 2004-10-14 02:54:06 eps3-1.0/RequestHandler.cpp -rw-r--r-- pradeep/root 60 2004-10-14 02:54:06 eps3-1.0/RequestHandler.h -rw-r--r-- pradeep/root 13930 2004-10-14 02:54:06 eps3-1.0/SubscriptionHandler.cpp -rw-r--r-- pradeep/root 1321 2004-10-14 02:54:06 eps3-1.0/SubscriptionHandler.h -rw-r--r-- pradeep/root 6752 2004-10-14 02:54:06 eps3-1.0/SubsystemManager.cpp -rw-r--r-- pradeep/root 436 2004-10-14 02:54:06 eps3-1.0/SubsystemManager.h -rw-r--r-- pradeep/root 2109 2004-10-14 02:54:06 eps3-1.0/XLNETLib.h -rw-r--r-- pradeep/root 8335 2004-10-14 02:54:06 eps3-1.0/cbusdefs.h -rw-r--r-- pradeep/root 15338 2004-10-14 02:54:06 eps3-1.0/drivermngr -rw-r--r-- pradeep/root 3758 2004-10-14 02:54:07 eps3-1.0/main.cpp -rw-r--r-- pradeep/root 778 2004-10-14 02:54:07 eps3-1.0/makefile -rw-r--r-- pradeep/root 22203 2004-10-14 02:54: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 found99: error: Bad exit status from /var/tmp/rpm-tmp.9099 (%prep) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9099 (%prep)
#!/bin/sh RPM_SOURCE_DIR="/home/pradeep/rpms/SOURCES" RPM_BUILD_DIR="/home/pradeep/rpms/BUILD" RPM_OPT_FLAGS="-O2 -march=i386 -mcpu=i686" RPM_ARCH="i386" RPM_OS="linux" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="eps3" RPM_PACKAGE_VERSION="1.0" RPM_PACKAGE_RELEASE="1" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE RPM_BUILD_ROOT="/var/tmp/eps3-1.0-1-root" export RPM_BUILD_ROOT set -x 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 - STATUS=$? if [ $STATUS -ne 0 ]; then exit $STATUS fi cd eps3-1.0 [ `/usr/bin/id -u` = '0' ] && /bin/chown -Rhf root . [ `/usr/bin/id -u` = '0' ] && /bin/chgrp -Rhf root . /bin/chmod -Rf a+rX,g-w,o-w . ^M exit 0
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list