From owner-freebsd-ports@freebsd.org Wed Feb 10 11:40:56 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BF6C4AA3697 for ; Wed, 10 Feb 2016 11:40:56 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from mail.0x20.net (mail.0x20.net [217.69.76.211]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.0x20.net", Issuer "mail.0x20.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 6B162188C for ; Wed, 10 Feb 2016 11:40:55 +0000 (UTC) (envelope-from lars@e-new.0x20.net) Received: from e-new.0x20.net (mail.0x20.net [IPv6:2001:aa8:fffb:1::3]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.0x20.net (Postfix) with ESMTPS id 44CB06E0068; Wed, 10 Feb 2016 11:19:35 +0100 (CET) Received: from e-new.0x20.net (localhost [127.0.0.1]) by e-new.0x20.net (8.14.7/8.14.7) with ESMTP id u1AAJYcr029412; Wed, 10 Feb 2016 11:19:34 +0100 (CET) (envelope-from lars@e-new.0x20.net) Received: (from lars@localhost) by e-new.0x20.net (8.14.7/8.14.7/Submit) id u1AAJYCK028929; Wed, 10 Feb 2016 11:19:34 +0100 (CET) (envelope-from lars) Date: Wed, 10 Feb 2016 11:19:34 +0100 From: Lars Engels To: John Marino Cc: FreeBSD Mailing List Subject: Re: Removing documentation Message-ID: <20160210101934.GH68362@e-new.0x20.net> References: <56B9D609.6030407@marino.st> <56B9EDC7.1010403@ohlste.in> <20160209151559.GX68362@e-new.0x20.net> <56BA21AB.7060106@marino.st> <20160210093705.GE68362@e-new.0x20.net> <56BB059C.9020104@marino.st> <20160210100924.GG68362@e-new.0x20.net> <56BB0DEA.5090709@marino.st> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="ZMT28BdW279F9lxY" Content-Disposition: inline In-Reply-To: <56BB0DEA.5090709@marino.st> X-Editor: VIM - Vi IMproved 7.4 X-Operation-System: FreeBSD 8.4-RELEASE-p23 User-Agent: Mutt/1.5.23 (2014-03-12) 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, 10 Feb 2016 11:40:56 -0000 --ZMT28BdW279F9lxY Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 10, 2016 at 11:16:10AM +0100, John Marino wrote: > On 2/10/2016 11:09 AM, Lars Engels wrote: > > On Wed, Feb 10, 2016 at 10:40:44AM +0100, John Marino wrote: > >> On 2/10/2016 10:37 AM, Lars Engels wrote: > >>> On Tue, Feb 09, 2016 at 06:28:11PM +0100, John Marino wrote: > >>>> On 2/9/2016 4:15 PM, Lars Engels wrote: > >>>>> > >>>>> root@fbsd01:~ # synth status > >>>>> Querying system about current package installations. > >>>>> Stand by, comparing installed packages against the ports tree. > >>>>> Stand by, building pkg(8) first ... Failed!! (Synth must exit) > >>>>> Unfortunately, the system upgrade failed. > >>>> > >>>> Do you have a file called /var/log/synth/ports-mgmt___pkg.log ? If = so, > >>>> does it provide clues? > >>> > >>> So it's missing the proxy variables. > >>> > >> > >> okay, so internally it's only installing resolv.conf in the builder > >> environment. Where are these proxy variables defined? When I > >> understand what's needed, I can give you a patch to try (if required) > >=20 > > resolv.conf doesn't work in that proxy scenario. DNS requests are > > handled by the proxy server. > >=20 > > I set > > HTTP_PROXY=3Dhttp://proxyserver:8888; export HTTP_PROXY > > http_proxy=3Dhttp://proxyserver:8888; export http_proxy > > ftp_proxy=3Dhttp://proxyserver:8888; export FTP_PROXY > > ftp_proxy=3Dhttp://proxyserver:8888; export ftp_proxy > >=20 > > NO_PROXY=3D"localhost,127.0.0.1,..."; export NO_PROXY > >=20 > > in /etc/profile and > > :setenv=3DMAIL=3D/var/mail/$,BLOCKSIZE=3DK,HTTP_PROXY=3Dhttp\c//proxyse= rver\c8888,FTP_PROXY=3Dhttp\c//proxyserver\c8888,NO_PROXY=3Dlocalhost\05412= 7.0.0.1\054...:\ > >=20 > > in /etc/login.conf > >=20 >=20 > wow, okay, so basically these 4 variables would have to be present in > the builder environment then? >=20 > I'll have to think about this. I'll probably have to add a feature like > a file like "/usr/local/etc/synth/-environment which will > append user environment variables to the stock ones. >=20 > That's not exactly a 1-line change, but would that solve this issue? That should work, yes. --ZMT28BdW279F9lxY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWuw62XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ4RjQwMDE3RTRERjUzMTI1N0FGRTUxNDlF NTRDQjM3RDNBMDg5RDZEAAoJEOVMs306CJ1t88gIAKr13WGysAEmnNFTN5Z5QYvJ c+Ci9CDY0bkZtlznwDwbmL+N0LZ3WGvkb+DfVVQiOsGGjSj8kqpGrLunqBAlXSRe IQOBDd4Tgq0YzSUBYiBkxPA3my3vhVo883+Xe/k48OIPMmKNgHaEca0vyGXMivL3 xb+b2kBnrZYGc4JdsH0Hi44TcisYgVnX8U7B63xHLmcADJ649HwxWVb82US2gANQ TpBLafMQBtJwJMLrdG8od89lD1ONEA40044yCtyv4G9dVbXuMrdrbXEW2Jppi5xN kSgqftQM9R6uJA+z4ieyw24o617gOOQEaHPNfFArdAURFptZshUth0a8uQEoz94= =JETd -----END PGP SIGNATURE----- --ZMT28BdW279F9lxY--