Skip to contentSkip to conversation

site: move ac_cv_func_fnmatch_works to libc files

PATCH In review Ross Burton 2 participants 7 messages Jun 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 site: move ac_cv_func_fnmatch_works to libc files

ac_cv_func_fnmatch_works (as set by AC_FUNC_FNMATCH) checks if the libc has a POSIX-compliant fnmatch() implementation. This isn't architecture specific, so move the definition to common-glibc and common-musl after verifying the correct result.

---
 meta/site/arm-common          | 3 ---
 meta/site/common-glibc        | 1 +
 meta/site/common-musl         | 1 +
 meta/site/ix86-common         | 3 ---
 meta/site/mips-linux          | 3 ---
 meta/site/mips64-linux        | 3 ---
 meta/site/mips64el-linux      | 3 ---
 meta/site/mipsel-linux        | 3 ---
 meta/site/mipsisa32r6-linux   | 3 ---
 meta/site/mipsisa32r6el-linux | 3 ---
 meta/site/mipsisa64r6-linux   | 3 ---
 meta/site/mipsisa64r6el-linux | 3 ---
 meta/site/nios2-linux         | 3 ---
 meta/site/sh-common           | 3 ---
 meta/site/x86_64-linux        | 3 ---
 15 files changed, 2 insertions(+), 39 deletions(-)
meta/site/arm-common +0 -3
index 18c6d422008..d1dd8848118 100644
@@ -35,9 +35,6 @@ compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
 compat_cv_func_basename_works=${compat_cv_func_basename_works=no}
 compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no}
 
-# fnmatch
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # gettext
 am_cv_func_working_getline=${am_cv_func_working_getline=yes}
 
meta/site/common-glibc +1 -0
index 958699b143f..822e30d3c7f 100644
@@ -14,6 +14,7 @@ ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
 ac_cv_func_strtod=${ac_cv_func_strtod=yes}
+ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
 
 # bash
 bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes}
meta/site/common-musl +1 -0
index 0fd0413819e..4c2c4092a88 100644
@@ -17,6 +17,7 @@ ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
 ac_cv_func_strtod=${ac_cv_func_strtod=yes}
 # off_t is always 64bit on musl systems
 ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
+ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
 
 #dbus-glib
 ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
meta/site/ix86-common +0 -3
index eae5670d937..a0e57caadf5 100644
@@ -75,9 +75,6 @@ ac_cv_uint=${ac_cv_uint=yes}
 ac_cv_ulong=${ac_cv_ulong=yes}
 ac_cv_ushort=${ac_cv_ushort=yes}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # jikes-native
 ac_cv_sizeof_wchar_t=4
 
meta/site/mips-linux +0 -3
index 91570ec3098..dbd2ae5d1f4 100644
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mips64-linux +0 -3
index 7e05b94a093..da804d4ae6f 100644
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mips64el-linux +0 -3
index 1e1d7687c28..060bf81807e 100644
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 #lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mipsel-linux +0 -3
index a3077f21610..ae190b74f38 100644
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 #lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mipsisa32r6-linux +0 -3
index 91570ec3098..dbd2ae5d1f4 100644
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mipsisa32r6el-linux +0 -3
index a3077f21610..ae190b74f38 100644
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 #lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mipsisa64r6-linux +0 -3
index 7e05b94a093..da804d4ae6f 100644
@@ -44,9 +44,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/mipsisa64r6el-linux +0 -3
index 1e1d7687c28..060bf81807e 100644
@@ -45,9 +45,6 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 # vim
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
-# intercom
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 #lmbench
 ac_cv_uint=${ac_cv_unit=yes}
 
meta/site/nios2-linux +0 -3
index 58ffcbc7e2f..57c3f5b988d 100644
@@ -47,9 +47,6 @@ compat_cv_func_snprintf_works=${compat_cv_func_snprintf_works=yes}
 compat_cv_func_basename_works=${compat_cv_func_basename_works=no}
 compat_cv_func_dirname_works=${compat_cv_func_dirname_works=no}
 
-# fnmatch
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # gettext
 am_cv_func_working_getline=${am_cv_func_working_getline=yes}
 
meta/site/sh-common +0 -3
index 720d4543518..f2481652c98 100644
@@ -150,9 +150,6 @@ mysql_cv_func_atomic_add=${mysql_cv_func_atomic_add=no}
 # gettext
 am_cv_func_working_getline=${am_cv_func_working_getline=yes}
 
-# fnmatch
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
-
 # rsync
 rsync_cv_HAVE_BROKEN_LARGEFILE=${rsync_cv_HAVE_BROKEN_LARGEFILE=no}
 rsync_cv_HAVE_SOCKETPAIR=${rsync_cv_HAVE_SOCKETPAIR=yes}
meta/site/x86_64-linux +0 -3
index ed9c88fa20f..b9ee141fd5c 100644
@@ -83,6 +83,3 @@ ac_cv_func__restgpr_14_x=no
 
 # cvs
 cvs_cv_func_printf_ptr=${cvs_cv_func_printf_ptr=yes}
-
-# cabextract
-ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/6 site: fix ac_cv_uint typo

Copy-pasting has resulted in a ac_cv_uint -> ac_cv_unit typo spreading across the mips* site files, fix this.

Ross

---
 meta/site/mips-linux          | 2 +-
 meta/site/mips64-linux        | 2 +-
 meta/site/mips64el-linux      | 2 +-
 meta/site/mipsel-linux        | 2 +-
 meta/site/mipsisa32r6-linux   | 2 +-
 meta/site/mipsisa32r6el-linux | 2 +-
 meta/site/mipsisa64r6-linux   | 2 +-
 meta/site/mipsisa64r6el-linux | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)
meta/site/mips-linux +1 -1
index dbd2ae5d1f4..357f2b2ceb2 100644
@@ -45,7 +45,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mips64-linux +1 -1
index da804d4ae6f..0f415cb7181 100644
@@ -45,7 +45,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mips64el-linux +1 -1
index 060bf81807e..2210b6745e8 100644
@@ -46,7 +46,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsel-linux +1 -1
index ae190b74f38..0ba6bcfb3ff 100644
@@ -46,7 +46,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa32r6-linux +1 -1
index dbd2ae5d1f4..357f2b2ceb2 100644
@@ -45,7 +45,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa32r6el-linux +1 -1
index ae190b74f38..0ba6bcfb3ff 100644
@@ -46,7 +46,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa64r6-linux +1 -1
index da804d4ae6f..0f415cb7181 100644
@@ -45,7 +45,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa64r6el-linux +1 -1
index 060bf81807e..2210b6745e8 100644
@@ -46,7 +46,7 @@ samba_cv_HAVE_GETTIMEOFDAY_TZ=${samba_cv_HAVE_GETTIMEOFDAY_TZ=yes}
 ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
-ac_cv_uint=${ac_cv_unit=yes}
+ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
Signature · 1 line
2.34.1
#2 lore raw

Patchtest results for [PATCH 2/6] site: fix ac_cv_uint typo

Thank you for your submission. Patchtest identified one or more issues with the patch. Please see the log below for more information:

---
Testing patch /home/patchtest/share/mboxes/2-6-site-fix-ac_cv_uint-typo.patch

FAIL: test Signed-off-by presence: Mbox is missing Signed-off-by. Add it manually or with "git commit --amend -s" (test_mbox.TestMbox.test_signed_off_by_presence)

PASS: test author valid (test_mbox.TestMbox.test_author_valid)
PASS: test commit message presence (test_mbox.TestMbox.test_commit_message_presence)
PASS: test max line length (test_metadata.TestMetadata.test_max_line_length)
PASS: test mbox format (test_mbox.TestMbox.test_mbox_format)
PASS: test non-AUH upgrade (test_mbox.TestMbox.test_non_auh_upgrade)
PASS: test shortlog format (test_mbox.TestMbox.test_shortlog_format)
PASS: test shortlog length (test_mbox.TestMbox.test_shortlog_length)
PASS: test target mailing list (test_mbox.TestMbox.test_target_mailing_list)

SKIP: pretest pylint: No python related patches, skipping test (test_python_pylint.PyLint.pretest_pylint)
SKIP: pretest src uri left files: Patch cannot be merged (test_metadata.TestMetadata.pretest_src_uri_left_files)
SKIP: test CVE check ignore: No modified recipes or older target branch, skipping test (test_metadata.TestMetadata.test_cve_check_ignore)
SKIP: test CVE tag format: No new CVE patches introduced (test_patch.TestPatch.test_cve_tag_format)
SKIP: test Signed-off-by presence: No new CVE patches introduced (test_patch.TestPatch.test_signed_off_by_presence)
SKIP: test Upstream-Status presence: No new CVE patches introduced (test_patch.TestPatch.test_upstream_status_presence_format)
SKIP: test bugzilla entry format: No bug ID found (test_mbox.TestMbox.test_bugzilla_entry_format)
SKIP: test lic files chksum modified not mentioned: No modified recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_modified_not_mentioned)
SKIP: test lic files chksum presence: No added recipes, skipping test (test_metadata.TestMetadata.test_lic_files_chksum_presence)
SKIP: test license presence: No added recipes, skipping test (test_metadata.TestMetadata.test_license_presence)
SKIP: test pylint: No python related patches, skipping test (test_python_pylint.PyLint.test_pylint)
SKIP: test series merge on head: Merge test is disabled for now (test_mbox.TestMbox.test_series_merge_on_head)
SKIP: test src uri left files: Patch cannot be merged (test_metadata.TestMetadata.test_src_uri_left_files)
SKIP: test summary presence: No added recipes, skipping test (test_metadata.TestMetadata.test_summary_presence)

---

Please address the issues identified and
submit a new revision of the patch, or alternatively, reply to this email with an explanation of why the patch should be accepted. If you believe these results are due to an error in patchtest, please submit a bug at https://bugzilla.yoctoproject.org/ (use the 'Patchtest' category under 'Yocto Project Subprojects'). For more information on specific failures, see: https://wiki.yoctoproject.org/wiki/Patchtest. Thank you!

#3 lore raw

PATCH 3/6 site: remove libc definitions in nios2-linux

In reply to Ross Burton

These assignments are libc-specific not architecture specific, so are already set in the glibc and musl site files.

---
 meta/site/nios2-linux | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
meta/site/nios2-linux +1 -7
index 57c3f5b988d..876853925de 100644
@@ -163,13 +163,7 @@ dpkg_cv___va_copy=${ac_cv___va_copy=yes}
 
 # eds-dbus
 ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-ac_cv_func_getpgrp_void=yes
-ac_cv_func_setpgrp_void=yes
-ac_cv_func_setgrent_void=yes
-ac_cv_func_malloc_0_nonnull=yes
-ac_cv_func_malloc_works=yes
-ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
-ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
+
 ac_cv_func_setvbuf_reversed=no
 ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
 ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
Signature · 1 line
2.34.1
#4 lore raw

PATCH 4/6 site: remove obsolete evolution-data-server entries

In reply to Ross Burton

evolution-data-server hasn't used autoconf since 2016 (from 3.23.1), so remove the now redundant entries for it.

---
 meta/site/arm-common          | 4 ----
 meta/site/ix86-common         | 3 ---
 meta/site/mips-linux          | 4 ----
 meta/site/mips64-linux        | 4 ----
 meta/site/mips64el-linux      | 3 ---
 meta/site/mipsel-linux        | 3 ---
 meta/site/mipsisa32r6-linux   | 4 ----
 meta/site/mipsisa32r6el-linux | 3 ---
 meta/site/mipsisa64r6-linux   | 4 ----
 meta/site/mipsisa64r6el-linux | 3 ---
 meta/site/nios2-linux         | 3 ---
 11 files changed, 38 deletions(-)
meta/site/arm-common +0 -4
index d1dd8848118..0f9890d3b3d 100644
@@ -119,7 +119,3 @@ lf_cv_sane_realloc=yes
 
 # xffm
 jm_cv_func_working_readdir=yes
-
-# evolution-data-server
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
meta/site/ix86-common +0 -3
index a0e57caadf5..8244b132ac6 100644
@@ -146,9 +146,6 @@ jm_cv_func_working_readdir=yes
 ac_cv_sys_linker_h=${ac_cv_sys_linker_h=no}
 ac_cv_file__usr_share_X11_sgml_defs_ent=${ac_cv_file__usr_share_X11_sgml_defs_ent=no}
 
-# evolution-data-server
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
 #dbus
 ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
 
meta/site/mips-linux +0 -4
index 357f2b2ceb2..bfb93d91a6e 100644
@@ -49,7 +49,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# evolution-data-server
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
meta/site/mips64-linux +0 -4
index 0f415cb7181..bfb93d91a6e 100644
@@ -49,7 +49,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# eds-dbus
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
meta/site/mips64el-linux +0 -3
index 2210b6745e8..161b4834b94 100644
@@ -50,6 +50,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# eds-dbus
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
meta/site/mipsel-linux +0 -3
index 0ba6bcfb3ff..161b4834b94 100644
@@ -50,6 +50,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# evolution-data-server
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
meta/site/mipsisa32r6-linux +0 -4
index 357f2b2ceb2..bfb93d91a6e 100644
@@ -49,7 +49,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# evolution-data-server
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
meta/site/mipsisa32r6el-linux +0 -3
index 0ba6bcfb3ff..161b4834b94 100644
@@ -50,6 +50,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# evolution-data-server
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
meta/site/mipsisa64r6-linux +0 -4
index 0f415cb7181..bfb93d91a6e 100644
@@ -49,7 +49,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# eds-dbus
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
meta/site/mipsisa64r6el-linux +0 -3
index 2210b6745e8..161b4834b94 100644
@@ -50,6 +50,3 @@ ac_cv_uint=${ac_cv_uint=yes}
 
 # D-BUS
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
-# eds-dbus
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
meta/site/nios2-linux +0 -3
index 876853925de..b1de9eeeb7e 100644
@@ -161,9 +161,6 @@ jm_cv_func_working_readdir=yes
 dpkg_cv_va_copy=${ac_cv_va_copy=yes}
 dpkg_cv___va_copy=${ac_cv___va_copy=yes}
 
-# eds-dbus
-ac_cv_libiconv_utf8=${ac_cv_libiconv_utf8=yes}
-
 ac_cv_func_setvbuf_reversed=no
 ac_cv_sizeof___int64=${ac_cv_sizeof___int64=0}
 ac_cv_sizeof_char=${ac_cv_sizeof_char=1}
Signature · 1 line
2.34.1
#5 lore raw

PATCH 5/6 site: move ac_cv_func_posix_getpwnam_r to libc files

In reply to Ross Burton

As with the other ac_cv_func_posix_* functions, this is specific to the libc and not the architecture.

---
 meta/site/arm-common          | 3 ---
 meta/site/common-glibc        | 1 +
 meta/site/common-musl         | 6 +-----
 meta/site/ix86-common         | 3 ---
 meta/site/mips-linux          | 3 ---
 meta/site/mips64-linux        | 3 ---
 meta/site/mips64el-linux      | 3 ---
 meta/site/mipsel-linux        | 3 ---
 meta/site/mipsisa32r6-linux   | 3 ---
 meta/site/mipsisa32r6el-linux | 3 ---
 meta/site/mipsisa64r6-linux   | 3 ---
 meta/site/mipsisa64r6el-linux | 3 ---
 meta/site/nios2-linux         | 3 ---
 meta/site/powerpc32-linux     | 3 ---
 meta/site/sh-common           | 3 ---
 meta/site/x86_64-linux        | 1 -
 16 files changed, 2 insertions(+), 45 deletions(-)
meta/site/arm-common +0 -3
index 0f9890d3b3d..c4bd29c439d 100644
@@ -21,9 +21,6 @@ db_cv_sprintf_count=${db_cv_sprintf_count=yes}
 db_cv_align_t=${db_cv_align_t='unsigned long long'}
 db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
 
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
 # edb
 db_cv_spinlocks=${db_cv_spinlocks=no}
 
meta/site/common-glibc +1 -0
index 822e30d3c7f..31123850e0f 100644
@@ -11,6 +11,7 @@ ac_cv_func_setgrent_void=yes
 ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes}
 ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes}
 ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
+ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
 ac_cv_func_strtod=${ac_cv_func_strtod=yes}
meta/site/common-musl +1 -5
index 4c2c4092a88..8b52d35ea99 100644
@@ -11,6 +11,7 @@ ac_cv_func_setgrent_void=yes
 ac_cv_func_getgrgid_r=${ac_cv_func_getgrgid_r=yes}
 ac_cv_func_getpwuid_r=${ac_cv_func_getpwuid_r=yes}
 ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
+ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
 ac_cv_func_getaddrinfo=${ac_cv_func_getaddrinfo=yes}
 ac_cv_func_mmap_fixed_mapped=${ac_cv_func_mmap_fixed_mapped=yes}
@@ -48,10 +49,5 @@ ac_cv___va_copy=${ac_cv___va_copy=yes}
 ac_cv_func_va_copy=${ac_cv_func_va_copy=yes}
 ac_cv_func___va_copy=${ac_cv_func___va_copy=yes}
 
-# posix_getpwuid_r posix_getgrgid_r posix_getpwnam_r
-ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=yes}
-ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=yes}
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
 # Xorg
 xorg_cv_malloc0_returns_null=${xorg_cv_malloc0_returns_null=yes}
meta/site/ix86-common +0 -3
index 8244b132ac6..685d7b0fb3d 100644
@@ -60,9 +60,6 @@ db_cv_align_t=${db_cv_align_t='unsigned long long'}
 db_cv_fcntl_f_setfd=${db_cv_fcntl_f_setfd=yes}
 db_cv_sprintf_count=${db_cv_sprintf_count=yes}
 
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
 # ettercap
 ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
 
meta/site/mips-linux +0 -3
index bfb93d91a6e..10aa84fb9d6 100644
@@ -46,6 +46,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mips64-linux +0 -3
index bfb93d91a6e..10aa84fb9d6 100644
@@ -46,6 +46,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mips64el-linux +0 -3
index 161b4834b94..9a0084dc7fb 100644
@@ -47,6 +47,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsel-linux +0 -3
index 161b4834b94..9a0084dc7fb 100644
@@ -47,6 +47,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa32r6-linux +0 -3
index bfb93d91a6e..10aa84fb9d6 100644
@@ -46,6 +46,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa32r6el-linux +0 -3
index 161b4834b94..9a0084dc7fb 100644
@@ -47,6 +47,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa64r6-linux +0 -3
index bfb93d91a6e..10aa84fb9d6 100644
@@ -46,6 +46,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 # lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/mipsisa64r6el-linux +0 -3
index 161b4834b94..9a0084dc7fb 100644
@@ -47,6 +47,3 @@ ac_cv_sizeof_int=${ac_cv_sizeof_int=4}
 
 #lmbench
 ac_cv_uint=${ac_cv_uint=yes}
-
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
meta/site/nios2-linux +0 -3
index b1de9eeeb7e..aeddb6bb59d 100644
@@ -33,9 +33,6 @@ db_cv_alignp_t=${db_cv_alignp_t='unsigned long'}
 db_cv_posixmutexes=${db_cv_posixmutexes=no}
 db_cv_uimutexes=${db_cv_uimutexes=no}
 
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
 # edb
 db_cv_spinlocks=${db_cv_spinlocks=no}
 
meta/site/powerpc32-linux +0 -3
index c2f870b432c..ccf4012a89a 100644
@@ -103,9 +103,6 @@ ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
 # libesmtp
 acx_working_snprintf=${acx_working_snprintf=yes}
 
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
 # httppc
 ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
 
meta/site/sh-common +0 -3
index f2481652c98..683b3a6c9a5 100644
@@ -109,9 +109,6 @@ ettercap_cv_type_socklen_t=${ettercap_cv_type_socklen_t=yes}
 # libesmtp
 acx_working_snprintf=${acx_working_snprintf=yes}
 
-# D-BUS
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
-
 # httppc
 ac_cv_strerror_r_SUSv3=${ac_cv_strerror_r_SUSv3=no}
 
meta/site/x86_64-linux +0 -1
index b9ee141fd5c..dcc6b3408f7 100644
@@ -2,7 +2,6 @@
 ac_cv_va_val_copy=${ac_cv_va_val_copy=no}
 ac_cv_func_lstat_dereferences_slashed_symlink=${ac_cv_func_lstat_dereferences_slashed_symlink=yes}
 ac_cv_func_lstat_empty_string_bug=${ac_cv_func_lstat_empty_string_bug=no}
-ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=yes}
 ac_cv_func_setvbuf_reversed=${ac_cv_func_setvbuf_reversed=no}
 ac_cv_func_stat_empty_string_bug=${ac_cv_func_stat_empty_string_bug=no}
 ac_cv_func_stat_ignores_trailing_slash=${ac_cv_func_stat_ignores_trailing_slash=no}
Signature · 1 line
2.34.1
#6 lore raw

PATCH 6/6 site: remove obsolete dbus entry

In reply to Ross Burton

The check for working abstract sockets was removed from dbus in 2017[1] and dbus-glib in 2014[2].

[1] https://gitlab.freedesktop.org/dbus/dbus/-/commit/6a6521746bce81c50d77b560b2ee9948c1a5efd0
[2] https://gitlab.freedesktop.org/dbus/dbus-glib/-/commit/e4a163431f2cd26959c9f46e573fc200c5b9fd3d

---
 meta/site/arm-darwin   | 1 -
 meta/site/arm-darwin8  | 1 -
 meta/site/arm-linux    | 3 ---
 meta/site/common-glibc | 3 ---
 meta/site/common-musl  | 3 ---
 meta/site/ix86-common  | 3 ---
 meta/site/nios2-linux  | 3 ---
 7 files changed, 17 deletions(-)
meta/site/arm-darwin +0 -1
index 00d9a64aa71..1078d74da4f 100644
@@ -3,7 +3,6 @@ ac_cv_func_posix_spawn=${ac_cv_func_posix_spawn=no}
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=no}
 ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=no}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=no}
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=no}
 bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes}
 ac_cv_func_strerror_r=${ac_cv_func_strerror_r=no}
 ac_cv_va_copy=${ac_cv_va_copy=yes}
meta/site/arm-darwin8 +0 -1
index 00d9a64aa71..1078d74da4f 100644
@@ -3,7 +3,6 @@ ac_cv_func_posix_spawn=${ac_cv_func_posix_spawn=no}
 ac_cv_func_posix_getpwnam_r=${ac_cv_func_posix_getpwnam_r=no}
 ac_cv_func_posix_getpwuid_r=${ac_cv_func_posix_getpwuid_r=no}
 ac_cv_func_posix_getgrgid_r=${ac_cv_func_posix_getgrgid_r=no}
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=no}
 bash_cv_have_mbstate_t=${bash_cv_have_mbstate_t=yes}
 ac_cv_func_strerror_r=${ac_cv_func_strerror_r=no}
 ac_cv_va_copy=${ac_cv_va_copy=yes}
meta/site/arm-linux +0 -3
index c4205a4a2e7..d3f4939ab8a 100644
@@ -142,9 +142,6 @@ clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
 clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
 
-#dbus
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
-
 # lftp
 ac_cv_file___dev_ptc_=yes
 
meta/site/common-glibc +0 -3
index 31123850e0f..f5b5c4b5371 100644
@@ -37,9 +37,6 @@ gl_cv_func_working_mkstemp=${gl_cv_func_working_mkstemp=yes}
 gl_cv_func_working_mktime=${gl_cv_func_working_mktime=yes}
 gl_cv_func_working_utimes=${gl_cv_func_working_utimes=yes}
 
-#dbus-glib
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
-
 # gnucash
 am_cv_scanf_lld=${am_cv_scanf_lld=yes}
 
meta/site/common-musl +0 -3
index 8b52d35ea99..b19832d5f63 100644
@@ -20,9 +20,6 @@ ac_cv_func_strtod=${ac_cv_func_strtod=yes}
 ac_cv_sys_file_offset_bits=${ac_cv_sys_file_offset_bits=64}
 ac_cv_func_fnmatch_works=${ac_cv_func_fnmatch_works=yes}
 
-#dbus-glib
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
-
 # bash
 bash_cv_getcwd_malloc=${bash_cv_getcwd_malloc=yes}
 
meta/site/ix86-common +0 -3
index 685d7b0fb3d..ebd8ad6d60f 100644
@@ -143,9 +143,6 @@ jm_cv_func_working_readdir=yes
 ac_cv_sys_linker_h=${ac_cv_sys_linker_h=no}
 ac_cv_file__usr_share_X11_sgml_defs_ent=${ac_cv_file__usr_share_X11_sgml_defs_ent=no}
 
-#dbus
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
-
 #libpciaccess
 have_mtrr_h=yes
 
meta/site/nios2-linux +0 -3
index aeddb6bb59d..4fc39648450 100644
@@ -303,9 +303,6 @@ clamav_av_func_working_snprintf_long=${clamav_av_func_working_snprintf_long=yes}
 clamav_av_have_in_port_t=${clamav_av_have_in_port_t=yes}
 clamav_av_have_in_addr_t=${clamav_av_have_in_addr_t=yes}
 
-#dbus
-ac_cv_have_abstract_sockets=${ac_cv_have_abstract_sockets=yes}
-
 # lftp
 ac_cv_file___dev_ptc_=yes
 
Signature · 1 line
2.34.1