Date: Tue, 02 Apr 2019 12:05:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 236959] www/squid: Broken with GSSAPI_MIT Message-ID: <bug-236959-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236959 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@FreeBSD.org Reporter: garga@FreeBSD.org CC: timp87@gmail.com CC: timp87@gmail.com Flags: maintainer-feedback?(timp87@gmail.com) Attermpted to build www/squid, version 4.6, on FreeBSD 12.0-RELEASE with following options: ---Begin OPTIONS List--- =3D=3D=3D> The following configuration options are available for squid-4.6: ARP_ACL=3Don: ARP/MAC/EUI based authentification BDB=3Doff: Berkeley DB support required for session and time quota ext= ernal helpers CACHE_DIGESTS=3Don: Use cache digests DEBUG=3Doff: Build with extended debugging support DELAY_POOLS=3Don: Delay pools (bandwidth limiting) DOCS=3Doff: Build and/or install documentation ECAP=3Doff: Loadable content adaptation modules ESI=3Doff: ESI support EXAMPLES=3Doff: Build and/or install examples FOLLOW_XFF=3Don: Support for the X-Following-For header FS_AUFS=3Don: AUFS (threaded-io) support FS_DISKD=3Don: DISKD storage engine controlled by separate service FS_ROCK=3Doff: ROCK storage engine HTCP=3Don: HTCP support ICAP=3Don: the ICAP client ICMP=3Don: ICMP pinging and network measurement IDENT=3Don: Ident lookups (RFC 931) IPV6=3Don: IPv6 protocol support KQUEUE=3Don: Kqueue(2) support LARGEFILE=3Don: Support large (>2GB) cache and log files LAX_HTTP=3Don: Do not enforce strict HTTP compliance NETTLE=3Doff: Nettle MD5 algorithm support PCRE=3Don: Use Perl Compatible Regular Expressions SNMP=3Don: SNMP support SSL=3Don: SSL gatewaying support SSL_CRTD=3Don: Use ssl_crtd to handle SSL cert requests STACKTRACES=3Doff: Enable automatic backtraces on fatal errors VIA_DB=3Doff: Forward/Via database WCCP=3Don: Web Cache Coordination Protocol WCCPV2=3Don: Web Cache Coordination Protocol v2 =3D=3D=3D=3D> Authentication helpers AUTH_LDAP=3Don: Install LDAP authentication helpers AUTH_NIS=3Don: Install NIS/YP authentication helpers AUTH_SASL=3Don: Install SASL authentication helpers AUTH_SMB=3Doff: Install SMB auth. helpers (req. Samba) AUTH_SQL=3Doff: Install SQL based auth =3D=3D=3D=3D> GSSAPI Security API support: you have to select exactly one o= f them GSSAPI_NONE=3Doff: Disable GSSAPI support GSSAPI_BASE=3Doff: GSSAPI support via base system (needs Kerberos) GSSAPI_HEIMDAL=3Doff: GSSAPI support via security/heimdal GSSAPI_MIT=3Don: GSSAPI support via security/krb5 =3D=3D=3D=3D> Options available for the radio FW: you can only select none = or one of them TP_IPF=3Doff: Transparent proxying with IPFilter TP_IPFW=3Doff: Transparent proxying with IPFW TP_PF=3Don: Transparent proxying with PF =3D=3D=3D> 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/inclu= de -I/usr/include -O2 -pipe -I/usr/local/include -I/usr/local/include -fstack-protector -DLDAP_DEPRECATED -fno-strict-aliasing -I/usr/local/inc= lude -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 argu= ment 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); ~~= =20=20=20=20=20 ^~~~~ ../../../../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 =3D (char *) xmalloc(strlen("krbtgt") + strlen(doma= in) + strlen(principal_list[i]->realm) + 3); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20 ^~~~~~ /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 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236959-7788>