https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-libs/glib-2.74.6 has implicit function declarations in configure logs. Discovered on: amd64 (internal ref: hardened_tinderbox) NOTE: (HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Created attachment 855054 [details] build.log build log and emerge --info
ci has reproduced this issue with version 2.76.0 - Updating summary.
ci has reproduced this issue with version 2.76.0-r1 - Updating summary.
ci has reproduced this issue with version 2.76.1 - Updating summary.
ci has reproduced this issue with version 2.76.2 - Updating summary.
> * /var/tmp/portage/dev-libs/glib-2.74.6/work/glib-2.74.6-abi_x86_64.amd64/meson-logs/meson-log.txt:7277 - __sync_swap > * /var/tmp/portage/dev-libs/glib-2.74.6/work/glib-2.74.6-abi_x86_64.amd64/meson-logs/meson-log.txt:8281 - res_ndestroy I cannot reproduce the problem with __sync_swap, and even if I could I don't know what to do about it. This is a compiler-provided magic function. It doesn't have a prototype, AFAIK. I can reproduce the problem with res_ndestroy. I think this function doesn't exist on Linux? The commit that added it (https://gitlab.gnome.org/GNOME/glib/-/commit/40be86bb0e422247673ccc36fc3c493c882b4390) says: > There’s a slight complication in the fact that OS X requires the state > to be freed using res_ndestroy() rather than res_nclose(). Linux uses > res_nclose(). so I think this is expected.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/portage.git/commit/?id=a478b4c427cfc51188ec9273952ad498de95a39f commit a478b4c427cfc51188ec9273952ad498de95a39f Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-05-10 01:35:54 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-11 01:24:41 +0000 install-qa-check.d/90config-impl-decl: Skip res_ndestroy on Linux Seen in dev-libs/glib. It seems that at least Darwin, FreeBSD, OpenBSD, NetBSD, and Solaris have this function. Bug: https://bugs.gentoo.org/898232 Signed-off-by: Matt Turner <mattst88@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> bin/install-qa-check.d/90config-impl-decl | 5 +++++ 1 file changed, 5 insertions(+) https://gitweb.gentoo.org/proj/portage.git/commit/?id=e34b593e10a86ffc61d54f113729b3fb556b46c0 commit e34b593e10a86ffc61d54f113729b3fb556b46c0 Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2023-05-10 01:28:12 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-05-11 01:24:41 +0000 install-qa-check.d/90config-impl-decl: Skip compiler built-ins Bug: https://bugs.gentoo.org/879687 Bug: https://bugs.gentoo.org/898232 Signed-off-by: Matt Turner <mattst88@gentoo.org> Signed-off-by: Sam James <sam@gentoo.org> bin/install-qa-check.d/90config-impl-decl | 13 +++++++++++++ 1 file changed, 13 insertions(+)
ci has reproduced this issue with version 2.76.3 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08be91eebdbff0de0e033efe30c633219a9859ca commit 08be91eebdbff0de0e033efe30c633219a9859ca Author: Sam James <sam@gentoo.org> AuthorDate: 2023-06-01 01:22:47 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2023-06-01 01:23:18 +0000 sys-apps/portage: add 3.0.48 Closes: https://bugs.gentoo.org/722270 Closes: https://bugs.gentoo.org/879687 Closes: https://bugs.gentoo.org/898232 Closes: https://bugs.gentoo.org/898366 Closes: https://bugs.gentoo.org/905355 Closes: https://bugs.gentoo.org/905358 Closes: https://bugs.gentoo.org/905868 Closes: https://bugs.gentoo.org/906129 Closes: https://bugs.gentoo.org/906156 Signed-off-by: Sam James <sam@gentoo.org> sys-apps/portage/Manifest | 1 + sys-apps/portage/portage-3.0.48.ebuild | 296 +++++++++++++++++++++++++++++++++ 2 files changed, 297 insertions(+)