Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238157 - sys-apps/portage-2.1.4.4 man page error for http_proxy breaks rubygems
Summary: sys-apps/portage-2.1.4.4 man page error for http_proxy breaks rubygems
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-20 02:25 UTC by Arthur Hagen
Modified: 2008-09-23 19:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arthur Hagen 2008-09-20 02:25:45 UTC
The man page for make.conf(5) states:

       http_proxy ftp_proxy = [host:port]
              These vars are used if the sources must be downloaded  from  the
              internet  by wget(1).  They are only required if you use a proxy
              server for internet access.

This breaks rubygems, which requires the http_proxy variable to be a URI, i.e. a [protocol://host:port] format.

Reference bug #238061
Comment 1 Wormo (RETIRED) gentoo-dev 2008-09-20 05:51:32 UTC
Mentioning syntax needed for gem in make.conf manpage might help ruby enthusiasts do it right from the start, but some people would not think to look there when a gem install fails. Maybe gem eclass should check http_proxy for proper syntax if the variable is set?
Comment 2 Zac Medico gentoo-dev 2008-09-20 07:16:53 UTC
(In reply to comment #0)
> The man page for make.conf(5) states:
> 
>        http_proxy ftp_proxy = [host:port]
>               These vars are used if the sources must be downloaded  from  the
>               internet  by wget(1).  They are only required if you use a proxy
>               server for internet access.
> 
> This breaks rubygems, which requires the http_proxy variable to be a URI, i.e.
> a [protocol://host:port] format.

Thanks, I've updated the make.conf(5) man page in svn r11520.

Comment 3 Zac Medico gentoo-dev 2008-09-21 23:47:47 UTC
The make.conf(5) man page is updated in portage-2.2_rc9.
Comment 4 Hans de Graaff gentoo-dev Security 2008-09-23 19:19:24 UTC
We will most likely fix this in rubygems in bug #238061, so that URI's without a scheme won't break rubygems.

Closing this bug as for now the man page includes the comment.