| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
dh_clean, dh_installdirs and dh_install each warned "Compatibility levels
before 10 are deprecated (level 9 in use)" on every nightly build. Declare
debhelper-compat (= 13) in Build-Depends and drop debian/compat in all four
packaging trees. Compat 12 removed --list-missing from dh_install, so
binary-arch now calls dh_missing --list-missing instead; passing it
explicitly keeps the warn-only behaviour rather than compat 13's
--fail-missing default.
Verified in the four distributions the nightly builds target (jammy, noble,
resolute, trixie): all ship debhelper >= 13, and "fakeroot debian/rules
clean" on jammy is now warning-free.
Also drop ${shlibs:Depends} from omc-common, drmodelica and drcontrol. They
are Architecture: all and ship no ELF, so dh_shlibdeps never defines the
substvar and dpkg-gencontrol warned about it.
Add .ci/ and two workflows. packaging.yml runs the metadata checks on every
distribution we ship for, in seconds: control and changelog parse, debhelper
accepts the declared compat level, debian/rules calls no retired helper or
option, every debian/<package>.<helper> names a real binary package, and the
RPM spec template parses after placeholder substitution. build-deb.yml does
a full Autoconf+Makefile build plus dpkg-buildpackage on ubuntu-latest,
weekly and on debian/ pull requests, which is the only way to catch an
.install glob that stopped matching. dependabot.yml bumps the pinned actions
quarterly in one PR.
Document in README.md how debian/ reaches a package, what usually breaks it,
how to test a packaging change, and what the CI does and does not cover.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
|
Package tests are fast and passing on my fork: https://github.com/AnHeuermann/OpenModelicaBuildScripts/actions/runs/33160666377 Let's see if the full build finishes in an acceptable time: https://github.com/AnHeuermann/OpenModelicaBuildScripts/actions/runs/33161052296 |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Issue
Changes
Declare debhelper-compat (= 13) in Build-Depends and drop debian/compat in all four packaging trees.
Compat 12 removed --list-missing from dh_install, so binary-arch now calls dh_missing --list-missing instead; passing it explicitly keeps the warn-only behavior rather than compat 13's --fail-missing default.
Also drop ${shlibs:Depends} from omc-common, drmodelica and drcontrol. They are Architecture: all and ship no ELF, so dh_shlibdeps never defines the substvar and dpkg-gencontrol warned about it.
Add .ci/ and two workflows. packaging.yml runs the metadata checks on every distribution we ship for, in seconds: control and changelog parse, debhelper accepts the declared compat level, debian/rules calls no retired helper or option, every debian/<package>.<helper> names a real binary package, and the RPM spec template parses after placeholder substitution. build-deb.yml does a full Autoconf+Makefile build plus dpkg-buildpackage on ubuntu-latest, weekly and on debian/ pull requests, which is the only way to catch an .install glob that stopped matching.
dependabot.yml bumps the pinned actions quarterly in one PR.
Document in README.md how debian/ reaches a package, how to test a packaging change, and what the CI does and does not cover.