Sponsored Content
Full Discussion: Rpm packaging on Suse Linux
Operating Systems Linux SuSE Rpm packaging on Suse Linux Post 302496469 by dirshah on Monday 14th of February 2011 07:00:29 AM
Old 02-14-2011
Hi,
Thanks for the reply.
This is the error.
Code:
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.52497
+ umask 022
+ cd /usr/src/packages/BUILD
+ cd /usr/src/packages/BUILD
+ rm -rf tasmportlets-1
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/tasmportlets-1.tar.gz
+ tar -xvvf -
drwxr-xr-x 0/0               0 2011-02-09 18:59 tasmportlets-1/
-rw-r--r-- 0/0            1476 2011-02-09 18:59 tasmportlets-1/LinuxProj.war
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd tasmportlets-1
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.52497
+ umask 022
+ cd /usr/src/packages/BUILD
+ /bin/rm -rf /tmp/tasmportlets-1-buildroot
++ dirname /tmp/tasmportlets-1-buildroot
+ /bin/mkdir -p /tmp
+ /bin/mkdir /tmp/tasmportlets-1-buildroot
+ cd tasmportlets-1
+ $'\r'
: command not found497: line 27: 
error: Bad exit status from /var/tmp/rpm-tmp.52497 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.52497 (%build)

The spec file has been attached as tasmportlet_original.txt and the /var/tmp/rpm-tmp.52497 has been attached as tmp.txt.

Moderator's Comments:
Mod Comment Please use code tags for console output. You've got an PM on how to do that.
 

4 More Discussions You Might Find Interesting

1. Red Hat

RPM Packaging doubt!

Hi, I need to create an RPM package for my java application. Already build package for that application avail;able. I need to create binary RPM package for my java application. For that in spec file, do I need to write any script kind of thing to install my package. any one have idea... (1 Reply)
Discussion started by: ram.sj
1 Replies

2. Shell Programming and Scripting

build rpm with SPEC file for packaging .jar and some .sh files..

Good day people, Hereby wish to have your advise for below: I have some .jar files, some script files (install.sh, action.sh) , and a libaes.so file. Basically, the .jar files compute the operation of my system and define the working directory for my system. My current scenario: i trigger... (1 Reply)
Discussion started by: cielle
1 Replies

3. Linux

rpm packaging issue for unixodbc driver manager

Hi All, I am trying to make rpm package for unixODBC driver manager 2.3.0 using below spec file. During rpmbuild i am getting the error. Can you pls advice how we can overcome this issue %define name unixODBC %define ver 2.3.0 %define prefix /usr %define sysconfdir /etc %define libdir... (2 Replies)
Discussion started by: kamauv234
2 Replies

4. Red Hat

RPM packaging a directory of files

Hi, I wonder if anyone can point me in the right direction I have a requirement to distribute a set of admin scripts that currently sit in an SVN repo by packaging them up in an RPM so that they can me unpacked to the correct location by simply installing the package .. e.g. 'yum install... (0 Replies)
Discussion started by: hcclnoodles
0 Replies
RPMSPEC(8)						      System Manager's Manual							RPMSPEC(8)

NAME
rpmspec - RPM Spec Tool SYNOPSIS
QUERYING SPEC FILES: rpmspec {-q|--query} [select-options] [query-options] SPEC_FILE ... select-options [--rpms] [--srpms] query-options [--qf,--queryformat QUERYFMT] [--target TARGET_PLATFORM] QUERY OPTIONS The general form of an rpm spec query command is rpm {-q|--query} [select-options] [query-options] You may specify the format that the information should be printed in. To do this, you use the --qf|--queryformat QUERYFMT option, followed by the QUERYFMT format string. See rpm(8) for details. SELECT OPTIONS --rpms Operate on the binary package header(s). --srpm Operate on the source package header(s). SEE ALSO
popt(3), rpm(8), rpmdb(8), rpmkeys(8), rpmsign(8), rpm2cpio(8), rpmbuild(8), rpmspec --help - as rpm supports customizing the options via popt aliases it's impossible to guarantee that what's described in the manual matches what's available. http://www.rpm.org/ <URL:http://www.rpm.org/> AUTHORS
Marc Ewing <marc@redhat.com> Jeff Johnson <jbj@redhat.com> Erik Troan <ewt@redhat.com> Panu Matilainen <pmatilai@redhat.com> Red Hat, Inc 29 October 2010 RPMSPEC(8)
All times are GMT -4. The time now is 12:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy