Summary: | net-misc/dahdi-3.2.0 fails to compile: dahdi-sysfs.c:272:27: error: initialization of [-Werror=incompatible-pointer-types] | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Jaco Kroon <jaco> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | proxy-maint, sam, toralf |
Priority: | Normal | Keywords: | PMASKED, PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/31154 https://github.com/gentoo/gentoo/pull/31574 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 914477 | ||
Bug Blocks: | 870412 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2023-05-12 06:16:59 UTC
Created attachment 861553 [details]
build.log
build log and emerge --info
Notes to self: This is against gentoo-kernel-bin. There seems to be a difference in the API for include/linux/device/bus.h, specifically the struct seems to have a const for the first parameter of the uevent function pointer. The -Werror argument itself comes from the kernel sources. One fix is to eliminate -Werror, the other is to vary the const'ness depending on what we're compiling against. https://github.com/gentoo/gentoo/pull/30996 Above is incorrect. As of right now there is no working theory on what causes the problem. The PR 31154 referenced contains discussion around similar potentially related stuff that may be useful to reference. *** Bug 907383 has been marked as a duplicate of this bug. *** (In reply to Jaco Kroon from comment #4) Hi Jaco. I've taken Ionen's initial porting work to linux-mod-r1 and added some patches for clang-16 build. Can you please review my PR: https://github.com/gentoo/gentoo/pull/31574 Last-rited, please see bug #914477. |