[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

locale version symmetry problem



Hello everyone. 

I've encountered what I think is a bug in the libc6 build process, but
I want to make sure its a bug before I report it. 

When picking up your libc6, I added some of our patches and rebuilt it
with the version 2.3.1-16.lindows1. Upon doing so, locales fails to
install because it depends on glibc-2.3.1-16.lindows1 but the provides
line for libc6 is only glibc-2.3.1-16. I see that in the file
debian/debver2localesdep.pl you remove the version info after the .,
and commenting that code out fixes the problem. I have a patch
attached that fixes the problem. Basically it seems that there's an
inconsistency in what version gets used for the provides and the
depends info. 

Looking at some bugs though, it seems as if this script is an attempt
to loosen the coupling of the versions of libc6 and locales, which in
my case, it fails to do. Bug 163517 says that this is the
intention. Also, bug 152962 seems to discuss the problem I'm having,
but it says that its fixed. 

-- 
michael cardenas       | lead software engineer, lindows.com
hyperpoem.net          | GNU/Linux software developer
people.debian.org/~mbc | encrypted email preferred

"It is as hard to see one's self as to look backwards without turning
 around."
- Henry David Thoreau
diff -ru glibc-2.2.5.orig/debian/debver2localesdep.pl~ glibc-2.2.5.orig/debian/debver2localesdep.pl
--- glibc-2.2.5.orig/debian/debver2localesdep.pl~	Thu Oct  3 10:46:15 2002
+++ glibc-2.2.5.orig/debian/debver2localesdep.pl	Fri Oct 11 12:59:22 2002
@@ -7,9 +7,9 @@
 $debver = $1;
 $devrev = $2;
 
-@revs = split('\.', $devrev);
-
-$devrev = $revs[0];
-$devrev = "$devrev.$revs[1]" if defined($revs[1]) and $revs[1] > 0;
+#@revs = split('\.', $devrev);
+#
+#$devrev = $revs[0];
+#$devrev = "$devrev.$revs[1]" if defined($revs[1]) and $revs[1] > 0;
 
 print "glibc-$debver-$devrev\n";

Reply to: