From owner-freebsd-ports@FreeBSD.ORG Wed Apr 29 22:00:18 2015 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 638AB2EF for ; Wed, 29 Apr 2015 22:00:18 +0000 (UTC) Received: from quine.pinyon.org (quine.pinyon.org [65.101.5.249]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 391D11D07 for ; Wed, 29 Apr 2015 22:00:17 +0000 (UTC) Received: by quine.pinyon.org (Postfix, from userid 122) id 9BA5016015F; Wed, 29 Apr 2015 15:00:16 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on quine.pinyon.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Received: from feyerabend.n1.pinyon.org (feyerabend.n1.pinyon.org [10.0.10.6]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by quine.pinyon.org (Postfix) with ESMTPSA id 6FD4216015F for ; Wed, 29 Apr 2015 15:00:14 -0700 (MST) Message-ID: <5541546E.7090500@pinyon.org> Date: Wed, 29 Apr 2015 15:00:14 -0700 From: "Russell L. Carter" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: Re: poudriere dying in ftp/curl configure References: <553BDE35.9070100@pinyon.org> <554085AA.8050002@citrin.ru> <5540EA00.2050202@pinyon.org> <5540EAA5.5040205@FreeBSD.org> <5540F24A.6010605@pinyon.org> <554144EA.1040304@egr.msu.edu> In-Reply-To: <554144EA.1040304@egr.msu.edu> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Apr 2015 22:00:18 -0000 On 04/29/15 13:54, Adam McDougall wrote: > On 4/29/2015 5:01 AM, Russell L. Carter wrote: >> >> >> On 04/29/15 07:28, Matthew Seaman wrote: >>> On 2015/04/29 15:26, Russell L. Carter wrote: >>>> I'd love to have a look at the config.log, but this is running under >>>> poudriere, which seems to clean up after errors. I tried ^Z right >>>> after curl fails, and then find . -name config.log at the top of the >>>> poudriere tree, and there doesn't seem to be a config.log. Any tips >>>> here would be appreciated. >>>> >>>> It's still failing, and there are 238 ports skipped because of it. >>> >>> Poudriere has a handy option to save a tarball of the work directory if >>> the build fails. Add this to poudriere.conf: >>> >>> SAVE_WRKDIR=yes >>> >> >> Thanks Matthew! The problem is here: >> >> configure:4240: cc -I/usr/include -O2 -pipe -fstack-protector >> -fno-strict-aliasing -I/usr/include -I/usr/include -L/usr/lib >> -L/usr/lib -L/usr/lib -Wl,-rpath,/usr/lib:/usr/local/lib -L/usr/lib >> -Wl,-rpath,/usr/lib:/usr/local/lib -fstack-protector conftest.c -lkrb5 >> -lgssapi -lgssapi_krb5 -lkrb5 -lgssapi -lgssapi_krb5 >&5 >> /usr/bin/ld: cannot find -lkrb5 >> cc: error: linker command failed with exit code 1 (use -v to see >> invocation) >> >> So Anton guessed correctly, as I have WITHOUT_KERBEROS=yes in >> src.conf(5). >> >> And of course in 'poudriere options ftp/curl' I have GSSAPI_NONE >> selected. So that's a bug. >> >> This is the first glitch I've encountered with about 6 months >> experience running WITHOUT_KERBEROS=yes. Frankly I was expecting >> quite a bit more. >> >> Russell > > It is a little unintuitive the way those GSSAPI_ options are designed. > Try: > > ftp_curl_SET=GSSAPI_NONE > ftp_curl_UNSET=GSSAPI_BASE Ok, here's the relevant bits of /usr/local/etc/poudriere.d/stable-amd64-options/ftp_curl/options: OPTIONS_FILE_SET+=GSSAPI_BASE OPTIONS_FILE_UNSET+=HEIMDAL_PORT OPTIONS_FILE_UNSET+=KRB5_PORT I got those by selecting GSSAPI_NONE from the menu displayed by 'poudriere options ftp/curl'. Specifically, GSSAPI_BASE is not selected in the menu. If I manually convert the first line to: OPTIONS_FILE_UNSET+=GSSAPI_BASE and run poudriere bulk, it dies with: [00:00:40] ====>> Failed ports: ftp/curl:check-sanity If I then add the line OPTIONS_FILE_SET+=GSSAPI_NONE to ftp_curl/options, (without adding to _FILE_COMPLETE_OPTIONS_LIST), ftp/curl succeeds, and now that 8 core system might as well be mining bitcoins for the next 2 hours :-). Thanks for the tip, Russell