Comments (7)
The "dist" makefile targets haven't been set up to work properly. I'm not sure how you're able to produce a tar.bz2 file above -- it shouldn't work. It should fail with:
make: *** No rule to make target 'DISCLAIMER', needed by 'distdir'. Stop.
But from the output you provided, you're failing in rpmbuild
because of the switch to xz
in 8cd3e16.
Regardless, make dist
should be able to create a distribution archive for use with rpmbuild
.
from munge.
Yeah, it did fail with that. So I fooled with the spec file a little, to see if it was just one glitch and I could get around it. But it was not, so I decided to contact you.
I am not following your answer. If
The "dist" makefile targets haven't been set up to work properly
Then how can it be that
Regardless, make dist should be able to create a distribution archive for use with rpmbuild.
As I recall, make dist ran without error, but I could not find an rpm file anywhere.
from munge.
OK, let me rephrase.
The "dist" makefile targets haven't been set up to work properly. I don't see how they could work in their current state. It's reasonable to expect that you can create a tarball with make dist
and feed that into rpmbuild
. But that currently doesn't work (as you've noted) and needs to be fixed. It hasn't been an issue for me since I've always created my distribution archives in another manner.
Yet you somehow created a tar.bz2 file. And based on your output, rpmbuild
failed because it was looking for a tar.xz file due to the change of the munge.spec
Source0
tag in 8cd3e16.
from munge.
The reason I was able to create a bz2 was because I removed that dependency (DISCLAIMER) from the spec file, hoping I was dealing with a single bug. No such luck.
I have started over, by downloading your latest commit, which fixes that problem. Once I got the dependencies squared away (libopenssl-devel), I was able to configure. But make fails;
f045:/home/jbberry/slurm/munge/V0.5.11/commit/munge-0.5.11 # make
make: *** No rule to make target 'META', needed by 'config.status'. Stop.
Am I going about this wrong? I want to install munge under SLES12.0. Once I am sure it is working with slurm, I need to build an rpm, so I can install routinely on rtebooted machines using xCAT. Any guidance is welcome. Thanks for your help.
from munge.
It looks like you removed the META
file which make
doesn't know how to rebuild.
Until I get make dist
working, you could build an rpm from HEAD
via:
git clone --depth=1 https://github.com/dun/munge.git munge-0.5.11
rm -rf munge-0.5.11/.git*
tar cJf munge-0.5.11.tar.xz munge-0.5.11
rpmbuild -ta --clean munge-0.5.11.tar.xz
from munge.
That led to a bunch of issues with bzip2 and its dependencies. I finally resolved that, I think, and now I am getting this error;
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib64/libmunge.a
After poking around on the web a bit, I gather that I can either add libmunge.a to the %files list in the munge.spec file, or there are a couple ways I can make rpmbuild work in spite of the error. Which would you recommend?
from munge.
Packaging guidelines recommend excluding static libraries:
https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries
If you're using the munge.spec
from 2b13519, configure
is called with --disable-static
to prevent building the static library (libmunge.a
). It should not be showing up as an installed (but unpackaged) file.
If you're using the munge.spec
before that, the static library was listed under %files devel
via %{_libdir}/*.a
.
from munge.
Related Issues (20)
- Munge keeps crashing under supervisord in a container HOT 3
- Error: Invalid Credential HOT 4
- runstatedir causes error, it is not clear where run directory without it is. HOT 1
- munge.socket.2 not created HOT 3
- foreground logging with timestamps HOT 2
- munged: Info: Unauthorized credential for client UID=0 GID=0 inside docker container HOT 6
- question about UID + GID sync between multiple cluster HOT 2
- munged does not ignore SIGHUP when run in foreground HOT 4
- Failed to query password file entry for "user" HOT 2
- Munge Failed - Slurm HOT 2
- slurm: credential data mismatch error, munge 0.5.13 and 0.5.14 interoperability question HOT 3
- Keyfile is insecure: group-writable permissions without sticky bit set on "/etc HOT 1
- RHEL 9 HOT 1
- Location of munge.key HOT 3
- Unauthorized credential for client UID=0 GID=0 HOT 8
- Munge permission denied HOT 6
- package fails to install on ubuntu 22.04 HOT 1
- SuSE sles15.4: small correction for munge.spec HOT 2
- Lot of munged task HOT 1
- Failed to start MUNGE authentication service HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from munge.