ports/130279: Unable to build www/mod_webapp
Peter Jeremy
peterjeremy at optushome.com.au
Thu Jan 8 01:30:02 UTC 2009
>Number: 130279
>Category: ports
>Synopsis: Unable to build www/mod_webapp
>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: Thu Jan 08 01:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: Peter Jeremy
>Release: FreeBSD 7.1-PRERELEASE i386
>Organization:
n/a
>Environment:
System: FreeBSD server.vk2pj.dyndns.org 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #19: Fri Oct 17 19:10:11 EST 2008 root at server.vk2pj.dyndns.org:/var/obj/k7/usr/src/sys/server i386
>Description:
Any 'make' invocation of www/mod_webapp reports
cd: can't cd to /devel/apr
"Makefile", line 40: warning: "cd /devel/apr && make -V APR_VERSION" returned non-zero status
cd: can't cd to /devel/apr
"Makefile", line 41: warning: "cd /devel/apr && make -V WRKSRC" returned non-zero status
Attempting to actually build the port fails because various
dependencies aren't built correctly - eg:
===> mod_webapp-4.1.24_3 depends on file: /nonexistent - not found
===> Verifying configure for /nonexistent in /usr/ports/devel/apr
Within www/mod_webapp/Makefile, APR_VERSION and WRKSRC are both
initialised using '!= cd ${PORTSDIR}/devel/apr && ...' but PORTSDIR
is not initialised at that point. This problem appears to have been
introduced with v1.21 of the Makefile.
>How-To-Repeat:
$ make checksum
cd: can't cd to /devel/apr
"/home/ports/www/mod_webapp/Makefile", line 40: warning: "cd /devel/apr && make -V APR_VERSION" returned non-zero status
cd: can't cd to /devel/apr
"/home/ports/www/mod_webapp/Makefile", line 41: warning: "cd /devel/apr && make -V WRKSRC" returned non-zero status
=> MD5 Checksum OK for mod_webapp/jakarta-tomcat-connectors-4.1.24-src.tar.gz.
=> SHA256 Checksum OK for mod_webapp/jakarta-tomcat-connectors-4.1.24-src.tar.gz.
$
>Fix:
PORTSDIR needs to be defined before it is used - presumably by
including one of <bsd.port.*.mk>.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list