Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2006 13:20:21 +0200
From:      "Ion-Mihai "IOnut" Tetcu" <itetcu@people.tecnik93.com>
To:        "FreeBSD gnats submit" <FreeBSD-gnats-submit@FreeBSD.org>
Subject:   ports/93279: devel/cvsmonitor: not useable (/dev/mem: Permission denied ~ 
Message-ID:  <1139829621.51693@it.buh.cameradicommercio.ro>
Resent-Message-ID: <200602131130.k1DBU3tr072214@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         93279
>Category:       ports
>Synopsis:       devel/cvsmonitor: not useable (/dev/mem: Permission denied ~
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 13 11:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Ion-Mihai "IOnut" Tetcu
>Release:        FreeBSD 5.4-STABLE #0: Tue Jan 10 23:41:20 EET 2006
>Organization:
Tecnik'93 
>Environment:


FreeBSD 5.4-STABLE #0: Tue Jan 10 23:41:20 EET 2006


>Description:


On a fresh install, when trying to finish the setup, in httpd-errors.log:
/dev/mem: Permission denied
kvm_open: /libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Proc/ProcessTable/ProcessTable.so: Undefined symbol "ppt_croak"
Premature end of script headers: /usr/local/www/cgi-bin/cvsmonitor/cvsmonitor.pl



>How-To-Repeat:


Install the port, do the initial setup and use it.


>Fix:


Workaround (unsafe):

For 5.x: Add the user cvsmonitor runs as to kmem group, remove the devel/p5-Proc-ProcessTable/files/patch-processtable.xs  patch, rebuild and reinstall it,

For 6.0 you will need to do exactly the same, and apply this patch to devel/p5-Proc-ProcessTable/Makefile (PT knows about FreeBSD 5, but not 6 or 7):

diff -u -r1.15 Makefile
--- Makefile    11 Jul 2005 07:56:27 -0000      1.15
+++ Makefile    17 Jan 2006 21:05:40 -0000
@@ -23,6 +23,10 @@
                Proc::Killfam.3
 PORTDOCS=      README README.freebsd
 
+pre-configure:
+       ${LN} -sf ${WRKSRC}/hints/freebsd_5.pl ${WRKSRC}/hints/freebsd_6.pl
+       ${LN} -sf ${WRKSRC}/hints/freebsd_5.pl ${WRKSRC}/hints/freebsd_7.pl
+
 post-install:
 .if !defined(NOPORTDOCS)
        ${MKDIR} ${DOCSDIR}

Obtained from:		tobez@


>Release-Note:
>Audit-Trail:
>Unformatted:
 kvm_open: /libexec/ld-elf.so.1: /usr/local/lib/perl5/site_perl/5.8.7/mach/auto/Proc/ProcessTable/ProcessTable.so: Undefined symbol "ppt_croak") 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1139829621.51693>