Bug#340659: sed: s/(.{30000})/\1/ -- segmentation fault

2005-11-24 Thread Jakub Wilk

Package: sed
Version: 4.1.2-8
Severity: normal

$ sed -re 's/(.{3})/\1/' /dev/null
Segmentation fault (core dumped)

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages sed depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an

sed recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#340659: sed bug #340659; segmentation fault

2005-12-10 Thread Jakub Wilk
Could you please confirm that Debian bug #340659: sed: 
s/(.{3})/\1/ -- segmentation fault is fixed, at least in sed 
4.1.4-4 from unstable?

No, sed 4.1.4-4 still segfaults.

Thats strage; it works here.  Could run it under valgrind or gdb?

Sure, here's the valgrind's output (sed 4.1.4-4):

#v+
Conditional jump or move depends on uninitialised value(s)
  at 0x1B8ECB13: (within /lib/ld-2.3.5.so)
  by 0x1B8E631C: (within /lib/ld-2.3.5.so)
  by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
  by 0x1B8E7675: (within /lib/ld-2.3.5.so)
  by 0x1B8E47C6: (within /lib/ld-2.3.5.so)

Conditional jump or move depends on uninitialised value(s)
  at 0x1B8EC7D3: (within /lib/ld-2.3.5.so)
  by 0x1B8E631C: (within /lib/ld-2.3.5.so)
  by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
  by 0x1B8E7675: (within /lib/ld-2.3.5.so)
  by 0x1B8E47C6: (within /lib/ld-2.3.5.so)

Conditional jump or move depends on uninitialised value(s)
  at 0x1B8EC6B6: (within /lib/ld-2.3.5.so)
  by 0x1B8E6376: (within /lib/ld-2.3.5.so)
  by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
  by 0x1B8E7675: (within /lib/ld-2.3.5.so)
  by 0x1B8E47C6: (within /lib/ld-2.3.5.so)

Conditional jump or move depends on uninitialised value(s)
  at 0x1B8EC6C2: (within /lib/ld-2.3.5.so)
  by 0x1B8E6376: (within /lib/ld-2.3.5.so)
  by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
  by 0x1B8E7675: (within /lib/ld-2.3.5.so)
  by 0x1B8E47C6: (within /lib/ld-2.3.5.so)

Conditional jump or move depends on uninitialised value(s)
  at 0x1B8EC7D3: (within /lib/ld-2.3.5.so)
  by 0x1B8E6376: (within /lib/ld-2.3.5.so)
  by 0x1B8F2BDD: (within /lib/ld-2.3.5.so)
  by 0x1B8E7675: (within /lib/ld-2.3.5.so)
  by 0x1B8E47C6: (within /lib/ld-2.3.5.so)

Invalid read of size 4
  at 0x1B9B437B: (within /lib/tls/libc-2.3.5.so)
  by 0x1B9BF87C: (within /lib/tls/libc-2.3.5.so)
  by 0x1B9BFCFE: re_compile_pattern (in /lib/tls/libc-2.3.5.so)
  by 0x804E2C5: (within /bin/sed)
  by 0x804E3B5: (within /bin/sed)
  by 0x804B539: (within /bin/sed)
  by 0x804BB76: (within /bin/sed)
  by 0x804977D: (within /bin/sed)
  by 0x1B926ECF: __libc_start_main (in /lib/tls/libc-2.3.5.so)
  by 0x80493A0: (within /bin/sed)
Address 0x1BFF5F60 is not stack'd, malloc'd or (recently) free'd

Process terminating with default action of signal 11 (SIGSEGV)
Access not within mapped region at address 0x1BFF5F60
  at 0x1B9B437B: (within /lib/tls/libc-2.3.5.so)
  by 0x1B9BF87C: (within /lib/tls/libc-2.3.5.so)
  by 0x1B9BFCFE: re_compile_pattern (in /lib/tls/libc-2.3.5.so)
  by 0x804E2C5: (within /bin/sed)
  by 0x804E3B5: (within /bin/sed)
  by 0x804B539: (within /bin/sed)
  by 0x804BB76: (within /bin/sed)
  by 0x804977D: (within /bin/sed)
  by 0x1B926ECF: __libc_start_main (in /lib/tls/libc-2.3.5.so)
  by 0x80493A0: (within /bin/sed)

ERROR SUMMARY: 14 errors from 6 contexts (suppressed: 0 from 0)
malloc/free: in use at exit: 4759281 bytes in 2420 blocks.
malloc/free: 2452 allocs, 32 frees, 5121680 bytes allocated.
For counts of detected errors, rerun with: -v
searching for pointers to 2420 not-freed blocks.
checked 4841196 bytes.

LEAK SUMMARY:
  definitely lost: 0 bytes in 0 blocks.
possibly lost: 0 bytes in 0 blocks.
  still reachable: 4759281 bytes in 2420 blocks.
   suppressed: 0 bytes in 0 blocks.
Reachable blocks (those to which a pointer was found) are not shown.
To see them, rerun with: --show-reachable=yes
#v-

--
Jakub Wilk


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



Bug#340659: sed bug #340659; segmentation fault

2005-12-10 Thread Jakub Wilk

* Justin Pryzby [EMAIL PROTECTED], 2005-12-10, 11:30:
Also, Clint just uploaded 4.1.4-5, which closes this bug. I don't know 
what he meant, This may have been closed incorrectly.; I might

have caused some confusion by digging into the bugs while he was
preparing an upload. Anyway, could you test the new version?

The new version is still crashing.
But now I can see this is not a sed's bug.
The following program segfaults, too:

#include regex.h

int main(void)
{
 static struct re_pattern_buffer b;
 re_set_syntax(RE_SYNTAX_POSIX_EXTENDED);
 re_compile_pattern((.{3}), 10, b);
 return 0;
}

--
Jakub Wilk


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



Bug#338720: ydpdict: Passing user input directly to the printf-like function causes SEGFAULT

2005-11-12 Thread Jakub Wilk

Package: ydpdict
Version: 0.63-1
Severity: normal
Tags: patch

Calling
 ydpdict -w %s
causes SEGFAULT.

The patch below fixes this bug.

diff -ur ydpdict-0.63-org/src/ydpdict.c ydpdict-0.63-new/src/ydpdict.c
--- ydpdict-0.63-org/src/ydpdict.c  2004-05-31 11:44:37.0 +0200
+++ ydpdict-0.63-new/src/ydpdict.c  2005-11-12 11:16:50.0 +0100
@@ -822,12 +822,12 @@
for (y = 0; y  (ysize - 4); y++) {
wattrset(wordwin, y == menu ? A_REVERSE : A_NORMAL);
mvwprintw(wordwin, y + 1, 0, );
-   mvwprintw(wordwin, y + 1, 1, convert_plain(strncpy(buf, 
words[pos + y], sizeof(buf) - 1), charset, 0));
+   mvwprintw(wordwin, y + 1, 1, %s, convert_plain(strncpy(buf, 
words[pos + y], sizeof(buf) - 1), charset, 0));
}

wattrset(wordwin, exact ? A_BOLD : A_NORMAL);
mvwprintw(wordwin, 0, 0, [__]);
-   mvwprintw(wordwin, 0, 1, convert_plain(strncpy(buf, input, sizeof(buf) 
- 1), charset, 0));
+   mvwprintw(wordwin, 0, 1, %s, convert_plain(strncpy(buf, input, 
sizeof(buf) - 1), charset, 0));
wattrset(wordwin, A_NORMAL);

wmove(wordwin, 0, menux + 1);

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages ydpdict depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libncurses5   5.4-9  Shared libraries for terminal hand

ydpdict recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#338731: ydpdict: Scrolling the list of words can cause SEGFAULT

2005-11-12 Thread Jakub Wilk

Package: ydpdict
Version: 0.63-1
Severity: normal
Tags: patch

$ echo `tput cols`x`tput lines`
132x40
$ ydpdict -w yul

Then, pressing PageDown twice causes SEGFAULT.

The patch below fixes this bug.

diff -ur ydpdict-0.63-org/src/ydpdict.c ydpdict-0.63-new/src/ydpdict.c
--- ydpdict-0.63-org/src/ydpdict.c  2004-05-31 11:44:37.0 +0200
+++ ydpdict-0.63-new/src/ydpdict.c  2005-11-12 12:03:03.0 +0100
@@ -373,7 +373,7 @@
} else {
if (menu  ysize - 5)
menu = ysize - 5;
-   else if (pos  wordcount - 39)
+   else if (pos  wordcount - (ysize - 4) 
* 2 - 1)
pos += ysize - 4;
else
pos = wordcount - (ysize - 4);
@@ -534,10 +534,7 @@
keypad(wordwin, TRUE);
halfdelay(100);

-   werase(wordwin);
-   werase(defwin);
-   werase(headwin);
-   werase(splitwin);
+   erase();

/* narysuj cudowną pionową linię */
for (x = 0; x  ysize; x++) {
@@ -592,7 +589,7 @@

void checksize()
{
-   int newx, newy, fake = 0;
+   int diff, newx, newy, fake = 0;

newx = stdscr-_maxx + 1;
newy = stdscr-_maxy + 1;
@@ -608,6 +605,17 @@

xsize = newx;
ysize = newy;
+
+   diff = pos + (ysize - 4) - wordcount;
+   if (diff  0) {
+   pos -= diff;
+   menu += diff;
+   }
+   diff = menu - (ysize - 5);
+   if (diff  0) {
+   pos += diff;
+   menu -= diff;
+   }
}

/* czy podany znaczek da się wyświetlić i wprowadzić z klawiatury? */


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.14
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages ydpdict depends on:
ii  libc6 2.3.5-6GNU C Library: Shared libraries an
ii  libncurses5   5.4-9  Shared libraries for terminal hand

ydpdict recommends no packages.

-- no debconf information

--
Jakub Wilk



Bug#386580: manpages/docbook.xsl: contents of a footnote is getting lost

2006-09-08 Thread Jakub Wilk

Package: docbook-xsl
Version: 1.70.1.dfsg.1-0.2
Severity: normal


$ cat buggy.xml
!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN' 
'http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd'
refentry
refnamediv
 refnamebuggy/refname
 refpurpose/refpurpose
/refnamediv
refsect1
 title /title
 para
   FoofootnoteparaBar/para/footnote
 /para
/refsect1
/refentry

$ xsltproc --nonet 
/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl buggy.xml
$ man -l buggy.1
BUGGY(1)  BUGGY(1)



NAME
  buggy -


  Foo[1]



 09/08/2006  BUGGY(1)



-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages docbook-xsl depends on:
ii  xml-core  0.09-0.1   XML infrastructure and XML catalog

Versions of packages docbook-xsl recommends:
ii  docbook-xml   4.4-5  standard XML documentation system,
pn  docbook-xsl-doc   none (no description available)

-- no debconf information

--
Jakub Wilk


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



Bug#387912: binmode STDERR, ':encoding(...)' -- segmentation fault on printing unmappable characters

2006-09-17 Thread Jakub Wilk

Package: perl
Version: 5.8.8-6.1
Severity: normal

$ perl -e binmode STDERR, ':encoding(ISO-8859-1)'; print STDERR chr(300);
Segmentation fault

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages perl depends on:
ii  libc62.3.6.ds1-4 GNU C Library: Shared libraries
ii  libdb4.4 4.4.20-3Berkeley v4.4 Database Libraries [
ii  libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii  perl-base5.8.8-6.1   The Pathologically Eclectic Rubbis
ii  perl-modules 5.8.8-6.1   Core Perl modules

Versions of packages perl recommends:
ii  perl-doc  5.8.8-6.1  Perl documentation

-- no debconf information

--
Jakub Wilk


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



Bug#396324: /usr/bin/network-test: bashism

2006-10-31 Thread Jakub Wilk

Package: debian-goodies
Version: 0.24
Severity: normal
File: /usr/bin/network-test
Tags: patch

network-test does not run with shells others than bash.

#v+
$ /usr/bin/network-test
-e is not available! (please install netstat net-tools)
$ grep -E '^#!|echo -e' /usr/bin/network-test
#!/bin/sh
( echo -e netstat net-tools\nifconfig net-tools\nping netkit-ping\n\
   echo -e ERR: There is one nameserver configured for 
this system but it does not work properly
   echo -e HEAD / HTTP/1.0\n\n |nc -w 20 $CHECK_WEB_HOST $CHECK_WEB_PORT 
/dev/null 21
#v-

Unfortunately, -e argument for echo is a bashism.

The attached patched fixes the problem.

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages debian-goodies depends on:
ii  curl   7.15.5-1  Get a file from an HTTP, HTTPS, FT
ii  grep-dctrl 2.9.1 Grep Debian package information - 
ii  lsof   4.77.dfsg.1-3 List open files

ii  python 2.4.3-11  An interactive high-level object-o

debian-goodies recommends no packages.

-- no debconf information

--
Jakub Wilk
92,93c92,93
 ( echo -e netstat net-tools\nifconfig net-tools\nping netkit-ping\n\
 arp net-tools\nip iproute\nhost bind9-host\nmktemp debianutils\nnc netcat |
---
 ( printf netstat net-tools\nifconfig net-tools\nping netkit-ping\n\
 arp net-tools\nip iproute\nhost bind9-host\nmktemp debianutils\nnc netcat\n |
303c303
   echo -e ERR: There is one nameserver 
configured for this system but it does not work properly
---
   echo ERR: There is one nameserver configured 
 for this system but it does not work properly
367c367
   echo -e HEAD / HTTP/1.0\n\n |nc -w 20 $CHECK_WEB_HOST $CHECK_WEB_PORT 
/dev/null 21
---
   printf HEAD / HTTP/1.0\n\n |nc -w 20 $CHECK_WEB_HOST $CHECK_WEB_PORT 
 /dev/null 21


Bug#396336: /usr/bin/network-test: incorrectly states that interfaces are down

2006-10-31 Thread Jakub Wilk

Package: debian-goodies
Version: 0.24
Severity: normal
File: /usr/bin/network-test
Tags: patch

#v+
$ ip addr show lo
1: lo: LOOPBACK,UP,1 mtu 16436 qdisc noqueue
   link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
   inet 127.0.0.1/8 scope host lo
   inet6 ::1/128 scope host
  valid_lft forever preferred_lft forever
$ bash /usr/bin/network-test 21 | grep 'Your lo inteface is down'
ERR: Your lo inteface is down, this might cause issues with local applications 
(but not necessarily with network connectivity)
#v-

The attached patch fixes the problem.

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages debian-goodies depends on:
ii  curl   7.15.5-1  Get a file from an HTTP, HTTPS, FT
ii  grep-dctrl 2.9.1 Grep Debian package information - 
ii  lsof   4.77.dfsg.1-3 List open files

ii  python 2.4.3-11  An interactive high-level object-o

debian-goodies recommends no packages.

-- no debconf information

--
Jakub Wilk
196c196
   if [ -z `echo $status | grep UP\` ] ; then
---
   if [ -z `echo $status | grep '[,]UP[,]'` ] ; then
201c201
   echo ERR: Your lo inteface is down, this might 
cause issues with local applications (but not necessarily with network 
connectivity)
---
   echo ERR: Your lo interface is down, this 
 might cause issues with local applications (but not necessarily with network 
 connectivity)


Bug#401666: dictl: doesn't work with DICTL_USE_KONWERT

2006-12-05 Thread Jakub Wilk

Package: dict
Version: 1.10.2-3
Severity: normal

$ DICTL_USE_KONWERT=yes dictl foo
konwert: unknown filter -- ISO-8
konwert: unknown filter -- utf-2

$ DICTL_USE_KONWERT=yes strace -f dictl foo 21 | grep execve.*utf-8-
[pid  7190] execve(/usr/bin/konwert, [konwert, utf-8-ISO-8859-2], [/* 28 
vars */]) = 0

-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages dict depends on:
ii  libc62.3.6.ds1-8 GNU C Library: Shared libraries
ii  netbase  4.27Basic TCP/IP networking system
ii  recode   3.6-12  Character set conversion utility
ii  zlib1g   1:1.2.3-13  compression library - runtime

dict recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#381353: mc fails to view .tar file with a colon in name -- patch

2006-08-08 Thread Jakub Wilk

#381353 has nothing to do with mime-support. :
It can be fixed with the attached patch.

--
Jakub Wilk
--- mc.ext.old  2006-07-24 18:55:00.0 +0200
+++ mc.ext  2006-08-08 09:26:59.0 +0200
@@ -132,7 +132,7 @@
 # tar
 regex/\.(tar|TAR)$
Open=%cd %p#utar
-   View=%view{ascii} tar tvvf %f
+   View=%view{ascii} tar tvvf -  %f 
 
 # lha
 type/^LHa\ .*archive


Bug#382991: home/end keys are not beeing recognized (rxvt-unicode terminal)

2006-08-14 Thread Jakub Wilk

Package: python-urwid
Version: 0.9.5-1
Severity: normal

Urwid fails to recognize 'home' and 'end' keys when using rxvt-unicode 
terminal emulator.


$ export | grep TERM
declare -x COLORTERM=rxvt-xpm
declare -x TERM=rxvt-unicode
$ apt-cache policy rxvt-unicode | grep Installed:
 Installed: 7.8-2
$ /usr/share/doc/python-urwid/examples/input_test.py
# [press home, end]
'meta [' '7' '~'   27, 91, 55, 126
'meta [' '8' '~'   27, 91, 56, 126

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages python-urwid depends on:
ii  python2.3.5-11   An interactive high-level object-o
ii  python-support0.3.8  automated rebuilding support for p

python-urwid recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#383052: python-libgmail: unable to log in

2006-08-14 Thread Jakub Wilk

Package: python-libgmail
Version: 0.1.4-3
Severity: grave

I am unable to log in:

$ python2.3 -c 'import libgmail; libgmail.GmailAccount([EMAIL PROTECTED], 
mySecretPassword).login()'
Traceback (most recent call last):
 File string, line 1, in ?
 File /usr/lib/python2.3/site-packages/libgmail.py, line 318, in login
   pageData = self._retrievePage(redirectURL)
 File /usr/lib/python2.3/site-packages/libgmail.py, line 331, in _retrievePage
   resp = urllib2.urlopen(req)
 File /usr/lib/python2.3/urllib2.py, line 129, in urlopen
   return _opener.open(url, data)
 File /usr/lib/python2.3/urllib2.py, line 326, in open
   '_open', req)
 File /usr/lib/python2.3/urllib2.py, line 306, in _call_chain
   result = func(*args)
 File /usr/lib/python2.3/urllib2.py, line 908, in https_open
   return self.do_open(httplib.HTTPS, req)
 File /usr/lib/python2.3/urllib2.py, line 858, in do_open
   raise URLError('no host given')
urllib2.URLError: urlopen error no host given


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages python-libgmail depends on:
ii  python2.3.5-11   An interactive high-level object-o
ii  python-central0.5.4  register and build utility for Pyt

python-libgmail recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#497142: rss2email: could not parse http://lingwistykon.wordpress.com/feed/

2008-08-30 Thread Jakub Wilk

Package: rss2email
Version: 1:2.62-3
Severity: normal

E: could not parse http://lingwistykon.wordpress.com/feed/
Traceback (most recent call last):
  File /usr/share/rss2email/rss2email.py, line 603, in run
entrycontent = getContent(entry, HTMLOK=HTML_MAIL)
  File /usr/share/rss2email/rss2email.py, line 334, in getContent
if contains(c.type, 'html'):
  File /var/lib/python-support/python2.5/feedparser.py, line 236, in 
__getattr__
raise AttributeError, object has no attribute '%s' % key
AttributeError: object has no attribute 'type'


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental'), (300, 
'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rss2email depends on:
ii  python2.5.2-2An interactive high-level object-o
ii  python-feedparser 4.1-11 Universal Feed Parser for Python
ii  python-support0.8.4  automated rebuilding support for P

rss2email recommends no packages.

rss2email suggests no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#492363: /etc/init.d/syslog-ng exits immediately

2008-07-25 Thread Jakub Wilk

Package: syslog-ng
Version: 2.0.9-3
Severity: grave

/etc/init.d/syslog-ng is completely unusable, as it always exits 
immediately.



$ grep /sbin/syslog-ng /etc/init.d/syslog-ng | head -n 1
test -f /sbin/syslog-ng || exit 0

$ ls -l /sbin/syslog-ng
/bin/ls: cannot access /sbin/syslog-ng: No such file or directory

$ ls -l /usr/sbin/syslog-ng
-rwxr-xr-x 1 root root 114492 Jul 24 22:59 /usr/sbin/syslog-ng


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages syslog-ng depends on:
ii  libc6 2.7-10 GNU C Library: Shared libraries
ii  libevtlog00.2.8~1-2  Syslog event logger library
ii  libglib2.0-0  2.16.4-2   The GLib library of C routines
ii  lsb-base  3.2-12 Linux Standard Base 3.2 init scrip

Versions of packages syslog-ng recommends:
ii  logrotate 3.7.1-3Log rotation utility

syslog-ng suggests no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#494477: Linux 2.6.26-1-686: insert key behaves abnormally

2008-08-09 Thread Jakub Wilk

Package: linux-image-2.6.26-1-686
Version: 2.6.26-1
Severity: normal

Under Linux 2.6.26-1-686 the insert key behaves in a very weird way: after
pressing it the following keys does not work anymore: home, page up, page down
and arrow keys.

For example, under Linux 2.6.25-2-686, pressing left, insert, left, insert,
left, insert produces the following `kbdmode -a` output:

^[[D 27 0033 0x1b
 91 0133 0x5b
 68 0104 0x44
^[[2~27 0033 0x1b
 91 0133 0x5b
 50 0062 0x32
126 0176 0x7e
^[[D 27 0033 0x1b
 91 0133 0x5b
 68 0104 0x44
^[[2~27 0033 0x1b
 91 0133 0x5b
 50 0062 0x32
126 0176 0x7e
^[[D 27 0033 0x1b
 91 0133 0x5b
 68 0104 0x44
^[[2~27 0033 0x1b
 91 0133 0x5b
 50 0062 0x32
126 0176 0x7e

But under Linux 2.6.26-1-686, the output is:

^[[D 27 0033 0x1b
 91 0133 0x5b
 68 0104 0x44
^[[D 27 0033 0x1b
 91 0133 0x5b
 68 0104 0x44

-- Package-specific info:

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-2.6.26-1-686 depends on:
ii  debconf [debconf-2.0] 1.5.22 Debian configuration management sy
ii  initramfs-tools [linux-initra 0.92e  tools for generating an initramfs
ii  module-init-tools 3.4-1  tools for managing Linux kernel mo

Versions of packages linux-image-2.6.26-1-686 recommends:
ii  libc6-i6862.7-13 GNU C Library: Shared libraries [i

Versions of packages linux-image-2.6.26-1-686 suggests:
ii  lilo  1:22.8-6   LInux LOader - The Classic OS load
pn  linux-doc-2.6.26  none (no description available)

-- debconf information excluded

--
Jakub Wilk



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



Bug#494477: Linux 2.6.26-1-686: insert key behaves abnormally

2008-08-10 Thread Jakub Wilk

* Moritz Muehlenhoff [EMAIL PROTECTED], 2008-08-10, 16:32:

Package: linux-image-2.6.26-1-686
Version: 2.6.26-1
Severity: normal

Under Linux 2.6.26-1-686 the insert key behaves in a very weird way: 
after pressing it the following keys does not work anymore: home, 
page up, page down and arrow keys.


I'm experiencing the same problem and opened an upstream bug:
http://bugzilla.kernel.org/show_bug.cgi?id=11242

Do you have also have an IBM Thinkpad?

No, I have a PC with a PS/2 keyboard.


Does is also occur on fbcon?

Yes.

Can you please add your information and the kbdmode output to the 
kernel Bugzilla bug?

Done.

--
Jakub Wilk



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



Bug#463625: cython: cdef-ed attribute - invalid C source

2008-02-01 Thread Jakub Wilk

Package: cython
Version: 0.9.6.11.ds-1
Severity: normal

cython produces invalid C code if an extension type contains an attribute with
type declared as another extension type.

$ cat buggy.pyx

cdef class A:
pass

cdef class B:
cdef A a

$ gcc --version | head -n 1
gcc (GCC) 4.2.3 20080114 (prerelease) (Debian 4.2.2-7)

$ cython buggy.pyx  gcc buggy.c -I/usr/include/python2.4/
buggy.c: In function '__pyx_tp_clear_5buggy_B':
buggy.c:300: error: lvalue required as left operand of assignment

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages cython depends on:
ii  python2.4.4-6An interactive high-level object-o
ii  python-support0.7.6  automated rebuilding support for p

cython recommends no packages.

-- debconf-show failed

--
Jakub Wilk



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



Bug#463691: ddjvuapi: Unable to obtain information about a non-existing page of a single-page document

2008-02-02 Thread Jakub Wilk

Package: libdjvulibre-dev
Version: 3.5.20-3
Severity: normal
Forwarded: 
http://sourceforge.net/tracker/index.php?func=detailaid=1885172group_id=32953atid=406583

The example program[1] works fine (i.e. fails with the DDJVU_ERROR: [1-13001]
Page number is too big. error message) with libdjvulibre-dev 3.5.17-3 from
Debian etch, but with current version it hangs on single-page documents.

[1] 
http://sourceforge.net/tracker/download.php?group_id=32953atid=406583file_id=264748aid=1885172

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdjvulibre-dev depends on:
ii  libdjvulibre153.5.20-3   Runtime support for the DjVu image
ii  libjpeg62-dev 6b-14  Development files for the IJG JPEG

libdjvulibre-dev recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#464751: cython: cannot use the 'unicode' built-in function

2008-02-08 Thread Jakub Wilk

Package: cython
Version: 0.9.6.11.ds-1
Severity: normal


$ cat buggy.pyx
x = basestring # OK
x = str # OK
x = unicode # fails


$ cython buggy.pyx

Error converting Pyrex file to C:

...
x = basestring # OK
x = str # OK
x = unicode # fails
  ^


/tmp/buggy.pyx:3:19: Cannot convert 'object (object)' to Python object


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages cython depends on:
ii  python2.4.4-6An interactive high-level object-o
ii  python-support0.7.6  automated rebuilding support for p

cython recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#464852: htop: dies after a terminal resize

2008-02-09 Thread Jakub Wilk

Package: htop
Version: 0.6.6+svn20070915-1
Severity: normal

Under certain circumstances htop dies after a terminal resize.
How to reproduce:
1. Open htop in a small window, so that not all processes are shown.
2. Scroll down to select the last process.
3. Maximize the terminal window.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages htop depends on:
ii  libc6 2.7-6  GNU C Library: Shared libraries
ii  libncurses5   5.6+20080119-1 Shared libraries for terminal hand

htop recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#460103: ITP: python-pipeline -- iterator pipelines for Python

2008-01-10 Thread Jakub Wilk

Package: wnpp
Severity: wishlist
Owner: Jakub Wilk [EMAIL PROTECTED]

* Package name: python-pipeline
  Version : 0.1.1
  Upstream Author : Jakub Wilk [EMAIL PROTECTED]
* URL : http://python-pipeline.googlecode.com/
* License : GPL
  Programming Lang: Python
  Description : iterator pipelines for Python

python-pipeline provides an easy way to construct pipelines of iterators, 
with a syntax resembling Unix shell. It supplies counterparts for some 
common command-line utilities: cat, cut, echo, grep, head, nl, sort, 
split, tail, uniq, wc, yes.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

--
Jakub Wilk



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



Bug#455992: djvuextract: broken file - segmentation fault

2007-12-12 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.19-3
Severity: normal

djvuextract dies with segmentation fault while trying to extract chunks 
from a broken DjVu file:


$ echo foobar  bogus.djvu
$ djvuextract bogus.djvu BG44=foo
Unexpected End Of File.
Segmentation fault


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl  7.17.1-1   Get a file from an HTTP, HTTPS or 
ii  libc6 2.7-3  GNU C Library: Shared libraries

ii  libdjvulibre153.5.19-3   Runtime support for the DjVu image
ii  libgcc1   1:4.2.2-4  GCC support library
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libstdc++64.2.2-4The GNU Standard C++ Library v3

ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- debconf-show failed

--
Jakub Wilk




Bug#457456: No such file or directory: '/usr/local/wordnet2.0/dict/lexnames'

2007-12-22 Thread Jakub Wilk

Package: python2.4-pywordnet
Version: 2.0.1-1nlp2~0dapper1
Severity: normal


import wordnet

Traceback (most recent call last):
  File stdin, line 1, in ?
  File /usr/lib/python2.4/site-packages/wordnet.py, line 767, in ?
setupLexnames()
  File /usr/lib/python2.4/site-packages/wordnet.py, line 763, in setupLexnames
for l in open(WNSEARCHDIR+'/lexnames').readlines():
IOError: [Errno 2] No such file or directory: 
'/usr/local/wordnet2.0/dict/lexnames'

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages python2.4-pywordnet depends on:
ii  wordnet   1:3.0-4electronic lexical database of Eng

python2.4-pywordnet recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#458086: djvused: set-outline does not work with indirect multi-page documents

2007-12-28 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.20-2
Severity: normal
File: /usr/bin/djvused

Let's create a dummy multi-page document:

   $ printf 'P1 3 3 0 0 0 0 0 0 0 0 0 0'  dummy.pbm
   $ cjb2 dummy.pbm p1.djvu
   $ cjb2 dummy.pbm p2.djvu
   $ djvm -c bundled.djvu p*.djvu

Now add some bookmarks:

   $ echo '(bookmarks (foo #2))'  outline
   $ djvused -s -e 'set-outline outline' bundled.djvu
   $ djvused -e print-outline bundled.djvu
   (bookmarks
(foo
 #2 ) )

Let's convert it to indirect format:

   $ djvmcvt -i bundled.djvu . index.djvu

Bookmarks has been preserved:

   $ djvused -e print-outline index.djvu
   (bookmarks
(foo
 #2 ) )

Let's set them again:

$ djvused -s -e 'set-outline outline' index.djvu

Now they're broken:

$ djvused -e print-outline index.djvu | wc -c
0

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl  7.17.1-1   Get a file from an HTTP, HTTPS or 
ii  libc6 2.7-4  GNU C Library: Shared libraries

ii  libdjvulibre153.5.20-2   Runtime support for the DjVu image
ii  libgcc1   1:4.2.2-4  GCC support library
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libstdc++64.2.2-4The GNU Standard C++ Library v3

ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- debconf-show failed

--
Jakub Wilk



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



Bug#458211: csepdjvu: does not allow subsample ratio 12

2007-12-29 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.20-2
Severity: normal
File: /usr/bin/csepdjvu
Tags: patch

csepdjvu manual page states:

  The dimensions (width and height) of the background image must be 
  obtained by rounding up the quotient of the foreground image 
  dimensions by an integer reduction factor ranging from 1 to 12.


What is more, the DjVu 3 Reference (10.3 Color chunk data headers) 
explicitly permits factor 12.


In reality, csepdjvu allows subsample ratios ranging from 1 to 11.


$ echo 'P1 12 12'  12x12.pbm
$ for i in `seq 144`; do echo 0  12x12.pbm; done
$ cjb2 12x12.pbm 12x12.djvu
$ ddjvu -format=rle 12x12.djvu 12x12.rle

$ printf 'P6 2 2 255 '  2x2.ppm
$ cat 12x12.rle 2x2.ppm  ok.sep
$ csepdjvu ok.sep ok.djvu  echo $?
0

$ printf 'P6 1 1 255 xxx'  1x1.ppm
$ cat 12x12.rle 1x1.ppm  buggy.sep
$ csepdjvu buggy.sep buggy.djvu
*** Background pixmap size does not match foreground
*** (csepdjvu.cpp:1083)
*** 'DJVU::GPDJVU::GPixmap read_background(BufferByteStream, int, int, int)'


The attached patch fixes this bug.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl  7.17.1-1   Get a file from an HTTP, HTTPS or 
ii  libc6 2.7-4  GNU C Library: Shared libraries

ii  libdjvulibre153.5.20-2   Runtime support for the DjVu image
ii  libgcc1   1:4.2.2-4  GCC support library
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libstdc++64.2.2-4The GNU Standard C++ Library v3

ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- no debconf information

--
Jakub Wilk
diff -ur djvulibre-3.5.20.orig/tools/csepdjvu.cpp djvulibre-3.5.20/tools/csepdjvu.cpp
--- djvulibre-3.5.20.orig/tools/csepdjvu.cpp	2007-12-29 15:38:21.0 +0100
+++ djvulibre-3.5.20/tools/csepdjvu.cpp	2007-12-29 15:40:20.0 +0100
@@ -1071,7 +1071,7 @@
 return 0;
   GPGPixmap pix = GPixmap::create(bs);
   // Check background reduction
-  for (bgred=1; bgred12; bgred++) 
+  for (bgred=1; bgred=12; bgred++) 
 {
   int subw = (w + bgred - 1) / bgred;
   int subh = (h + bgred - 1) / bgred;


Bug#458241: djvused.1: typo (border-avis)

2007-12-29 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.20-2
Severity: normal
File: /usr/share/man/man1/djvused.1.gz

The djvused manual page mentions a (border-avis) hyperlink option. 
This is a typo. DjVu 3 Reference[1] states this is (border_avis) and both 
djview3 and djview4 recognize only (border_avis), not (border-avis).


[1] 8.3.4.2.3.1.2 Border always visible 


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl  7.17.1-1   Get a file from an HTTP, HTTPS or 
ii  libc6 2.7-4  GNU C Library: Shared libraries

ii  libdjvulibre153.5.20-2   Runtime support for the DjVu image
ii  libgcc1   1:4.2.2-4  GCC support library
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libstdc++64.2.2-4The GNU Standard C++ Library v3

ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#455331: c44: unable to encode very small files

2007-12-09 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.19-3
Severity: normal
Tags: patch

c44 is unable to encode image files if they are smaller than 16 bytes.


$ printf 'P5 1 5 255 x'  pgm16.pgm
$ c44 pgm16.pgm
$ djvudump pgm16.djvu
  FORM:DJVU [66]
INFO [10] DjVu 1x5, v24, 100 dpi, gamma=2.2
BG44 [13] IW4 data #1, 74 slices, v1.2 (bw), 1x5
BG44 [3]  IW4 data #2, 15 slices
BG44 [2]  IW4 data #3, 10 slices


$ printf 'P5 1 4 255 '  pgm15.pgm
$ c44 pgm15.pgm
*** [1-17556] cannot read pnm file header
*** (c44.cpp:708)
*** 'int main(int, char**)'


The attached patch fixes this bug.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl  7.17.1-1   Get a file from an HTTP, HTTPS or 
ii  libc6 2.7-3  GNU C Library: Shared libraries

ii  libdjvulibre153.5.19-3   Runtime support for the DjVu image
ii  libgcc1   1:4.2.2-4  GCC support library
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libstdc++64.2.2-4The GNU Standard C++ Library v3

ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- no debconf information

--
Jakub Wilk
--- djvulibre-3.5.19.orig/tools/c44.cpp	2007-12-09 18:22:27.0 +0100
+++ djvulibre-3.5.19/tools/c44.cpp	2007-12-09 19:06:35.0 +0100
@@ -704,7 +704,8 @@
   GPByteStream gibs=ByteStream::create(g().pnmurl,rb);
   ByteStream ibs=*gibs;
   char prefix[16];
-  if (ibs.readall((void*)prefix, sizeof(prefix)) != sizeof(prefix))
+  memset(prefix, 0, sizeof(prefix));
+  if (ibs.readall((void*)prefix, sizeof(prefix))  10)
 G_THROW( ERR_MSG(c44.failed_pnm_header) );
 #ifdef DEFAULT_JPEG_TO_HALF_SIZE
   // Default specification for jpeg files


Bug#446499: ydpdict_read_xhtml() produces invalid XHTML

2007-10-13 Thread Jakub Wilk

Package: libydpdict1
Version: 0.99.1-2
Severity: normal

ydpdict_read_xhtml() produces output which is not well-formed XML.
For example, with dict100.dat and the first entry, xmllint complaints:


-:3: parser error : Opening and ending tag mismatch: p line 3 and span
adbodypb x/bbsupx/sup/bb x/bbsupx/sup/b /span
   ^
-:3: parser error : Opening and ending tag mismatch: body line 3 and p
bodypb x/bbsupx/sup/bb x/bbsupx/sup/b /span/p
   ^
-:3: parser error : Opening and ending tag mismatch: p line 3 and span
/span/i x xxx /bspan style=color: green; x x xxx /span/span
   ^
-:3: parser error : Opening and ending tag mismatch: html line 3 and i
n/i x xxx /bspan style=color: green; x x xxx /span/span/i
   ^
-:3: parser error : Extra content at the end of the document
n/i x xxx /bspan style=color: green; x x xxx /span/span/i
   ^

(I have replaced textual data with xes.)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages libydpdict1 depends on:
ii  libc6 2.6.1-1+b1 GNU C Library: Shared libraries

libydpdict1 recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#446632: genisoimage: unable to merge images

2007-10-14 Thread Jakub Wilk

Package: genisoimage
Version: 9:1.1.6-1
Severity: normal

$ mkdir empty

$ genisoimage -r empty/  1.iso
I: -input-charset not specified, using iso-8859-2 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 169
Total directory bytes: 238
Path table size(bytes): 10
Max brk space used 0
175 extents written (0 MB)

$ genisoimage -M 1.iso -C 0,0 -r empty/  2.iso
I: -input-charset not specified, using iso-8859-2 (detected in locale settings)
Rock Ridge signatures found
Using 000;1 for  /.. (..)
genisoimage: Error: '/..' and 'empty/..' have the same Rock Ridge name '..'.
Unable to sort directory 



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages genisoimage depends on:
ii  libc6   2.6.1-1+b1   GNU C Library: Shared libraries
ii  libmagic1   4.21-3   File type determination library us
ii  zlib1g  1:1.2.3.3.dfsg-6 compression library - runtime

genisoimage recommends no packages.

-- no debconf information

--
Jakub Wilk




Bug#401666: dictl: doesn't work with DICTL_USE_KONWERT -- patch

2007-07-30 Thread Jakub Wilk

Package: dict
Version: 1.10.2-3.1
Followup-For: Bug #401666

The attached patch fixes this bug.

-- System Information:
Debian Release: lenny/sid
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages dict depends on:
ii  libc6   2.6-2GNU C Library: Shared libraries
ii  netbase 4.29 Basic TCP/IP networking system
ii  recode  3.6-14   Character set conversion utility
ii  zlib1g  1:1.2.3.3.dfsg-5 compression library - runtime

dict recommends no packages.

-- no debconf information

--
Jakub Wilk
--- dictl.orig	2007-07-30 11:45:39.0 +0200
+++ dictl	2007-07-30 12:00:00.0 +0200
@@ -39,7 +39,21 @@
 if test $DICTL_USE_ICONV; then
 	iconv -f $1 -t $2
 else if test $DICTL_USE_KONWERT; then
-	konwert $1-$2
+	sedexpr='
+/(CP)?(437|8(5[0257]|6[0-69]|74))/	{ s//cp\2/; q }
+/8859_([1-9])/{ s//iso\1/; q }
+/ANSI_X3.4(-19(68|86))?/		{ s//ascii/; q }
+/(US-)?ASCII/{ s//ascii/; q }
+/(CP|WINDOWS-)(125[0-8])/		{ s//cp\1/; q }
+/ISO([-_]?8859-|8859)([1-9]|1[01345])/	{ s//iso\2/; q }
+/KOI8-?R/{ s//koi8r/; q }
+/KOI8-?U/{ s//koi8u/; q }
+/UTF-?8/{ s//utf8/; q }
+/VISCII/{ s//viscii/; q }
+/.*/	{ s///; q }'
+	from=`echo $1 | tr a-z A-Z | sed -r -e $sedexpr`
+	to=`echo $2 | tr a-z A-Z | sed -r -e $sedexpr`
+	konwert $from-$to
 else
 	recode -f $1..$2
 fi fi


Bug#440951: isutf8 accepts overlong UTF-8 sequences

2007-09-05 Thread Jakub Wilk

Package: moreutils
Version: 0.20
Severity: normal

$ man utf-8 | grep 'Security' -A 9 | sed -e '1d; s/^ *//'
The Unicode and UCS standards require that producers of UTF-8 shall use
the shortest form possible, for example, producing a two-byte  sequence
with  first  byte  0xc0  is  non-conforming.  Unicode 3.1 has added the
requirement that conforming programs must not accept non-shortest forms
in their input.  This is for security reasons: if user input is checked
for possible security violations, a program might check  only  for  the
ASCII  version of /../ or ; or NUL and overlook that there are many
non-ASCII ways to represent these things in a non-shortest UTF-8 encod-
ing.

$ printf '\300\200' | iconv -f UTF-8 -t UTF-8
iconv: illegal input sequence at position 0

$ printf '\300\200' | isutf8  echo valid
valid

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages moreutils depends on:
ii  libc6 2.6.1-1+b1 GNU C Library: Shared libraries
ii  perl  5.8.8-7Larry Wall's Practical Extraction 


moreutils recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#445419: HTML::Form gobbles non-ISO-8859-1 characters

2007-10-05 Thread Jakub Wilk

Package: libwww-perl
Version: 5.805-1
Severity: normal


$ cat buggy.pl
use strict;
use warnings;
use HTTP::Response;
use HTML::Form;

my $turtle = \xbf\xf3\xb3\x77;

my $response = new HTTP::Response(200);
$response-header('Content-Type' = 'text/html; charset=ISO-8859-2');
$response-header('Content-Base' = 'http://foobar/');
$response-content(forminput type='text' name='i' value='$turtle'/form);

my ($form) = HTML::Form-parse($response);
print $form-click-as_string;
$form-value('i', $turtle);
print $form-click-as_string;


$ perl buggy.pl
GET http://foobar/?i=%F3w

GET http://foobar/?i=%BF%F3%B3w


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages libwww-perl depends on:
pn  libdigest-md5-perl none(no description available)
ii  libhtml-parser-perl3.56-1A collection of modules that parse
ii  libhtml-tree-perl  3.23-1represent and create HTML syntax t
ii  liburi-perl1.35.dfsg.1-1 Manipulates and accesses URI strin
ii  perl [libmime-base64-perl] 5.8.8-7   Larry Wall's Practical Extraction 
ii  perl-modules [libnet-perl] 5.8.8-7   Core Perl modules


Versions of packages libwww-perl recommends:
ii  libcompress-zlib-perl 2.007-1Perl module for creation and manip
pn  libhtml-format-perl   none (no description available)
pn  libmailtools-perl none (no description available)

-- no debconf information

--
Jakub Wilk



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



Bug#412316: djvumake fails to create limited number of IW44 background chunks

2007-02-25 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.17-3
Severity: normal
File: /usr/bin/djvumake
Tags: patch

$ printf 'P6\n1 1\n255\n\xff\xff\xff'  tmp.ppm

$ djvuextract tmp.djvu BG44=tmp.bg44
 BG44=tmp.bg44 -- tmp.bg44 (84 bytes)

$ djvumake tmp2.djvu INFO=100,100,100 BG44=tmp.bg44:1
*** djvumake: invalid number of chunks in BG44 specification
*** (djvumake.cpp:545)
*** 'void create_bg44_chunk(DJVU::IFFByteStream, char*, DJVU::GUTF8String)'


This is due to an off-by-one error. I believe that the attached patch 
fixes the problem.


-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages djvulibre-bin depends on:
ii  curl7.15.5-1 Get a file from an HTTP, HTTPS, FT
ii  libc6   2.3.6.ds1-11 GNU C Library: Shared libraries
ii  libdjvulibre15  3.5.17-3 Runtime support for the DjVu image
ii  libgcc1 1:4.1.1-21   GCC support library
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG 
ii  libstdc++6  4.1.1-21 The GNU Standard C++ Library v3

ii  libtiff43.8.2-7  Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- no debconf information

--
Jakub Wilk


djvulibre-3.5.17-nchunks.patch.gz
Description: Binary data


Bug#413703: input-events manual page: erroneous short description

2007-03-06 Thread Jakub Wilk

Package: input-utils
Version: 0.0.20051128-1
Severity: minor

The manual page of input-events states: 
  input-events - list input devices.

This is obviously incorrect.

-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages input-utils depends on:
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries

input-utils recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#409456: pdflatex: graphicx doesn't support .jpeg graphics extension

2007-02-03 Thread Jakub Wilk

Package: tetex-base
Version: 3.0.dfsg.3-5
Severity: normal

$ file foo.jpg
foo.jpg: JPEG image data, JFIF standard 1.01
$ ln -f foo.jpg foo.jpeg
$ cat buggy.tex 
\documentclass[a4paper]{article}

\usepackage{graphicx}
\begin{document}
\includegraphics{foo.jpg}
\includegraphics{foo.jpeg}
\end{document}
$ pdflatex -halt-on-error buggy.tex | tail -n 11

! LaTeX Error: Unknown graphics extension: .jpeg.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H return  for immediate help.
...  
 
l.5 \includegraphics{foo.jpeg}
 
No pages of output.

Transcript written on buggy.log.


-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages tetex-base depends on:
ii  tex-common0.43   Common infrastructure for using an
ii  ucf   2.0018.1   Update Configuration File: preserv

Versions of packages tetex-base recommends:
pn  tetex-doc none (no description available)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii  debianutils   2.17   Miscellaneous utilities specific t
ii  dialog1.0-20060221-2 Displays user-friendly dialog boxe
ii  dpkg  1.13.25package maintenance system for Deb
ii  ed0.2-20 The classic unix line editor
ii  libc6 2.3.6.ds1-10   GNU C Library: Shared libraries
ii  libfontconfig12.4.2-1generic font configuration library
ii  libfreetype6  2.2.1-5FreeType 2 font engine, shared lib
ii  libgcc1   1:4.1.1-21 GCC support library
ii  libice6   1:1.0.1-2  X11 Inter-Client Exchange library
ii  libjpeg62 6b-13  The Independent JPEG Group's JPEG 
ii  libkpathsea4  3.0-29 path search library for teTeX (run

ii  libpaper1 1.1.21 Library for handling paper charact
ii  libpng12-01.2.15~beta5-1 PNG library - runtime
ii  libpoppler0c2 0.4.5-5.1  PDF rendering library
ii  libsm61:1.0.1-3  X11 Session Management library
ii  libstdc++64.1.1-21   The GNU Standard C++ Library v3
ii  libt1-5   5.1.0-2Type 1 font rasterizer library - r
ii  libx11-6  2:1.0.3-4  X11 client-side library
ii  libxaw7   1:1.0.2-4  X11 Athena Widget library
ii  libxext6  1:1.0.1-2  X11 miscellaneous extension librar
ii  libxmu6   1:1.0.2-2  X11 miscellaneous utility library
ii  libxpm4   1:3.5.5-2  X11 pixmap library
ii  libxt61:1.0.2-2  X11 toolkit intrinsics library
ii  mime-support  3.39-1 MIME files 'mime.types'  'mailcap
ii  perl  5.8.8-7Larry Wall's Practical Extraction 
ii  sed   4.1.5-1The GNU sed stream editor

ii  tex-common0.43   Common infrastructure for using an
ii  ucf   2.0018.1   Update Configuration File: preserv
ii  whiptail  0.52.2-9   Displays user-friendly dialog boxe
ii  zlib1g1:1.2.3-13 compression library - runtime

Versions of packages tetex-extra depends on:
ii  tetex-bin 3.0-29 The teTeX programs
ii  ucf   2.0018.1   Update Configuration File: preserv

-- debconf information excluded

--
Jakub Wilk


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



Bug#410578: manpages/docbook.xsl: ROFF sequence injection

2007-02-11 Thread Jakub Wilk

Package: docbook-xsl
Version: 1.71.0.dfsg.1-1.1
Severity: normal

$ cat buggy.xml
?xml version='1.0' encoding='UTF-8'?
!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' 'http://www.docbook.org/xml/4.5/docbookx.dtd' 
refentry

refnamediv
 refnamebuggy/refname
 refpurpose/refpurpose
/refnamediv
refsect1
 title /title
 paraThis is OK/para
 para.SH But this is not/para
/refsect1
/refentry

$ xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl 
buggy.xml
$ man -l buggy.1
BUGGY(1)  BUGGY(1)

NAME
  buggy

  This is OK

But this is not
 02/11/2007  BUGGY(1)


-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-3-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages docbook-xsl depends on:
ii  xml-core  0.09-0.1   XML infrastructure and XML catalog

Versions of packages docbook-xsl recommends:
ii  docbook-xml   4.4-5  standard XML documentation system,
pn  docbook-xsl-doc   none (no description available)

-- no debconf information

--
Jakub Wilk


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



Bug#414368: unicode_start breaks non-latin1 keymaps

2007-03-11 Thread Jakub Wilk

Package: console-tools
Version: 1:0.2.3dbs-65
Severity: important
File: /usr/bin/unicode_start


# unicode_stop
# loadkeys /usr/share/keymaps/i386/qwerty/pl.kmap.gz
Loading /usr/share/keymaps/i386/qwerty/pl.kmap.gz
# consolechars -m /usr/share/consoletrans/iso02.acm.gz
# dumpkeys -c ISO-8859-2 | grep 'keycode  18' | cut -c 1-60
keycode  18 = +e+E+eogonek


And that's all right: pressing Alt+E produces latin small letter e 
with ogonek. But...



# unicode_start
# dumpkeys | grep 'keycode  18' | cut -c 1-60
keycode  18 = eEecircumflex


Now Alt+E produces latin small letter e with circumflex.

-- System Information:
Debian Release: 4.0
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.18-4-686
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)

Versions of packages console-tools depends on:
ii  debconf [debconf-2.0]  1.5.11Debian configuration management sy
ii  libc6  2.3.6.ds1-13  GNU C Library: Shared libraries
ii  libconsole 1:0.2.3dbs-65 Shared libraries for Linux console
ii  lsb-base   3.1-23Linux Standard Base 3.1 init scrip

Versions of packages console-tools recommends:
ii  console-common0.7.69 Basic infrastructure for text cons
ii  console-data  2:1.01-7   Keymaps, fonts, charset maps, fall

-- debconf-show failed

--
Jakub Wilk


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



Bug#423168: pod2html produces invalid XHTML

2007-05-10 Thread Jakub Wilk

Package: perl
Version: 5.8.8-7
Severity: normal

$ cat buggy.pl
__END__

=over 4

=item foo

=back

=cut

$ pod2html buggy.pl | xmllint - 21
-:19: parser error : Opening and ending tag mismatch: dt line 17 and dl
/dl
^
-:21: parser error : Opening and ending tag mismatch: dl line 16 and body
/body
  ^
-:23: parser error : Opening and ending tag mismatch: body line 10 and html
/html
  ^
-:24: parser error : Premature end of data in tag html line 3

^

-- System Information:
Debian Release: lenny/sid
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages perl depends on:
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libdb4.44.4.20-8 Berkeley v4.4 Database Libraries [
ii  libgdbm31.8.3-3  GNU dbm database routines (runtime
ii  perl-base   5.8.8-7  The Pathologically Eclectic Rubbis
ii  perl-modules5.8.8-7  Core Perl modules

Versions of packages perl recommends:
ii  perl-doc  5.8.8-7Perl documentation

-- no debconf information

--
Jakub Wilk


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



Bug#429141: fbi ignores out-of-memory errors

2007-06-15 Thread Jakub Wilk

Package: fbi
Version: 2.05-2
Severity: normal

`grep -r -A 5 malloc .` tells that there are dozens of places in the 
source code where malloc's return value is not checked against NULL. 
In an out-of-memory situation, this would certainly cause a segmentation 
fault.


-- System Information:
Debian Release: lenny/sid
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages fbi depends on:
ii  gs-gpl8.54.dfsg.1-5  The GPL Ghostscript PostScript int
ii  libc6 2.5-9+b1   GNU C Library: Shared libraries
ii  libcurl3  7.15.5-1   Multi-protocol file transfer libra
ii  libexif12 0.6.15-1   library to parse EXIF files
ii  libfontconfig12.4.2-1.2  generic font configuration library
ii  libfreetype6  2.2.1-6FreeType 2 font engine, shared lib
ii  libjpeg62 6b-13  The Independent JPEG Group's JPEG 
ii  libpcd2   1.0.1-1A library for reading PhotoCD imag

ii  libpng12-01.2.15~beta5-2 PNG library - runtime
ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra
ii  libungif4g4.1.4-5shared library for GIF images
ii  zlib1g1:1.2.3-15 compression library - runtime

fbi recommends no packages.

-- debconf-show failed

--
Jakub Wilk


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



Bug#422034: fbi: missing input sanitization

2007-05-02 Thread Jakub Wilk

Package: fbi
Version: 2.05-2
Severity: normal

$ F='; echo buggy  buggy.log; : '
$ touch $F
$ fbi $F 2/dev/null
$ cat buggy.log
buggy

-- System Information:
Debian Release: lenny/sid
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages fbi depends on:
ii  gs-gpl8.54.dfsg.1-5  The GPL Ghostscript PostScript int
ii  libc6 2.3.6.ds1-13   GNU C Library: Shared libraries
ii  libcurl3  7.15.5-1   Multi-protocol file transfer libra
ii  libexif12 0.6.13-5   library to parse EXIF files
ii  libfontconfig12.4.2-1.2  generic font configuration library
ii  libfreetype6  2.2.1-5FreeType 2 font engine, shared lib
ii  libjpeg62 6b-13  The Independent JPEG Group's JPEG 
ii  libpcd2   1.0.1-1A library for reading PhotoCD imag

ii  libpng12-01.2.15~beta5-1 PNG library - runtime
ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra
ii  libungif4g4.1.4-4shared library for GIF images
ii  zlib1g1:1.2.3-13 compression library - runtime

fbi recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#432102: texlive-latex-extra: doesn't actually include the empheq package

2007-07-07 Thread Jakub Wilk

Package: texlive-latex-extra
Version: 2007-3
Severity: normal

$ apt-cache show texlive-latex-extra | grep empheq
 empheq -- EMPHasizing EQuations.

$ dpkg -L texlive-latex-extra | grep empheq
/usr/share/doc/texlive-latex-extra/latex/empheq
/usr/share/doc/texlive-latex-extra/latex/empheq/README
/usr/share/doc/texlive-doc/latex/empheq
/usr/share/doc/texlive-doc/latex/empheq/README

$ diff /usr/share/doc/texlive-*/latex/empheq/README

$ cat /usr/share/doc/texlive-doc/latex/empheq/README
The empheq package is now part of the mh bundle, to be found on CTAN
in

 macros/latex/contrib/mh


-- System Information:
Debian Release: lenny/sid
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages texlive-latex-extra depends on:
ii  preview-latex-style   11.83-6LaTeX style files for editor embed
ii  texlive-common2007-10TeX Live: Base component
ii  texlive-latex-base2007-10TeX Live: Basic LaTeX packages
ii  texlive-pictures  2007-10TeX Live: Packages for drawings gr

Versions of packages texlive-latex-extra recommends:
pn  texlive-generic-extra none (no description available)
ii  texlive-latex-recommended 2007-10TeX Live: LaTeX recommended packag
pn  texpower  none (no description available)

Versions of packages tex-common depends on:
ii  debconf   1.5.13 Debian configuration management sy
ii  ucf   3.001  Update Configuration File: preserv

Versions of packages texlive-latex-extra is related to:
ii  tetex-base2007-10TeX Live: teTeX transitional packa
ii  tetex-bin 2007-10TeX Live: teTeX transitional packa
pn  tetex-extra   none (no description available)

-- debconf information excluded

--
Jakub Wilk


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



Bug#433724: urlgrabber.keepalive.HTTPHandler don't use Request.get_method()

2007-07-19 Thread Jakub Wilk

Package: python-urlgrabber
Version: 3.1.0-3
Severity: normal
Tags: patch


urlgrabber.keepalive.HTTPHandler don't use Request.get_method() to 
determine the appropriate HTTP method.



$ cat buggy.py
#!/usr/bin/python
from urllib2 import Request, AbstractHTTPHandler, build_opener
from urlgrabber.keepalive import HTTPHandler as KeepaliveHTTPHandler

class HeadRequest(Request):
def get_method(self):
  return 'HEAD'

u2_opener = build_opener()
ka_opener = build_opener(KeepaliveHTTPHandler)

URL = 'http://www.us.debian.org/'

for opener in u2_opener, ka_opener:
print \
  [h for h in opener.handlers if isinstance(h, AbstractHTTPHandler)], \
  len(opener.open(HeadRequest(URL)).read())


$ python buggy.py
[urllib2.HTTPHandler instance at 0xb78bfc6c, urllib2.HTTPSHandler instance at 
0xb78d214c] 0
[urllib2.HTTPSHandler instance at 0xb78d23cc, urlgrabber.keepalive.HTTPHandler 
instance at 0xb78d24cc] 14213


The attached patch solves this problem.


-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-urlgrabber depends on:
ii  python-support0.6.4  automated rebuilding support for p
ii  python2.4 2.4.4-4An interactive high-level object-o

python-urlgrabber recommends no packages.

-- no debconf information

--
Jakub Wilk


keepalive.py.diff.gz
Description: Binary data


Bug#433743: xgettext misinterprets \x escapes in Python Unicode strings

2007-07-19 Thread Jakub Wilk

Package: gettext
Version: 0.16.1-1
Severity: normal

$ cat buggy.py
def _(s):
  return s

s1 = _(u'\u00f3')
s2 = _(u'\xf3')
print s1 == s2

$ python buggy.py
True

$ xgettext -L python buggy.py
xgettext: Non-ASCII string at buggy.py:5.
  Please specify the source encoding through --from-code.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.21-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages gettext depends on:
ii  gettext-base  0.16.1-1   GNU Internationalization utilities
ii  libc6 2.5-9+b1   GNU C Library: Shared libraries

Versions of packages gettext recommends:
ii  curl  7.16.2-6   Get a file from an HTTP, HTTPS or 
ii  wget  1.10.2-3   retrieves files from the web


-- no debconf information

--
Jakub Wilk


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



Bug#433743: xgettext misinterprets \x (and \o) escapes in Python Unicode strings

2007-07-22 Thread Jakub Wilk

A comment in gettext-tools/src/x-python.c states:

The \ooo and \xnn values are in the current source encoding.

This is false. According to http://python.org/doc/ref/strings.html:

In a string literal, hexadecimal and octal escapes denote the byte 
with the given value; it is not necessary that the byte encodes a 
character in the source character set. In a Unicode literal, these 
escapes denote a Unicode character with the given value.


--
Jakub Wilk


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



Bug#483889: DDPO: invalid HTML

2008-05-31 Thread Jakub Wilk

Package: qa.debian.org
Severity: normal

http://qa.debian.org/developer.php?packages=package are not valid HTML 
files.


See http://validator.w3.org/check?uri=http%3A%2F%2Fqa.debian.org%2Fdeveloper.php%3Fpackages%3Dbash 
for example.


--
Jakub Wilk



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



Bug#479784: xmodmap in .xsession breaks keyboard layout

2008-05-12 Thread Jakub Wilk

* Brice Goglin [EMAIL PROTECTED], 2008-05-12, 05:36:

Package: xserver-xorg
Version: 1:7.3+10
Severity: normal

After the last upgrade, my keyboard layout got broken. For example,
RightAlt+O produces superscript-3 instead of o-with-acute.

$ grep -B1 -A5 Keyboard /etc/X11/xorg.conf
Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout pl
EndSection

$ cat .xsession
#!/bin/sh
/usr/bin/xmodmap $HOME/etc/x11/xmodmap
exec /usr/bin/x-terminal-emulator

$ cat ~/etc/x11/xmodmap
keycode 233 = Next_Virtual_Screen
keycode 234 = Prev_Virtual_Screen
keycode 222 = Terminate_Server
keycode 231 = XF86Refresh
keycode 178 = XF86HomePage
keycode 229 = XF86Search
keycode 236 = XF86Mail

remove Lock = Caps_Lock
keysym Caps_Lock = Escape
keysym Escape = Caps_Lock
add Lock = Caps_Lock


Can you try commenting lines out of the xmodmap file and thus finding
which ones causes the problem?


I have found the following minimal examples:

$ cat ~/etc/x11/xmodmap
remove Lock = Caps_Lock

and

$ cat ~/etc/x11/xmodmap
add Lock = Caps_Lock

--
Jakub Wilk



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



Bug#464650: `kill -0` is valid according to POSIX

2008-05-12 Thread Jakub Wilk

Package: file-rc
Followup-For: Bug #464650

Actually, according to POSIX, `kill -0` is perfectly valid.

$ man -e posix kill | grep ^SYNOPSIS -A 10 | grep .
SYNOPSIS
   kill -s signal_name pid ...
   kill -l [exit_status]
   kill [-signal_name] pid ...
   kill [-signal_number] pid ...


--
Jakub Wilk



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



Bug#480852: [checkbashisms] `kill -9` is considered as a bashism

2008-05-12 Thread Jakub Wilk

Package: devscripts
Version: 2.10.26
Severity: normal
File: /usr/bin/checkbashisms

checkbashisms considers `kill -9` as a bashism:

$ echo #!/bin/sh  tmp
$ echo kill -9 foo  tmp
$ checkbashisms tmp
possible bashism in tmp line 2 (kill -[0-9] or -[A-Z]):
kill -9 foo


Actually, according to POSIX, such a usage is perfectly valid:

$ man -e posix kill | grep ^SYNOPSIS -A 10 | grep .
SYNOPSIS
   kill -s signal_name pid ...
   kill -l [exit_status]
   kill [-signal_name] pid ...
   kill [-signal_number] pid ...


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages devscripts depends on:
ii  debianutils   2.28.4 Miscellaneous utilities specific t
ii  dpkg-dev  1.14.18package building tools for Debian
ii  libc6 2.7-10 GNU C Library: Shared libraries
ii  perl  5.8.8-12   Larry Wall's Practical Extraction 
ii  sed   4.1.5-6The GNU sed stream editor


--
Jakub Wilk



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



Bug#480852: kill(1posix) should mention that -SIGNAME and -SIGNUMBER are XSI extensions

2008-05-12 Thread Jakub Wilk

reassign 480852 manpages-posix 2.16-1
retitle 480852 kill(1posix) should mention that -SIGNAME and -SIGNUMBER are XSI 
extensions
thanks

* Adam D. Barratt [EMAIL PROTECTED], 2008-05-12, 12:46:

checkbashisms considers `kill -9` as a bashism:

$ echo #!/bin/sh  tmp
$ echo kill -9 foo  tmp
$ checkbashisms tmp
possible bashism in tmp line 2 (kill -[0-9] or -[A-Z]):
kill -9 foo


Actually, according to POSIX, such a usage is perfectly valid:


POSIX itself requires only -s and -l to work; -SIGNAME and -SIGNUMBER are 
XSI extensions - see  
http://www.opengroup.org/onlinepubs/95399/utilities/kill.html


kill(1posix) manual page fails to mention that, so I'm reassigning the 
bug.


--
Jakub Wilk



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



Bug#481183: libpoppler2: crippled with DRM anti-features

2008-06-11 Thread Jakub Wilk

* Robert Millan [EMAIL PROTECTED], 2008-05-14, 12:01:

Package: libpoppler2

[...]

This library appears to be crippled with DRM anti-features.
But it is not. Functions, which the patch virtually disables, are never 
internally used to disallow anything.


What is more, the patch breaks existing software, e.g. pdfinfo.

--
Jakub Wilk



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



Bug#481183: libpoppler2: crippled with DRM anti-features

2008-06-11 Thread Jakub Wilk

* Robert Millan [EMAIL PROTECTED], 2008-06-11, 15:03:

Package: libpoppler2
[...]
This library appears to be crippled with DRM anti-features.
But it is not. Functions, which the patch virtually disables, are never 
internally used to disallow anything.
I don't recall the exact details, but I've seen other programs rely on 
those functions. 
Right. pdftoabw and pdftohtml from poppler-utils use them to restrict 
access (pdfimages, pdftops and pdftotext have been already patched not 
to do that - see 02_permissions.dpatch.diff).


Tools from xpdf-utils do the same, although they are not linked with 
poppler.


Don't hesitate to file bugs against _these_ packages.


So they're not used internally, but externally. IOW, it provides
a helper framework to facilitate implementation of restriction 
management in an upper layer.
It's nothing wrong with that, as long as you are free _not_to_ use the 
framework.


--
Jakub Wilk



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



Bug#486553: gscan2pdf: unable to save as DjVu

2008-06-16 Thread Jakub Wilk

Package: gscan2pdf
Version: 0.9.24-1
Severity: normal

Trying to save a non-bitonal image as DjVu triggers an error:

*** [1-13800] Unknown PBM, PGM or RLE file format.
*** (GBitmap.cpp:344)
*** 'void DJVU::GBitmap::init(DJVU::ByteStream, int)'

*** [1-12308] File 'file://localhost/tmp/BMc51YtRI8/9Ba9TngeH2.djvu' is not a 
single page DjVu file.
*** (DjVuDocEditor.cpp:872)
*** 'void DJVU::DjVuDocEditor::insert_group(const DJVU::GListDJVU::GURL, 
int, void (*)(void*), void*)'

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gscan2pdf depends on:
ii  imagemagick 7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  libconfig-general-p 2.38-1   Generic Configuration Module
ii  libgtk2-ex-simple-l 0.50-1.1 A simple interface to Gtk2's compl
ii  libgtk2-imageview-p 0.04-1+b1Perl bindings for the GtkImageView
ii  liblocale-gettext-p 1.05-4   Using libc functions for internati
ii  libpdf-api2-perl0.69-2   create or modify PDF documents in 
ii  librsvg2-common 2.22.2-2 SAX-based renderer library for SVG

ii  libsane 1.0.19-10API library for scanners
ii  libtiff-tools   3.8.2-8  TIFF manipulation and conversion t
ii  perlmagick  7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
ii  sane-utils  1.0.19-10API library for scanners -- utilit

Versions of packages gscan2pdf recommends:
ii  djvulibre-bin 3.5.20-7   Utilities for the DjVu image forma
pn  gocr  none (no description available)
pn  libgtk2-ex-podviewer-perl none (no description available)
pn  sane  none (no description available)
ii  tesseract-ocr 2.03-1 Command line OCR tool
pn  unpaper   none (no description available)
ii  xdg-utils 1.0.2-6desktop integration utilities from

-- no debconf information

--
Jakub Wilk



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



Bug#477730: remote-tty: bashism in /etc/init.d/remote-tty

2008-04-24 Thread Jakub Wilk

Package: remote-tty
Version: 4.0-11
Severity: important
User: [EMAIL PROTECTED]
Usertags: goal-dash

remote-tty fails to start/stop with /bin/sh linked to dash. This should be
fixed, as dash is going to be the default /bin/sh for Lenny.

# /etc/init.d/remote-tty start
Starting remote-tty console manager:
[: 56: ==: unexpected operator
  no consoles configured


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages remote-tty depends on:
ii  adduser   3.107  add and remove users and groups
ii  libc6 2.7-10 GNU C Library: Shared libraries

remote-tty recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#483189: manpages/docbook.xsl: LESS-THAN OR EQUAL TO character is converted incorrectly

2008-05-27 Thread Jakub Wilk

Package: docbook-xsl
Version: 1.73.2.dfsg.1-4
Severity: normal

$ ?xml version='1.0'?
!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' 
'http://www.docbook.org/xml/4.5/docbookx.dtd'
refentry
refentryinfo
titletmp/title
productnametmp/productname
date2008-05-27/date
/refentryinfo
refmeta
refentrytitletmp/refentrytitle
manvolnum1/manvolnum
refmiscinfo class='version'0/refmiscinfo
/refmeta
refnamediv
refnametmp/refname
/refnamediv
refsection
title#x2264;/title
para/para
/refsection
/refentry

$ xsltproc /usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl tmp.xml
Note: Writing tmp.1

$ man -l tmp.1
TMP(1)tmp   TMP(1)

NAME
   tmp

â¤
tmp 0 2008-05-27TMP(1)


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docbook-xsl depends on:
ii  xml-core  0.11   XML infrastructure and XML catalog

Versions of packages docbook-xsl recommends:
ii  docbook-xml   4.5-5  standard XML documentation system,
pn  docbook-xsl-doc-html | docboo none (no description available)

-- debconf-show failed

--
Jakub Wilk



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



Bug#486553: gscan2pdf: unable to save as DjVu

2008-06-16 Thread Jakub Wilk

* Jeffrey Ratcliffe [EMAIL PROTECTED], 2008-06-16, 23:07:

Trying to save a non-bitonal image as DjVu triggers an error:


Yes. This is highly annoying - caused by imagemagick writing a 1-bit
image as 8-bit and djvu not accepting it.

http://www.mail-archive.com/[EMAIL PROTECTED]/msg00181.html

The first part of this I reported in #481831, and was apparently fixed
in imagemagick/7:6.4.1.3.dfsg1-1. I see you are running
7:6.3.7.9.dfsg1-2+b2. Might I ask you to upgrade your imagemagick
package and see if you can still reproduce this?


I have upgraded both imagemagick and perlmagick and the bug is still 
there.


A minimal example can be created with the following command:
$ printf 'P6 1 1 255\n\0\0\0'  tmp.ppm

--
Jakub Wilk



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



Bug#486553: gscan2pdf: unable to save as DjVu

2008-06-17 Thread Jakub Wilk

* Jeffrey Ratcliffe [EMAIL PROTECTED], 2008-06-16, 23:58:

A minimal example can be created with the following command:
$ printf 'P6 1 1 255\n\0\0\0'  tmp.ppm


The problem here is distinguishing between a pbm, which cjb2 will
convert, and ppm, which it will not.

Imagemagick identifies them both as

Format: PNM (Portable anymap)

The 'class' attribute can be used to distinguish between those types:

$ identify tmp.pbm; identify tmp.ppm
tmp.pbm PNM 1x1 1x1+0+0 PseudoClass 2c 1-bit 8b
tmp.ppm PNM 1x1 1x1+0+0 DirectClass 8-bit 14b

[...]

Unless you have any better suggestions, I'll file this as an
imagemagick bug, blocking this one.

The attached patch should fix the issue.

--
Jakub Wilk
--- gscan2pdf.orig	2008-06-17 17:15:37.0 +0200
+++ gscan2pdf	2008-06-17 17:27:24.0 +0200
@@ -2943,6 +2943,7 @@
  my $x = $image-Read($filename);
  warn $x if $x;
  my $depth = $image-Get('depth');
+ my $class = $image-Get('class');
  my $compression;
 
 # c44 can only use pnm and jpg
@@ -2959,8 +2960,8 @@
 # cjb2 can only use pnm and tif
  else {
   $compression = 'cjb2';
-  if ($format !~ /(pnm)|(tif)/) {
-   my (undef, $pnm) = tempfile(DIR = $dir, SUFFIX = '.pnm');
+  if ($format !~ /(pnm)|(tif)/ or $class eq 'DirectClass') {
+   my (undef, $pnm) = tempfile(DIR = $dir, SUFFIX = '.pbm');
$x = $image-Write(filename = $pnm);
warn $x if $x;
$filename = $pnm;


Bug#486680: gscan2pdf: bizarre DjVu text zones

2008-06-17 Thread Jakub Wilk

Package: gscan2pdf
Version: 0.9.24-1
Severity: normal

DjVu text zones do not cover whole pages (as it should) unless 
resolution is 72.


The attached patch fixes the bug.

-- System Information:
Debian Release: lenny/sid
   APT prefers testing
   APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gscan2pdf depends on:
ii  imagemagick 7:6.3.7.9.dfsg1-2+b2 image manipulation programs
ii  libconfig-general-p 2.38-1   Generic Configuration Module
ii  libgtk2-ex-simple-l 0.50-1.1 A simple interface to Gtk2's compl
ii  libgtk2-imageview-p 0.04-1+b1Perl bindings for the GtkImageView
ii  liblocale-gettext-p 1.05-4   Using libc functions for internati
ii  libpdf-api2-perl0.69-2   create or modify PDF documents in 
ii  librsvg2-common 2.22.2-2 SAX-based renderer library for SVG

ii  libsane 1.0.19-11API library for scanners
ii  libtiff-tools   3.8.2-8  TIFF manipulation and conversion t
ii  perlmagick  7:6.3.7.9.dfsg1-2+b2 Perl interface to the libMagick gr
ii  sane-utils  1.0.19-11API library for scanners -- utilit

Versions of packages gscan2pdf recommends:
ii  djvulibre-bin 3.5.20-7   Utilities for the DjVu image forma
pn  gocr  none (no description available)
pn  libgtk2-ex-podviewer-perl none (no description available)
pn  sane  none (no description available)
ii  tesseract-ocr 2.03-1 Command line OCR tool
pn  unpaper   none (no description available)
ii  xdg-utils 1.0.2-6desktop integration utilities from

-- debconf-show failed

--
Jakub Wilk
--- gscan2pdf.orig	2008-06-17 17:15:37.0 +0200
+++ gscan2pdf	2008-06-17 17:14:58.0 +0200
@@ -2990,8 +2990,8 @@
   my $djvusedtxtfile = djvusedtxtfile;
   open (FILE, :utf8, $djvusedtxtfile)
or die sprintf($d-get(Can't open file: %s), $djvusedtxtfile);
-  print FILE (page 0 0 , int($w*72/$resolution),  , int($h*72/$resolution), \n;
-  print FILE (line 0 0 , int($w*72/$resolution),  , int($h*72/$resolution),  \;
+  print FILE (page 0 0 $w $h\n;
+  print FILE (line 0 0 $w $h \;
   print FILE $txt, \));
   close FILE;
 


Bug#479784: xmodmap in .xsession breaks keyboard layout

2008-05-06 Thread Jakub Wilk
/inputdevice/keyboard/model: pc105
* xserver-xorg/config/device/driver:
  xserver-xorg/config/null_string_error:
  shared/multiple_possible_x-servers:
* xserver-xorg/config/device/bus_id:
* xserver-xorg/config/inputdevice/keyboard/rules: xorg

--
Jakub Wilk



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



Bug#358216: dvisvga: Few supported video modes

2006-03-21 Thread Jakub Wilk

Package: dvisvga
Version: 1:01.03-12
Severity: wishlist
Tags: patch


dvisvga supports only several video modes. Especially, you cannot use 
1280x1024, even if svgalib is able to set this mode.


The attached patch lifts that limitation.

--
Jakub Wilk


tmview-01.03+anymode.diff.gz
Description: Binary data


Bug#345157: Sys::Syslog + syslog-ng: doesn't work properly

2006-03-30 Thread Jakub Wilk

Package: perl
Version: 5.8.8-3
Followup-For: Bug #345157

I believe that fixing this bug broke something.

$ dpkg -l syslog-ng | tail -1
ii  syslog-ng  1.9.9-1Next generation logging daemon

$ perl -e use Sys::Syslog; openlog 'foo', 'pid', 'local0'; syslog 'info', 'bar'; 
syslog 'info', 'quux';

# grep foo /var/log/system-messages.log
Mar 30 16:09:47 cavendish foo[8874]: bar134Mar 30 16:09:47 foo[8874]: quux

The '134' seems a little bit odd for me.

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages perl depends on:
ii  libc6 2.3.6-3GNU C Library: Shared libraries an
ii  libdb4.4  4.4.20-3   Berkeley v4.4 Database Libraries [
ii  libgdbm3  1.8.3-2GNU dbm database routines (runtime
ii  perl-base 5.8.8-3The Pathologically Eclectic Rubbis
ii  perl-modules  5.8.8-3Core Perl modules

Versions of packages perl recommends:
ii  perl-doc  5.8.8-3Perl documentation

-- no debconf information

--
Jakub Wilk


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



Bug#360096: xserver-xorg: fails to restore text mode properly (VGA console + SVGATextMode)

2006-03-30 Thread Jakub Wilk

Package: xserver-xorg
Version: 6.9.0.dfsg.1-4
Severity: normal

As far as I remember, this bugs wasn't present in the xorg-x11 
6.8.2.dfsg.1-11 release.


$ cat /etc/X11/xorg.conf
cut

Section Device
Identifier  NVidia Riva TNT2
Driver  nv
BusID   PCI:1:0:0
EndSection

Section Screen
Identifier  Default Screen
Device  NVidia RIVA TNT2
DefaultDepth24
SubSection Display
Depth   24
Modes   1280x1024
EndSubsection
cut
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
cut
InputDevice PC Keyboard
InputDevice GPM Mouse
EndSection

# lspci -v -s 1:0
:01:00.0 VGA compatible controller: nVidia Corporation NV5M64 [RIVA TNT2 
Model 64/Model 64 Pro] (rev 15) (prog-if 00 [VGA])
   Flags: bus master, 66MHz, medium devsel, latency 32, IRQ 11
   Memory at d400 (32-bit, non-prefetchable) [size=16M]
   Memory at d600 (32-bit, prefetchable) [size=32M]
   Expansion ROM at d500 [disabled] [size=64K]
   Capabilities: [60] Power Management version 1
   Capabilities: [44] AGP version 2.0

$ dpkg -l svgatextmode | tail -1
ii  svgatextmode   1.9-15 enable higher resolution text modes

$ cat /etc/TextConfig
Chipset RIVA128
DefaultMode [EMAIL PROTECTED]

cut

HorizSync 30-70
VertRefresh 40-100

[EMAIL PROTECTED] 61.0 1024 1040 1176 1344 768 770 776 806 -Hsync -Vsync font 
8x12

$ echo $COLUMNS x $LINES
128 x 64

$ startx

...return to VGA console

$ echo $COLUMNS x $LINES
128 x 33

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages xserver-xorg depends on:
ii  debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii  libc6 2.3.6-3GNU C Library: Shared libraries an
ii  libgcc1   1:4.0.3-1  GCC support library
ii  libxau6   6.9.0.dfsg.1-4 X Authentication library
ii  libxdmcp6 6.9.0.dfsg.1-4 X Display Manager Control Protocol
ii  xserver-common6.9.0.dfsg.1-4 files and utilities common to all 
ii  zlib1g1:1.2.3-11 compression library - runtime


Versions of packages xserver-xorg recommends:
pn  discover | discover1  none (no description available)
pn  laptop-detect none (no description available)
pn  mdetect   none (no description available)
ii  xlibs 6.9.0.dfsg.1-4 X Window System client libraries m
pn  xresprobe none (no description available)

--
Jakub Wilk


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



Bug#360118: vim: doesn't set 'fileencoding' for compressed files

2006-03-30 Thread Jakub Wilk

Package: vim
Version: 1:6.4-007+1
Severity: normal
Tags: l10n

vim doesn't set the 'fileencoding' variable for compressed files, 
despite the fact it correctly recognizes the actual file encoding 
(non-ASCII characters are shown properly).


$ grep encoding .vimrc
let termencoding=system(locale charmap | tr -d '\n')
set encoding=utf-8
set fileencodings=utf-8,iso-8859-2

$ printf '\xd3\xf3ps\n'  foo

$ od -t x1 foo
000 d3 f3 70 73 0a
005

$ vim foo
:set fileencoding
 fileencoding=iso-8859-2
:q

$ gzip foo; zcat foo.gz | od -t x1
000 d3 f3 70 73 0a
005

$ vim foo.gz
:set fileencoding
 fileencoding=
:wq

$ zcat foo.gz | od -t x1
000 c3 93 c3 b3 70 73 0a
007


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages vim depends on:
ii  libc62.3.6-3 GNU C Library: Shared libraries an
ii  libgpmg1 1.19.6-22   General Purpose Mouse - shared lib
ii  libncurses5  5.5-1   Shared libraries for terminal hand
ii  vim-common   1:6.4-007+1 Vi IMproved - Common files
ii  vim-runtime  1:6.4-007+1 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#352490: console-tools: Fails to set up the font and add a SFM fallback table at the same time

2006-02-12 Thread Jakub Wilk

Package: console-tools
Version: 1:0.2.3dbs-60
Severity: normal


# consolechars -f lat2u-12 -k qrczak.fallback -k latin_diacr.fallback
*** glibc detected *** realloc(): invalid next size: 0x0805a170 ***
Aborted

# ltrace -o log consolechars -f lat2u-12 -k qrczak.fallback -k 
latin_diacr.fallback
*** glibc detected *** realloc(): invalid next size: 0x0805a170 ***

# tail log
free(0x8052860)= 
void
free(0x804d350)= 
void
free(0x8057058)= 
void
findsfmfallback(0xbfa09d03, 0xbfa088cc, 1024, 0xb7ecd720, 0 unfinished ...
--- SIGCHLD (Child exited) ---
... findsfmfallback resumed )
= 0x8051b78
sfm_fallback_read(0x8051b78, 0xbfa08df0, 0xbfa08df4, 0x8051b78, 0xb7f044ab)
= 0
sfm_fallback_add(0x8054460, 591, 0xbfa08de8, 0xbfa08de0, 0xb7f044ab unfinished 
...
--- SIGABRT (Aborted) ---
+++ killed by SIGABRT +++


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages console-tools depends on:
ii  console-common 0.7.55Basic infrastructure for text cons
ii  debconf [debconf-2.0]  1.4.70Debian configuration management sy
ii  libc6  2.3.5-8   GNU C Library: Shared libraries an
ii  libconsole 1:0.2.3dbs-60 Shared libraries for Linux console
ii  sysvinit   2.86.ds1-4System-V like init

Versions of packages console-tools recommends:
ii  console-data  2002.12.04dbs-52.2 Keymaps, fonts, charset maps, fall

-- no debconf information

--
Jakub Wilk


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



Bug#374328: netrw + scp: fails to write a file

2006-06-18 Thread Jakub Wilk

Package: vim
Version: 1:7.0-017+7
Severity: normal

netrw fails to write through scp a file. Here's the complaint:
 scp://foo/bar
 Error detected while processing function netrw#NetWrite:
 line  219:
 scp://foo/bar E212: Can't open file for writing
 :!scp -q /tmp/v123456/7 'foo:bar'

The problem does not occur if a file is unmodified.


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages vim depends on:
ii  libc62.3.6-13GNU C Library: Shared libraries
ii  libgpmg1 1.19.6-22   General Purpose Mouse - shared lib
ii  libncurses5  5.5-2   Shared libraries for terminal hand
ii  vim-common   1:7.0-017+7 Vi IMproved - Common files
ii  vim-runtime  1:7.0-017+7 Vi IMproved - Runtime files

vim recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#360096: seems to be fixed in xserver-xorg 1:7.0.20

2006-06-05 Thread Jakub Wilk

Package: xserver-xorg
Version: 1:7.0.20
Followup-For: Bug #360096

I'd like to report that xserver-xorg 1:7.0.20 doesn't corrupt my text 
mode any more.



-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages xserver-xorg depends on:
ii  debconf  1.5.1   Debian configuration management sy
ii  x11-common   1:7.0.20X Window System (X.Org) infrastruc
ii  xbase-clients1:7.0.1-2   miscellaneous X clients
ii  xkb-data 0.8-5   X Keyboard Extension (XKB) configu
ii  xserver-xorg-core1:1.0.2-8   X.Org X server -- core server
ii  xserver-xorg-input-kbd [xser 1:1.0.1.3-2 X.Org X server -- keyboard input d
ii  xserver-xorg-input-mouse [xs 1:1.0.4-3   X.Org X server -- mouse input driv
ii  xserver-xorg-video-nv [xserv 1:1.0.1.5-2 X.Org X server -- NV display drive

Versions of packages xserver-xorg recommends:
pn  discover1 | discover  none (no description available)
pn  laptop-detect none (no description available)
pn  mdetect   none (no description available)
pn  xresprobe none (no description available)

-- debconf information excluded

--
Jakub Wilk


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



Bug#385940: manpages/docbook.xsl: incorrect paragraph indent after parascreen/screen/para

2006-09-04 Thread Jakub Wilk

Package: docbook-xsl
Version: 1.70.1.dfsg.1-0.2
Severity: normal


$ cat buggy.xml
!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.1.2//EN' 
'http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd'
refentry
refnamediv
 refnamebuggy/refname
 refpurpose/refpurpose
/refnamediv
refsect1
 title /title
 variablelist
   varlistentry
 termFoo/term
 listitem
   paraFoo1/para
   paraFoo2 screenFooScreen/screen/para
   paraFoo3/para
 /listitem
   /varlistentry
 /variablelist
/refsect1
/refentry

$ /usr/bin/xsltproc --nonet 
/usr/share/xml/docbook/stylesheet/nwalsh/manpages/docbook.xsl buggy.xml
$ man -l buggy.1
BUGGY(1)  BUGGY(1)



NAME
  buggy -


  Foo
 Foo1

 Foo2

 FooScreen

  Foo3



 09/04/2006  BUGGY(1)



-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages docbook-xsl depends on:
ii  xml-core  0.09-0.1   XML infrastructure and XML catalog

Versions of packages docbook-xsl recommends:
ii  docbook-xml   4.4-5  standard XML documentation system,
pn  docbook-xsl-doc   none (no description available)

-- no debconf information

--
Jakub Wilk


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



Bug#383052: python-libgmail: unable to log in -- patch

2006-08-15 Thread Jakub Wilk

Package: python-libgmail
Version: 0.1.4-3
Followup-For: Bug #383052
Tags: patch

The attached patch fixes this bug.

--
Jakub Wilk
--- libgmail.py.orig2006-08-15 16:48:21.0 +0200
+++ libgmail.py 2006-08-15 09:56:17.0 +0200
@@ -302,7 +302,7 @@
 
 # TODO: Tidy this up?
 # This requests the page that provides the required GV cookie.
-RE_PAGE_REDIRECT = 'CheckCookie\?continue=([^]+)'
+RE_PAGE_REDIRECT = 'CheckCookie\?continue=([^\']+)'
 
 
 # TODO: Catch more failure exceptions here...?


Bug#383341: mc: segmentation fault - stable symlinks

2006-08-16 Thread Jakub Wilk

Package: mc
Version: 1:4.6.1-5
Severity: normal

$ ls -RGg
.:
total 4
drwxr-x--- 2 4096 Aug 16 18:03 bar
-rw-r- 10 Aug 16 17:52 foo

./bar:
total 0
lrwxrwxrwx 1 6 Aug 16 17:53 quux - ../foo


Trying to copy 'quux' with stable symlinks option causes segmentation fault.

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages mc depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libglib2.0-0  2.10.3-3   The GLib library of C routines
ii  libgpmg1  1.19.6-22  General Purpose Mouse - shared lib
ii  libslang2 2.0.6-2The S-Lang programming library - r

mc recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#384587: Reading an image from a file handle causes segmentation fault

2006-08-25 Thread Jakub Wilk

Package: libgraphics-magick-perl
Version: 1.1.7-7
Severity: normal

$ gm convert -geometry 100x100 xc:white tmp.gif
$ perl -MGraphics::Magick -e '$_ = new Graphics::Magick(); $_-Read(file = 
\*STDIN);'  tmp.gif
Segmentation fault

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages libgraphics-magick-perl depends on:
ii  libbz2-1.0 1.0.3-3   high-quality block-sorting file co
ii  libc6  2.3.6-15  GNU C Library: Shared libraries
ii  libfreetype6   2.2.1-2   FreeType 2 font engine, shared lib
ii  libgraphicsmagick1 1.1.7-6   format-independent image processin
ii  libice61:1.0.0-3 X11 Inter-Client Exchange library
ii  libjasper-1.701-1  1.701.0-2 The JasPer JPEG-2000 runtime libra
ii  libjpeg62  6b-13 The Independent JPEG Group's JPEG 
ii  liblcms1   1.15-1Color management library

ii  libpng12-0 1.2.8rel-5.2  PNG library - runtime
ii  libsm6 1:1.0.0-4 X11 Session Management library
ii  libtiff4   3.8.2-6   Tag Image File Format (TIFF) libra
ii  libwmf0.2-70.2.8.4-2 Windows metafile conversion librar
ii  libx11-6   2:1.0.0-8 X11 client-side library
ii  libxext6   1:1.0.0-4 X11 miscellaneous extension librar
ii  libxml22.6.26.dfsg-3 GNOME XML library
ii  perl   5.8.8-6.1 Larry Wall's Practical Extraction 
ii  perl-base [perlapi-5.8.8]  5.8.8-6.1 The Pathologically Eclectic Rubbis

ii  zlib1g 1:1.2.3-13compression library - runtime

libgraphics-magick-perl recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#380347: elinks: crashes on a specially crafted page

2006-07-29 Thread Jakub Wilk

Package: elinks
Version: 0.11.1-1
Severity: important

Elinks crashes on a specially crafted page:

$ elinks -config-file /dev/null buggy.html

[ Press backslash twice ]

ELinks crashed. That shouldn't happen. Please report this incident to
the developers. If you would like to help to debug the problem you just
uncovered, please keep the core you just got and send the developers
the output of 'bt' command entered inside of gdb (which you run as:
gdb elinks core). Thanks a lot for your cooperation!

ELinks 0.11.1 (built on May 24 2006 20:12:14)

Features:
Standard, Fastmem, IPv6, gzip, bzip2, Periodic Saving, Timer, Cascading Style 
Sheets,
Protocol (File, FTP, HTTP, NNTP, SMB, URI rewrite, User protocols), SSL 
(GnuTLS),
MIME (Option system, Mailcap, Mimetypes files), LED indicators, Bookmarks,
Cookies, Form History, Global History, Scripting (Lua, Perl), Goto URL History,
Search History

elinks(dump_backtrace+0x23)[0x80d0173]
elinks[0x80abca4]
elinks[0x80ac17f]
[0xe420]
elinks(dcgettext__+0x31)[0x809e881]
elinks(gettext__+0x22)[0x809fd12]
elinks(get_state_message+0x6c)[0x80aa71c]
elinks(get_download_msg+0x42)[0x807a782]
elinks(print_screen_status+0x76c)[0x807b1dc]
elinks(refresh_view+0x11d)[0x80d628d]
elinks(draw_formatted+0xcf)[0x80d637f]
elinks(do_action+0xd94)[0x80d47e4]
elinks(send_event+0xa5)[0x80e07e5]
elinks(in_term+0x46b)[0x80c877b]
elinks(select_loop+0x1f6)[0x80a4106]
elinks(main+0x41)[0x80a3791]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xd0)[0xa7cafeb0]
elinks[0x8059891]
Aborted

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages elinks depends on:
ii  debconf   1.5.2  Debian configuration management sy
ii  libbz2-1.01.0.3-3high-quality block-sorting file co
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libexpat1 1.95.8-3.2 XML parsing C library - runtime li
ii  libgnutls13   1.4.1-1the GNU TLS library - runtime libr
ii  libgpmg1  1.19.6-22  General Purpose Mouse - shared lib
ii  libidn11  0.6.5-1GNU libidn library, implementation
ii  liblua50  5.0.2-6Main interpreter library for the L
ii  liblualib50   5.0.2-6Extension library for the Lua 5.0 
ii  libperl5.85.8.8-4Shared Perl library

ii  zlib1g1:1.2.3-13 compression library - runtime

elinks recommends no packages.

-- debconf-show failed

--
Jakub Wilk



Bug#381353: fails to view .tar file with a colon in name

2006-08-03 Thread Jakub Wilk

Package: mc
Version: 1:4.6.1-4
Severity: normal

Pressing F3 on a .tar file with a colon in name gives an unrecoverable 
input/output error.



-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages mc depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libglib2.0-0  2.10.3-3   The GLib library of C routines
ii  libgpmg1  1.19.6-22  General Purpose Mouse - shared lib
ii  libslang2 2.0.6-2The S-Lang programming library - r

mc recommends no packages.

-- no debconf information

--
Jakub Wilk


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



Bug#378328: pod2html doesn't remove temporary files

2006-07-15 Thread Jakub Wilk

Package: perl
Version: 5.8.8-4
Severity: normal


pod2html does not remove temporary files before exiting:

$ ls -a
.  ..
$ pod2html /dev/null  /dev/null
$ ls -a
.  ..  pod2htmd.tmp  pod2htmi.tmp


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages perl depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libdb4.4  4.4.20-3   Berkeley v4.4 Database Libraries [
ii  libgdbm3  1.8.3-3GNU dbm database routines (runtime
ii  perl-base 5.8.8-4The Pathologically Eclectic Rubbis
ii  perl-modules  5.8.8-4Core Perl modules

Versions of packages perl recommends:
ii  perl-doc  5.8.8-4Perl documentation

-- debconf-show failed

--
Jakub Wilk


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



Bug#378330: dvi2tty manual page: vague and misleading information

2006-07-15 Thread Jakub Wilk

Package: dvi2tty
Version: 5.3.1-3
Severity: minor


dvi2tty manual page contains some unclear and misleading information:

- -f Pipe through a pager, $PAGER if defined, or whatever the installer of
  the program compiled in (often ``more''). This may be the default, [...]
  -u Don't make any attempts to find special Scandinavian characters. 
  [...] This is probably the default outside of Scandinavia. (The installer

  makes this decision when the program is installed.)
 This is not giving much help. A Debian user should not guess what is compiled
 in.

- /usr/ucb/more probably the default pager.
 Probably not in Debian.

-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages dvi2tty depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries

dvi2tty recommends no packages.

-- debconf-show failed

--
Jakub Wilk


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



Bug#378327: pod2html converts I ... etc. incorrectly

2006-07-15 Thread Jakub Wilk

Package: perl
Version: 5.8.8-4
Severity: normal


pod2html fails to convert I ... , B ... , F ...  and 
S ...  in the expected manner:


$ cat buggy
__END__

=head1 FOO

I x 

B x 

F x 

S x 

=cut

$ pod2html buggy | grep 'gt;'
pemx /emgt;/p
pstrongx /stronggt;/p
pemx /emgt;/p
pxnbsp;gt;/p



-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)

Versions of packages perl depends on:
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libdb4.4  4.4.20-3   Berkeley v4.4 Database Libraries [
ii  libgdbm3  1.8.3-3GNU dbm database routines (runtime
ii  perl-base 5.8.8-4The Pathologically Eclectic Rubbis
ii  perl-modules  5.8.8-4Core Perl modules

Versions of packages perl recommends:
ii  perl-doc  5.8.8-4Perl documentation

-- debconf-show failed

--
Jakub Wilk


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



Bug#378327: pod2html converts I ... etc. incorrectly

2006-07-16 Thread Jakub Wilk

* Steve Peters [EMAIL PROTECTED], 2006-07-15, 09:27:

$ cat buggy
__END__

=head1 FOO

I x 

B x 

F x 

S x 

=cut

$ pod2html buggy | grep 'gt;'
pemx /emgt;/p
pstrongx /stronggt;/p
pemx /emgt;/p
pxnbsp;gt;/p



It appears to be behaving as expected.  The only problem is the missing 
Elt and Egt.


[EMAIL PROTECTED]:~$ cat not_buggy
__END__

=head1 FOO

IElt x Egt

BElt x Egt

FElt x Egt

SElt x Egt

=cut



Uhm, but I don't want to get 'x' enclosed with angle brackets -- just 
'x' alone. pod2text does it well:


$ pod2text buggy
FOO
   *x*

   x

   x

   x



--
Jakub Wilk


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



Bug#379447: curses does not support UTF-8 charset

2006-07-23 Thread Jakub Wilk

Package: python2.3
Version: 2.3.5-14
Severity: normal

The 'curses' module seems not to support UTF-8 charset. I believe that 
linking with 'libncursesw' (rather than with 'libncurses') would solve 
the problem.


$ locale charmap
UTF-8
$ cat buggy 
import locale

encoding = locale.getpreferredencoding()

import curses
from curses.wrapper import wrapper as curses_wrapper

def main(window):
from time import sleep
import unicodedata
ch = unichr(0x141)
window.addstr(unicodedata.name(ch) + ' = ' + ch.encode(encoding))
window.refresh()
sleep(5)

curses_wrapper(main)

$ python2.3 buggy 
LATIN CAPITAL LETTER L WITH STROKE = Å~A


-- System Information:
Debian Release: testing/unstable
 APT prefers testing
 APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17-1-686
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)

Versions of packages python2.3 depends on:
ii  libbz2-1.01.0.3-3high-quality block-sorting file co
ii  libc6 2.3.6-15   GNU C Library: Shared libraries
ii  libdb4.3  4.3.29-4.1 Berkeley v4.3 Database Libraries [
ii  libncurses5   5.5-2  Shared libraries for terminal hand
ii  libreadline5  5.1-7  GNU readline and history libraries
ii  libssl0.9.8   0.9.8b-2   SSL shared libraries
ii  python-central0.5.1  register and build utility for Pyt
ii  zlib1g1:1.2.3-11 compression library - runtime

Versions of packages python2.3 recommends:
pn  python2.3-cjkcodecs | python2 none (no description available)
pn  python2.3-cjkcodecs | python2 none (no description available)

-- no debconf information

--
Jakub Wilk



Bug#476406: mime-support: run-mailcap ignores options

2008-04-16 Thread Jakub Wilk

Package: mime-support
Version: 3.40-1.1
Severity: normal
File: /usr/bin/run-mailcap
Tags: patch

run-mailcap ignores all options in the form -­option=value. The 
attached patch fixes this bug.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

mime-support depends on no packages.

Versions of packages mime-support recommends:
ii  file  4.23-2 Determines file type using magic

-- no debconf information

--
Jakub Wilk
--- run-mailcap.orig	2008-04-16 16:35:00.0 +0200
+++ run-mailcap	2008-04-16 16:34:45.0 +0200
@@ -318,12 +318,12 @@
 	if (m!^(-h|--help)$!) {
 		Usage();
 		exit(0);
-	} elsif (m!^--(.*?)$!) {
-		print STDERR Warning: definition of \$1=$2\ overrides value \${$1}\\n if ($ {$1}  $ {$1} != 1);
-		$ {$1}=1;
 	} elsif (m!^--(.*?)=(.*)$!) {
 		print STDERR Warning: definition of \$1=$2\ overrides value \${$1}\\n if ($ {$1}  $ {$1} != $2);
 		$ {$1}=$2;
+	} elsif (m!^--(.*?)$!) {
+		print STDERR Warning: definition of \$1=1\ overrides value \${$1}\\n if ($ {$1}  $ {$1} != 1);
+		$ {$1}=1;
 	} elsif (m!^[^/:]+/[^/:]+:[^/:]+:!) {
 		push @files,$_;
 	} elsif (m!^([^/:]+/[^/:]+):(.*)!) {


Bug#469735: python-pyrex: hash() built-in function is broken if sizeof(long) sizeof(int)

2008-04-20 Thread Jakub Wilk

* Jakub Wilk [EMAIL PROTECTED], 2008-03-06, 20:38:

Package: python-pyrex
Version: 0.9.6.4-1
Severity: normal

$ echo print hash('foobar')  hash.pyx
$ pyrexc hash.pyx  hash.c

[On a i386 machine:]

$ python hash.pyx
-1969371895
$ gcc -fPIC -shared -I/usr/include/python2.4/ -lpython2.4 hash.c -o hash.so
$ python -c 'import hash'
-1969371895

[On a amd64 machine:]

$ python hash.pyx
3433925302934160649
$ gcc -fPIC -shared-I /usr/include/python2.4/ -lpython2.4 hash.c -o hash.so
$ python -c 'import hash'
-1969371895


Pyrex assumes that PyObject_Hash returns an int, but it actually returns 
a long. The attached patch fixes this problem.


--
Jakub Wilk
diff -ur pyrex-0.9.6.4.orig/Pyrex/Compiler/Builtin.py pyrex-0.9.6.4/Pyrex/Compiler/Builtin.py
--- pyrex-0.9.6.4.orig/Pyrex/Compiler/Builtin.py	2007-10-16 01:52:31.0 +0200
+++ pyrex-0.9.6.4/Pyrex/Compiler/Builtin.py	2008-04-20 13:20:16.0 +0200
@@ -20,7 +20,7 @@
 ('getattr',OO,   O, PyObject_GetAttr),
 ('getattr3',   OOO,  O, __Pyx_GetAttr3,   getattr),
 ('hasattr',OO,   i, PyObject_HasAttr),
-('hash',   O,i, PyObject_Hash),
+('hash',   O,l, PyObject_Hash),
 #('hex',   , ,  ),
 #('id',, ,  ),
 #('input', , ,  ),


Bug#468912: grep: -z is broken under UTF-8 locales

2008-03-02 Thread Jakub Wilk

Package: grep
Version: 2.5.3~dfsg-3
Severity: normal

$ export LC_ALL=POSIX
$ locale
LANG=
LC_CTYPE=POSIX
LC_NUMERIC=POSIX
LC_TIME=POSIX
LC_COLLATE=POSIX
LC_MONETARY=POSIX
LC_MESSAGES=POSIX
LC_PAPER=POSIX
LC_NAME=POSIX
LC_ADDRESS=POSIX
LC_TELEPHONE=POSIX
LC_MEASUREMENT=POSIX
LC_IDENTIFICATION=POSIX
LC_ALL=POSIX
$ printf 'x\0y\0x\0' | grep -z '^x'; echo
xx

$ export LC_ALL=en_US.utf8
$ locale
LANG=
LC_CTYPE=en_US.utf8
LC_NUMERIC=en_US.utf8
LC_TIME=en_US.utf8
LC_COLLATE=en_US.utf8
LC_MONETARY=en_US.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=en_US.utf8
LC_NAME=en_US.utf8
LC_ADDRESS=en_US.utf8
LC_TELEPHONE=en_US.utf8
LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=en_US.utf8
LC_ALL=en_US.utf8
$ printf 'x\0y\0x\0' | grep -z '^x'; echo
x

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages grep depends on:
ii  libc6 2.7-6  GNU C Library: Shared libraries

grep recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#469122: ddjvuapi: djvups -text=yes crashes on files with non-ASCII text

2008-03-03 Thread Jakub Wilk

Package: libdjvulibre15
Version: 3.5.20-3
Severity: normal

$ printf 'P1 3 3 0 0 0 0 0 0 0 0 0'  buggy.pbm
$ cjb2 buggy.pbm buggy.djvu
$ echo '(page 0 0 3 3 (line 0 0 3 3 \304\205))'  buggy.txt
$ djvused -e 'select 1; set-txt buggy.txt; save' buggy.djvu
$ djvups -text=yes buggy.djvu  /dev/null
Segmentation fault


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdjvulibre15 depends on:
ii  libc6   2.7-6GNU C Library: Shared libraries
ii  libgcc1 1:4.3-20080202-1 GCC support library
ii  libjpeg62   6b-14The Independent JPEG Group's JPEG 
ii  libstdc++6  4.3-20080202-1   The GNU Standard C++ Library v3

ii  xdg-utils   1.0.2-3  desktop integration utilities from

libdjvulibre15 recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#469326: mercurial: `hg diff` can break UTF-8 encoding

2008-03-04 Thread Jakub Wilk

Package: mercurial
Version: 0.9.5-3
Severity: normal

$ locale charmap
UTF-8
$ hg init
$ echo Sit odio justo urna et vestibulum hymenæos, nec magnis magnis tellus ut. 
 lorem
$ echo Ligula lacus sit consectetuer, ænean in aliquet dui, eget nam arcu ut vel 
vehicula.  lorem
$ iconv -f UTF-8 -t UTF-8  lorem  /dev/null  echo $?
0
$ hg add lorem
$ hg ci -m initial import
$ sed -i -e 's/dui,/foo,/' lorem
$ hg diff | iconv -f UTF-8 -t UTF-8  /dev/null
iconv: illegal input sequence at position 168


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mercurial depends on:
ii  libc6 2.7-6  GNU C Library: Shared libraries
ii  python2.4.4-6An interactive high-level object-o
ii  python-support0.7.6  automated rebuilding support for p

Versions of packages mercurial recommends:
pn  rcs | kdiff3 | tkdiff | meld  none (no description available)

-- debconf-show failed

--
Jakub Wilk



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



Bug#469637: mutt: cannot open message with PGP key attachment

2008-03-06 Thread Jakub Wilk

Package: mutt
Version: 1.5.17+20080114-1
Severity: normal

Mutt is unable to show a message which contains an application/pgp-keys 
attachment.


The upstream already knowns about this bug:
http://dev.mutt.org/trac/ticket/2545.

Possible workaround:
- Add auto_view application/pgp-keys to your muttrc.
- Add application/pgp-keys; cat '%s'; copiousoutput to your mailcap.

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages mutt depends on:
ii  libc62.7-6   GNU C Library: Shared libraries
ii  libgdbm3 1.8.3-3 GNU dbm database routines (runtime
ii  libgnutls13  2.0.4-3 the GNU TLS library - runtime libr
ii  libidn11 1.4-1   GNU libidn library, implementation
ii  libncursesw5 5.6+20080203-1  Shared libraries for terminal hand
ii  libsasl2-2   2.1.22.dfsg1-18 Cyrus SASL - authentication abstra

Versions of packages mutt recommends:
ii  esmtp-run [mail-transport-age 0.6.0-1User configurable relay-only MTA
ii  locales   2.7-6  GNU C Library: National Language (
ii  mime-support  3.40-1.1   MIME files 'mime.types'  'mailcap

-- no debconf information

--
Jakub Wilk



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



Bug#469735: python-pyrex: hash() built-in function is broken if sizeof(long) sizeof(int)

2008-03-06 Thread Jakub Wilk

Package: python-pyrex
Version: 0.9.6.4-1
Severity: normal

$ echo print hash('foobar')  hash.pyx
$ pyrexc hash.pyx  hash.c

[On a i386 machine:]

$ python hash.pyx
-1969371895
$ gcc -fPIC -shared -I/usr/include/python2.4/ -lpython2.4 hash.c -o hash.so
$ python -c 'import hash'
-1969371895

[On a amd64 machine:]

$ python hash.pyx
3433925302934160649
$ gcc -fPIC -shared-I /usr/include/python2.4/ -lpython2.4 hash.c -o hash.so
$ python -c 'import hash'
-1969371895


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-pyrex depends on:
ii  python2.4.4-6An interactive high-level object-o
ii  python-central0.5.15-0.1 register and build utility for Pyt

Versions of packages python-pyrex recommends:
ii  python-all-dev2.4.4-6Package depending on all supported

-- no debconf information

--
Jakub Wilk



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



Bug#473634: obexftp: does not work with Siemens S55 via serial cable

2008-03-31 Thread Jakub Wilk

Package: obexftp
Version: 0.19-7
Severity: normal

Siemens S55 is listed[1] as a supported device, but obexftp fails to 
establish a connection.


[1] http://dev.zuckschwerdt.org/openobex/wiki/SupportedPhonesSiemens 



$ scmxx -d /dev/ttyS0 -i | head -n 4
Using UTF-8 as system character set.
Accessing device /dev/ttyS0...done
OK, a modem device is present.
Phone related information:
Vendor:   SIEMENS
Model:S55
Revision: 16

$ obexftp -t /dev/ttyS0 -Y

=== Probing with FBS uuid.
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect
Connecting...failed: connect
Still trying to connect
couldn't connect.

=== Probing with S45 uuid.
Connecting...failed: FBS UUID
Still trying to connect
Connecting...failed: FBS UUID
Still trying to connect
Connecting...failed: FBS UUID
Still trying to connect
couldn't connect.

=== Probing without uuid.
Connecting...failed: FBS UUID
Still trying to connect
Connecting...failed: FBS UUID
Still trying to connect
Connecting...failed: FBS UUID
Still trying to connect
couldn't connect.

End of probe.



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages obexftp depends on:
ii  libbluetooth2  3.26-1Library to use the BlueZ Linux Blu
ii  libc6  2.7-6 GNU C Library: Shared libraries
ii  libopenobex1   1.3+cvs20070425-2 OBEX protocol library

obexftp recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#431171: RFP: siefs -- virtual filesystem for accessing Siemens mobile phones' memory (flexmem or MultiMediaCard)

2008-04-01 Thread Jakub Wilk

* Hendrik Sattler [EMAIL PROTECTED], 2007-09-05, 22:30:

* Package name: siefs

Two good reason not to package it:
- dead upstream
- license problems

Please use package obexfs instead and tell me if it works for you or 
not.
I have tried obexfs and it does not work for me (Siemens S55 via serial 
cable), whereas siefs works perfectly.


--
Jakub Wilk



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



Bug#473977: python-lxml: iterparse + root substitution - crash

2008-04-02 Thread Jakub Wilk
   An interactive high-level object-o

ii  python-central 0.6.1 register and build utility for Pyt
ii  zlib1g 1:1.2.3.3.dfsg-11 compression library - runtime

python-lxml recommends no packages.

-- no debconf information

--
Jakub Wilk




Bug#474298: procmail: crashes with a specially crafted procmailrc

2008-04-04 Thread Jakub Wilk

Package: procmail
Version: 3.22-16
Severity: normal
File: procmailrc

$ cat buggy.procmailrc
:0
* ...
{
 :0:
 dummy: xxx
 /tmp/a
}

$ echo foobar | procmail $PWD/buggy.procmailrc
*** glibc detected *** procmail: malloc(): memory corruption: 0x0805df70 ***
=== Backtrace: =
/lib/i686/cmov/libc.so.6[0xb7e901e6]
/lib/i686/cmov/libc.so.6(__libc_malloc+0x8d)[0xb7e91b3d]
procmail[0x805464e]
procmail[0x805080d]
procmail[0x80509b3]
procmail[0x8050ecf]
procmail[0x804f142]
procmail[0x8049cda]
procmail[0x804b5c3]
/lib/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7e3a450]
procmail[0x80497e1]
=== Memory map: 
08048000-0805a000 r-xp  03:02 3622707/usr/bin/procmail
0805a000-0805b000 rw-p 00011000 03:02 3622707/usr/bin/procmail
0805b000-0807c000 rw-p 0805b000 00:00 0  [heap]
b7c0-b7c21000 rw-p b7c0 00:00 0
b7c21000-b7d0 ---p b7c21000 00:00 0
b7de-b7dec000 r-xp  03:02 1507353/lib/libgcc_s.so.1
b7dec000-b7ded000 rw-p b000 03:02 1507353/lib/libgcc_s.so.1
b7ded000-b7df6000 r-xp  03:02 1524142
/lib/i686/cmov/libnss_files-2.7.so
b7df6000-b7df8000 rw-p 8000 03:02 1524142
/lib/i686/cmov/libnss_files-2.7.so
b7df8000-b7e0 r-xp  03:02 1524135
/lib/i686/cmov/libnss_nis-2.7.so
b7e0-b7e02000 rw-p 7000 03:02 1524135
/lib/i686/cmov/libnss_nis-2.7.so
b7e02000-b7e16000 r-xp  03:02 1524162/lib/i686/cmov/libnsl-2.7.so
b7e16000-b7e18000 rw-p 00013000 03:02 1524162/lib/i686/cmov/libnsl-2.7.so
b7e18000-b7e1a000 rw-p b7e18000 00:00 0
b7e1a000-b7e21000 r-xp  03:02 1524172
/lib/i686/cmov/libnss_compat-2.7.so
b7e21000-b7e23000 rw-p 6000 03:02 1524172
/lib/i686/cmov/libnss_compat-2.7.so
b7e23000-b7e24000 rw-p b7e23000 00:00 0
b7e24000-b7f6b000 r-xp  03:02 1524170/lib/i686/cmov/libc-2.7.so
b7f6b000-b7f6c000 r--p 00147000 03:02 1524170/lib/i686/cmov/libc-2.7.so
b7f6c000-b7f6e000 rw-p 00148000 03:02 1524170/lib/i686/cmov/libc-2.7.so
b7f6e000-b7f71000 rw-p b7f6e000 00:00 0
b7f71000-b7f94000 r-xp  03:02 1524163/lib/i686/cmov/libm-2.7.so
b7f94000-b7f96000 rw-p 00023000 03:02 1524163/lib/i686/cmov/libm-2.7.so
b7fa3000-b7fa5000 rw-p b7fa3000 00:00 0
b7fa5000-b7fc1000 r-xp  03:02 1511559/lib/ld-2.7.so
b7fc1000-b7fc3000 rw-p 0001b000 03:02 1511559/lib/ld-2.7.so
bfce9000-bfcfe000 rw-p bffeb000 00:00 0  [stack]
e000-f000 r-xp  00:00 0  [vdso]
Aborted


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages procmail depends on:
ii  libc6 2.7-6  GNU C Library: Shared libraries

Versions of packages procmail recommends:
ii  esmtp-run [mail-transport-age 0.6.0-1User configurable relay-only MTA
ii  fetchmail 6.3.8-11   SSL enabled POP3, APOP, IMAP mail 


-- debconf-show failed

--
Jakub Wilk



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



Bug#474520: djvused: set-meta is terribly slow for indirect documents with lots of pages

2008-04-06 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.20-3
Severity: normal

$ printf 'P1 3 3 1 1 1 1 1 1 1 1 1'  dummy.pbm
$ cjb2 dummy.pbm dummy.djvu
$ for i in `seq 1 400`; do ln dummy.djvu p$i.djvu; done
$ djvm -c bundled.djvu p*.djvu
$ djvmcvt -i bundled.djvu . index.djvu

$ printf 'set-meta\nx y\n.\n'  sedscript

$ grep bogomips /proc/cpuinfo
bogomips: 4625.57
bogomips: 4620.94

$ time djvused -f sedscript -s index.djvu

real1m57.119s
user1m56.927s
sys 0m0.104s

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl  7.18.0-1   Get a file from an HTTP, HTTPS or 
ii  libc6 2.7-6  GNU C Library: Shared libraries

ii  libdjvulibre153.5.20-3   Runtime support for the DjVu image
ii  libgcc1   1:4.3.0-1  GCC support library
ii  libjpeg62 6b-14  The Independent JPEG Group's JPEG 
ii  libstdc++64.3.0-1The GNU Standard C++ Library v3

ii  libtiff4  3.8.2-7Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- debconf-show failed

--
Jakub Wilk



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



Bug#467282: ddjvuapi: ddjvu_document_save is seriously broken

2008-02-24 Thread Jakub Wilk

Package: libdjvulibre15
Version: 3.5.20-3
Severity: important

Due to an unfortunate upstream change[1], the ddjvu_document_save function is
badly broken.

The attached program used to work fine with DjVuLibre 3.5.20-2.


$ gcc djvusave.c -ldjvulibre -o save_bundled
$ gcc djvusave.c -DINDIRECT -ldjvulibre -o save_indirect
$ ./save_bundled /usr/share/doc/libdjvulibre-dev/djvu2spec.djvu
  0%
 97%
100%
$ wc -c tmp.djvu
0 tmp.djvu

$ ./save_indirect /usr/share/doc/libdjvulibre-dev/djvu2spec.djvu
  0%
 97%
lots-of-garbage
terminate called after throwing an instance of 'DJVU::GException'
even-more-garbage


The bug has been already fixed upstream. [2]

[1] 
http://djvu.cvs.sourceforge.net/djvu/djvulibre-3.5/libdjvu/ddjvuapi.cpp?r1=1.86r2=1.87
[2] 
http://djvu.cvs.sourceforge.net/djvu/djvulibre-3.5/libdjvu/ddjvuapi.cpp?r1=1.87r2=1.88

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=pl_PL (charmap=ISO-8859-2)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdjvulibre15 depends on:
ii  libc6   2.7-6GNU C Library: Shared libraries
ii  libgcc1 1:4.3-20080202-1 GCC support library
ii  libjpeg62   6b-14The Independent JPEG Group's JPEG 
ii  libstdc++6  4.3-20080202-1   The GNU Standard C++ Library v3

ii  xdg-utils   1.0.2-3  desktop integration utilities from

libdjvulibre15 recommends no packages.

-- debconf-show failed

--
Jakub Wilk
#include libdjvu/ddjvuapi.h

void handle_messages(ddjvu_context_t *ctx, int wait)
{
  const ddjvu_message_t *msg;
  if (wait)
ddjvu_message_wait(ctx);
  while ((msg = ddjvu_message_peek(ctx)))
  {
switch (msg-m_any.tag)
{
case DDJVU_ERROR:
  fprintf(stderr, DDJVU_ERROR: %s\n, msg-m_error.message);
  exit(4);
case DDJVU_PROGRESS:
			fprintf(stderr, %3d%%\n, msg-m_progress.percent);	
}
ddjvu_message_pop(ctx);
  }
}

int die(const char *message)
{
  fprintf(stderr, %s\n, message);
  return 1;
}

int main(int argc, char * const argv[])
{
  ddjvu_context_t *ctx;
  ddjvu_document_t *doc;
  ddjvu_status_t r;
  ddjvu_pageinfo_t info;
  ddjvu_job_t *job;
  const char* optv[] = { -indirect=/tmp/index.djvu };
	FILE * f;

	f = fopen(/tmp/index.djvu, w);

  if (argc != 2)
return die(Usage: ddjvu djvu-file);
  if (!(ctx = ddjvu_context_create(argv[0])))
return die(Cannot create djvu context.);
  if (!(doc = ddjvu_document_create_by_filename(ctx, argv[1], 1)))
return die(Cannot open djvu document.);
  while (!ddjvu_document_decoding_done(doc))
handle_messages(ctx, 1);
#ifdef INDIRECT  
  job = ddjvu_document_save(doc, NULL, 1, optv);
#else
  {
FILE* f;
f = fopen(tmp.djvu, wb);
job = ddjvu_document_save(doc, f, 0, optv);
  }
#endif
  if (!job)
return die(Cannot create job.);
  while (!ddjvu_job_done(job))
handle_messages(ctx, 1);
  handle_messages(ctx, 0);
  return 0;
}


Bug#470823: libsaxonb-java: fn:replace() does not work as expected

2008-03-13 Thread Jakub Wilk

Package: libsaxonb-java
Version: 9.0-3
Severity: normal

replace(abracadabra, bra, *) returns abracada*, but according to 
[1] it should return a*cada*:


$ cat buggy.xsl
xsl:stylesheet version='2.0' xmlns:xsl='http://www.w3.org/1999/XSL/Transform'
  xsl:output method='text'/
  xsl:template match='/'
xsl:value-of select='replace(abracadabra, bra, *)'/
  /xsl:template
/xsl:stylesheet

$ cat index.xml
root/

$ java -cp /usr/share/java/saxonb.jar net.sf.saxon.Transform index.xml 
buggy.xsl; echo
abracada*


[1] http://www.w3.org/TR/xquery-operators/#function-replace


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libsaxonb-java depends on:
ii  gij-4.2 [java1-runtime] 4.2.1-5  The GNU Java bytecode interpreter
ii  java-gcj-compat [java2-runt 1.0.77-4 Java runtime environment using GIJ
ii  libdom4j-java   1.6.1+dfsg-2 flexible XML framework for Java
ii  libjdom1-java   1.0-4lightweight and fast library using
ii  libxom-java 1.1-2A new XML object model for Java

libsaxonb-java recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#471149: djvused: set-ant gobbles a character

2008-03-16 Thread Jakub Wilk

Package: djvulibre-bin
Version: 3.5.20-4
Severity: important

$ printf 'P1 3 3 0 0 0 0 0 0 0 0 0'  dummy.pbm

$ cjb2 dummy.pbm dummy.djvu

$ cat sedscript
select 1
set-ant
(x)
.

$ djvused -f sedscript -s dummy.djvu  djvused -e output-ant dummy.djvu
select; remove-ant
# -
select 'dummy.djvu'
set-ant
x)
.


-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages djvulibre-bin depends on:
ii  curl   7.18.0-1  Get a file from an HTTP, HTTPS or 
ii  libc6  2.7-6 GNU C Library: Shared libraries

ii  libdjvulibre15 3.5.20-4  Runtime support for the DjVu image
ii  libgcc11:4.3.0~rc2-1 GCC support library
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libstdc++6 4.3.0~rc2-1   The GNU Standard C++ Library v3

ii  libtiff4   3.8.2-7   Tag Image File Format (TIFF) libra

djvulibre-bin recommends no packages.

-- no debconf information

--
Jakub Wilk



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



Bug#471650: libdjvulibre21 should conflict/replace libdjvulibre15

2008-03-19 Thread Jakub Wilk

Package: libdjvulibre21
Version: 3.5.20-5
Severity: serious

libdjvulibre21 should conflict/replace libdjvulibre15, because it contains the
same files. 


# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
   libdjvulibre21 (3.5.20-5)
The following NEW packages will be installed:
   libdjvulibre21 (3.5.20-5)
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
16 not fully installed or removed.
Need to get 0B/778kB of archives.
After this operation, 2220kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
(Reading database ... 108126 files and directories currently installed.)
Unpacking libdjvulibre21 (from .../libdjvulibre21_3.5.20-5_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb 
(--unpack):
 trying to overwrite `/usr/share/djvu/osi/cs/messages.xml', which is also in 
package libdjvulibre15
Errors were encountered while processing:
 /var/cache/apt/archives/libdjvulibre21_3.5.20-5_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (600, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libdjvulibre21 depends on:
ii  libc6  2.7-6 GNU C Library: Shared libraries
ii  libgcc11:4.3.0~rc2-1 GCC support library
ii  libjpeg62  6b-14 The Independent JPEG Group's JPEG 
ii  libstdc++6 4.3.0~rc2-1   The GNU Standard C++ Library v3

ii  xdg-utils  1.0.2-3   desktop integration utilities from

libdjvulibre21 recommends no packages.

--
Jakub Wilk



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



Bug#524750: rungetty: broken debian/rules

2009-04-19 Thread Jakub Wilk

Package: rungetty
Version: 1.2-14
Severity: grave
Tags: patch

Due to a bug in debian/rules, virtually no debian patches were applied 
during a build[1]. Thus, bugs #87402, #113389, #160395, #309866 and 
#515970 were re-introduced.


[1] 
https://buildd.debian.org/fetch.cgi?pkg=rungetty;ver=1.2-14;arch=i386;stamp=1238171775

-- System Information:
Debian Release: squeeze/sid
   APT prefers unstable
   APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rungetty depends on:
ii  libc6 2.9-7  GNU C Library: Shared libraries

rungetty recommends no packages.

rungetty suggests no packages.

-- no debconf information

--
Jakub Wilk
diff --git a/debian/rules b/debian/rules
--- a/debian/rules
+++ b/debian/rules
@@ -36,8 +36,8 @@
 	$(MAKE) clean
 
 
-build: build-stamp patch
-build-stamp:
+build: build-stamp
+build-stamp: $(QUILT_STAMPFN)
 	$(checkdir)
 	$(MAKE) RPM_OPTS=$(RPM_OPTS) LDFLAGS=$(LDFLAGS)
 	chmod -R g-s .


Bug#516089: libpcap0.8: Can't get USB bus index...

2009-04-20 Thread Jakub Wilk

reassing 516089 libpcap0.8 1.0.0-1
retitle 516089 libpcap0.8: Can't get USB bus index...
thanks

(The original bug report was misleading, please don't bother reading 
it.)


It is impossible to open a device which contains usb in the middle of 
its name.



$ cat pcapbug.c

#include pcap/pcap.h

int main(int argc, char **argv)
{
 char error_buffer[PCAP_ERRBUF_SIZE];
 pcap_t *handle;
 if (argc != 2)
 {
   fprintf(stderr, pcapbug iface\n);
   return 1;
 }
 handle = pcap_open_live(argv[1], BUFSIZ, 1, 10, error_buffer);
 if (handle == NULL)
 {
   fprintf(stderr, %s\n, error_buffer);
   return 1;
 }
 return 0;
}

$ gcc -Wall pcapbug.c -o pcapbug -l pcap

$ ./pcapbug busby
Can't get USB bus index from busby

--
Jakub Wilk
diff --git a/pcap-linux.c b/pcap-linux.c
--- a/pcap-linux.c
+++ b/pcap-linux.c
@@ -304,25 +304,25 @@
 		device = any;
 
 #ifdef HAVE_DAG_API
-	if (strstr(device, dag)) {
+	if (strstr(device, dag) == device) {
 		return dag_create(device, ebuf);
 	}
 #endif /* HAVE_DAG_API */
 
 #ifdef HAVE_SEPTEL_API
-	if (strstr(device, septel)) {
+	if (strstr(device, septel) == device) {
 		return septel_create(device, ebuf);
 	}
 #endif /* HAVE_SEPTEL_API */
 
 #ifdef PCAP_SUPPORT_BT
-	if (strstr(device, bluetooth)) {
+	if (strstr(device, bluetooth) == device) {
 		return bt_create(device, ebuf);
 	}
 #endif
 
 #ifdef PCAP_SUPPORT_USB
-	if (strstr(device, usb)) {
+	if (strstr(device, usb) == device) {
 		return usb_create(device, ebuf);
 	}
 #endif


Bug#525299: iconv accepts UTF-8-encoded UTF-16 surrogates

2009-04-23 Thread Jakub Wilk

Package: libc6
Version: 2.9-7
Severity: normal

$ man utf-8 | grep -A 2 UTF-16 | sed -e 's/^ *//'
The UCS code values 0xd800–0xdfff (UTF-16 surrogates) as well as 0xfffe
and 0x (UCS non-characters) should not appear in  conforming  UTF-8
streams.

$ s='\xed\xa0\x88\xed\xbd\x85' # 0xd808 + 0xdf45
$ for e in UTF-8 UTF-16 UTF-32 UCS-4

do
  printf $e\t
  printf $s | iconv -f UTF-8 -t $e  /dev/null  printf 'OK\n'
done

UTF-8   OK
UTF-16  iconv: illegal input sequence at position 0
UTF-32  iconv: illegal input sequence at position 0
UCS-4   OK

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages libc6 depends on:
ii  libgcc1   1:4.3.3-8  GCC support library

libc6 recommends no packages.

Versions of packages libc6 suggests:
ii  glibc-doc 2.9-7  GNU C Library: Documentation
ii  libc6-i6862.9-7  GNU C Library: Shared libraries [i
ii  locales   2.9-7  GNU C Library: National Language (

-- debconf information:
  glibc/upgrade: true
  glibc/disable-screensaver:
  glibc/restart-failed:
* glibc/restart-services:

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525301: /usr/bin/isutf8: accepts UTF-8-encoded UTF-16 surrogates

2009-04-23 Thread Jakub Wilk

Package: moreutils
Version: 0.34
Severity: normal
File: /usr/bin/isutf8

$ man utf-8 | grep -A 2 UTF-16 | sed -e 's/^ *//'
The UCS code values 0xd800–0xdfff (UTF-16 surrogates) as well as 0xfffe
and 0x (UCS non-characters) should not appear in  conforming  UTF-8
streams.

$ s='\xed\xa0\x88\xed\xbd\x85' # 0xd808 + 0xdf45
$ printf $s | isutf8  echo $?
0


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages moreutils depends on:
ii  libc6 2.9-7  GNU C Library: Shared libraries
ii  perl  5.10.0-19  Larry Wall's Practical Extraction 


moreutils recommends no packages.

Versions of packages moreutils suggests:
pn  libtime-duration-perl none (no description available)
ii  libtimedate-perl  1.1600-9   Time and date functions for Perl

-- no debconf information

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525674: wordnet: Tcl dependency

2009-04-26 Thread Jakub Wilk

Package: wordnet
Version: 1:3.0-15
Severity: minor

wordnet currently depends on tcl8.5 (and some X libraries, and freetype, 
and…) merely to satisfy requirements of wnb. However, some users (take me 
for instance) never use wnb and could happily live without Tcl (or Tk, 
or some X libraries, or…) installed.


Please either loosen the dependency (i.e., only recommend tcl8.5, tk8.5, 
etc.) or split the package.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages wordnet depends on:
ii  libc6  2.9-7 GNU C Library: Shared libraries
ii  libfontconfig1 2.6.0-3   generic font configuration library
ii  libfreetype6   2.3.9-4.1 FreeType 2 font engine, shared lib
ii  libx11-6   2:1.2.1-1 X11 client-side library
ii  libxext6   2:1.0.4-1 X11 miscellaneous extension librar
ii  libxft22.1.13-3  FreeType-based font drawing librar
ii  libxrender11:0.9.4-2 X Rendering Extension client libra
ii  libxss11:1.1.3-1 X11 Screen Saver extension library
ii  tcl8.5 8.5.7-1   Tcl (the Tool Command Language) v8
ii  tk8.5  8.5.7-1   Tk toolkit for Tcl and X11, v8.5 -
ii  wordnet-base   1:3.0-15  electronic lexical database of Eng
ii  zlib1g 1:1.2.3.3.dfsg-13 compression library - runtime

wordnet recommends no packages.

wordnet suggests no packages.

-- no debconf information

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525808: docbook-xsl: ruby dependency

2009-04-27 Thread Jakub Wilk

Package: docbook-xsl
Version: 1.74.3+dfsg-1
Severity: normal

docbook-xsl currently depends on ruby merely to satisfy requirements of 
dbtoepub. However, some users (take me for instance) don't need dbtoepub 
and could happily live without ruby installed.


Please either loosen the dependency (i.e., only recommend ruby) or split 
the package.



-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages docbook-xsl depends on:
ii  ruby  4.2An interpreter of object-oriented 
ii  xml-core  0.12   XML infrastructure and XML catalog

ii  xsltproc  1.1.24-2   XSLT command line processor
ii  zip   3.0-1  Archiver for .zip files

Versions of packages docbook-xsl recommends:
ii  docbook-xml   4.5-6  standard XML documentation system,
ii  docbook-xsl-doc-html [docbook 1.74.3-2   stylesheets for processing DocBook

Versions of packages docbook-xsl suggests:
pn  docbook-xsl-saxon none (no description available)
pn  fop   none (no description available)
pn  libsaxon-java none (no description available)
pn  libxalan2-javanone (no description available)
pn  xalan none (no description available)

-- no debconf information

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#526064: rss2email: garbles messages

2009-04-28 Thread Jakub Wilk

Package: rss2email
Version: 1:2.65-1
Severity: important

rss2email produces totally garbled messages for the following feed:
http://www.rp.pl/rss/10.html

This is probably related to the following Python bug:
http://bugs.python.org/issue5871

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (900, 'unstable'), (500, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=pl_PL.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages rss2email depends on:
ii  python2.5.4-2An interactive high-level object-o
ii  python-feedparser 4.1-13 Universal Feed Parser for Python
ii  python-support1.0.2  automated rebuilding support for P

rss2email recommends no packages.

rss2email suggests no packages.

-- no debconf information

--
Jakub Wilk



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



  1   2   3   4   5   6   7   8   9   10   >