Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36533 - app-text/man2html-1.5l gives an error on http://localhost/cgi-bin/man/man2html after a fresh install
Summary: app-text/man2html-1.5l gives an error on http://localhost/cgi-bin/man/man2htm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Tom Payne (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-26 09:32 UTC by Christiaan Van den Poel
Modified: 2003-12-27 05:33 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
fixes this bug, changes the reference in the man2html script to the right man.aux (man2html-man.aux-gentoo.patch,606 bytes, patch)
2003-12-26 09:39 UTC, Christiaan Van den Poel
Details | Diff
patch to ebuild to include the patch (man2html-1.5l.ebuild.patch,316 bytes, patch)
2003-12-26 09:41 UTC, Christiaan Van den Poel
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christiaan Van den Poel 2003-12-26 09:32:40 UTC
After having done a fresh install of app-text/man2html-1.5l, I've tried to open the link http://localhost/cgi-bin/man/man2html and I've recieved an error saying, it couldn't open "/home/httpd/cgi-aux/man/man.aux"

This is the reason: 
the man2html cgi-script (http://localhost/cgi-bin/man/man2html) which is installed in /var/www/localhost/cgi-bin/man/man2html, has the wrong reference for man.aux (/home/httpd/cgi-aux/man/man/aux) which is actually installed in /var/www/localhost/cgi-aux/man.aux.

Reproducible: Always
Steps to Reproduce:
1. install man2html by doing 'emerge man2html'
2. point your webbrowser to 'http://localhost/cgi-bin/man/man2html'


Actual Results:  
The script returns the following error:
"Error
man2html: cannot open /home/httpd/cgi-aux/man/man.aux"

Expected Results:  
In short? at least, it should work ;D meaning the link http://localhost/cgi-
bin/man/man2html should show you a page where you can read/search the 
different manpages on your pc.



Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-
r2)
=================================================================
System uname: 2.4.22-gentoo-r2 i586 Pentium 75 - 200
Gentoo Base System version 1.4.3.10
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/conf
ig /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=i586 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ 
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gtk gtk2 imlib jpeg 
kde gnome libg++ mad mikmod motif mpeg ncurses nls oggvorbis pdflib png 
quicktime sdl spell svga truetype xml2 xmms xv zlib gdbm berkdb slang readline 
tcltk java mysql X gpm tcpd pam libwww ssl perl python qt opengl ldap"
Comment 1 Christiaan Van den Poel 2003-12-26 09:39:39 UTC
Created attachment 22671 [details, diff]
fixes this bug, changes the reference in the man2html script to the right man.aux
Comment 2 Christiaan Van den Poel 2003-12-26 09:41:38 UTC
Created attachment 22672 [details, diff]
patch to ebuild to include the patch
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2003-12-26 20:44:19 UTC
mis-wrangled, sorry patrick
Comment 4 Tom Payne (RETIRED) gentoo-dev 2003-12-27 05:33:36 UTC
Thanks for this. Fix now in CVS. This bug revealed other wrong paths in the script due to the move from /home/httpd to /var/www/localhost.

I've used sed rather than patch to fix all references to htdocs, cgi-bin, and cgi-aux.