bug in dia? glibc? libc? worse?

Hervé Cauwelier herve.cauwelier at nospam.free.fr
Tue Apr 19 16:27:09 CDT 2005


I don't really know to report it so let's talk about it.

Consider the dia 0.94.0-7 package from Debian and the same compiled for 
Breezy. Note you need a patch for building with GCC 4.0.

Patch alone:
http://bugzilla.gnome.org/attachment.cgi?id=45397&action=view

My patched source package:
http://deb.oursours.net/motu/pending/

I install dia from Ubuntu, convert a Dia file to EPS, then trying to run 
"ps2pdf" but it fails due to some "\undefined" errors.

I manually install the Debian packages of Dia, convert the same Dia file 
to EPS, then run "ps2pdf" and it's ok.

I've tried many tests and then checked the difference for EPS files 
generated with Dia from Ubuntu:

[...]
-gsave 11.826933 12.000000 translate 0.035278 -0.035278 scale
+gsave 11,826933 12,000000 translate 0,035278 -0,035278 scale
[...]

Seeing my French locale is involved, I switch to LANG=C and LC_ALL=C, 
then build the EPS again with the same Dia from Ubuntu, and it's now 
using the English decimal notation, so the file is ok.

I install again the Debian package, try with and without the French 
locale, and in both cases, it remains unaffected by my locale.

I provide my test files here:
http://deb.oursours.net/motu/

I had the same problem since Hoary and dia 0.94.0-5 but I can't 
garantuee it 100%, but 90% at least; I didn't check it thoroughly at 
that time. I'll create some Hoary chroot when I have spare time again.

Any opinion? I just copy/paste it in Malone? :-)
Thanks!

-- 
Hervé Cauwelier
http://www.oursours.net/




More information about the ubuntu-devel mailing list