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

Re: suse open build service - debian builds





gbWilly

Gambas3 for Debian

Sent with Proton Mail secure email.

On Tuesday, December 10th, 2024 at 02:11, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 10/12/2024 à 01:55, gbWilly a écrit :
> 
> > 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
> 
> 
> No idea what means this error. All these files are internally generated
> by OBS with its 'debtransform' tools.
> 
> I just try to make 'debtransform' put in the changelog the same version
> as it uses, as I explained before.
>
> Apparently it does not do it if the changelog file is inside the debian
> tar.gz file.

That seems to be right and said changelog is meant as a change to the one found in the .dsc file (that originates from debian/changelog that is in the debian.tar.gz, hence why)

I found this on https://en.opensuse.org/openSUSE:Build_Service_Debian_builds
---
If you add a debian.changelog, OBS checks if the version number of the changelog matches the one found in the .dsc file. If not, it adds a fake entry containing the version number from the .dsc file. This ensures that the version of source and binary package stays in sync. 
---

So file needs to be named debian.changelog (or debian_11.changelog? etc ).
It is an osb thing these DEBTRANSFORMS, so I rely on online documentation to figure out the osb part of the total build.


> By the way: when you compare ArchLinux PKGBUILD with rpm spec file or,
> worse, debian and all its files that duplicate the same information inin
> many places... The word "overengineered" comes to the mind.

Yeah, I've seen that debian is complicated compared to what you are making for ArchLinux as a recipe.


gbWilly


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>
Re: suse open build service - debian buildsgbWilly <gbWilly@xxxxxxxxxxxxxx>
Re: suse open build service - debian buildsBenoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>