[Pkg-sssd-devel] Bug#1068063: sssd: FTBFS on armel, armhf (test failures with test_pam_xxx, test_user_xxx... for 2.9.x)

Michael Tokarev mjt at tls.msk.ru
Mon Apr 1 08:00:28 BST 2024


On Sat, 30 Mar 2024 16:59:51 +0900 Kentaro HAYASHI <kenhys at xdump.org> wrote:
> Source: sssd
> Severity: serious
> Tags: ftbfs
> Control: found -1  2.9.4-1.1
> X-Debbugs-Cc: kenhys at xdump.org
> 
> Dear Maintainer,
> 
> sssd fails to build on armel, armhf.
> 
> Though test suite failure was already reported, but
> target version is 1.11.5.1-1, not 2.x branch. so I've filed as a new
> bug to raise attension.
> 
>   sssd: FTBFS on many archs due to testsuite failures
>   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=754618
> 
> FYI:
> 
> https://buildd.debian.org/status/fetch.php?pkg=sssd&arch=armel&ver=2.9.4-1.1&stamp=1711454828&raw=0
> https://buildd.debian.org/status/fetch.php?pkg=sssd&arch=armhf&ver=2.9.4-1.1&stamp=1711455028&raw=0

There seems to be two failures here.

1. --- 0x2 != 0x1
    src/tests/cmocka/test_responder_cache_req.c:2505: error: Failure!

    assert_int_equal(test_ctx->result->count, 1);

   apparently there are 2 results returned while expected just one.


2. --- No entries for symbol sss_dp_get_account_recv.
    src/tests/cmocka/common_mock_resp_dp.c:52: error: Could not get value to mock function sss_dp_get_account_recv
    src/tests/cmocka/test_pam_srv.c:802: note: Previously returned mock value was declared here

  void mock_account_recv(uint16_t dp_err, uint32_t dp_ret, char *msg,
                         acct_cb_t acct_cb, void *pvt)
  {
     will_return(sss_dp_get_account_recv, dp_err);

   There's a similar issue: https://github.com/SSSD/sssd/issues/3302 from 2014,
   "We inspected the code in question and didn't find the reason for the failure."

   and an ubuntu bug: https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg6044689.html


Not knowing neither sssd nor cmocka, but have to put this info
somewhere after looking at this thing :)

/mjt



More information about the Pkg-sssd-devel mailing list