Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Aug 2014 07:17:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 184993] www/squid33 - fails to build on ^/stable/10
Message-ID:  <bug-184993-13-LpzNKiCYRF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-184993-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-184993-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=184993

timp87@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |timp87@gmail.com

--- Comment #9 from timp87@gmail.com ---
(In reply to arcade from comment #0)
> When building some kerberos stuff gets enabled somehow:
> 
> --- peer_proxy_negotiate_auth.o ---
> peer_proxy_negotiate_auth.cc:259:32: error: 'krb5_princ_realm' is deprecated
> [-Werror,-Wdeprecated-declarations]
>                 client_realm = krb5_princ_realm(kparam.context,
> creds2.client);
>                                ^
> /usr/include/krb5-protos.h:3251:1: note: 'krb5_princ_realm' declared here
> krb5_princ_realm (
> ^
> peer_proxy_negotiate_auth.cc:403:13: error: 'krb5_get_init_creds_opt_init'
> is deprecated [-Werror,-Wdeprecated-declarations]
>             krb5_get_init_creds_opt_init(&options);
>             ^
> /usr/include/krb5-protos.h:2284:1: note: 'krb5_get_init_creds_opt_init'
> declared here
> krb5_get_init_creds_opt_init (krb5_get_init_creds_opt */*opt*/)
> ^
> 2 errors generated.
> *** [peer_proxy_negotiate_auth.o] Error code 1
> 
> Kerberos and GSSAPI are disabled in options. Enabled options are: ARP_ACL
> CACHE_DIGESTS FOLLOW_XFF HTCP IPV6 KQUEUE LARGEFILE STRICT_HTTP TP_PF VIA_DB

This is still actual, but only on FreeBSD 10+.

(In reply to arcade from comment #8)
> Funny. Currently build fails on two different machines with:
> 
> ===>  Building for squid33-3.3.11_2
> Making all in compat
> c++ -DHAVE_CONFIG_H  -I.. -I../include -I../lib  -I../src -I../include  
> -I/usr/include  -I/usr/include -I../libltdl   -I/usr/include  -I/usr/include
> -Werror -Qunused-arguments -O2 -pipe -march=native -fno-strict-aliasing 
> -Wno-unused-private-field -std=c++0x -I/usr/local/include -MT assert.o -MD
> -MP -MF .deps/assert.Tpo -c -o assert.o assert.cc
> In file included from assert.cc:32:
> In file included from ../include/squid.h:66:
> In file included from ../compat/compat.h:61:
> ../compat/os/hpux.h:1:9: error: 'SQUID_OS_HPUX_H' is used as a header guard
> here, followed by #define of a different macro [-Werror,-Wheader-guard]
> #ifndef SQUID_OS_HPUX_H
>         ^~~~~~~~~~~~~~~
> ../compat/os/hpux.h:2:9: note: 'SQUID_OS_PHUX_H' is defined here; did you
> mean 'SQUID_OS_HPUX_H'?
> #define SQUID_OS_PHUX_H
>         ^~~~~~~~~~~~~~~
>         SQUID_OS_HPUX_H
> 1 error generated.
> *** [assert.o] Error code 1
> 
> Enabled options: CACHE_DIGESTS FOLLOW_XFF HTCP IPV6 KQUEUE LARGEFILE
> STRICT_HTTP TP_PF VIA_DB.

How did you get this error messages?

Does it help?
--- compat/os/hpux.h.orig       2014-08-22 15:33:54.000000000 +0400
+++ compat/os/hpux.h    2014-08-22 15:34:10.000000000 +0400
@@ -1,5 +1,5 @@
 #ifndef SQUID_OS_HPUX_H
-#define SQUID_OS_PHUX_H
+#define SQUID_OS_HPUX_H

 #if _SQUID_HPUX_

--- Comment #10 from timp87@gmail.com ---
arcade@b1t.name, can you try this one?
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192983
I hope it solves your initial error message.

-- 
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-184993-13-LpzNKiCYRF>