LINUX.ORG.RU

Squid 3.4.9 не собирается с AUTH_KERB

 , ,


0

1

# uname -a
FreeBSD firewall 10.1-STABLE FreeBSD 10.1-STABLE #4 r274707: Wed Nov 26 12:19:11 KRAT 2014 admin@firewall:/usr/obj/usr/src/sys/MYKERNEL amd64

# make install clean
...
support_krb5.cc:119:113: error: format specifies type 'char *' but the argument has type 'krb5_data' (aka '_krb5_data') [-Werror,-Wformat]
        debug((char *) "%s| %s: DEBUG: Keytab entry has realm name: %s\n", LogTime(), PROGRAM, entry.principal->realm);
                                                                    ~~                                          ^~~~~
../../../compat/debug.h:23:41: note: expanded from macro 'debug'
                         fprintf(stderr,X); \
                                        ^
support_krb5.cc:124:14: error: no matching function for call to 'strcasecmp'
        if (!strcasecmp(domain, entry.principal->realm))
             ^~~~~~~~~~
/usr/include/strings.h:60:6: note: candidate function not viable: no known conversion from 'krb5_data' (aka '_krb5_data') to 'const char *' for 2nd argument
int      strcasecmp(const char *, const char *) __pure;
         ^
support_krb5.cc:230:76: error: no matching function for call to 'strlen'
            service = (char *) xmalloc(strlen("krbtgt") + strlen(domain) + strlen(principal_list[i]->realm) + 3);
                                                                           ^~~~~~
/usr/include/string.h:95:9: note: candidate function not viable: no known conversion from 'krb5_data' (aka '_krb5_data') to 'const char *' for 1st argument
size_t   strlen(const char *) __pure;
         ^
support_krb5.cc:231:67: error: no matching function for call to 'strlen'
            snprintf(service, strlen("krbtgt") + strlen(domain) + strlen(principal_list[i]->realm) + 3, "krbtgt/%s@%s", domain, principal_list[i]->realm);
                                                                  ^~~~~~
/usr/include/string.h:95:9: note: candidate function not viable: no known conversion from 'krb5_data' (aka '_krb5_data') to 'const char *' for 1st argument
size_t   strlen(const char *) __pure;
         ^
4 errors generated.
*** Error code 1

Stop.
make[7]: stopped in /usr/ports/www/squid/work/squid-3.4.9/helpers/external_acl/kerberos_ldap_group
*** Error code 1

Stop.
make[6]: stopped in /usr/ports/www/squid/work/squid-3.4.9/helpers/external_acl/kerberos_ldap_group
*** Error code 1

Stop.
make[5]: stopped in /usr/ports/www/squid/work/squid-3.4.9/helpers/external_acl
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/www/squid/work/squid-3.4.9/helpers
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/www/squid/work/squid-3.4.9
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/www/squid
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/www/squid
*** Error code 1

Stop.
make: stopped in /usr/ports/www/squid

пробовал качать отдельно исходники auth_kerb те же самые ошибки при сборке, www/squid33 так-же не собирается, каким образом можно решить проблему?



Последнее исправление: EasyJet (всего исправлений: 4)

Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.