Summary: | sys-libs/ncurses: does not set -D_XOPEN_SOURCE=600 on musl (was: app-crypt/pinentry-1.2.1: pinentry-curses.c:651:8: error: call to undeclared function 'addnwstr' (implicit function declaration)) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> |
Component: | Current packages | Assignee: | Gentoo's Team for Core System packages <base-system> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | zlogene |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://marc.info/?l=ncurses-bug&m=166268018624805&w=2 | ||
See Also: |
https://dev.gnupg.org/T6193 https://github.com/gentoo/gentoo/pull/27193 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 408963, 430702 | ||
Attachments: |
build.log
config.log |
Description
Sam James
![]() ![]() ![]() ![]() Created attachment 803842 [details]
config.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=345696eea0fbeb96946f1c1ae7293150c2c7e8ad commit 345696eea0fbeb96946f1c1ae7293150c2c7e8ad Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-09 06:09:41 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-09 11:18:53 +0000 sys-libs/ncurses: add 6.3_p20220903, use -D_XOPEN_SOURCE=600 on musl (fix ncursesw usage) Before, `pkg-config --cflags ncurses` would not include -D_XOPEN_SOURCE=600 and then various unicode/wide definitions would not be exposed. Closes: https://bugs.gentoo.org/869128 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/ncurses/Manifest | 3 + sys-libs/ncurses/ncurses-6.3_p20220903-r1.ebuild | 437 +++++++++++++++++++++++ sys-libs/ncurses/ncurses-6.3_p20220903.ebuild | 435 ++++++++++++++++++++++ 3 files changed, 875 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7a6f1a26fae20fe511f05ac09702ed3c94da6fb commit b7a6f1a26fae20fe511f05ac09702ed3c94da6fb Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-09 12:32:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-09 12:34:12 +0000 sys-libs/ncurses: use hosted patchset for 6.3_p20220903 This is needed because we really want the full generated configure files in addition to the source (configure.in changes). It's far too hard to rebase and also ensure the patches are doing what they're supposed to if just relying on patches to a huge configure script. Rebase the whole lot, and then throw in the patch for bug 869128 from 345696eea0fbeb96946f1c1ae7293150c2c7e8ad. Closes: https://bugs.gentoo.org/869128 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/ncurses/Manifest | 2 +- sys-libs/ncurses/ncurses-6.3_p20220903-r1.ebuild | 44 ++++++++++++----------- sys-libs/ncurses/ncurses-6.3_p20220903.ebuild | 46 +++++++++++++----------- 3 files changed, 50 insertions(+), 42 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c1be1b68719135411b81319ccf58959974b00c03 commit c1be1b68719135411b81319ccf58959974b00c03 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-11 14:45:48 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-11 14:49:33 +0000 sys-libs/ncurses: add 6.3_p20220910 This contains an upstream fix for the musl issue. Closes: https://bugs.gentoo.org/869128 Signed-off-by: Sam James <sam@gentoo.org> sys-libs/ncurses/Manifest | 3 + sys-libs/ncurses/ncurses-6.3_p20220910-r1.ebuild | 447 +++++++++++++++++++++++ sys-libs/ncurses/ncurses-6.3_p20220910.ebuild | 447 +++++++++++++++++++++++ 3 files changed, 897 insertions(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d46d566162258c1f1ab8411803e8800a5545424 commit 2d46d566162258c1f1ab8411803e8800a5545424 Author: Sam James <sam@gentoo.org> AuthorDate: 2022-09-13 14:25:31 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-09-13 14:26:37 +0000 net-misc/suite3270: add 4.2_p5 Also ports ncurses detection to pkg-config to fix build on musl (need -DNCURSES_WIDECHAR definition). The issue is observable with Clang 15 as it throws up implicit. decl errors. Bug: https://bugs.gentoo.org/869128 Signed-off-by: Sam James <sam@gentoo.org> net-misc/suite3270/Manifest | 1 + .../suite3270/files/suite3270-4.2_p5-egrep.patch | 21 ++++ .../suite3270-4.2_p5-ncurses-pkg-config.patch | 48 ++++++++++ net-misc/suite3270/suite3270-4.2_p5.ebuild | 106 +++++++++++++++++++++ 4 files changed, 176 insertions(+) |