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

Re: suse open build service - debian builds


On Sunday, December 8th, 2024 at 16:32, gbWilly gbWilly@xxxxxxxxxxxxxx wrote:

> I have done a merge request and will and another small modification.
> I hope you will include it in your next ,osb build and try something else for a change
> Some testing doesn't harm and we will learn some more.
>
> So, as soon as you have done you magic and a .osb will be there I will do a compare with my current recipes.
>
> gbWilly

I just saw you did a failed build.
Reason is in log:
[ 112s] dpkg-buildpackage: error: syntax error in debian/control at line 28: continued value line not in field

The control files you generated in debian folder have blanc lines in dependencieslike this:
---
libglew-dev,
libglib2.0-dev,

libgmime-3.0-dev,

libgmp-dev,
libgsl-dev,
---
There is your error. It has to be:
---
libglew-dev,
libglib2.0-dev,
libgmime-3.0-dev,
libgmp-dev,
libgsl-dev,
---
I believe you did almost all I would like you to try:
From build log:
[ 111s] Transforming into source package '3.0 (quilt)' format

I do not think this is needed.
If in debian/format folder source = native then dpkg-source -b will make .dsc native as well.
Do not change that and do not add the DEBTRANSFORM-FILES
Transforms are for quilt I suspect

Just upload .dsc as it together with made source archive that already includes the recipe.
That is how dpkg-source -b builds them.
So, unchanged upload of dpkg-source -b created files/archives (a archive and a .dsc file)

As it states on website for native builds (https://en.opensuse.org/openSUSE:Build_Service_Debian_builds):
---
1. For packages that ship debian/ subdirectory IN upstream source (known as native packages). = native

The pristine tarball <---- source with recipe included for native (source format 3.0 native)
A .dsc file

2. If debian/ subdirectory is provided by packager (non-native package). = quilt

The pristine tarball <---- source without recipe included
A diff or a .debian.tar.xz file <--- debian recipe (source format 3.0 quilt) in archive = DEBTRANSFORM-FILES
A .dsc file <-- modified .dsc with quilt and DEBTRANSFORM-FILES

---

diff files is for old source format 1.0 (no native/quilt there)

For 1. version should be like 3.19.90.<addition>
For 2. version should be like 3.19.90-<addition>

As long as addition is considered higher that previous addition it will install as higher version package.

Please try option 1 as that means not having to change any .dsc files nor archive names, but just upload to osb what dpkg-source -b build for you. It won't get any easier that that.

gbWilly

Attachment: Example.png
Description: PNG image


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>