Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430772 - git-2.eclass: git-2_move_source fails in prefix - directory already exists and is not empty when building sys-libs/glibc-9999
Summary: git-2.eclass: git-2_move_source fails in prefix - directory already exists an...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-10 14:51 UTC by Robert McGehee
Modified: 2012-08-11 15:57 UTC (History)
2 users (show)

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


Attachments
build.log & emerge --info (file_430772.txt,7.76 KB, text/plain)
2012-08-10 14:51 UTC, Robert McGehee
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert McGehee 2012-08-10 14:51:34 UTC
Created attachment 320894 [details]
build.log & emerge --info

Hello,
I am unable to install glibc-9999 on my Gentoo Prefix installation. When installing, it appears that the git glibc repository is cloned to the working directory, followed by a cloning of the glibc-ports repository. However, when glibc-ports tries to clone, it fails because the work/glibc-9999/ports directory already exists (presumably created by the first clone). Deleting the whole work directory and re-emerging doesn't help. 

Any help is greatly appreciated. Let me know if you need more information.

Note: because my installation is behind a firewall, I changed the ebuild to use the http protocol rather than the git protocol when connecting to the sourceware git repository as otherwise, the files cannot sync. Not sure why this would be related though. 

Error (see build.log attachment):

fatal: destination path '/data/gentoo/var/tmp/portage/sys-libs/glibc-9999/work/glibc-9999/ports' already exists and is not an empty directory.

Thank you, Robert
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-08-11 07:40:57 UTC
To be honest, that doesn't seem to be Prefix-specific. More like change in upstream git which broke the ebuild.
Comment 2 SpanKY gentoo-dev 2012-08-11 15:53:31 UTC
upstream merged the two git repos into one.  didn't occur to me that i'd have to update the glibc-9999 ebuild accordingly.
Comment 3 SpanKY gentoo-dev 2012-08-11 15:57:14 UTC
should be all set now in the tree; thanks for the report!

Commit message: Upstream only has one git repo now
http://sources.gentoo.org/sys-libs/glibc/glibc-9999.ebuild?r1=1.10&r2=1.11