Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144440 - PORTAGE_BINHOST variable in make.conf makes emerge crash when missing / at the end
Summary: PORTAGE_BINHOST variable in make.conf makes emerge crash when missing / at th...
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 181949 187293
  Show dependency tree
Reported: 2006-08-19 10:25 UTC by Arvid Picciani
Modified: 2007-06-29 02:52 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Arvid Picciani 2006-08-19 10:25:17 UTC
white / # emerge -gK glibc
Fetching binary packages info...
Traceback (most recent call last):
  File "/usr/bin/emerge", line 3435, in ?
  File "/usr/bin/emerge", line 922, in __init__
    portage.db["/"]["bintree"].populate(("--getbinpkg" in myopts), ("--getbinpkgonly" in myopts))
  File "/usr/lib/portage/pym/", line 5724, in populate
    self.remotepkgs = getbinpkg.dir_get_metadata(settings["PORTAGE_BINHOST"], chunk_size=chunk_size)
  File "/usr/lib/portage/pym/", line 424, in dir_get_metadata
    conn,protocol,address,params,headers = create_conn(baseurl, conn)
  File "/usr/lib/portage/pym/", line 84, in create_conn
    host,address = string.split(url_parts, "/", 1)
ValueError: need more than 1 value to unpack
white / #
Comment 1 Lucian Muresan 2007-01-25 15:22:22 UTC
On my arm9, portage--2.1.1-r2 actually didn't crash, but just hangs when saying something like "Location has moved:http://address_of_binhost/../"
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2007-06-23 18:40:32 UTC
fixed the direct problem, but can't check if there are further problems caused by this condition later on.
Comment 3 Zac Medico gentoo-dev 2007-06-29 02:52:23 UTC
This has been released in 2.1.3_rc6.