Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898570 - sys-devel/gettext-0.22.5-r1 has implicit function declarations in configure logs (MUSL-CLANG-SYSTEM)
Summary: sys-devel/gettext-0.22.5-r1 has implicit function declarations in configure l...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard: musl
Keywords: PullRequest
Depends on:
Blocks: implicit-in-configure gcc-14-stable
  Show dependency tree
 
Reported: 2023-03-01 08:58 UTC by Agostino Sarubbo
Modified: 2025-01-12 08:33 UTC (History)
2 users (show)

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


Attachments
build.log.xz (build.log.xz,75.58 KB, application/x-xz)
2023-03-01 08:58 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-03-01 08:58:05 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-devel/gettext-0.21.1 has implicit function declarations in configure logs (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.
See also: https://bugs.gentoo.org/898488#c4.
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-01 08:58:07 UTC
Created attachment 855378 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Matt Turner gentoo-dev 2023-05-10 02:02:42 UTC
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:12077 - fpurge
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15626 - re_set_syntax
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15638 - re_compile_pattern
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15644 - re_search
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15647 - re_set_syntax
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15650 - re_compile_pattern
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15656 - re_search
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15659 - re_set_syntax
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15668 - re_compile_pattern
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-tools/config.log:15674 - re_search
>  *   /var/tmp/portage/sys-devel/gettext-0.21.1/work/gettext-0.21.1-abi_x86_64.amd64/gettext-runtime/config.log:5528 - MIN
Comment 3 Agostino Sarubbo gentoo-dev 2023-06-20 06:10:17 UTC
ci has reproduced this issue with version 0.22 - Updating summary.
Comment 4 Agostino Sarubbo gentoo-dev 2023-06-26 06:50:08 UTC
ci has reproduced this issue with version 0.22-r1 - Updating summary.
Comment 5 Agostino Sarubbo gentoo-dev 2023-12-19 14:50:49 UTC
gcc14_tinderbox has reproduced this issue with version 0.22.4 - Updating summary.
Comment 6 Larry the Git Cow gentoo-dev 2024-02-22 06:58:12 UTC
The bug has been referenced in the following commit(s):

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

commit c3bc7ad795eb43297d704e0e193c7b0531064d71
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-22 06:56:19 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-22 06:57:00 +0000

    dev-libs/libintl: add 0.22.5
    
    gnulib FPs.
    
    Bug: https://bugs.gentoo.org/898570
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libintl/Manifest              |   2 +
 dev-libs/libintl/libintl-0.22.5.ebuild | 107 +++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

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

commit 1922bfee73c961edf09e5f28a5bfdbaaa378fe7a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-22 06:53:35 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-22 06:56:56 +0000

    sys-devel/gettext: add 0.22.5
    
    gnulib FPs.
    
    Bug: https://bugs.gentoo.org/898570
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gettext/Manifest              |   2 +
 sys-devel/gettext/gettext-0.22.5.ebuild | 199 ++++++++++++++++++++++++++++++++
 2 files changed, 201 insertions(+)
Comment 7 Agostino Sarubbo gentoo-dev 2024-02-22 09:21:52 UTC
tinderbox_musl has reproduced this issue with version 0.22.5 - Updating summary.
Comment 8 Eli Schwartz gentoo-dev 2024-07-01 03:29:14 UTC
Musl-specific false positives for re_*, fixed in portage via https://gitweb.gentoo.org/proj/portage.git/commit/?id=9728fbba80abeec5adad8ba6cf7580c16c039a45 and backported in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3082a374769c47114474d34fde309dcfbeb7f5ad


MIN false positive, fixed in portage via https://gitweb.gentoo.org/proj/portage.git/commit/?id=8256473c6a9fa93e7cf81c46fa920cd522507c21 and backported in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cdb1b2ae41b13dc7f25b6d64c0b6ab19e4272dd

The errors are multiplying. Original report has only fpurge left. Now we get:

 * QA Notice: Found the following implicit function declarations in configure logs:
 *   /var/tmp/portage/sys-devel/gettext-0.22.5/work/gettext-0.22.5-abi_x86_64.amd64/gettext-runtime/intl/config.log:1527 - _exit
 *   /var/tmp/portage/sys-devel/gettext-0.22.5/work/gettext-0.22.5-abi_x86_64.amd64/libtextstyle/config.log:782 - _exit
 *   /var/tmp/portage/sys-devel/gettext-0.22.5/work/gettext-0.22.5-abi_x86_64.amd64/gettext-tools/config.log:14040 - fpurge
 * Check that no features were accidentally disabled.
 * See https://wiki.gentoo.org/wiki/Modern_C_porting.
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2024-11-19 22:08:34 UTC
For glibc, works fine with gcc13, gcc14, clang18 (no warnings / errors / qa messages)
Comment 10 Agostino Sarubbo gentoo-dev 2024-11-23 17:59:42 UTC
tinderbox_musl has reproduced this issue with version 0.22.5-r1 - Updating summary.
Comment 11 Eli Schwartz gentoo-dev 2025-01-12 08:33:40 UTC
commit 226c8a2b07496539505cfb12fccba99125663211
Author:     Sam James <sam@gentoo.org>
AuthorDate: Tue Dec 3 06:02:23 2024
Commit:     Sam James <sam@gentoo.org>
CommitDate: Tue Dec 3 06:13:54 2024

    sys-devel/gettext: add 0.23
    
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/gettext/Manifest                                          |  2 ++
 sys-devel/gettext/files/gettext-0.23-libxml2-2.12.0.patch           | 44 ++++++++++++++++++++++++++++++++++++++++++++
 sys-devel/gettext/{gettext-0.22.5-r1.ebuild => gettext-0.23.ebuild} |  1 +
 3 files changed, 47 insertions(+)
 create mode 100644 sys-devel/gettext/files/gettext-0.23-libxml2-2.12.0.patch
 copy sys-devel/gettext/{gettext-0.22.5-r1.ebuild => gettext-0.23.ebuild} (99%)


fpurge is fixed in this version. Previous versions may genuinely miscompile in the combination of musl + cross.