libx11-dev: Manual pages point to non-existing section 3X11

Bug #34037 reported by Francois-Denis Gonthier
4
Affects Status Importance Assigned to Milestone
libx11 (Debian)
New
Undecided
Unassigned
libx11 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Package: libx11-dev
Version: 2:1.0.0-0ubuntu3
Severity: normal

All manual pages from the package libx11-dev think they are in the
section 3X11, which doesn't exist. This causes no problem most of the
time but the KDE man: kio-slave is affected.

To reproduce, fire Konqueror, browse man:XOpenDisplay, try to access the
link to AllPlanes or XFlush. This will lead to an error message:

"KDE Man Viewer Error
No man page matching to XFlush found.

Check that you have not mistyped the name of the page that you want. Be
careful that you must take care about upper case and lower case
characters!
If everything looks correct, then perhaps you need to set a better
search path for man pages, be it by the environment variable MANPATH or
a matching file in the directory /etc ."

The Debian version of the same package has the bug. A sed hack at the
package build could probably solve this, but I haven't tried yet. I
guess the man kio-slave could be hacked to solve this too.

This is an Ubuntu system, but it also applies to Debian Unstable (I checked).
I have yet to find the correct way to post a bug in Ubuntu launchpad ;P
Debian BTS is straightforward at least.

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-security
  APT policy: (500, 'dapper-security'), (500, 'dapper')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4custom-rt
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)

Versions of packages libx11-dev depends on:
ii libx11-6 2:1.0.0-0ubuntu3 X11 client-side library
ii libxau-dev 1:1.0.0-0ubuntu3 X11 authorisation library
(develop
ii libxdmcp-dev 1:1.0.0-0ubuntu2 X11 authorisation library
(develop
ii x11-common 7.0.0-0ubuntu17 X Window System (X.Org)
infrastruc
ii x11proto-core-dev 7.0.4-0ubuntu2 X11 core wire protocol and
auxilia
ii x11proto-input-dev 1.3.2-0ubuntu2 X11 Input extension wire protocol
ii x11proto-kb-dev 1.0.2-0ubuntu2 X11 XKB extension wire protocol

Revision history for this message
Francois-Denis Gonthier (fdgonthier) wrote : Workaround

Hello, here is the patch I've used to work around the problem.

Revision history for this message
Francois-Denis Gonthier (fdgonthier) wrote : Corrected patch

sorry. I've made a mistake while generating the last patch. This one will make more sense.

Matt Zimmerman (mdz)
Changed in libx11:
status: Unconfirmed → Confirmed
Changed in libx11:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.