[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: suse open build service - debian builds


On Tuesday, December 10th, 2024 at 01:26, gbWilly <gbWilly@xxxxxxxxxxxxxx> wrote:

> debian packaging can be a bitch, and wrapped in a layer like an osb builder it gives that extra hurdle to take (as Benoit is finding out atm).
> 
> I'm mainly trying to explain how errors can be solved and that native probably will be easier to get the job done and more appropriate as originator of the source.
> But if Benoit prefers quilt, then my answer to him is to provide the 3rd required file being pristine tarball of source (no recipe in there), instead of only the debian.tar.gz and .dsc. and see what happens.

To Benoit, I just noticed a new build with source archive added.

What version do you use in your debian/changelog etc, as that matters? That is what dpkg-buildpackage and it's sub sentinels like dpkg-source check (and .dsc I suppose -> no experience with that, but version in there should be taken from changelog when dpkg-source makes the .dcs from recipe)

If you do a quilt build and your version is x.y.z at minimal a -1 will be added, where - starts numbering that diverts from native build x.y.z
So, I you want to prevent changes to changelog by osb (probably just adjusting it to comply with debian rules), make a version number for quilt like x.y.z-1.
That might prevent osb messing it up.

In short on versions in changelog (very important):
- quilt requires '-' 
- native '-' is forbidden

Here is your error, I wonder if can you get to this diff file? It would explain a lot if you could.
---
[  113s] dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/gambas3_3.19.90+git.20241210-1.diff.n7wBgs
---

gbWilly


Follow-Ups:
Re: suse open build service - debian buildsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: suse open build service - debian buildsT Lee Davidson <t.lee.davidson@xxxxxxxxx>
References:
suse open build service - debian buildsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: suse open build service - debian buildsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: suse open build service - debian buildsT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: suse open build service - debian buildsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: suse open build service - debian buildsT Lee Davidson <t.lee.davidson@xxxxxxxxx>
Re: suse open build service - debian buildsgbWilly <gbWilly@xxxxxxxxxxxxxx>