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

Re: The battle with openSUSE build service continues!


On Friday, December 6th, 2024 at 19:09, Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> wrote:

> Le 06/12/2024 à 17:04, Benoît Minisini a écrit :
> 
> > Hi,
> > 
> > I have created a Gambas account on the openSUSE build service website:
> > 
> > https://build.opensuse.org/package/show/home:gambas:gambas
> > 
> > I have copied all the configuration made by Paolo on its own account so
> > that I can test 'gambas-package-config' changes faster.
> > 
> > I have fixed many problems, but I'm currently blocked.
> > 
> > The debian builds always look for a 'gambas3_3.19.90.orig.tar.gz' source
> > package, whereas obs creates a
> > 'gambas3_3.19.90+git.20241206.dc09a667.orig.tar.gz' source package, as
> > specified in the '_service' file.
> > 
> > I don't really understand why.
> > 
> > I thought the 'set_version' service was there to replace in debian
> > configuration files its version by the one specified in the '_service'
> > file.
> > 
> > @Paolo: can you help me understand where I am wrong?
> > 
> > I have another problem with shared library files too. Apparently
> > openSUSE wants to package the '*.so.0.0' files, whereas Debian does not
> > want. So the list of files to package differ between distributions, and
> > I have to take that into account.
> > 
> > Regards,
> 
> 
> OK, ArchLinux, openSUSE Tumbleweed and Leap 15.6 build!
> 
> There is still the problem with the difference between the versions that
> prevent Debian distributions to build.
> 
> https://build.opensuse.org/package/show/home:gambas:gambas/gambas3
> 
> --
> Benoît Minisini.

Try this at home to understand (3 minute test):

Extract gambas 3.19.90 source , copy debian folder (recipe) into root of unpacked gambas source
dpkg-source -b /path/to/source
--> It will make .dsc and source archive with debian folder included,

Now change file format in unpacked gambas source/debian/source to quilt.
Again do: dpkg-source -b /path/to/source
--> You will get above error about the upstream tarball ../gambas3_3.19.90.orig.tar
The error indicates dpkg-source wants to build a source package, but quilt then somehow needs to find the upstream tarball ../gambas3_3.19.90.orig.tar
I have never succeeded in building source with dpkg-source for a quilt build, native works just fine, but needs source included.

Possible solutions:
1 Most simple is check if osb has an option to NOT build source package, only binaries

2. Use native instead of quilt in .dsc file and try again

Use native instead of quilt in .dsc file and try again 

In the beginning of this osb adventure I read about different requirements for native and quilt builds on osb.
But Paolo then stated that native builds was not possible, so I didn't further check for needed requirements.

Concerning the sdl problem on debian/ubuntu:

I have modified my sdl install as using osb .install gave me trouble because this line:
usr/lib/gambas3/gb.sdl.so*
-> this also includes gb.sdl.sound*, hence the difference

I changed it back to my old recipe .install being:
usr/lib/gambas3/gb.sdl.so
usr/lib/gambas3/gb.sdl.so.*

I do think this caused sdl not installing after investigating the .install again this morning.
I did adapt my recipe, but had a busy day, so no time to build and test installation yet.
But I will report back as soon as I did


gbWilly




Follow-Ups:
Re: The battle with openSUSE build service continues!gbWilly <gbWilly@xxxxxxxxxxxxxx>
References:
The battle with openSUSE build service continues!Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>
Re: The battle with openSUSE build service continues!Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx>