RE: Help on RPM packaging !!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On Fri, 2004-10-15 at 09:12, Pradeepkumar, Pyatalo (IE10) wrote:
> I have attached the RPM build output for your reference.

You have a spurious carriage return character in your spec file. Look
for the ^M in rpm-tmp.9099.

Try removing the carriage return character and rerunning rpmbuild. An
easy way to do this is:

  dos2unix EPS.spec

Hope that helps, bye, Rich

[snip]
> 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
> ----
> 

-- 
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

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux