I am beginner in rpm packaging and as I understand rpm-build has issue with file sizes>4GB due to cpio limitations. So I split the large file in my package with gnu split into files of 512MB [which is done as a part of rpmbuild since the large files…
I needed some help debugging my rpm build.
Any time it encounters a %files or %build or %install directive it gives me an error and I am not able to figure out what "[rpm] + $'\r'" means
[rpm] Building the RPM based on the LBR.spec file
[rpm]…
I setup a private repository (local mount for now) and built custom rpms. The idea is to build the rpm, add it to the repo, and trigger a yum update mypackage to several servers.
The problem I'm having is that the newer version of the rpm does not…
I would like to use a rpm to build subpackages for different environments (live,testing,developer) but for the same files, so having a package called name-config-live, one called name-config-testing and one called name-config-developer and in them…
I'm trying to use rpmbuild to build x86-64 packages and libs-32bit package.
The same src rpm is uesd to build both output packages.
What is the arguments to rpmbuild to make package-lib-32bit-X.x.x68_64.rpm ?
I currently do this to get a 32-bit…
When i run the command rpmbuild -bb mypackage.spec, on centos, i get an error
error: Package already exists: %package debuginfo
following is part of the spec file:
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
BuildRequires: gcc =…
I wondering if any one knew if there was a way to auto increment the Version/Release number for the information found in an rpm package.
i.e.
rpm -qil 'package_name'
Would return something like:
Name: package_name
Version: 1.5
Release: 000001
Is…
I'm trying to build my own rpm package and have a couple of doubts.
First of all, in several places I've red that one shouldn't build rpms as root. Why is that? During the building process, rpmbuild has to go through the install stage where it…
Trying to generate rpm on RHEL8 Machine. The same rpm_build.sh script works fine on RHEL6 & RHEL7. But in RHEL 8 its failing to generate debuginfo packages.
RPM BUILD VERSION :
$ sudo yum install rpm-build
Package rpm-build-4.14.3-23.el8.x86_64 is…
Not sure if this is the right place to post the question. I am trying to create rpm's for my project, this is the first time I am writing a spec file. When I am building the spec the file with the command
rpmbuild -ba name.spec
error: Installed…
deb:
fakeroot dpkb-build -b directory package.deb
# Name, version, architecture, etc. are in directory/DEBIAN/control
rpm:
$SOME_COMMAND directory package.rpm
# Name, version, architecture, etc. are in SOME_FILE
What to use as SOME_COMMAND and…
New to using fpm I’m trying to package some config files and a few binaries (from source: dir), eg. no building from sources.
When I get a package it seems to include symlinks from under /usr/lib/.build-id pointing to the binaries in the…
I need to build a Python 3.7.1 RPM for work. It looks 3.7.1 requires OpenSSL 1.1.1 so if I first build OpenSSL 1.1.1 in /usr then build Python 3.7.1 in /usr everything works on the build system. If I package the RPM and install it on another machine…
I need to build yum with a patch under Ubuntu 10.4 (reason being that i need a yum with chroot support for my vserver instance)
Since yum src for ubuntu where not avaliable (3rd party repos) i downloaded the source off the official repos and the…