Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893912 - dev-db/mysql-connector-c-8.0.31: possible configure breakage with clang 16
Summary: dev-db/mysql-connector-c-8.0.31: possible configure breakage with clang 16
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard: fixed in 8.0.36
Keywords:
Depends on:
Blocks: implicit-in-configure
  Show dependency tree
 
Reported: 2023-02-11 05:18 UTC by Sam James
Modified: 2024-11-02 22:57 UTC (History)
2 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 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-11 05:18:42 UTC
```
--- /tmp/clang/home/tinderbox/img/17.1_no_multilib_hardened-j4-20221204-010004/var/tmp/clang/games-fps/quakeforge-0.7.2_p20210722-r1/clang16-safe.log   2023-02-11 03:38:29.993568907 +0000
+++ /tmp/clang/home/tinderbox/img/17.1_no_multilib_hardened-j4-20221204-010004/var/tmp/clang/games-fps/quakeforge-0.7.2_p20210722-r1/clang16-errors.log 2023-02-11 03:38:29.993568907 +0000

-/var/tmp/portage/dev-db/mysql-connector-c-8.0.31/work/mysql-8.0.31/cmake/stack_direction.c:33:16: warning: incompatible function pointer types initializing 'volatile int (*)(int *)' with an expression of type 'int (int *)' [-Wincompatible-function-pointer-types]
+/var/tmp/portage/dev-db/mysql-connector-c-8.0.31/work/mysql-8.0.31/cmake/stack_direction.c:33:16: error: incompatible function pointer types initializing 'volatile int (*)(int *)' with an expression of type 'int (int *)' [-Werror,-Wincompatible-function-pointer-types]
 volatile int (*ptr_f)(int *) = f;
                ^               ~
```
Comment 1 Larry the Git Cow gentoo-dev 2024-04-27 12:54:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e810c9b1123f6c07d92328dfdf1e60498bc392

commit 65e810c9b1123f6c07d92328dfdf1e60498bc392
Author:     Tomáš Mózes <hydrapolic@gmail.com>
AuthorDate: 2024-04-08 14:37:50 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-04-27 12:53:24 +0000

    dev-db/mysql-connector-c: add 8.0.36
    
    Changes:
    - musl patch upstreamed, see [1-3]
    - mysql.info not present any more, see [4]
    - lz4 patch updated
    
    [1] https://github.com/mysql/mysql-server/commit/dc6b9e2556bf247cda80670b824cb24b271946f2
    [2] https://bugs.mysql.com/bug.php?id=110808
    [3] https://github.com/mysql/mysql-server/pull/455
    [4] https://github.com/mysql/mysql-server/commit/18b2dd3ddfbe06bef9a378f1a87e63d494514b0b
    
    Closes: https://bugs.gentoo.org/893912
    Closes: https://bugs.gentoo.org/900667
    Closes: https://bugs.gentoo.org/759058
    Closes: https://bugs.gentoo.org/882743
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36160
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-db/mysql-connector-c/Manifest                  |   1 +
 ...-8.0.36-always-build-decompress-utilities.patch |  23 ++++
 .../mysql-connector-c-8.0.36.ebuild                | 123 +++++++++++++++++++++
 3 files changed, 147 insertions(+)