[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: suse open build service - debian builds
[Thread Prev] | [Thread Next]
- Subject: Re: suse open build service - debian builds
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Tue, 10 Dec 2024 23:16:41 +0000
- Cc: user@xxxxxxxxxxxxxxxxxxxxxx
> 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. > Ok, I have seen your build log being this: ---- [ 466s] Making all in gb.db.mysql [ 466s] make[3]: Entering directory '/usr/src/packages/BUILD/gb.db.mysql' [ 466s] make[4]: Entering directory '/usr/src/packages/BUILD/gb.db.mysql' [ 466s] Making all in src [ 466s] make[5]: Entering directory '/usr/src/packages/BUILD/gb.db.mysql/src' [ 466s] main.c:758:27: error: 'MYSQL_OPT_LOAD_DATA_LOCAL_DIR' undeclared here (not in a function) [ 466s] 758 | { "LOAD_DATA_LOCAL_DIR", MYSQL_OPT_LOAD_DATA_LOCAL_DIR, GB_T_STRING}, [ 466s] | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 466s] make[5]: *** [Makefile:500: gb_db_mysql_la-main.lo] Error 1 [ 466s] make[5]: Leaving directory '/usr/src/packages/BUILD/gb.db.mysql/src' [ 466s] make[4]: *** [Makefile:444: all-recursive] Error 1 [ 466s] make[4]: Leaving directory '/usr/src/packages/BUILD/gb.db.mysql' [ 466s] make[3]: *** [Makefile:376: all] Error 2 [ 466s] make[3]: Leaving directory '/usr/src/packages/BUILD/gb.db.mysql' [ 466s] make[2]: *** [Makefile:456: all-recursive] Error 1 [ 466s] make[2]: Leaving directory '/usr/src/packages/BUILD' [ 466s] make[1]: *** [Makefile:397: all] Error 2 [ 466s] make[1]: Leaving directory '/usr/src/packages/BUILD' [ 466s] dh_auto_build: error: make -j4 returned exit code 2 [ 466s] make: *** [debian/rules:31: build] Error 25 [ 466s] dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 ---- I checked for my build.log of my last gambas3_3.19.90.20241208+git64189e64~ubuntu20.04 build being the last one I did, and tested as mentioned before. Here is my output on that part: ---- Making all in gb.db.mysql make[3]: Entering directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql' make[4]: Entering directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql' Making all in src make[5]: Entering directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql/src' make[5]: Leaving directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql/src' make[5]: Entering directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql' make[5]: Leaving directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql' make[4]: Leaving directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql' make[3]: Leaving directory '/home/willy/shared/gambas-3.19.90.20241208+git64189e64/gb.db.mysql' Making all in gb.db.odbc ---- You see, no problems, unless things changed since 3.19.90.20241208+git64189e64. The date is download date and git short commit, when recipe was made. I build the packages past midnight, so on the 9th. and I made repo the evening of the 9th and installed it successfully. In the made .deb package archive the DEBIAN/control for gambas-gb-db-mysql and gambas-gb-db2-mysql depends on libmysqlclient21 (>= 8.0.11). I find it really strange to see your error after my own build going great. gbWilly
Re: suse open build service - debian builds | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: suse open build service - debian builds | T Lee Davidson <t.lee.davidson@xxxxxxxxx> |
Re: suse open build service - debian builds | Benoît Minisini <benoit.minisini@xxxxxxxxxxxxxxxx> |
Re: suse open build service - debian builds | gbWilly <gbWilly@xxxxxxxxxxxxxx> |