Summary: | sys-devel/gettext-0.22.4 fails to compile: po-error.c:39:5: error: use of undeclared identifier 'error_at_line' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | topological-automata <safeguard_502> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | safeguard_502 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Description
topological-automata
2023-11-20 19:31:56 UTC
gettext's build.log: https://gist.github.com/formula-spectre/7b0b4420f51c0265abec5a2a1b0c4167 Created attachment 875257 [details]
emerge --info
This feels like a strange error. The undeclared identifier is declared in glibc's own error.h, but on musl systems, gettext will detect that error.h and error_at_line don't exist, and define its own. In your logs, I see this: checking whether error_at_line is declared... yes Where is this coming from? >This feels like a strange error. The undeclared identifier is declared in glibc's own >error.h, but on musl systems, gettext will detect that error.h and error_at_line don't >exist, and define its own. >In your logs, I see this: >checking whether error_at_line is declared... yes >Where is this coming from? it comes from this file: https://termbin.com/nzoi what I did is I stole the ebuild from here: https://github.com/12101111/overlay/tree/master/sys-libs/musl-legacy-compat and added error.h, to mantain the compability. maybe it's this crutch that is causing the issue? UPDATE: using musl-legacy-compat form https://github.com/12101111/overlay/tree/master/sys-libs/musl-legacy-compat makes gettext compile fine.. even though error.h is missing? before I close I would like an explanation. /x/ explain pls You have junk on your system you need to diagnose. I don't know why you have random headers but they're going to confuse configure tests. |