Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17227 - [erlang] from testing doesn't open manpages through "erl -man <Module>"

Attached to Project: Arch Linux
Opened by Sergey (Prikrutil) - Saturday, 21 November 2009, 10:13 GMT
Last edited by Vesa Kaihlavirta (vegai) - Friday, 26 February 2010, 10:18 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Vesa Kaihlavirta (vegai)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

With erlang from testing (R12B02) it isn't currently possible to open a man page using "erl -man <Module>":

[prikrutil@myhost ~]$ erl -man erl
No manual entry for erl

Steps to reproduce:

1. Switch to testing (or get the PKGBUILD of erlang R13B02 using ABS)
2. Install erlang R13B02
3. If you type "erl -man erl", you will see the following message: "No manual entry for erl"
This task depends upon

Closed by  Vesa Kaihlavirta (vegai)
Friday, 26 February 2010, 10:18 GMT
Reason for closing:  Fixed
Additional comments about closing:  in R13B04-1
Comment by Sergey (Prikrutil) - Saturday, 26 December 2009, 14:05 GMT
The bug has moved to extra repository with the erlang R13B02.

"erl -man <module>" is the most common way for programmers to read documentation shiped with erlang. It's broken now, so we should go to the online documentation every time we need to take a look at man.
Comment by Sergey (Prikrutil) - Thursday, 11 February 2010, 06:24 GMT
I think that the root of the problem is placing man pages to /usr/share/man instead of /usr/lib/erlang/erts-5.7.4/man. Having man pages in /usr/share/man makes it impossible to view some erlang mans like io or rpc.

Try "erl -man io" - it doesn't work because there are no appropriate files in /usr/lib/erlang/erts-5.7.4/man. If you try just "man io", it will show you /usr/share/man/man3/io.3.gz, which has nothing to do with Erlang.

Could you fix it in the R13B04 package (R13B04 will be released at the end of February)?

Thanks.
Comment by Vesa Kaihlavirta (vegai) - Thursday, 11 February 2010, 15:14 GMT
I nearly uploaded a fix for B03 already, but since this is a big package, it might indeed be a good idea to fix it at R13B04

Loading...