Bug#1065275: mariadb: missing dpkg-dev (>= 1.22.5) build dependency for time_t transition

2024-03-02 Thread Otto Kekäläinen
Since this is now the first time I noticed that new time_t should be
available for testing and I started testing, I noticed that MariaDB
has built-in check to prevent it from running on 2038 at all:

# date
Thu Mar  3 05:55:28 UTC 2039

# ./sql/mariadbd --version
2039-03-03  5:58:55 0 [ERROR] This server doesn't support dates later than 2038

Seems to stem from This is due to
https://github.com/MariaDB/server/blob/11.5/sql/mysqld.cc#L3903-L3908


I am looking into this now as well..


On Sat, 2 Mar 2024 at 16:41, Otto Kekäläinen  wrote:
>
> > > Could you Sebastian perhaps quickly skim through the commit that
> > > implemented this
> > > https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8194544349982990fb2585c2a8c15c4db3904735
> > > and say if there might be something else missing as well?
> >
> > Did you mean
> > https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/d2a0784f1e01b6613fefda17199a4e9867a126c3?
> >
> > At least for now that looks good.
>
> No I meant the original one, but you have now seen the original and
> amendment and had no further comments, so seems good.
>
> I see Steven just uploaded curl 8.6.0-3.2 to fix the curl issues. I
> will continue to wait a bit for the basic dependencies to stabilize,
> for example this seems to affect many packages:
>
> libnsl2 depends on:
> - libtirpc3:armel (>= 1.0.2)
> libtirpc3t64 conflicts with:
> - libtirpc3:armel (< 1.3.4+ds-1.1)
>
> I will upload new MariaDB as soon as I can verify that it is buildable.



Bug#1065275: mariadb: missing dpkg-dev (>= 1.22.5) build dependency for time_t transition

2024-03-02 Thread Otto Kekäläinen
> > Could you Sebastian perhaps quickly skim through the commit that
> > implemented this
> > https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8194544349982990fb2585c2a8c15c4db3904735
> > and say if there might be something else missing as well?
>
> Did you mean
> https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/d2a0784f1e01b6613fefda17199a4e9867a126c3?
>
> At least for now that looks good.

No I meant the original one, but you have now seen the original and
amendment and had no further comments, so seems good.

I see Steven just uploaded curl 8.6.0-3.2 to fix the curl issues. I
will continue to wait a bit for the basic dependencies to stabilize,
for example this seems to affect many packages:

libnsl2 depends on:
- libtirpc3:armel (>= 1.0.2)
libtirpc3t64 conflicts with:
- libtirpc3:armel (< 1.3.4+ds-1.1)

I will upload new MariaDB as soon as I can verify that it is buildable.



Bug#1062841: Bug#1065275: mariadb: missing dpkg-dev (>= 1.22.5) build dependency for time_t transition

2024-03-02 Thread Sebastian Ramacher
Hi Otto

On 2024-03-02 08:19:31 -0800, Otto Kekäläinen wrote:
> Hi Sabastian!
> 
> > * The package is built with the wrong ABI.
> > * The package migrates to testing before the change is enabled in
> >   testing and builds there would be produced against the wrong ABI.
> >
> > Please add dpkg-dev (>= 1.22.5) to Build-Depends and upload the new
> > version ASAP.
> 
> Thanks for following up with builds and transitions. I can do an
> upload quickly but would like to avoid having to do a third one, so:
> 
> Could you Sebastian perhaps quickly skim through the commit that
> implemented this
> https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8194544349982990fb2585c2a8c15c4db3904735
> and say if there might be something else missing as well?

Did you mean
https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/d2a0784f1e01b6613fefda17199a4e9867a126c3?

At least for now that looks good.

Cheers
-- 
Sebastian Ramacher



Bug#1062841: Bug#1065275: mariadb: missing dpkg-dev (>= 1.22.5) build dependency for time_t transition

2024-03-02 Thread Otto Kekäläinen
Currently MariaDB is not building[1] at all due to:

**
mariadb build-depends on:
- libcurl4-openssl-dev:amd64
libcurl4-openssl-dev depends on:
- libcurl4t64:amd64 (= 8.6.0-3.1)
mariadb build-depends on:
- cmake:amd64
cmake depends on:
- libcurl4:amd64 (>= 7.16.2)
libcurl4t64 conflicts with:
- libcurl4:amd64 (< 8.6.0-3.1)
**

I can also see piuparts failing on broken libpam0t64[2] and a bunch of
other tests failing various installability problems but seems they
started before this upload, so they seem to happen only because many
other packages right now during the transition have issues.

Anyway I have the change[3] done in version control and I am ready to
upload once I get some confirmation that this is now final.

[1] https://buildd.debian.org/status/package.php?p=mariadb
[2] https://salsa.debian.org/mariadb-team/mariadb-server/-/jobs/5393728
[3] 
https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/d2a0784f1e01b6613fefda17199a4e9867a126c3



Bug#1062841: Bug#1065275: mariadb: missing dpkg-dev (>= 1.22.5) build dependency for time_t transition

2024-03-02 Thread Otto Kekäläinen
Hi Sabastian!

> * The package is built with the wrong ABI.
> * The package migrates to testing before the change is enabled in
>   testing and builds there would be produced against the wrong ABI.
>
> Please add dpkg-dev (>= 1.22.5) to Build-Depends and upload the new
> version ASAP.

Thanks for following up with builds and transitions. I can do an
upload quickly but would like to avoid having to do a third one, so:

Could you Sebastian perhaps quickly skim through the commit that
implemented this
https://salsa.debian.org/mariadb-team/mariadb-server/-/commit/8194544349982990fb2585c2a8c15c4db3904735
and say if there might be something else missing as well?

Additional background info:
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1062841
- https://salsa.debian.org/mariadb-team/mariadb-server/-/merge_requests/68



Bug#1065275: mariadb: missing dpkg-dev (>= 1.22.5) build dependency for time_t transition

2024-03-02 Thread Sebastian Ramacher
Source: mariadb
Version: 1:10.11.7-2
Severity: serious
X-Debbugs-Cc: sramac...@debian.org, vor...@debian.org

Thank you for uploading the changes required for the time_t transition.
Unfortunately, the upload was missing dpkg-dev (>= 1.22.5) in
Build-Depends. This leads to two potential issues:

* The package is built with the wrong ABI.
* The package migrates to testing before the change is enabled in
  testing and builds there would be produced against the wrong ABI.

Please add dpkg-dev (>= 1.22.5) to Build-Depends and upload the new
version ASAP.

Cheers
-- 
Sebastian Ramacher