Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Feb 2016 11:19:34 +0100
From:      Lars Engels <lars.engels@0x20.net>
To:        John Marino <freebsdml@marino.st>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Removing documentation
Message-ID:  <20160210101934.GH68362@e-new.0x20.net>
In-Reply-To: <56BB0DEA.5090709@marino.st>
References:  <E1aT6jw-000MGn-1T@pandora.amnic.net> <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>

next in thread | previous in thread | raw e-mail | index | archive | help

--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/<profile>-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160210101934.GH68362>