Closed garlick closed 1 year ago
I gave this a spin and I think debian/compat
is missing:
grondo@pi3:~/git/flux-pmix$ make deb
debbuild: Running make dist
debbuild: Building package from latest dist tarball
debbuild: Unpacking flux-pmix-0.3.0-7-ga521f7a.tar.gz
debbuild: Creating debian directory and files
debbuild: Creating debian/changelog
debbuild: Running debian-buildpackage -b
dpkg-buildpackage: info: source package flux-pmix
dpkg-buildpackage: info: source version 0.3.0-7-ga521f7a
dpkg-buildpackage: info: source distribution UNRELEASED
dpkg-buildpackage: info: source changed by Mark A. Grondona <mark.grondona@gmail.com>
dpkg-buildpackage: info: host architecture arm64
dpkg-source --before-build .
fakeroot debian/rules clean
make[1]: Entering directory '/home/grondo/git/flux-pmix/debbuild/flux-pmix-0.3.0-7-ga521f7a'
dh clean
dh: error: Please specify the compatibility level in debian/compat
make[1]: *** [debian/rules:16: clean] Error 255
Once I did
echo 10 >debian/compat
Then it works for me. :+1:
Oops! Thanks, good catch! Pushed a fix.
Merging #87 (14bf9e1) into main (28e9b88) will not change coverage. The diff coverage is
n/a
.:exclamation: Current head 14bf9e1 differs from pull request most recent head bea20e2. Consider uploading reports for the commit bea20e2 to get more accurate results
@@ Coverage Diff @@
## main #87 +/- ##
=======================================
Coverage 79.01% 79.01%
=======================================
Files 12 12
Lines 1382 1382
=======================================
Hits 1092 1092
Misses 290 290
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more
Thanks! This was largely your work, so thank you.
Problem: flux-core and flux-sched can make test deb packages for quick test deployments but flux-pmix cannot.
Borrow the build infrastructure for from flux-core and adapt for this project.
Tested with the debian 11 default libpmix-dev package (4.0.0-4.1). The
debian/rules
file includes a workaround for the broken pmix.pc in that package.