Uploaded image for project: 'Funtoo Linux'
  1. Funtoo Linux
  2. FL-8144

glibc-2.33 test: net-fs/samba-4.11.16 build failure

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Normal Normal
    • None
    • None
    • None

      In my glibc testing, samba is failing during gnome install:

      [1756/2733] Compiling nsswitch/nsstest.c
      01:31:27 runner ['x86_64-pc-linux-gnu-gcc', '-D_SAMBA_BUILD_=4', '-DHAVE_CONFIG_H=1', '-march=znver2', '-
      O2', '-pipe', '-MMD', '-D_GNU_SOURCE=1', '-D_XOPEN_SOURCE_EXTENDED=1', '-DHAVE_CONFIG_H=1', '-fPIE', '-fP
      IC', '-D__STDC_WANT_LIB_EXT1__=1', '-D_REENTRANT', '-fstack-protector-strong', '-fstack-clash-protection'
      , '-DSTATIC_nsstest_MODULES=NULL', '-DSTATIC_nsstest_MODULES_PROTO=extern void __nsstest_dummy_module_pro
      to(void)', '-Insswitch', '-I../../nsswitch', '-Iinclude/public', '-I../../include/public', '-Isource4', '
      -I../../source4', '-Ilib', '-I../../lib', '-Isource4/lib', '-I../../source4/lib', '-Isource4/include', '-
      I../../source4/include', '-Iinclude', '-I../../include', '-Ilib/replace', '-I../../lib/replace', '-I.', '
      -I../..', '../../nsswitch/nsstest.c', '-c', '-o/var/tmp/portage/net-fs/samba-4.11.16/work/samba-4.11.16/b
      in/default/nsswitch/nsstest.c.4.o', '-I/usr/include/et']
      ../../nsswitch/nsstest.c:140:13: error: ‘nss_setpwent’ redeclared as different kind of symbol
        140 | static void nss_setpwent(void)
            |             ^~~~~~~~~~~~
      In file included from ../../nsswitch/nsstest.h:53,
                       from ../../nsswitch/nsstest.c:22:
      /usr/include/nss.h:186:25: note: previous declaration of ‘nss_setpwent’ was here
        186 | typedef enum nss_status nss_setpwent (int);
            |                         ^~~~~~~~~~~~
      ../../nsswitch/nsstest.c:155:13: error: ‘nss_endpwent’ redeclared as different kind of symbol
        155 | static void nss_endpwent(void)
            |             ^~~~~~~~~~~~
      In file included from ../../nsswitch/nsstest.h:53,
                       from ../../nsswitch/nsstest.c:22:
      /usr/include/nss.h:87:25: note: previous declaration of ‘nss_endpwent’ was here
         87 | typedef enum nss_status nss_endpwent (void);
            |                         ^~~~~~~~~~~~
      ../../nsswitch/nsstest.c:293:13: error: ‘nss_setgrent’ redeclared as different kind of symbol
        293 | static void nss_setgrent(void)
            |             ^~~~~~~~~~~~
      In file included from ../../nsswitch/nsstest.h:53,
                       from ../../nsswitch/nsstest.c:22:
      /usr/include/nss.h:181:25: note: previous declaration of ‘nss_setgrent’ was here
        181 | typedef enum nss_status nss_setgrent (int);
            |                         ^~~~~~~~~~~~
      ../../nsswitch/nsstest.c:308:13: error: ‘nss_endgrent’ redeclared as different kind of symbol
        308 | static void nss_endgrent(void)
            |             ^~~~~~~~~~~~
      In file included from ../../nsswitch/nsstest.h:53,
                       from ../../nsswitch/nsstest.c:22:
      /usr/include/nss.h:82:25: note: previous declaration of ‘nss_endgrent’ was here
         82 | typedef enum nss_status nss_endgrent (void);
            |                         ^~~~~~~~~~~~Waf: Leaving directory `/var/tmp/portage/net-fs/samba-4.11.16/work/samba-4.11.16/bin/default'
      Build failed
       

            drobbins drobbins
            drobbins drobbins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: