Skip to content

Fix Debian packaging lintian errors#5271

Open
pepone wants to merge 8 commits intozeroc-ice:3.8from
pepone:3.8.1-1
Open

Fix Debian packaging lintian errors#5271
pepone wants to merge 8 commits intozeroc-ice:3.8from
pepone:3.8.1-1

Conversation

@pepone
Copy link
Copy Markdown
Member

@pepone pepone commented Mar 30, 2026

Summary

Fix lintian errors reported on the mentors.debian.net upload for the 3.8.1-1 Debian package.

  • Use standard nopython build profile instead of custom no-python312
  • Fix ${binary:Version} to ${source:Version} for arch:all package dependencies
  • Remove obsolete kfreebsd arch restrictions from Build-Depends
  • Update Standards-Version to 4.7.3 and add Rules-Requires-Root: no
  • Fix SimpleInternalFrame.java path in debian/copyright
  • Add repackaging comment to debian/copyright
  • Remove redundant Section field from zeroc-ice-slice package
  • Exclude Files-Excluded files from orig tarball via git archive pathspecs
  • Remove zeroc-ice-ice2slice package and add quilt patch to exclude it from the build
  • Fix duplicate short description in transitional packages
  • Use relaxed (>=) dependencies in zeroc-ice-compilers transitional package
  • Add lintian step to CI workflow
  • Update BUILDING.md and CI workflow with new profile name

Copilot AI review requested due to automatic review settings March 30, 2026 15:29
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates packaging metadata and build scripts for the 3.8.1-1 release to address Debian/Lintian upload requirements and remove obsolete Debian packaging for ice2slice.

Changes:

  • Fix RPM major/minor version macros and package naming from 3.9 → 3.8.
  • Update Debian packaging: rename build profile from no-python312nopython, adjust dependencies/metadata, and remove the zeroc-ice-ice2slice binary package.
  • Repackaging guidance: exclude Gradle wrapper artifacts from the upstream tarball and update related Debian docs/scripts.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
packaging/rpm/ice.spec Corrects mmversion to 3.8 for RPM naming/sonames.
packaging/rpm/README Updates RPM runtime package name to libice3.8-c++.
packaging/deb/debian/zeroc-ice-ice2slice.lintian-overrides Removes Lintian overrides for deleted ice2slice Debian package.
packaging/deb/debian/zeroc-ice-ice2slice.install Removes install manifest for deleted ice2slice Debian package.
packaging/deb/debian/rules Switches build profile gate to nopython for Python packaging steps.
packaging/deb/debian/copyright Documents repackaging and updates a Java file path reference.
packaging/deb/debian/control Updates build profiles/deps, bumps Standards-Version, adds Rules-Requires-Root: no, removes ice2slice package stanza.
packaging/deb/debian/changelog Updates the 3.8.1-1 entry timestamp.
packaging/deb/debian/README Removes zeroc-ice-ice2slice from the Debian package list.
packaging/deb/debian/BUILDING.md Updates repack/build instructions (excludes Gradle wrapper; uses nopython).
packaging/deb/build-package.sh Updates CI build script to create a repacked orig tarball with exclusions and proper prefix.
.github/workflows/build-deb-packages.yml Updates Debian 12 builds to use DEB_BUILD_PROFILES=nopython.

Source: https://github.com/zeroc-ice/
Comment: Repackaged to remove pre-built Java binaries (gradle-wrapper.jar) and
files not needed for the Debian build.
Files-Excluded: */gradle/GRADLE_LICENSE */gradle/wrapper */gradlew* cpp/src/IceUtil/ConvertUTF.*
Copy link

Copilot AI Mar 30, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Files-Excluded lists */gradle/wrapper, but the repackaging notes/scripts exclude */gradle/wrapper/* (to drop gradle-wrapper.jar). As written, */gradle/wrapper doesn’t match files under that directory, so the gradle wrapper artifacts may still be included when tools rely on Files-Excluded (e.g., repacks based on this metadata). Update Files-Excluded to exclude the wrapper contents (e.g., */gradle/wrapper/* or the specific jar/properties files) so it matches the documented intent.

Suggested change
Files-Excluded: */gradle/GRADLE_LICENSE */gradle/wrapper */gradlew* cpp/src/IceUtil/ConvertUTF.*
Files-Excluded: */gradle/GRADLE_LICENSE */gradle/wrapper/* */gradlew* cpp/src/IceUtil/ConvertUTF.*

Copilot uses AI. Check for mistakes.
@pepone pepone changed the title 3.8.1 1 Fix Debian packaging lintian errors Mar 30, 2026
pepone added 5 commits March 30, 2026 18:12
- Install systemd services to /usr/lib/systemd/system/ (aliased-location)
- Fix mismatched lintian overrides by removing specific context
- Remove obsolete syslog.target from systemd service files
- Update debian/watch to version 5
- Add Origin field to quilt patch referencing upstream commit
- Add missing copyright attributions for Bison Grammar.cpp, docfx CSS,
  and third-party license documentation files
- Exclude packaging/rpm/ from Debian orig tarball
- Add Priority, Rules-Requires-Root, remove redundant Section fields
These languages and platforms are not built as Debian packages.
Excluding them simplifies the copyright file and reduces tarball size.
Backport fix for "specifed" -> "specified" typo in icegriddb and
icestormdb man pages from upstream commit 88dd46c.
- Exclude js/* from orig tarball (not built for Debian)
- Add Grammar.h to Bison copyright stanza (same license as Grammar.cpp)
- Expand unicode test glob to cover LICENSE file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants