$Id: emerge-webrsync 5154 2006-12-02 08:07:37Z zmedico $ http_proxy and ftp_proxy are set in make.conf only. emerge works properly, but emerge-webrsync tries direct connections, since it only reads some hard-coded values from make.conf. Reproducible: Always Steps to Reproduce: Actual Results: tuxbox ~ # emerge-webrsync -v Fetching most recent snapshot Attempting to fetch file dated: 20070711 --15:25:23-- http://distfiles.gentoo.org/snapshots/portage-20070711.tar.bz2.md5sum => `/var/tmp/emerge-webrsync/portage-20070711.tar.bz2.md5sum' Resolving distfiles.gentoo.org... failed: Unknown host. Expected Results: tuxbox ~ # emerge-webrsync -v Fetching most recent snapshot Attempting to fetch file dated: 20070711 --15:26:06-- http://distfiles.gentoo.org/snapshots/portage-20070711.tar.bz2.md5sum => `/var/tmp/emerge-webrsync/portage-20070711.tar.bz2.md5sum' Connecting to 10.10.10.6:6588... connected. Proxy request sent, awaiting response... 200 OK Length: 59 [application/x-tar] 100%[===================================================================================>] 59 --.--K/s 15:26:07 (3.00 MB/s) - `/var/tmp/emerge-webrsync/portage-20070711.tar.bz2.md5sum' saved [59/59] --15:26:07-- http://distfiles.gentoo.org/snapshots/portage-20070711.tar.bz2 => `/var/tmp/emerge-webrsync/portage-20070711.tar.bz2' Connecting to 10.10.10.6:6588... connected. Proxy request sent, awaiting response... 200 OK Length: 38,054,659 (36M) [application/x-tar]
I think it's better for you to set these variables in /etc/env.d/ so that they are respected globally. There's an example here: http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=5#doc_chap_pre3 We can update make.conf.5 and /etc/make.conf.example to recommend this.
(In reply to comment #1) > I think it's better for you to set these variables in /etc/env.d/ so that they > are respected globally. There's an example here: [snip] In my case, there's a reason for not doing so. Consider people having different proxies for differend kind of traffic... All portage-related stuff goes one way, anything else goes the other... Why else should portage respect proxies set in make.conf?
Created attachment 126201 [details, diff] make emerge-webrsync honor http_proxy and ftp_proxy from make.conf This is fixed in svn r7416.
This has been released in 2.1.3.
*** Bug 104547 has been marked as a duplicate of this bug. ***