From nobody@FreeBSD.org  Thu Dec 19 13:06:12 2013
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 0D9D416E
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Dec 2013 13:06:12 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id EB68D1ED0
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Dec 2013 13:06:11 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id rBJD6Bw4023591
	for <freebsd-gnats-submit@FreeBSD.org>; Thu, 19 Dec 2013 13:06:11 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id rBJD6A5u023590;
	Thu, 19 Dec 2013 13:06:10 GMT
	(envelope-from nobody)
Message-Id: <201312191306.rBJD6A5u023590@oldred.freebsd.org>
Date: Thu, 19 Dec 2013 13:06:10 GMT
From: Volodymyr Kostyrko <arcade@b1t.name>
To: freebsd-gnats-submit@FreeBSD.org
Subject: www/squid33 - fails to build on ^/stable/10
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         184993
>Category:       ports
>Synopsis:       www/squid33 - fails to build on ^/stable/10
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    tmseck
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 19 13:10:00 UTC 2013
>Closed-Date:    
>Last-Modified:  Thu Feb 13 15:40:01 UTC 2014
>Originator:     Volodymyr Kostyrko
>Release:        ^/stable/10
>Organization:
none
>Environment:
FreeBSD ar1l0u 10.0-PRERELEASE FreeBSD 10.0-PRERELEASE #17 r259547M: Wed Dec 18 11:41:18 EET 2013     arcade@ar1l0u:/usr/obj/usr/src/sys/MINIMAL  amd64
>Description:
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

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->tmseck 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Thu Dec 19 13:10:08 UTC 2013 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=184993 

From: Volodymyr Kostyrko <arcade@b1t.name>
To: bug-followup@FreeBSD.org, ports@FreeBSD.org
Cc:  
Subject: Re: ports/184993: www/squid33 - fails to build on ^/stable/10 (without
 AUFS or why AUFS doesn't work)
Date: Thu, 13 Feb 2014 16:06:51 +0200

 This is a multi-part message in MIME format.
 --------------080501080603010301000802
 Content-Type: text/plain; charset=UTF-8; format=flowed
 Content-Transfer-Encoding: 7bit
 
 Hi all.
 
 The core problem to whole this stuff is about how squid is compiled when 
 it requires threading support (and AUFS needs pthreads).
 
 Let's see some diffs. The whole difference between this two is FS_AUFS 
 is enabled for the +++ and disables for the ---.
 
 --- squid.nobuild       2014-02-13 13:48:44.361353003 +0200
 +++ squid.build 2014-02-13 14:24:09.565205775 +0200
 @@ -162,7 +162,7 @@
   configure: cbdata debugging enabled: no
   configure: xmalloc stats display: no
   checking for library containing shm_open... none required
 -checking for DiskIO modules to be enabled...  AIO Blocking DiskDaemon 
 IpcIo Mmapped
 +checking for DiskIO modules to be enabled...  AIO Blocking DiskDaemon 
 IpcIo Mmapped DiskThreads
   checking aio.h usability... yes
   checking aio.h presence... yes
   checking for aio.h... yes
 @@ -173,8 +173,10 @@
   configure: Enabling DiskDaemon DiskIO module
   configure: Enabling IpcIo DiskIO module
   configure: Enabling Mmapped DiskIO module
 +configure: pthread library requires FreeBSD 7 or later
 
 That's a weird one. Like we have no support on 10 for pthreads?
 
 +configure: Native pthreads support disabled. DiskThreads module 
 automaticaly disabled.
 
 And that's why aufs stops working.
 
   configure: IO Modules built:  AIO Blocking DiskDaemon IpcIo Mmapped
 -configure: Store modules built:  diskd rock ufs
 +configure: Store modules built:  diskd rock ufs aufs
   configure: Removal policies to build: lru heap
   configure: Disabling ESI processor
   checking whether to support eCAP... no, explicitly
 @@ -674,7 +676,7 @@
   checking for prctl... no
   checking for pthread_attr_setschedparam... yes
   checking for pthread_attr_setscope... yes
 -checking for pthread_setschedparam... no
 +checking for pthread_setschedparam... yes
   checking for pthread_sigmask... yes
   checking for putenv... (cached) yes
   checking for random... (cached) yes
 @@ -743,9 +745,9 @@
   configure: BUILD OBJECTS:
   configure: BUILD EXTRA OBJECTS:
   configure: BUILD C FLAGS:  -O2 -pipe -march=native 
 -fno-strict-aliasing -I/usr/local/include
 -configure: BUILD EXTRA C FLAGS:  -Werror -Qunused-arguments
 +configure: BUILD EXTRA C FLAGS:
   configure: BUILD C++ FLAGS:  -O2 -pipe -march=native 
 -fno-strict-aliasing -Wno-unused-private-field -std=c++0x 
 -I/usr/local/include
 -configure: BUILD EXTRA C++ FLAGS:  -Werror -Qunused-arguments
 +configure: BUILD EXTRA C++ FLAGS:
 
 And those two are about why squid can't build withous AUFS. -Werror 
 chimes in and thrashes whole thing.
 
   configure: creating ./config.status
   config.status: creating Makefile
   config.status: creating compat/Makefile
 
 The tiny patch attached fixes wording around AUFS (ie stops calling it 
 async) and disables by default DISKD and ROCK storages (as they seem to 
 fail anyway).
 
 -- 
 Sphinx of black quartz, judge my vow.
 
 --------------080501080603010301000802
 Content-Type: text/plain; charset=UTF-8;
  name="squid.patch.txt"
 Content-Transfer-Encoding: base64
 Content-Disposition: attachment;
  filename="squid.patch.txt"
 
 SW5kZXg6IE1ha2VmaWxlCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIE1ha2VmaWxlCShyZXZpc2lvbiAz
 NDQwNDYpCisrKyBNYWtlZmlsZQkod29ya2luZyBjb3B5KQpAQCAtNjEsNyArNjEsNyBAQAog
 T1BUSU9OU19ERUZJTkU9CUFSUF9BQ0wgQVVUSF9LRVJCIEFVVEhfTERBUCBBVVRIX05JUyBB
 VVRIX1NBU0wgQVVUSF9TTUIgXAogCQlBVVRIX1NRTCBcCiAJCUNBQ0hFX0RJR0VTVFMgREVC
 VUcgREVMQVlfUE9PTFMgRE5TX0hFTFBFUiBFQ0FQIEVTSSBcCi0JCUZPTExPV19YRkYgRlNf
 QVVGUyBGU19DT1NTIEhUQ1AgSUNBUCBJQ01QIElERU5UIElQVjYgS1FVRVVFIFwKKwkJRk9M
 TE9XX1hGRiBGU19BVUZTIEZTX0NPU1MgRlNfRElTS0QgRlNfUk9DSyBIVENQIElDQVAgSUNN
 UCBJREVOVCBJUFY2IEtRVUVVRSBcCiAJCUxBUkdFRklMRSBTTk1QIF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 a2luZyBEaXNrRGFlbW9uIElwY0lvIE1tYXBwZWQKK3N0b3JhZ2Vfc2NoZW1lcz0JdWZzCitk
 aXNraW9fbW9kdWxlcz0JQUlPIEJsb2NraW5nIElwY0lvIE1tYXBwZWQKIC5pZiAke1BPUlRf
 T1BUSU9OUzpNRlNfQVVGU30KIHN0b3JhZ2Vfc2NoZW1lcys9CWF1ZnMKIGRpc2tpb19tb2R1
 bGVzKz0JRGlza1RocmVhZHMKQEAgLTMyMiw2ICszMjQsMTMgQEAKIC5pZiAke1BPUlRfT1BU
 SU9OUzpNRlNfQ09TU30KIHN0b3JhZ2Vfc2NoZW1lcys9CWNvc3MKIC5lbmRpZgorLmlmICR7
 UE9SVF9PUFRJT05TOk1GU19ESVNLRH0KK3N0b3JhZ2Vfc2NoZW1lcys9CWRpc2tkCitkaXNr
 aW9fbW9kdWxlcys9CURpc2tEYWVtb24KKy5lbmRpZgorLmlmICR7UE9SVF9PUFRJT05TOk1G
 U19ST0NLfQorc3RvcmFnZV9zY2hlbWVzKz0Jcm9jaworLmVuZGlmCiBDT05GSUdVUkVfQVJH
 Uys9CS0tZW5hYmxlLXN0b3JlaW89IiR7c3RvcmFnZV9zY2hlbWVzfSIKIENPTkZJR1VSRV9B
 UkdTKz0JLS1lbmFibGUtZGlzay1pbz0iJHtkaXNraW9fbW9kdWxlc30iCiAK
 --------------080501080603010301000802--

From: Dimitry Andric <dim@FreeBSD.org>
To: Volodymyr Kostyrko <arcade@b1t.name>
Cc: bug-followup@FreeBSD.org,
 ports <ports@FreeBSD.org>
Subject: Re: ports/184993: www/squid33 - fails to build on ^/stable/10 (without AUFS or why AUFS doesn't work)
Date: Thu, 13 Feb 2014 16:33:17 +0100

 --Apple-Mail=_D0F64B1B-A199-446D-AA08-BB2A96FFD634
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=us-ascii
 
 On 13 Feb 2014, at 15:06, Volodymyr Kostyrko <arcade@b1t.name> wrote:
 >=20
 > The core problem to whole this stuff is about how squid is compiled =
 when it requires threading support (and AUFS needs pthreads).
 ...
 >=20
 > +configure: pthread library requires FreeBSD 7 or later
 >=20
 > That's a weird one. Like we have no support on 10 for pthreads?
 
 It's a bug in Squid's configure script, see this earlier thread:
 
 =
 http://lists.freebsd.org/pipermail/freebsd-ports/2014-February/089768.html=
 
 
 -Dimitry
 
 
 --Apple-Mail=_D0F64B1B-A199-446D-AA08-BB2A96FFD634
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP using GPGMail
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
 
 iEYEARECAAYFAlL85cQACgkQsF6jCi4glqP+UACfaRRlxt2Db6Lwq/Lb8ZVIblLt
 ycoAn0lIz8ZWepE5qrqcls+N+HAo9nze
 =ZVLn
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_D0F64B1B-A199-446D-AA08-BB2A96FFD634--
>Unformatted:
