Thanks for the report, I will take a look.

At Tue, 01 Feb 2011 02:17:15 -0500,
Yan Morin wrote:
> 
> Package: opensp
> Version: 1.5.2-8
> Severity: important
> 
> The path for locale file is wrong because it check inside
> '${prefix}/share/locale/fr_CA.UTF-8/LC_MESSAGES/sp5.mo' to 
> '${prefix}/share/locale/fr/LC_MESSAGES/sp5.mo'
> 
> The ${prefix} is not substitute to /usr/ as it should be.
> 
> Exemple:
> ymorin@work:/home/ymorin/doc 01:59:54$ strace -e open onsgmls --help
> 
> will gives:
> open("/home/ymorin/doc/${prefix}/share/locale/fr_CA.UTF-8/LC_MESSAGES/sp5.mo",
>  O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/home/ymorin/doc/${prefix}/share/locale/fr_CA.utf8/LC_MESSAGES/sp5.mo", 
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/home/ymorin/doc/${prefix}/share/locale/fr_CA/LC_MESSAGES/sp5.mo", 
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/home/ymorin/doc/${prefix}/share/locale/fr.UTF-8/LC_MESSAGES/sp5.mo", 
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/home/ymorin/doc/${prefix}/share/locale/fr.utf8/LC_MESSAGES/sp5.mo", 
> O_RDONLY) = -1 ENOENT (No such file or directory)
> open("/home/ymorin/doc/${prefix}/share/locale/fr/LC_MESSAGES/sp5.mo", 
> O_RDONLY) = 3
> 
> Note that I manually put a symbolic link inside
> '/home/ymorin/doc/${prefix}/share/locale/fr/LC_MESSAGES/' to the real sp5.mo 
> to test if it's really the case that ${prefix} was not replaced...
> 
> This is not normal since a valid strace with ls will do:
> $ strace -e open ls --help
> open("/usr/share/locale/fr/LC_MESSAGES/coreutils.mo", O_RDONLY) = 3
> 
> I need a correct error listing in french for my website 
> http://validator.progysm.com/
> 
> -- System Information:
> Debian Release: 6.0
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
> Architecture: i386 (i686)
> 
> Kernel: Linux 2.6.37-trunk-686 (SMP w/1 CPU core)
> Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> 
> Versions of packages opensp depends on:
> ii  libc6                         2.11.2-10  Embedded GNU C Library: Shared 
> lib
> ii  libgcc1                       1:4.4.5-10 GCC support library
> ii  libosp5                       1.5.2-8    Runtime library for OpenJade 
> group
> ii  libstdc++6                    4.4.5-10   The GNU Standard C++ Library v3
> ii  sgml-base                     1.26+nmu1  SGML infrastructure and SGML 
> catal
> 
> opensp recommends no packages.
> 
> Versions of packages opensp suggests:
> pn  doc-base                      <none>     (no description available)
> ii  sgml-data                     2.0.5      common SGML and XML data
> 
> -- no debconf information
> 



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to