Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 82905

Summary: portage tree has case collisions on dev-perl/locale-maketext-lexicon vs. Locale-Maketext-Lexicon
Product: Gentoo Linux Reporter: Richard Benjamin Voigt <richardvoigt>
Component: New packagesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: pclouds
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Benjamin Voigt 2005-02-21 20:18:15 UTC
I was trying to download portage tree updates on Windows 2000 since my gentoo box lost network access.

Rsync got the whole tree with the exception of dev-perl/locale-maketext-lexicon.  There are two directories, locale-maketext-lexicon and Locale-Maketext-Lexicon.  On NTFS, which is case-insensitive, case-preserving, the Locale-Maketext-Lexicon directory is transferred fine.  Then rsync reaches locale-maketext-lexicon and transfers files into the existing Locale-Maketext-Lexicon directory.  At the end, rsync sees Locale-Maketext-Lexicon/* files that do not exist on the server (since they were transferred from locale-maketext-lexicon/*) and deletes them.

This also prevents burning the portage tree to CD since ISO9660 is case-insensitive.

Reproducible: Always
Steps to Reproduce:
1. Using cygwin, but will occur anytime /etc/portage is mounted on a case-insensitive filesystem
2. rsync --recursive --links --safe-links --perms --times --compress --force --delete --delete-after --whole-file --stats --timeout=60 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude-from=/etc/portage/rsync_excludes rsync://rsync.us.gentoo.org/gentoo-portage /usr/portage

Actual Results:  
Many files in Locale-Maketext-Lexicon/* were deleted at the end of rsync.

Expected Results:  
All files should be under either Locale-Maketext-Lexicon/* or
locale-maketext-lexicon/* so that no collision occurs.
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2005-04-02 09:51:32 UTC
I'm including pclouds in this bug since this mess is his making. I'm removing the upper case version since the lower case version is actually in use by packages. I'll post once the tree is cleaned up.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2005-04-02 10:07:14 UTC
Fixed. Should be able to sync up again soon.
Comment 3 Richard Benjamin Voigt 2005-10-31 20:15:31 UTC
New case collisions in dev-perl (preventing transfer to CD-ROM, or through
Windows rsync server):

dev-perl/Text-Reform/
dev-perl/Text-Reform/files/
dev-perl/text-reform/
dev-perl/text-reform/files/
dev-perl/Text-Reform/Text-Reform-1.11.ebuild
         521 100%  508.79kB/s    0:00:00  (2, 26.8% of 117116)
dev-perl/Text-Reform/files/digest-Text-Reform-1.11
          67 100%    2.97kB/s    0:00:00  (3, 26.8% of 117116)
dev-perl/text-reform/ChangeLog
        1512 100%   33.56kB/s    0:00:00  (4, 27.9% of 117116)
dev-perl/text-reform/Manifest
         241 100%    3.57kB/s    0:00:00  (5, 27.9% of 117116)
dev-perl/text-reform/files/digest-text-reform-1.11
          67 100%    0.75kB/s    0:00:00  (6, 27.9% of 117116)
dev-perl/text-reform/metadata.xml
         305 100%    2.73kB/s    0:00:00  (7, 27.9% of 117116)
dev-perl/text-reform/text-reform-1.11.ebuild
         589 100%    4.42kB/s    0:00:00  (8, 27.9% of 117116)
licenses/xmame
       10031 100%  890.54kB/s    0:00:00  (9, 41.0% of 117116)
metadata/cache/dev-perl/text-reform-1.11
         380 100%    8.63kB/s    0:00:00  (10, 57.7% of 117116)
deleting dev-perl/Text-Reform/text-reform-1.11.ebuild
deleting dev-perl/Text-Reform/files/digest-text-reform-1.11
Comment 4 Michael Cummings (RETIRED) gentoo-dev 2005-11-28 03:30:25 UTC
ack, this time it was my fault. Fixing now (somehow missed this bug getting
reopened, sorry)
Comment 5 Michael Cummings (RETIRED) gentoo-dev 2005-11-28 03:45:48 UTC
fixed