Your message dated Wed, 05 Oct 2011 13:47:25 +0000
with message-id <[email protected]>
and subject line Bug#641371: fixed in gettext 0.18.1.1-5
has caused the Debian Bug report #641371,
regarding xgettext -k_ hello.scm fails if block-comment are used inside a
function
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
641371: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641371
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: gettext
Version: 0.18.1.1-4
Severity: important
Dear Maintainer,
As I was trying to use xgettext on my own scheme files, it always
failed. So I decided to try to run it on the example that comes with
gettext-doc and it worked like a charm.
Digging into what could cause this strange 'working on the distro
scheme example file but not on any of my scheme files', I found that
xgettext will properly work until it reaches a block-comment inside a
scheme function [as opposed to a toplevel block-comment which xgettext
appears to propely manage.
On the modified hello.scm below, if you run:
xgettext -k_ -o hello.pot hello.scm
and cat hello.pot, you'll see that xgettext 'stopped' working properly
after extracting "let's see: xgettext 1". In case you could not
reproduce exactly, I'll also attach the hello.pot I got here.
;; hello.scm [modified] starts here
#!@GUILE@ -s
!#
;;; Example for use of GNU gettext.
;;; This file is in the public domain.
;;; Source code of the GNU guile program.
(use-modules (ice-9 format))
(catch #t (lambda () (setlocale LC_ALL "")) (lambda args #f))
(textdomain "hello-guile")
(bindtextdomain "hello-guile" "@localedir@")
(define _ gettext)
(display (_ "Hello, world!"))
(newline)
(format #t (_ "This program is running as process number ~D.") (getpid))
(newline)
#!
this toplevel block-comment does seem to confuse ngettext
(_ "this first string should not be extracted")
!#
(define (further-testing-xgettext)
(_ "let's see: xgettext 1")
#!
then for some reason, i'v noticed that xgettext gets confused if
block-comment is used inside a function, unlike @ toplevel
(_ "this second string should not be extracted")
!#
(_ "let's see: xgettext 2"))
(display (_ "let's see: xgettext 3"))
;; hello.scm [modified] ends here
;; hello.pot starts here
# SOME DESCRIPTIVE TITLE.
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
# This file is distributed under the same license as the PACKAGE package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE VERSION\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2011-09-12 20:42-0300\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"Language: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=CHARSET\n"
"Content-Transfer-Encoding: 8bit\n"
#: hello.scm:15
msgid "Hello, world!"
msgstr ""
#: hello.scm:17
#, scheme-format
msgid "This program is running as process number ~D."
msgstr ""
#: hello.scm:26
msgid "let's see: xgettext 1"
msgstr ""
;; hello.pot ends here
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (800, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gettext depends on:
ii dpkg 1.16.0.3
ii gettext-base 0.18.1.1-4
ii install-info 4.13a.dfsg.1-8
ii libc6 2.13-18
ii libcroco3 0.6.2-1
ii libglib2.0-0 2.28.6-1
ii libgomp1 4.6.1-4
ii libncurses5 5.9-1
ii libunistring0 0.9.3-4
ii libxml2 2.7.8.dfsg-4
Versions of packages gettext recommends:
ii autopoint 0.18.1.1-4
ii curl 7.21.7-1
ii wget 1.13-1
Versions of packages gettext suggests:
ii gettext-doc 0.18.1.1-4
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: gettext
Source-Version: 0.18.1.1-5
We believe that the bug you reported is fixed in the latest version of
gettext, which is due to be installed in the Debian FTP archive:
autopoint_0.18.1.1-5_all.deb
to main/g/gettext/autopoint_0.18.1.1-5_all.deb
gettext-base_0.18.1.1-5_amd64.deb
to main/g/gettext/gettext-base_0.18.1.1-5_amd64.deb
gettext-doc_0.18.1.1-5_all.deb
to main/g/gettext/gettext-doc_0.18.1.1-5_all.deb
gettext-el_0.18.1.1-5_all.deb
to main/g/gettext/gettext-el_0.18.1.1-5_all.deb
gettext_0.18.1.1-5.debian.tar.gz
to main/g/gettext/gettext_0.18.1.1-5.debian.tar.gz
gettext_0.18.1.1-5.dsc
to main/g/gettext/gettext_0.18.1.1-5.dsc
gettext_0.18.1.1-5_amd64.deb
to main/g/gettext/gettext_0.18.1.1-5_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated gettext package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 05 Oct 2011 15:19:00 +0200
Source: gettext
Binary: gettext-base gettext gettext-el gettext-doc autopoint
Architecture: source all amd64
Version: 0.18.1.1-5
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description:
autopoint - The autopoint program from GNU gettext
gettext - GNU Internationalization utilities
gettext-base - GNU Internationalization utilities for the base system
gettext-doc - Documentation for GNU gettext
gettext-el - Emacs po-mode for editing gettext .po files
Closes: 641371
Changes:
gettext (0.18.1.1-5) unstable; urgency=low
.
* Applied patch by Bruno Haible to teach xgettext about new scheme
syntax. Reported by David Pirotte. Closes: #641371.
Checksums-Sha1:
39872153a02fb5b03ff4adb0fae3929aab56129d 1684 gettext_0.18.1.1-5.dsc
1660ff0ad436e75fcdf700e93b9f93d0aa704041 40238 gettext_0.18.1.1-5.debian.tar.gz
e07fb5442cfd8c6be73948215e483065e7e9bcb4 59680 gettext-el_0.18.1.1-5_all.deb
cb9ea71dc173a3667dd9b0961b1151754c1049a4 913330 gettext-doc_0.18.1.1-5_all.deb
e40cf84e908fd7c8cd8dd65f997ef5baaadd8cb5 630522 autopoint_0.18.1.1-5_all.deb
160183a0c840f2bf5df7210b9d3ea2a8490a21fc 154126
gettext-base_0.18.1.1-5_amd64.deb
e4651b2d9e2aa6821a9a2d27b237f582e37ea5a4 2079892 gettext_0.18.1.1-5_amd64.deb
Checksums-Sha256:
58f56fcb7faa6a1820e4b9edc4f475f405c5b00d240825168bbc4d4e97e6b885 1684
gettext_0.18.1.1-5.dsc
d93e794f858ec8d68ca4b30d019a6c7afce69019d6e00eaaa791d770726514aa 40238
gettext_0.18.1.1-5.debian.tar.gz
10131327cc45cdde76958d16a6a8793a4efd661c3e260aa8dd8cf927702edfeb 59680
gettext-el_0.18.1.1-5_all.deb
cdc0f7962f0f4e5b49c624861f73b346a1c71c721b93e673d4e729c702f563fa 913330
gettext-doc_0.18.1.1-5_all.deb
1aaa096361e58cce033536e61fa5e0d7fb45e870f764140268e4a50576fa2ad0 630522
autopoint_0.18.1.1-5_all.deb
1a79b7c6e0f8e51d331d5596557e1dc81c9acf49e29390d2117d749fdb8e1ab9 154126
gettext-base_0.18.1.1-5_amd64.deb
0e443aa96d373af0925993de07a737cb522177fc5c91baff46158ac6feebe277 2079892
gettext_0.18.1.1-5_amd64.deb
Files:
18d2537f8fe60521798be9dd5e183bc9 1684 devel optional gettext_0.18.1.1-5.dsc
12b6ee6d42eded9669451454ad9a2a0b 40238 devel optional
gettext_0.18.1.1-5.debian.tar.gz
5d09363e108edfc37f285c61a2675a2d 59680 lisp optional
gettext-el_0.18.1.1-5_all.deb
73353c6ac62009c76d041a604a77e02d 913330 doc optional
gettext-doc_0.18.1.1-5_all.deb
6ae53bd878d6b7ac007be9322b2cbfed 630522 devel optional
autopoint_0.18.1.1-5_all.deb
43dd9909bc31d3ace33180cdde0f6f44 154126 utils standard
gettext-base_0.18.1.1-5_amd64.deb
7cb2e6b079d22d4985ba5afddbaae004 2079892 devel optional
gettext_0.18.1.1-5_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQEcBAEBCAAGBQJOjFrOAAoJEEHOfwufG4syT1kIAKBGUYYnZPpS1gfGa+GONTgu
hfX08gFIJTNqQ0UKLxNW9smhCr2rIjY0RK47B4CPYq4YlVzgSlY9aw23uUF35x1D
ubDjkqhqrvmBiQO42M48Ymr62rCjQoRM/TIpGtCvwRAa0FIOc4ip/Vjam8aY8zL/
1Ef6wDZmFVVzuKl5/q0XCLo6wv3GfCciRH19s2leAP/jsJbqjOlfskgIlYurGJmX
8QjaOfp68kbfGF7NkS7w0gtBH/pSfwVngxVsansuN+OLsPrU6AG+Vv6EERcgqblQ
gwAd/3u8ObaC/c55YtSFesa4s9Cwq8aSSi15T7KYHcbpA7I5jbigZwjd5LwQta0=
=rCXu
-----END PGP SIGNATURE-----
--- End Message ---