Skip to content

Ubuntu 26.04 incompatibility when building gdrcopy Debian packages #339

@sid1994

Description

@sid1994

On Ubuntu 26.04, building the gdrcopy libgdrapi 2.5.2 Debian packages fails during dpkg-buildpackage with a dpkg-source error related to the 3.0 (quilt) source format and non-native versioning.

Environment
OS: Ubuntu 26.04, x86_64 (see notes)
gdrcopy version: 2.5.2 (libgdrapi-2.5.2 source tree)
The same gdrcopy source and packaging flow do not exhibit this issue on earlier Ubuntu versions; we only see the failure on Ubuntu 26.04.

Steps to Reproduce

  1. On Ubuntu 26.04 x86_64, obtain the gdrcopy version 2.5.2.
  2. Build gdrcopy, and run the packages/build-deb-packages.sh script.

Failure output
...
dpkg-source -b .
dpkg-source: error: cannot build with source format '3.0 (quilt)': non-native package version does not contain a revision
dpkg-buildpackage: error: dpkg-source -b . subprocess failed with exit status 25
debuild: fatal error at line 1185:
dpkg-buildpackage -d -us -uc -ui failed
...

Notes / Current Status
This problem was detected on gdrcopy 2.5.2 which does not support Ubuntu 26.04, and therefore runs into this packaging failure.
Other gdrcopy versions (depending on the version) may also suffer from this problem.
The error is caused by stricter Debian tooling behavior in Ubuntu 26.04 around non-native package versions used with the 3.0 (quilt) source format (e.g., requiring a Debian revision in the version string).
While older dpkg versions in previous Ubuntu distributions were relaxed, new dpkg version shipped with Ubuntu 26 strictly enforces the requirement of Debian revision in the version string.
We plan to address this problem in gdrcopy 2.6 which will likely be released sometime in May.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions