Your message dated Fri, 24 Jul 2009 23:00:07 +0000
with message-id <[email protected]>
and subject line Bug#531582: fixed in aptitude 0.5.3.1-1
has caused the Debian Bug report #531582,
regarding aptitude: fails to build in a UTF-8 locale
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.)


-- 
531582: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=531582
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: aptitude
Version: 0.4.11.11-1+b1
Severity: normal

There is a sed instruction in aptitude doc/fi that relies on the
environment *not* being UTF-8. I'm testing with this script snippet:

$ cat test.sh 
#!/bin/bash
set -x
set -e
cd doc/fi
xsltproc -o output-man/aptitude.8 ./../aptitude-man.xsl ./aptitude.xml
mv output-man/aptitude.8 aptitude.fi.8
/bin/bash ./fixman

(started from the aptitude top level directory.)

The commands themselves are taken directly from the aptitude build logs.

$ LC_ALL=en_GB.UTF-8  ./test.sh 
+ set -e
+ xsltproc -o output-man/aptitude.8 ./../aptitude-man.xsl ./aptitude.xml
Note: meta source : no *info/productname or alternative            aptitude
Note: meta source : see http://docbook.sf.net/el/productname       aptitude
Note: meta source : no refentry/refmeta/refmisci...@class=source   aptitude
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       aptitude
Note: meta version: no *info/productnumber or alternative          aptitude
Note: meta version: see http://docbook.sf.net/el/productnumber     aptitude
Note: meta version: no refentry/refmeta/refmisci...@class=version  aptitude
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       aptitude
Warn: meta source : no fallback for source, so inserted a fixme    aptitude
Warn: AUTHOR sect.: no personblurb|contrib for Daniel Burrows      
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   
Warn: AUTHOR sect.: no personblurb|contrib for Daniel Burrows      aptitude
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       aptitude
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   aptitude
Note: Writing aptitude.8
+ mv output-man/aptitude.8 aptitude.fi.8
+ /bin/bash ./fixman
+ MANPAGE=aptitude.fi.8
+ sed -i 's/'\'''\''/"/g;s/``/"/g' aptitude.fi.8
+ sed -i 's/search hakuehdot/\\fBsearch\\fR hakuehdot/' aptitude.fi.8
+ sed -i 's/\\fBaptitude\\fR help/\\fBaptitude\\fR \\fBhelp\\fR/' aptitude.fi.8
+ sed -i s/Note/Huom/ aptitude.fi.8
+ sed -i 's/^\.SH NAME$/.SH NIMI/' aptitude.fi.8
+ sed -i 's/^\.SH "SYNOPSIS"$/.SH "KOMENTORIVI"/' aptitude.fi.8
+ sed -i $'s/AUTHOR/TEKIJ\304/' aptitude.fi.8
sed: -e expression #1, char 16: unterminated `s' command

This sed failure fails the build.

In a non-UTF-8 mode:

$ LC_ALL=en_GB  ./test.sh 
+ set -e
+ xsltproc -o output-man/aptitude.8 ./../aptitude-man.xsl ./aptitude.xml
Note: meta source : no *info/productname or alternative            aptitude
Note: meta source : see http://docbook.sf.net/el/productname       aptitude
Note: meta source : no refentry/refmeta/refmisci...@class=source   aptitude
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       aptitude
Note: meta version: no *info/productnumber or alternative          aptitude
Note: meta version: see http://docbook.sf.net/el/productnumber     aptitude
Note: meta version: no refentry/refmeta/refmisci...@class=version  aptitude
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       aptitude
Warn: meta source : no fallback for source, so inserted a fixme    aptitude
Warn: AUTHOR sect.: no personblurb|contrib for Daniel Burrows      
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   
Warn: AUTHOR sect.: no personblurb|contrib for Daniel Burrows      aptitude
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       aptitude
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   aptitude
Note: Writing aptitude.8
+ mv output-man/aptitude.8 aptitude.fi.8
+ /bin/bash ./fixman
+ MANPAGE=aptitude.fi.8
+ sed -i 's/'\'''\''/"/g;s/``/"/g' aptitude.fi.8
+ sed -i 's/search hakuehdot/\\fBsearch\\fR hakuehdot/' aptitude.fi.8
+ sed -i 's/\\fBaptitude\\fR help/\\fBaptitude\\fR \\fBhelp\\fR/' aptitude.fi.8
+ sed -i s/Note/Huom/ aptitude.fi.8
+ sed -i 's/^\.SH NAME$/.SH NIMI/' aptitude.fi.8
+ sed -i 's/^\.SH "SYNOPSIS"$/.SH "KOMENTORIVI"/' aptitude.fi.8
+ sed -i $'s/AUTHOR/TEKIJ\304/' aptitude.fi.8

and the build continues - this explains why my builds are OK
in a clean chroot, where LC_ALL is typically 'C'.

$ LC_ALL=C  ./test.sh 
+ set -e
+ xsltproc -o output-man/aptitude.8 ./../aptitude-man.xsl ./aptitude.xml
Note: meta source : no *info/productname or alternative            aptitude
Note: meta source : see http://docbook.sf.net/el/productname       aptitude
Note: meta source : no refentry/refmeta/refmisci...@class=source   aptitude
Note: meta source : see http://docbook.sf.net/el/refmiscinfo       aptitude
Note: meta version: no *info/productnumber or alternative          aptitude
Note: meta version: see http://docbook.sf.net/el/productnumber     aptitude
Note: meta version: no refentry/refmeta/refmisci...@class=version  aptitude
Note: meta version: see http://docbook.sf.net/el/refmiscinfo       aptitude
Warn: meta source : no fallback for source, so inserted a fixme    aptitude
Warn: AUTHOR sect.: no personblurb|contrib for Daniel Burrows      
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   
Warn: AUTHOR sect.: no personblurb|contrib for Daniel Burrows      aptitude
Note: AUTHOR sect.: see see http://docbook.sf.net/el/contrib       aptitude
Note: AUTHOR sect.: see see http://docbook.sf.net/el/personblurb   aptitude
Note: Writing aptitude.8
+ mv output-man/aptitude.8 aptitude.fi.8
+ /bin/bash ./fixman
+ MANPAGE=aptitude.fi.8
+ sed -i 's/'\'''\''/"/g;s/``/"/g' aptitude.fi.8
+ sed -i 's/search hakuehdot/\\fBsearch\\fR hakuehdot/' aptitude.fi.8
+ sed -i 's/\\fBaptitude\\fR help/\\fBaptitude\\fR \\fBhelp\\fR/' aptitude.fi.8
+ sed -i s/Note/Huom/ aptitude.fi.8
+ sed -i 's/^\.SH NAME$/.SH NIMI/' aptitude.fi.8
+ sed -i 's/^\.SH "SYNOPSIS"$/.SH "KOMENTORIVI"/' aptitude.fi.8
+ sed -i $'s/AUTHOR/TEKIJ\304/' aptitude.fi.8

dpkg-buildpackage and debuild do not enforce LC_ALL=C.

I think (but haven't tested) that if the XML itself is modified to
actually set the tags listed in the Note: and Warn: output of xsltproc,
most (if not the entire) fixman script can be removed - as long as
the XML itself is UTF-8 compatible at the end.

Of course, an alternative fix would be to modify the build:

- /bin/bash ./fixman
+ LC_ALL=C /bin/bash ./fixman

I have tested that bit, it's fine. Doesn't seem ideal though, with
UTF-8 being the preferred environment for many users.

-- Package-specific info:
aptitude 0.4.11.11 compiled at Apr 16 2009 23:38:07
Compiler: g++ 4.3.3
Compiled against:
  apt version 4.6.0
  NCurses version 5.7
  libsigc++ version: 2.0.18
  Ept support enabled.

Current library versions:
  NCurses version: ncurses 5.7.20090523
  cwidget version: 0.5.12
  Apt version: 4.6.0
        linux-vdso.so.1 =>  (0x00007fff3f5ff000)
        libapt-pkg-libc6.9-6.so.4.7 => /usr/lib/libapt-pkg-libc6.9-6.so.4.7 
(0x00007f03370b0000)
        libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f0336e65000)
        libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f0336c60000)
        libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f033698d000)
        libept.so.0 => /usr/lib/libept.so.0 (0x00007f0336714000)
        libxapian.so.15 => /usr/lib/libxapian.so.15 (0x00007f03363a8000)
        libz.so.1 => /usr/lib/libz.so.1 (0x00007f0336191000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f0335f76000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f0335c67000)
        libm.so.6 => /lib/libm.so.6 (0x00007f03359e4000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f03357c9000)
        libc.so.6 => /lib/libc.so.6 (0x00007f0335476000)
        libutil.so.1 => /lib/libutil.so.1 (0x00007f0335273000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f033506f000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f0337371000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_GB.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6. 0.7.21            Advanced front-end for dpkg
ii  libc6                  2.9-13            GNU C Library: Shared libraries
ii  libcwidget3            0.5.12-4          high-level terminal interface libr
ii  libept0                0.5.26+b1         High-level library for managing De
ii  libgcc1                1:4.4.0-5         GCC support library
ii  libncursesw5           5.7+20090523-1    shared libraries for terminal hand
ii  libsigc++-2.0-0c2a     2.0.18-2          type-safe Signal Framework for C++
ii  libstdc++6             4.4.0-5           The GNU Standard C++ Library v3
ii  libxapian15            1.0.12-2          Search engine library
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages aptitude recommends:
pn  aptitude-doc-en | aptitude-do <none>     (no description available)
ii  libparse-debianchangelog-perl 1.1.1-2    parse Debian changelogs and output

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
ii  tasksel                       2.79       Tool for selecting tasks for insta

-- no debconf information



--- End Message ---
--- Begin Message ---
Source: aptitude
Source-Version: 0.5.3.1-1

We believe that the bug you reported is fixed in the latest version of
aptitude, which is due to be installed in the Debian FTP archive:

aptitude-dbg_0.5.3.1-1_i386.deb
  to pool/main/a/aptitude/aptitude-dbg_0.5.3.1-1_i386.deb
aptitude-doc-cs_0.5.3.1-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-cs_0.5.3.1-1_all.deb
aptitude-doc-en_0.5.3.1-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-en_0.5.3.1-1_all.deb
aptitude-doc-es_0.5.3.1-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-es_0.5.3.1-1_all.deb
aptitude-doc-fi_0.5.3.1-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-fi_0.5.3.1-1_all.deb
aptitude-doc-fr_0.5.3.1-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-fr_0.5.3.1-1_all.deb
aptitude-doc-ja_0.5.3.1-1_all.deb
  to pool/main/a/aptitude/aptitude-doc-ja_0.5.3.1-1_all.deb
aptitude-gtk_0.5.3.1-1_i386.deb
  to pool/main/a/aptitude/aptitude-gtk_0.5.3.1-1_i386.deb
aptitude_0.5.3.1-1.diff.gz
  to pool/main/a/aptitude/aptitude_0.5.3.1-1.diff.gz
aptitude_0.5.3.1-1.dsc
  to pool/main/a/aptitude/aptitude_0.5.3.1-1.dsc
aptitude_0.5.3.1-1_i386.deb
  to pool/main/a/aptitude/aptitude_0.5.3.1-1_i386.deb
aptitude_0.5.3.1.orig.tar.gz
  to pool/main/a/aptitude/aptitude_0.5.3.1.orig.tar.gz



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.
Daniel Burrows <[email protected]> (supplier of updated aptitude 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: SHA1

Format: 1.8
Date: Mon, 20 Jul 2009 12:55:46 -0700
Source: aptitude
Binary: aptitude aptitude-gtk aptitude-dbg aptitude-doc-cs aptitude-doc-en 
aptitude-doc-es aptitude-doc-fi aptitude-doc-fr aptitude-doc-ja
Architecture: source i386 all
Version: 0.5.3.1-1
Distribution: experimental
Urgency: low
Maintainer: Daniel Burrows <[email protected]>
Changed-By: Daniel Burrows <[email protected]>
Description: 
 aptitude   - terminal-based package manager (terminal interface only)
 aptitude-dbg - Debug symbols for the aptitude package manager
 aptitude-doc-cs - Czech manual for aptitude, a terminal-based package manager
 aptitude-doc-en - English manual for aptitude, a terminal-based package manager
 aptitude-doc-es - Spanish manual for aptitude, a terminal-based package manager
 aptitude-doc-fi - Finnish manual for aptitude, a terminal-based package manager
 aptitude-doc-fr - French manual for aptitude, a terminal-based package manager
 aptitude-doc-ja - Japanese manual for aptitude, a terminal-based package 
manager
 aptitude-gtk - terminal-based package manager (GUI and terminal interfaces)
Closes: 521558 525898 531582
Changes: 
 aptitude (0.5.3.1-1) experimental; urgency=low
 .
   * New upstream release.
 .
     - Don't crash the GTK+ interface when displaying a solution that
       cancels the installation of a package. (Closes: #525898)
 .
     - aptitude now build-depends on Boost.
 .
     - Major performance improvements in the dependency solver.
 .
     - Translation updates:
 .
       + Asturian (Closes: #521558)
       + Finnish (Closes: #531582)
 .
     - New Spanish translation of the user's manual.
Checksums-Sha1: 
 9a8c9928c9c4f202b097ab928662503b4162ec5d 1568 aptitude_0.5.3.1-1.dsc
 8883d7f96ca1e32e324b7d4d03b7096dbc1e6015 7297589 aptitude_0.5.3.1.orig.tar.gz
 d4d60b3ed6288ceff9535c13c4a415c7dbc2608b 35394 aptitude_0.5.3.1-1.diff.gz
 3efcfe320cb7693e1d9dc7d9e59ba9073f64e368 3494128 aptitude_0.5.3.1-1_i386.deb
 5f0b236b85ae4c259ccab84bf2f6a095e00bf2d8 1509960 
aptitude-gtk_0.5.3.1-1_i386.deb
 220d2fc2484940bbe6fbd01fa23b30547e192403 17468836 
aptitude-dbg_0.5.3.1-1_i386.deb
 f3ebda64c54d00bc296b629d61bc784569f25d9e 380650 
aptitude-doc-cs_0.5.3.1-1_all.deb
 533d4063c207b602aaf1b2ffcda964a76438b54f 423244 
aptitude-doc-en_0.5.3.1-1_all.deb
 277b36264cdb569e776e4e12f2e45abd512c2d91 168592 
aptitude-doc-es_0.5.3.1-1_all.deb
 b9d3f004aca1279172246797c835a7330508409a 273454 
aptitude-doc-fi_0.5.3.1-1_all.deb
 0cfce3ae92c6ed40d1d1124e97b7daeacfb76d7c 328572 
aptitude-doc-fr_0.5.3.1-1_all.deb
 8e1ad143de11888bdc5f726d1c860108550e0e38 391054 
aptitude-doc-ja_0.5.3.1-1_all.deb
Checksums-Sha256: 
 b8548b09986b8c7981cad94e2899081a5a423f7fca13ded4fbe9973326040b32 1568 
aptitude_0.5.3.1-1.dsc
 fa3a6918f768abf134d035bc1ecaa3218b2b8209675789512425e790b0cc271f 7297589 
aptitude_0.5.3.1.orig.tar.gz
 faa43404023620a96b493b460700324b2beb3ae2c18264175b9ae592f0c52662 35394 
aptitude_0.5.3.1-1.diff.gz
 eed0666dcab9b1bd83b866e2d3b5818e066f538429cab64da724ea83c8e22ab9 3494128 
aptitude_0.5.3.1-1_i386.deb
 c5a499335e06cc828ee3a9e7107e604e8ddf8c2a1f3142ddc800abfe0edacfda 1509960 
aptitude-gtk_0.5.3.1-1_i386.deb
 c98628b29ef5fed2404e6fa7a9e1159e33f7cdfb62650b7ed99f8abcbdfe6388 17468836 
aptitude-dbg_0.5.3.1-1_i386.deb
 303290e710cbd129b510c77ee28c8c6479b6aab91efa637f4547a0f03749efdb 380650 
aptitude-doc-cs_0.5.3.1-1_all.deb
 dc32628f4b0cb090be904f57d2ccdc4de877b8513e6f55106886fef45f127d54 423244 
aptitude-doc-en_0.5.3.1-1_all.deb
 06d99d6157cc30817775b14a35a3495eddb6cb06662b23078cf2932cd40d9880 168592 
aptitude-doc-es_0.5.3.1-1_all.deb
 1bc491e9daf031b79f6092f4feb2b99c2b59259e11aa5252303bc3b1148219ab 273454 
aptitude-doc-fi_0.5.3.1-1_all.deb
 0890e0836b767b0b762b3fc5867a3f0a4359f05304a4b9869049fffbbdb246b8 328572 
aptitude-doc-fr_0.5.3.1-1_all.deb
 560376722131209f52694f6bb5b213edbf5aedcd5054e9de8930a99015a19132 391054 
aptitude-doc-ja_0.5.3.1-1_all.deb
Files: 
 718967b8a445332c9ddfa36b7f5e7a90 1568 admin - aptitude_0.5.3.1-1.dsc
 fae8327bc6d75d780359a819b665ef2f 7297589 admin - aptitude_0.5.3.1.orig.tar.gz
 11c6b7ff96d47531ff6cdddaca742e7d 35394 admin - aptitude_0.5.3.1-1.diff.gz
 08367685eac04b1e1173a8dd89a580d6 3494128 admin important 
aptitude_0.5.3.1-1_i386.deb
 ca91ff690ec117656947f00c627b5791 1509960 admin optional 
aptitude-gtk_0.5.3.1-1_i386.deb
 82de705700019a714b565920c0de60de 17468836 debug extra 
aptitude-dbg_0.5.3.1-1_i386.deb
 a92269a07429af06767d75b5151051e3 380650 doc optional 
aptitude-doc-cs_0.5.3.1-1_all.deb
 f4ff18fb1f68ca690053bc84966c41cb 423244 doc optional 
aptitude-doc-en_0.5.3.1-1_all.deb
 f19e74cb0f9c3efdc9400ef14367fd19 168592 doc optional 
aptitude-doc-es_0.5.3.1-1_all.deb
 bbcf1d879b04eebbd017470aa64af287 273454 doc optional 
aptitude-doc-fi_0.5.3.1-1_all.deb
 ed135078f57fe4d9d2b46aa83dca7fdf 328572 doc optional 
aptitude-doc-fr_0.5.3.1-1_all.deb
 3f5e17360f6460cd9c98f38ec4a73a33 391054 doc optional 
aptitude-doc-ja_0.5.3.1-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkpnM1IACgkQch6xsM7kSXhdmQCePDh0UnqT99zR3TXrbEfZV9Qr
xfEAn3U+Grv0N6AFYZSJgylw/4kVyu1D
=cCVy
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to