Unable to make install for p5 ports

Stefan Bethke stb at lassitu.de
Sun Dec 20 20:26:14 UTC 2015


> Am 20.12.2015 um 21:15 schrieb Stefan Bethke <stb at lassitu.de>:
> 
> For many perl ports, I’m getting errors similar to this:
> 
> ...
> Installing /usr/obj/ports/freebsd/checkout/ports/net/p5-Net-Server/stage/usr/local/lib/perl5/site_perl/man/man1/net-server.1
> ...
> Installing /usr/obj/ports/freebsd/checkout/ports/net/p5-Net-Server/stage/usr/local/bin/net-server
> ====> Compressing man pages (compress-man)
> ===>  Installing for p5-Net-Server-2.008_1
> ===>  Checking if p5-Net-Server already installed
> ===>   Registering installation for p5-Net-Server-2.008_1 as automatic
> pkg-static: Unable to access file /usr/obj/ports/freebsd/checkout/ports/net/p5-Net-Server/stage/usr/local/share/man/man1/net-server.1.gz: No such file or directory
> *** [fake-pkg] Error code 74
> 
> Stop in /freebsd/checkout/ports/net/p5-Net-Server.
> *** [install] Error code 1
> 
> Stop in /freebsd/checkout/ports/net/p5-Net-Server.
> *** [build-depends] Error code 1
> 
> Stop in /freebsd/checkout/ports/sysutils/munin-node.
> *** [stage] Error code 1
> 
> Stop in /freebsd/checkout/ports/sysutils/munin-node.
> 
> 
> I’ve tried upgrading my perl to 5.20, but I’m running into the same issue.
> 
> FreeBSD 9-stable, perl 5.20.

After fiddling around with the stage dir, it seems that the port installs man pages for command line utilities into stage/usr/local/lib/perl5/site_perl/man, while pig-static expects them in stage/usr/local/share/man.  Is this a local configuration issue on my box?  My make.conf has this:

WRKDIRPREFIX?=	/usr/obj/ports
WRKDIR?=		${WRKDIRPREFIX}${.CURDIR:S/${PORTSDIR}//}
DISTDIR?=		/usr/obj/ports/distfiles
DISABLE_VULNERABILITIES?=	true
PACKAGES?=		/freebsd/packages
WITH_PKGNG=		yes


Stefan

-- 
Stefan Bethke <stb at lassitu.de>   Fon +49 151 14070811






More information about the freebsd-ports mailing list