Hi,

I found the cause for this bug.
The bug was ideed introduced when going from version 21.4.19-1 to 21.4.19-2 and as such does not come from any change in upstream.

Looking at the changes between 19-1 and 19-2, nothing major was changed.

I was finally able to narrow things down and find that the different behavior is caused by this change made in debian/rules (see attachment):
-machine_type = $(shell dpkg --print-architecture)
+machine_type = $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)

(and also
-debianconfig = ${machine_type}-debian-linux
+debianconfig = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
)

"dpkg --print-architecture prints" "i386" on my machine, while "dpkg-architecture -qDEB_HOST_GNU_CPU" prints "i486"; the 2nd part changes debianconfig from "i385-debian-linux" to "i486-linux-gnu"

This then must cause some difference in the compile or in the paths used by the final xemacs program and then ultimatively leads to the failure of flyspell.

FIX: Reverse apply the attached patch to make the package and flyspell works as before.

It would be interesting to know why this innocent change causes the bug, but for now I would suggest to just revert to the old values for machine_type and debianconfig.

Now is perhaps yet in time to close the bug and get it fixed in lenny?

Cheers,
Karsten

PS. this is the 2nd attempt to send this, sorry if it is a duplicate.
diff -ru xemacs-21.4.19-1/debian/rules xemacs-21.4.19-2/debian/rules
--- xemacs-21.4.19-1/debian/rules       2008-08-12 13:26:23.000000000 -0500
+++ xemacs-21.4.19-2/debian/rules       2008-08-12 13:27:04.000000000 -0500
@@ -22,10 +22,10 @@
 # any way to do this automatically since we'd like this to be
 # easily used with no changes on other architectures, but still
 # want to be able to specify.  Does this work OK?
-machine_type = $(shell dpkg --print-architecture)
+machine_type = $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 prefix=usr

-debianconfig = ${machine_type}-debian-linux
+debianconfig = $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 tmp_file_loc = debian/tmp

 var_file = var_file.pl

Reply via email to