FS#17622 - [man-db] Incompatible with zlib 1.2.3.4

Attached to Project: Arch Linux
Opened by Jan Alexander Steffens (heftig) - Sunday, 27 December 2009, 15:31 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 15 March 2010, 12:00 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

man-db is incompatible with zlib 1.2.3.4.

When displaying manpages, sometimes manconv will stop output after 4096 bytes, which will cause some manpages to be cut off.

Also causes manconv to enter an infinite loop while processing japanese or chinese manpages during a mandb update.

A rebuild doesn't seem to be sufficient.

Sample manpages:
man chacl
man grotty
man 3 errno

Package versions:
man-db 2.5.6-1
zlib 1.2.3.3-3 (works) 1.2.3.4-1 (broken)
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 15 March 2010, 12:00 GMT
Reason for closing:  Fixed
Comment by Jan Alexander Steffens (heftig) - Sunday, 27 December 2009, 15:49 GMT Comment by Pierre Schmitz (Pierre) - Sunday, 27 December 2009, 17:38 GMT
I have added the patch from Debian to zlib 1.2.3.4-2. It sems to work for me. (at least the "cut off" problem)
Comment by Jan Alexander Steffens (heftig) - Sunday, 27 December 2009, 19:15 GMT
Works for me as well, both issues disappeared.
Comment by Pierre Schmitz (Pierre) - Sunday, 27 December 2009, 19:53 GMT
Maybe we can let this report open as it seems to be a mandb issue with a workaround applied to zlib.
Comment by Pierre Schmitz (Pierre) - Thursday, 07 January 2010, 14:44 GMT
@Andy: Could you update mandb to 2.5.6-5?
Comment by Andreas Radke (AndyRTR) - Thursday, 07 January 2010, 18:28 GMT
hum? 2.5.6-5 is a Debian subrelease. What is needed to fix our bug? What backport/patch should I apply? Applying the whole diff is probably not a good idea.

http://packages.debian.org/changelogs/pool/main/m/man-db/man-db_2.5.6-5/changelog
Comment by Pierre Schmitz (Pierre) - Thursday, 07 January 2010, 19:15 GMT
Too sad they did not add a patch directory with the separate patches. I am refering to this log entry:

* Backport from trunk:
- Handle iconv errors when attempting to convert the last input encoding
to UTF-8 (closes: #562503).

If I get it right this should make mandb working again without the need of a patched zlib. But as zlib is patched anyway atm we can wait for a new upstream release of mandb.
Comment by Paul Mattal (paul) - Friday, 05 March 2010, 13:30 GMT Comment by Andreas Radke (AndyRTR) - Monday, 08 March 2010, 20:59 GMT
please test man-db 2.5.7 in testing.
Comment by Jan Alexander Steffens (heftig) - Friday, 12 March 2010, 23:36 GMT
Seems to work fine so far.

Loading...