Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 894750 - dev-db/libdbi-drivers-0.9.0-r1 fails to compile (MUSL-CLANG-SYSTEM): constraint.c:104:22: error: incompatible function pointer types assigning to [-Wincompatible-function-pointer-types]
Summary: dev-db/libdbi-drivers-0.9.0-r1 fails to compile (MUSL-CLANG-SYSTEM): constrai...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-02-16 09:14 UTC by Agostino Sarubbo
Modified: 2023-12-20 15:19 UTC (History)
0 users

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


Attachments
build.log (build.log,62.62 KB, text/plain)
2023-02-16 09:14 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-16 09:14:39 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-db/libdbi-drivers-0.9.0-r1 fails to compile (MUSL-CLANG-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-CLANG-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc + clang16 but this bug MAY or MAY NOT BE related to musl/clang16.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-16 09:14:42 UTC
Created attachment 851770 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2023-12-20 15:19:00 UTC
The bug has been closed via the following commit(s):

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

commit d306c830e97ab2bd9dc4e305010103a76e073263
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-12-20 15:17:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-20 15:18:40 +0000

    dev-db/libdbi-drivers: use fedora's modern C patch
    
    Less void* casting.
    
    Closes: https://bugs.gentoo.org/894750
    Closes: https://bugs.gentoo.org/873997
    Closes: https://bugs.gentoo.org/870961
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libdbi-drivers-0.9.0-clang16-build-fix.patch   | 44 ++++++++++++++++------
 1 file changed, 32 insertions(+), 12 deletions(-)

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

commit b2e1041ed376765bfd59dfcbddbd58c1cefc98af
Author:     Brahmajit Das <brahmajit.xyz@gmail.com>
AuthorDate: 2023-09-23 17:57:56 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-20 15:18:40 +0000

    dev-db/libdbi-drivers: Fix incompatible function pointer types
    
    And update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/894750
    Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/33013
    Signed-off-by: Sam James <sam@gentoo.org>

 .../libdbi-drivers-0.9.0-clang16-build-fix.patch   | 33 ++++++++
 .../libdbi-drivers/libdbi-drivers-0.9.0-r2.ebuild  | 87 ++++++++++++++++++++++
 2 files changed, 120 insertions(+)