Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33051 - PORTAGE_BINHOST doesn't accept http://user:pass@host
Summary: PORTAGE_BINHOST doesn't accept http://user:pass@host
Status: VERIFIED LATER
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-08 19:52 UTC by Spider (RETIRED)
Modified: 2007-01-11 12:31 UTC (History)
0 users

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 Spider (RETIRED) gentoo-dev 2003-11-08 19:52:19 UTC
PORTAGE_BINHOST="http://${USER}:${PASSWORD}@adelie.alternating.net/files/binaries/i686"
emerge -k -g xfree
Fetching binary packages info...
Date: Sun, 09 Nov 2003 04:40:11 GMT
Server: Apache/2.0.48 (Gentoo/Linux) mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.3
WWW-Authenticate: Basic realm="Adelie beta tester username"
Content-Length: 537
Content-Type: text/html; charset=iso-8859-1

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>
<p>This server could not verify that you
are authorized to access the document
requested.  Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
<hr />
<address>Apache/2.0.48 (Gentoo/Linux) mod_ssl/2.0.48 OpenSSL/0.9.6k PHP/4.3.3
Server at adelie.alternating.net Port 80</address>
</body></html>

address: /files/binaries/i686
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2100, in ?
    mydepgraph=depgraph(myaction,myopts)
  File "/usr/bin/emerge", line 625, in __init__
    portage.db["/"]["bintree"].populate(("--getbinpkg" in myopts),
("--getbinpkgonly" in myopts))
  File "/usr/lib/python2.2/site-packages/portage.py", line 4291, in populate
    self.remotepkgs = getbinpkg.dir_get_metadata(settings["PORTAGE_BINHOST"],
chunk_size=chunk_size)
  File "/usr/lib/python2.2/site-packages/getbinpkg.py", line 413, in
dir_get_metadata
    filelist = dir_get_list(baseurl, conn)
  File "/usr/lib/python2.2/site-packages/getbinpkg.py", line 279, in dir_get_list
    return listing
UnboundLocalError: local variable 'listing' referenced before assignment





Well, haven't got a ftp up yet so I can't tell how that would work.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-07-16 02:08:39 UTC
Spider, still hitting this?
Comment 2 Spider (RETIRED) gentoo-dev 2004-07-16 09:39:00 UTC
unable to try anymore since I don't have that infrastructure left :-/
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-07-16 22:46:56 UTC
Hokay, marking LATER for the time being.
Feel free to give a yell when you're setup for testing.
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 12:31:04 UTC
Closing due to old age.