Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 833760 - dev-db/mariadb-10.11: version bump
Summary: dev-db/mariadb-10.11: version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords: PullRequest
: 836823 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-02-19 10:04 UTC by Perfect Gentleman
Modified: 2023-07-13 07:59 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2022-02-19 10:04:07 UTC
mariadb-10.7.3 is out. https://mariadb.org/mariadb/all-releases/

Reproducible: Always
Comment 1 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-02-19 14:50:40 UTC
Yeah, need bumps for all branches.
Comment 2 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-02-20 01:26:10 UTC
Security bug already exists, version bump bug is not a security bug.
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-01 13:41:01 UTC
Ping whissi
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-04-06 02:01:16 UTC
*** Bug 836823 has been marked as a duplicate of this bug. ***
Comment 5 EK 2022-04-06 08:24:59 UTC
mariadb-10.4.24 with security fixes fir 10.4 branch is available
Comment 6 Michiel Hazelhof 2022-04-24 20:38:01 UTC
Is there a reason updates get delayed? And is there something we can do to help?
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-05 12:07:57 UTC
@qa, FWICS the new version includes fixes for 5 CVEs.  The maintainer has blocked the update almost a month ago based on unexplained "serious regressions" and has not replied since.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-12 20:44:11 UTC
Other branches need doing.
Comment 9 Dennis Schridde 2022-05-13 18:38:13 UTC
This also blocks bug #832012, because upstream fixed the segfault in versions 10.5.16, 10.6.8, 10.7.4, 10.8.3 (cf. https://jira.mariadb.org/browse/MDEV-27900).
Comment 10 Dennis Schridde 2022-05-13 18:41:57 UTC
(In reply to Dennis Schridde from comment #9)
> This also blocks bug #832012, because upstream fixed the segfault in
> versions 10.5.16, 10.6.8, 10.7.4, 10.8.3 (cf.
> https://jira.mariadb.org/browse/MDEV-27900).

Sorry, I just noticed these versions are not yet released.  Nevertheless a backport would probably be easier, if we had the latest released versions available in Gentoo.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 22:15:08 UTC
https://bugs.gentoo.org/832490#c7

All done by now, I think.
Comment 12 Perfect Gentleman 2022-05-31 22:46:38 UTC
(In reply to Sam James from comment #11)
> https://bugs.gentoo.org/832490#c7
> 
> All done by now, I think.

How? As latest releases are 10.8.3, 10.7.4,  10.6.8,  10.5.16, 10.4.25, 10.3.35, 10.2.44.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 23:09:34 UTC
Oh right, 10.7.x and 10.8.x not done. But the rest are.
Comment 14 Tomáš Mózes 2022-10-27 07:08:09 UTC
Seems like the release cycles are speeding up and 10.7, 10.8, 10.9 are only short living releases with EOL next year. The 10.6 branch will be supported until 07/2026. 

I know it would be best to have all versions in portage, but it takes some time and no Gentoo developer is doing it at the moment as @Whissi left Gentoo.

https://mariadb.com/kb/en/mariadb-server-release-dates/
Comment 15 Michiel Hazelhof 2022-10-28 08:55:39 UTC
Could take a look into becomming a maintainer, but might take some time as I haven't spend much time on ebuilds yet.
But the lack of proper builds is really becoming unworkable.
Comment 16 Michiel Hazelhof 2022-11-08 15:46:10 UTC
Not going to maintain this, do not have the required skill set to maintain the custom patchset.
Comment 17 Tomáš Mózes 2023-02-09 06:53:22 UTC
Feedback for mariadb-10.11.1 from the PR is welcome. It passed the included tests and successfully updated from 10.6 to 10.11 on amd64.

I'd skip 10.7 .. 10.10 as they'll EOL soon (as mentioned previously).
Comment 18 Michiel Hazelhof 2023-02-09 07:29:23 UTC
Don't see anything strange in the PR, will try to build and use it sometime this weekend.
Comment 19 Michiel Hazelhof 2023-02-13 15:39:10 UTC
/var/tmp/portage/dev-db/mariadb-10.11.1/temp/environment: line 1280: /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch: No such file or directory
/var/tmp/portage/dev-db/mariadb-10.11.1/temp/environment: line 1283: /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch: No such file or directory                                                                                                                           [ !! ]
 * ERROR: dev-db/mariadb-10.11.1::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch
 *
 * Call stack:
 *               ebuild.sh, line  136:  Called src_prepare
 *             environment, line 4397:  Called eapply '/var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch'
 *             environment, line 1348:  Called _eapply_patch '/var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch'
 *             environment, line 1286:  Called __helpers_die 'patch -p1  failed with /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch'
 *   isolated-functions.sh, line  112:  Called die
 * The specific snippet of code:
 *              die "$@"
 *
 * If you need support, post the output of `emerge --info '=dev-db/mariadb-10.11.1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-10.11.1::gentoo'`.
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =mariadb-10.11.1
 * The complete build log is located at '/var/log/portage/dev-db:mariadb-10.11.1:20230213-153753.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-db/mariadb-10.11.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-10.11.1/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mariadb-10.11.1/work/mysql'
 * S: '/var/tmp/portage/dev-db/mariadb-10.11.1/work/mysql'
Comment 20 Tomáš Mózes 2023-02-13 16:37:39 UTC
(In reply to Michiel Hazelhof from comment #19)
> /var/tmp/portage/dev-db/mariadb-10.11.1/temp/environment: line 1280:
> /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch:
> No such file or directory
> /var/tmp/portage/dev-db/mariadb-10.11.1/temp/environment: line 1283:
> /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch:
> No such file or directory                                                   
> [ !! ]
>  * ERROR: dev-db/mariadb-10.11.1::gentoo failed (prepare phase):
>  *   patch -p1  failed with
> /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch
>  *
>  * Call stack:
>  *               ebuild.sh, line  136:  Called src_prepare
>  *             environment, line 4397:  Called eapply
> '/var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch'
>  *             environment, line 1348:  Called _eapply_patch
> '/var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch'
>  *             environment, line 1286:  Called __helpers_die 'patch -p1 
> failed with
> /var/tmp/portage/dev-db/mariadb-10.11.1/files/mariadb-10.6.12-gcc-13.patch'
>  *   isolated-functions.sh, line  112:  Called die
>  * The specific snippet of code:
>  *              die "$@"
>  *
>  * If you need support, post the output of `emerge --info
> '=dev-db/mariadb-10.11.1::gentoo'`,
>  * the complete build log and the output of `emerge -pqv
> '=dev-db/mariadb-10.11.1::gentoo'`.
> !!! When you file a bug report, please include the following information:
> GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
> JAVACFLAGS="" COMPILER=""
> and of course, the output of emerge --info =mariadb-10.11.1
>  * The complete build log is located at
> '/var/log/portage/dev-db:mariadb-10.11.1:20230213-153753.log'.
>  * For convenience, a symlink to the build log is located at
> '/var/tmp/portage/dev-db/mariadb-10.11.1/temp/build.log'.
>  * The ebuild environment file is located at
> '/var/tmp/portage/dev-db/mariadb-10.11.1/temp/environment'.
>  * Working directory: '/var/tmp/portage/dev-db/mariadb-10.11.1/work/mysql'
>  * S: '/var/tmp/portage/dev-db/mariadb-10.11.1/work/mysql'

The patch is not in the repository yet, you can get it from:
https://github.com/gentoo/gentoo/blob/121164b2dfa1f75469c9a9efce0a1e7f82ed2a6d/dev-db/mariadb/files/mariadb-10.6.12-gcc-13.patch

https://raw.githubusercontent.com/gentoo/gentoo/121164b2dfa1f75469c9a9efce0a1e7f82ed2a6d/dev-db/mariadb/files/mariadb-10.6.12-gcc-13.patch
Comment 21 Michiel Hazelhof 2023-02-14 11:43:00 UTC
Compiled and upgraded just fine on ~AMD64, seems to work just fine after mysql_upgrade.

Will keep everyone informed if something happens.
Comment 22 Tomáš Mózes 2023-02-14 12:35:41 UTC
(In reply to Michiel Hazelhof from comment #21)
> Compiled and upgraded just fine on ~AMD64, seems to work just fine after
> mysql_upgrade.
> 
> Will keep everyone informed if something happens.

Thanks for testing Michiel!
Comment 23 Larry the Git Cow gentoo-dev 2023-02-15 05:53:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fd429dd2c0b2a2fd2c519553560f1e7e3a02d1e

commit 4fd429dd2c0b2a2fd2c519553560f1e7e3a02d1e
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2023-02-08 21:33:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-02-15 05:50:52 +0000

    dev-db/mariadb: add 10.11.1
    
    No keywords for now
    
    Closes: https://bugs.gentoo.org/833760
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/29498
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mariadb/Manifest               |    2 +
 dev-db/mariadb/mariadb-10.11.1.ebuild | 1319 +++++++++++++++++++++++++++++++++
 dev-db/mariadb/mariadb-10.4.28.ebuild |    4 +
 dev-db/mariadb/mariadb-10.5.19.ebuild |    4 +
 dev-db/mariadb/mariadb-10.6.12.ebuild |    4 +
 5 files changed, 1333 insertions(+)
Comment 24 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-15 05:54:50 UTC
(In reply to Tomáš Mózes from comment #22)
> (In reply to Michiel Hazelhof from comment #21)
> > Compiled and upgraded just fine on ~AMD64, seems to work just fine after
> > mysql_upgrade.
> > 
> > Will keep everyone informed if something happens.
> 
> Thanks for testing Michiel!

+1
Comment 25 Michiel Hazelhof 2023-02-17 12:43:44 UTC
Tried 10.11.2 (has a nice regression patch), but that fails unexpectedly:

1 out of 3 hunks FAILED -- saving rejects to file support-files/CMakeLists.txt.rej                                                                                                                                                                                                                   [ !! ]
 * ERROR: dev-db/mariadb-10.11.2::gentoo failed (prepare phase):
 *   patch -p1  failed with /var/tmp/portage/dev-db/mariadb-10.11.2/work/mariadb-patches/0004-cmake-don-t-install-mysql-d-.service-symlinks.patch
Comment 26 Tomáš Mózes 2023-03-22 06:18:31 UTC
(In reply to Michiel Hazelhof from comment #25)
> Tried 10.11.2 (has a nice regression patch), but that fails unexpectedly:
> 
> 1 out of 3 hunks FAILED -- saving rejects to file
> support-files/CMakeLists.txt.rej                                            
> [ !! ]
>  * ERROR: dev-db/mariadb-10.11.2::gentoo failed (prepare phase):
>  *   patch -p1  failed with
> /var/tmp/portage/dev-db/mariadb-10.11.2/work/mariadb-patches/0004-cmake-don-
> t-install-mysql-d-.service-symlinks.patch

You can try https://github.com/gentoo/gentoo/pull/30079
Comment 27 Michiel Hazelhof 2023-03-22 10:07:37 UTC
Works, thanks
Comment 28 Rahil Bhimjiani 2023-07-06 16:12:13 UTC
Mariadb 10.11 is LTS release. It's been stable since Feb 23 according to upstream https://mariadb.org/about/#maintenance-policy. 

Is there any reason why it isn't prefixed (~arch) yet?
Comment 29 Tomáš Mózes 2023-07-06 19:50:28 UTC
On how many machines do you run it? The more reports the sooner we can add keywords.
Comment 30 Rahil Bhimjiani 2023-07-07 14:43:46 UTC
Apologie if the previous comment sounded demanding. But I'm really curious. It builded fine on amd64. Let me know if you need more info/reports.
Comment 31 Tomáš Mózes 2023-07-13 07:58:49 UTC
(In reply to Rahil Bhimjiani from comment #30)
> Apologie if the previous comment sounded demanding. But I'm really curious.
> It builded fine on amd64. Let me know if you need more info/reports.

I'm migrating my prod instances to 10.6 and just started to migrate my testing instances to 10.11. KW added in https://github.com/gentoo/gentoo/pull/31847.
Comment 32 Larry the Git Cow gentoo-dev 2023-07-13 07:59:25 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97ac0ea14cca574ce4c9aaf8cd596e798b80b19f

commit 97ac0ea14cca574ce4c9aaf8cd596e798b80b19f
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2023-07-12 11:54:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-13 07:58:50 +0000

    dev-db/mariadb: restore keywords for 10.11.4
    
    Bug: https://bugs.gentoo.org/833760
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-db/mariadb/mariadb-10.11.4.ebuild | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)