[Bug 236959] www/squid: Broken with GSSAPI_MIT
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Apr 2 12:05:35 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236959
Bug ID: 236959
Summary: www/squid: Broken with GSSAPI_MIT
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs at FreeBSD.org
Reporter: garga at FreeBSD.org
CC: timp87 at gmail.com
CC: timp87 at gmail.com
Flags: maintainer-feedback?(timp87 at gmail.com)
Attermpted to build www/squid, version 4.6, on FreeBSD 12.0-RELEASE with
following options:
---Begin OPTIONS List---
===> The following configuration options are available for squid-4.6:
ARP_ACL=on: ARP/MAC/EUI based authentification
BDB=off: Berkeley DB support required for session and time quota external
helpers
CACHE_DIGESTS=on: Use cache digests
DEBUG=off: Build with extended debugging support
DELAY_POOLS=on: Delay pools (bandwidth limiting)
DOCS=off: Build and/or install documentation
ECAP=off: Loadable content adaptation modules
ESI=off: ESI support
EXAMPLES=off: Build and/or install examples
FOLLOW_XFF=on: Support for the X-Following-For header
FS_AUFS=on: AUFS (threaded-io) support
FS_DISKD=on: DISKD storage engine controlled by separate service
FS_ROCK=off: ROCK storage engine
HTCP=on: HTCP support
ICAP=on: the ICAP client
ICMP=on: ICMP pinging and network measurement
IDENT=on: Ident lookups (RFC 931)
IPV6=on: IPv6 protocol support
KQUEUE=on: Kqueue(2) support
LARGEFILE=on: Support large (>2GB) cache and log files
LAX_HTTP=on: Do not enforce strict HTTP compliance
NETTLE=off: Nettle MD5 algorithm support
PCRE=on: Use Perl Compatible Regular Expressions
SNMP=on: SNMP support
SSL=on: SSL gatewaying support
SSL_CRTD=on: Use ssl_crtd to handle SSL cert requests
STACKTRACES=off: Enable automatic backtraces on fatal errors
VIA_DB=off: Forward/Via database
WCCP=on: Web Cache Coordination Protocol
WCCPV2=on: Web Cache Coordination Protocol v2
====> Authentication helpers
AUTH_LDAP=on: Install LDAP authentication helpers
AUTH_NIS=on: Install NIS/YP authentication helpers
AUTH_SASL=on: Install SASL authentication helpers
AUTH_SMB=off: Install SMB auth. helpers (req. Samba)
AUTH_SQL=off: Install SQL based auth
====> GSSAPI Security API support: you have to select exactly one of them
GSSAPI_NONE=off: Disable GSSAPI support
GSSAPI_BASE=off: GSSAPI support via base system (needs Kerberos)
GSSAPI_HEIMDAL=off: GSSAPI support via security/heimdal
GSSAPI_MIT=on: GSSAPI support via security/krb5
====> Options available for the radio FW: you can only select none or one of
them
TP_IPF=off: Transparent proxying with IPFilter
TP_IPFW=off: Transparent proxying with IPFW
TP_PF=on: Transparent proxying with PF
===> Use 'make config' to modify these settings
---End OPTIONS List---
And it failed with following error:
Qunused-arguments -Wno-deprecated-register -D_REENTRANT -I/usr/local/include
-I/usr/include -O2 -pipe -I/usr/local/include -I/usr/local/include
-fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/include
-MT support_krb5.o -MD -MP -MF $depbase.Tpo -c -o support_krb5.o
support_krb5.cc && mv -f $depbase.Tpo $depbase.Po
support_krb5.cc:292:117: 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:31:41: note: expanded from macro 'debug'
fprintf(stderr,X); \
^
support_krb5.cc:297:18: error: no matching function for call to 'strcasecmp'
if (!strcasecmp(domain, entry.principal->realm))
^~~~~~~~~~
/usr/include/strings.h:65: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:456:80: 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:97: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:457:71: 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:97: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[6]: stopped in
/wrkdirs/usr/ports/www/squid/work/squid-4.6/src/acl/external/kerberos_ldap_group
*** Error code 1
Stop.
make[5]: stopped in
/wrkdirs/usr/ports/www/squid/work/squid-4.6/src/acl/external
*** Error code 1
Stop.
make[4]: stopped in /wrkdirs/usr/ports/www/squid/work/squid-4.6/src/acl
*** Error code 1
Stop.
make[3]: stopped in /wrkdirs/usr/ports/www/squid/work/squid-4.6/src
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/www/squid/work/squid-4.6/src
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/www/squid/work/squid-4.6
*** Error code 1
Stop.
make: stopped in /usr/ports/www/squid
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list