Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

obs_scm set package version to "-0" #431

Open
frederic-loui opened this issue Nov 4, 2021 · 2 comments
Open

obs_scm set package version to "-0" #431

frederic-loui opened this issue Nov 4, 2021 · 2 comments

Comments

@frederic-loui
Copy link

HI,
I'm building package for p4lang-p4c , while it has worked perfectly for 2 years.
Not sure why, set_version append to changelog -0 to obs_scm-versionformat. The result is that this breaks debuild build mentioning:

dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision
Looking at the log shows indeed that the issue is related to p4c_202110209b969dd6e1.2.2~nightly-0
It should not be -0. I tried various solution in order to change this, without luck.

Can you please let me know if there is a work around so that we can recover a changelog version such as p4c_202110209b969dd6e1.2.2~nightly-0+40.1 for example (+40.1 being an example, not sure if this is a random number)

PS: I'm not sure if the issue is on set_version or more globally to obs_scm. Feel free to change the issue queue in the relevant software.

Thanks !
Frederic

@frederic-loui
Copy link
Author

I found the culprit ! Basically the software (from an external repository) i cloned during obs_scm build had included recently a debian folder. This debian folder has a file format in source sub-folder that forced quilt to 3.0. DEBTRANSFORM only support quilt format 1.0. Do you know if it is possible to force the usage of quilt from OBS using _service or use a specific tag in dsc file ?

@frederic-loui frederic-loui changed the title set_version set package version to "-0" obs_scm set package version to "-0" Nov 4, 2021
@hawkeye116477
Copy link
Contributor

hawkeye116477 commented Jan 13, 2022

You can just add DEBTRANSFORM-RELEASE: 1 to dsc file and you'll have version like for example 0.5-0+40.1.

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

No branches or pull requests

2 participants