Questions tagged [rpmbuild]

rpmbuild command used to build rpms from rpm SPEC files

rpmbuild is the command used to build rpms from a rpm SPEC file.

854 questions
0
votes
1 answer

What is the use of ".map" file in the g++ command?

I'm building an RPM and while building I found following command is used to build one shared object of RPM. g++ /*some compiler options*/ -O1 -Wl,--version-script abc.map -L and the remaining command. I did not understood the what is…
BSalunke
  • 11,499
  • 8
  • 34
  • 68
0
votes
1 answer

rpmbuild "Optional dependency" without require

I would like to build a RPM Package for a website. in the %post section of my spec file I would like to check if the apache webserver is installed. If so, the config should be copied to /etc/httpd/conf.d/ If no Apache is installed, the config should…
0xAffe
  • 1,156
  • 1
  • 13
  • 29
0
votes
1 answer

gem2rpm tool works but I can't find rpm package

I have been trying to convert a gem (chef) into rpm package using gem2rpm. Now, I 'fetched' the gem, made a 'spec' file and the used 'rpmbuild'. I get the following error: error: Installed (but unpackaged) file(s) found: …
Pensu
  • 3,263
  • 10
  • 46
  • 71
0
votes
1 answer

Bad exit status from /var/tmp/rpm-tmp.Ss0VJv (%build)

I am trying to build an rpm file to install ATM drivers. The final step to build the rpm file is to use this rpmbuild command [anjanu@matrix rpmbuild]$ rpmbuild -bb SPECS/isaratm.spec but after excuting the command I get this whole lot of output…
Anjanu
  • 623
  • 2
  • 8
  • 19
0
votes
1 answer

rpmbuild :error: Could not generate output filename for package myApp: unknown tag

I'm trying to build rpm and getting error : rpmbuild :error: Could not generate output filename for package myApp: unknown tag I tried to add a client name to a name of the rpm file . Before I inserted changes everything worked fine . What I made…
Toren
  • 6,648
  • 12
  • 41
  • 62
0
votes
1 answer

Yum does not resolve dependencies after a rpm -ivh installation

I use AWS EC2 instances. I wanted to setup a package versioned at 5.4.0 but the latest that yum search all --enablerepo epel offered was 5.0.0. I hence did wget and configure && make && make install on v5.4.0 which was available on the web.…
erbdex
  • 1,899
  • 3
  • 22
  • 40
0
votes
0 answers

Error while applying patch for httpd-2.4.7

I downloaded a source rpm for httpd-2.4.7 from koji.fedoraproject.org, When i try to build the package i get a error stating that " Only garbage value was found in the patch input". The patch name is httpd-2.4.7-sslsninotreq.patch. The whole…
Droider
  • 459
  • 2
  • 6
  • 14
0
votes
1 answer

rpmbuild spec file ignore file that does not exist

Is it possible to tell an rpmbuild spec file to ignore a file in the files list if it doesn't exist? Something like: %files %{existingfile} if [ -f %{dtdfile} ]; then %{dtdfile} fi
Rudolf Vavruch
  • 495
  • 2
  • 6
  • 13
0
votes
1 answer

rpmbuild: Installed (but unpackaged) file(s) found - Multiple options tried

This is getting rather maddening - I'm trying to build an RPM out of some BASH scripts which work as Nagios plugins. I keep getting: error: Installed (but unpackaged) file(s) found: /usr/lib64/nagios/plugins/netappassigncheck …
DJNrrd
  • 1
  • 1
  • 3
0
votes
0 answers

Building rpm for gcc 4.8.2 rpath ERROR 0020:

When building rpm's for centos I continue to get this error ERROR 0020: file '/usr/local/probe/lib64/libasan.so.0.0.0' contains an rpath referencing '..' According to the docs I should be able to ignore this by calling: QA_RPATHS=$[ 0x0020 ]…
Ben Aldrich
  • 81
  • 1
  • 5
0
votes
0 answers

Why does the linux 'file' command show an 'ELF 32-bit' file as 'Linux/i386 core file' on redhat

Here's the poop. We are compiling the mysql++ 3rd party library on two different Linux deploments: Red Hat 5.8 and SuSE Sles10. The compilation logic is exactly the same on the two systems. However, the file command on the Red Hat system indicates…
John Rocha
  • 1,656
  • 3
  • 19
  • 30
0
votes
2 answers

Go byte to integer encoding with RPMs

I am trying to create a go program that can read and create RPM files without the need of librpm and rpmbuild. Most of the reason for this is to get a better understanding of programming in go. I am parsing an RPM based off the following:…
ekaqu
  • 2,038
  • 3
  • 24
  • 38
0
votes
1 answer

rpm building help SPEC.file

I have a question to building an rpm package. I will bild an rpm package, which should copy some files on the computer. If no openssl is on the Pc I will also install it. At last I want to start some java programm to verify the succesfull…
steffen
  • 5
  • 2
0
votes
1 answer

Creating source tarball for rpmbuild

I am new at building rpms. I have my own project which I want to build an rpm for. The issue is that most of the documentation assumes that you already have a tarball of your source. I understand how to construct a tarball, but I guess I don't know…
blrg891
  • 52
  • 2
0
votes
1 answer

RPM package to allow different sets of files to be installed

I would like to build an RPM that allows the installer to select which components of the software are installed. More specifically we have 5 EAR files that are in the RPM I would like to let the installer specify an option when installing to select…
Yadrif
  • 169
  • 2
  • 11