[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 22:44, Benoît Minisini benoit.minisini@xxxxxxxxxxxxxxxx wrote:

Le 10/12/2024 à 22:28, gbWilly a écrit :

@ Benoit,

You need to disable mongodb for 20.04
I think that is the problem after a meld with my version.
Only difference is that your disables are above and mongodb is missing

gbWilly

And remove from dependencies in control (like for debian11)

gbWilly

No, 'gb.mongodb' compiles perfectly on Ubuntu 20.04. At least on GitLab
CI servers.


Compiled only means it will package. It says nothing if the package will actually work once installed

Debian 11 you said mongodb version library was too low to work, so I disabled mongodb in debian11
This is version for debian 11: Package: libmongoc-dev (1.17.6-1) -> https://packages.debian.org/bullseye/libmongoc-dev



So, when making recipe for ubuntu20.04 I looked up available version on ubuntu
This is version for ubuntu20.04: Package: libmongoc-dev (1.16.1-1build2) -> https://packages.ubuntu.com/focal/amd64/libmongoc-dev



As it is lower I didn't even bother packaging it for 20.04 (it works for 22.04), so now I am confused.

The problem comes from the mysql component. It is broken by MariaDB. As
MySQL and MariaDB are binary compatible, their C client libraries have
completely and randomly different connection option constants.

The code that tries to deal with version differences only works with
MySQL apparently, and is broken when the component is compiled with the
MariaDB client library. It is broken, but sometimes compiles without
error, so this is the reason why it was undetected until now.

This needs a big rewrite to be fixed.


Strange, I packaged for ubuntu 20.04, 22.04 and 24.04, debian 11 and debain 12, next made a file repo and installed on clean vm of all, but debian 12 with great succes.
All packages installed and gambas-ide started. (see attached image). This is gambas3 from 09-12-2024 downloaded from master.

gambas3.19.90.jpg

I have had, no problem, nor build reports on mysql giving me any trouble.
So, this problem you describe I don't seem to have.

I have compared .osb ubuntu recipes with mine. For 20.04 I did not see any relevant differences except for mongodb in debain/control and debian/rules, I didn't check .install files as they have diverted from mine again (I only adapted sdl.install since last meld, to make installing of made packages possible again).

Also, gb.report misses 'This component is deprecated.' in debian/control, but that will not fail a build ;-) But no further notable differences, but you removing a few dependencies I still have in my recipe (like libfribidi-dev and pkg-config).

gbWilly

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