Public bug reported:

sssd fails to build after gdm3 was updated to 51~beta-0ubuntu1.

The gdm 51 rewrite of the gdm-pam-extensions headers
removed the uppercase function-like macros that sssd's PAM client code
(src/sss_client/pam_sss.c) relies on, replacing them with lowercase
"static inline" functions of the same purpose but different names.

Because pam_sss.c still references the old macro names, the compiler
treats them as implicit function declarations, which is fatal under the
distro build flag -Werror=implicit-function-declaration.

In the build logs:

  ../src/sss_client/pam_sss.c: In function 'prompt_json_gdm':
  ../src/sss_client/pam_sss.c:2056:5: error: implicit declaration of
    function 'GDM_PAM_EXTENSION_CUSTOM_JSON_REQUEST_INIT'; did you mean
    'GDM_PAM_EXTENSION_CUSTOM_JSON_SIZE'?
    [-Wimplicit-function-declaration]
  ../src/sss_client/pam_sss.c:2058:5: error: implicit declaration of
    function 'GDM_PAM_EXTENSION_MESSAGE_TO_BINARY_PROMPT_MESSAGE'
    [-Wimplicit-function-declaration]
  ../src/sss_client/pam_sss.c:2068:16: error: implicit declaration of
    function 'GDM_PAM_EXTENSION_REPLY_TO_CUSTOM_JSON_RESPONSE'; did you
    mean 'GDM_PAM_EXTENSION_CUSTOM_JSON_SIZE'?
    [-Wimplicit-function-declaration]
  ../src/sss_client/pam_sss.c:2068:14: error: assignment to
    'GdmPamExtensionJSONProtocol *' from 'int' makes pointer from
    integer without a cast [-Wint-conversion]

  ../src/sss_client/pam_sss.c: In function 'prompt_multi_cert_gdm':
  ../src/sss_client/pam_sss.c:2115:10: error: implicit declaration of
    function 'GDM_PAM_EXTENSION_SUPPORTED'; did you mean
    'GDM_PAM_EXTENSION_CUSTOM_JSON'? [-Wimplicit-function-declaration]
  ../src/sss_client/pam_sss.c:2138:5: error: implicit declaration of
    function 'GDM_PAM_EXTENSION_CHOICE_LIST_REQUEST_INIT'; did you mean
    'GDM_PAM_EXTENSION_CHOICE_LIST_REQUEST_SIZE'?
    [-Wimplicit-function-declaration]
  ../src/sss_client/pam_sss.c:2171:16: error: implicit declaration of
    function 'GDM_PAM_EXTENSION_REPLY_TO_CHOICE_LIST_RESPONSE'; did you
    mean 'GDM_PAM_EXTENSION_CHOICE_LIST_RESPONSE_SIZE'?
    [-Wimplicit-function-declaration]
  ../src/sss_client/pam_sss.c:2171:14: error: assignment to
    'GdmPamExtensionChoiceListResponse *' from 'int' makes pointer from
    integer without a cast [-Wint-conversion]

  make[3]: *** [Makefile:22350: src/sss_client/pam_sss.lo] Error 1

** Affects: sssd (Ubuntu)
     Importance: Undecided
     Assignee: Renan Rodrigo (rr)
         Status: In Progress

** Changed in: sssd (Ubuntu)
     Assignee: (unassigned) => Renan Rodrigo (rr)

** Changed in: sssd (Ubuntu)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163336

Title:
  FTBFS with gdm 51

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sssd/+bug/2163336/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to