Bug 80541

Summary: man pages for unimplemented functions provoke name clash
Product: Documentation Reporter: Joachim Wuttke (j.wuttke)
Component: man-pagesAssignee: documentation_man-pages (documentation_man-pages)
Status: RESOLVED CODE_FIX    
Severity: normal CC: mtk.manpages
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Joachim Wuttke 2014-07-17 21:37:00 UTC
A page like cerf(3), which says "not yet in glibc, as at version 2.12", provokes a name clash if some other library provides the missing implementation.

The rpm package managers reacts to such name clash by suggesting to uninstall libc, which is no clever resolution.

I suggest to resolve this problem by moving man pages of unimplemented functions to manual section 7, so that they can peacefully coexist in the shadow of section 3 pages provided by more specific libraries.
Comment 1 Michael Kerrisk 2014-07-27 11:57:02 UTC
Hello Joachim,

From my perspective, pages such as this are of marginal value, and if they provoke conflicts, I'd consider removing them. But... which other package provides this man page?

Cheers,

Michael
Comment 2 Joachim Wuttke 2014-08-11 16:37:18 UTC
(In reply to Michael Kerrisk from comment #1)

cerf(3) and related functions are provided by libcerf. Source available from http://apps.jcns.fz-juelich.de/doku/sc/libcerf. For binary packages, see links at bottom of that page.

Removing the man pages of the non-implemented functions sounds like the easiest and most straightforward solution to me. Thanks for considering this further.

Best regards - Joachim
Comment 3 Michael Kerrisk 2015-05-05 08:38:55 UTC
Summary: These functions don't exist in glibc, aren't specified in C99 or C11 (those standards merely reserve the names for future use), cause package conflicts for libcerf (http://apps.jcns.fz-juelich.de/doku/sc/libcerf), which does provide implementations and man-pages for these functions, and cause confusion for readers who (not looking too closely at the page) wonder where the glibc implementation is.

I've removed the cerf(3) and its links from man-pages. Sorry for the slow follow up.