2,359 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Best practices
0
votes
2
replies
64
views
RPM: how can I generate a custom provide during build?
I'm packaging a library with a wildly unpredictable ABI. I can hash one of the library's files to ensure any user does not get upgraded out of sync, but I don't know how to manually add a Provide that ...
0
votes
0
answers
26
views
fpm-cookery rpm tags for rpm building
I'm trying to add the following tags to my recipe.rb or my .promu.yml:
'%define _build_id_links none'
'%undefine _missing_build_ids_terminate_build'
where exactly do can I plugin these tags?
I've ...
-1
votes
1
answer
39
views
Does mock use the rpm executable from the host or target OS?
When building rpm packages with mock, does mock use the rpm binary from the host system where you ran the mock command, or does it use the rpm from the chroot of the target system?
I basically want to ...
1
vote
1
answer
61
views
How to change rpm exit code from "Warrning" to "Error" in %post section
I have a problem with my RPM package. In %post section RPM is executing a shell script which is declared in %file section. However script file includes some pre-checks before doing the main job. In ...
0
votes
1
answer
99
views
rpmbuild spec file, converting external dependency generator to internal generator for requires
I'm working on updating my rpm packaging to move away from external dependency generation.
Currently I do the following (which works as expected):
%define _use_internal_dependency_generator 0
%define ...
0
votes
0
answers
92
views
GCC Errors After RPM Upgrade for Node.js 22 on AIX – Issues with libgcc/libstdc++
We're in the process of upgrading several RPM packages on an AIX system to support Node.js 22, but are encountering GCC-related errors after updating the following packages.
Here’s our upgrade list (...
1
vote
1
answer
125
views
How to determine the namespace when specifying the PURL of the RPM package?
The PURL specification says the following about the namespace when specifying the PURL of an rpm package:
The namespace is the vendor such as Fedora or OpenSUSE. It is not case
sensitive and must be ...
nik0x1's user avatar
- 1,656
0
votes
1
answer
125
views
How to display shell output script during RPM installation
I am trying to create RPM package for RHEL which allow me to speed up my daily work, however I have some problem with SPEC file for RPM. As source of my RPM I use shell script which normally I use for ...
0
votes
1
answer
77
views
How to compile existing SRPM packages for i686
I am trying to build libgcc for i686 from an existing SRPM using the following command:
rpmbuild --target i686 -ba /rpmbuild/SPECS/gcc.spec
But I get the following error:
/usr/bin/ld: /workdir/...
0
votes
1
answer
179
views
Cannot import Cassandra GPG keys on Amazon Linux 2
Cassandra installation in the Amazon Linux 2 started failing from last one week which used to work previously. We updated the gpgkey to a new url but still getting the same error. The /etc/yum.repos.d/...
1
vote
1
answer
88
views
Is there a way to preserve timestamps of modified files in rpm package?
I am trying to create a rpm with cumulative changes which is a tar ball, i.e.: the tar contains all the modified files from GA release to current patch.
When I try to create a rpm build I use cp -Rp ...
1
vote
1
answer
89
views
How to prevent .rpm installer built using electron-forge from over-writing system files (e.g. bzip.lib)
We've a cross-platform electron app that we're packaging using "electron-forge". We build installers for different OS platforms, i.e. msi for Windows, .rpm for RHEL, .deb for Ubuntu, and ....
0
votes
1
answer
60
views
RPM cannot find dependency located inside the package
I made my own RPM package. The package contains:
./bin/my_binary (depends on my_lib.so)
./bin/lib/my_lib.so
other files
Then I'm trying to install it and have error:
rpm -Uhv my_rpm_name.rpm
error: ...
1
vote
1
answer
399
views
Build on Linux is failed after updating to dotnet-sdk-8.0 (8.0.404)
Installing .NET SDK v8.0.404 breaks the .NET installation and prevents building apps or opening projects in IDEs like Rider.
In the terminal, you may see an error like this:
/usr/share/dotnet/sdk/8.0....
Maxim's user avatar
- 13.6k
-1
votes
1
answer
303
views
Yarn make with electron-forge not working, error on RPM
First of all i'm VERY new to coding and i'm just following and reading documentation
I'm making a bluesky electron app, but when using yarn make or npm run make I get the followed error:
❯ yarn make
...