[Behavior change] Git build recipes fail over presence of package revision

Bug #2028978 reported by Peter J. Mello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
launchpad-buildd
New
Undecided
Unassigned

Bug Description

For something like a week I've been seeing a new behavior regarding builds from git-build-recipe, namely if the version string has a hyphen-minus (indicating a package revision under the '3.0 (quilt)' package format), the initial source package assembly stage will error out at the end with:

    dpkg-buildpackage: info: source package libcpr
    dpkg-buildpackage: info: source version 1.11.0+git202307271916~09e9f84-1daily950~ubuntu23.10.1
    dpkg-buildpackage: info: source distribution mantic
    dpkg-buildpackage: info: source changed by Launchpad Package Builder <email address hidden>
    dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision
    dpkg-buildpackage: error: dpkg-source -i -I.bzr -I.git -b . subprocess returned exit status 25

Source: <https://code.launchpad.net/~appimagelauncher-team/+archive/ubuntu/daily/+recipebuild/3579288>

Prior to this change according to my recollection, it would print a similar message about building the package as '3.0 (native)' even though debian/source/format specified '3.0 (quilt)' but accept the version string with the revision and continue to the binary package builds. Removing the hyphen-minus so the version satisfies the restrictions on version strings for the native format clears the error and the package builds as normal.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.