Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353810 - [x11 overlay] x11-base/xorg-server-9999 fails to git clone because of non-standard URI
Summary: [x11 overlay] x11-base/xorg-server-9999 fails to git clone because of non-sta...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-06 03:27 UTC by Delan Azabani
Modified: 2011-02-07 21:00 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 Delan Azabani 2011-02-06 03:27:32 UTC
While installing xorg-server-9999 from the x11 overlay, the emerge immediately fails because git says the 'remote end hung up unexpectedly'. Of course, this is because the git repo for the xorg-server package is not at

git://anongit.freedesktop.org/xorg/xserver/xorg-server

but rather, at

git://anongit.freedesktop.org/xorg/xserver

The problem is that the git URI construction in xorg-2.eclass works for every package except xorg-server itself. I've added a hackish line to xorg-2.eclass to remove 'xorg-server' from the URI where found. Maybe anongit.freedesktop.org should follow its (mostly consistent) URI layout?

Reproducible: Always

Steps to Reproduce:
1. layman -a x11
2. unmask the xorg packages
3. emerge -DavuN world

Actual Results:  
git failed with 'remote end hung up unexpectedly'

Expected Results:  
git should have cloned the correct URI (which doesn't follow the pattern of all the other xorg overlay packages)

adding the line:

EGIT_REPO_URI=${EGIT_REPO_URI//xorg-server/}

after line 92 in

/var/lib/layman/x11/eclass/xorg-2.eclass

is a suitable (but probably not fit for permanent) workaround that fixes xorg-server-9999 and leaves the other x11 overlay packages working.
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-02-07 21:00:15 UTC
It should work now, please reopen if the problem persists.