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
AptPkg::System(3pm)					User Contributed Perl Documentation				       AptPkg::System(3pm)

NAME
AptPkg::System - APT system abstraction class SYNOPSIS
use AptPkg::System; DESCRIPTION
The AptPkg::System module provides an interface to APT's system abstraction mechanism. AptPkg::System The AptPkg::System package implements the APT pkgSystem class. An instance of the AptPkg::System class appropriate for the particular back-end packaging system (deb, rpm, etc.) may be fetched using the system method from AptPkg::Config. A global instance of the libapt-pkg _system instance is provided as $AptPkg::System::_system, and may be imported. The following methods are implemented: label Return the description of the packaging system, for example: Debian dpkg interface for Debian systems. lock Lock the packaging system. unlock(QUIET) Unlock the packaging system, ignoring errors if QUIET is non-zero. versioning Return an instance of the AptPkg::Version class for this system. SEE ALSO
AptPkg::Config(3pm), AptPkg::Version(3pm), AptPkg(3pm). AUTHOR
Brendan O'Dea <bod@debian.org> perl v5.14.2 2012-03-16 AptPkg::System(3pm)
All times are GMT -4. The time now is 01:25 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy