Date: Thu, 8 Jan 2009 08:09:32 +1100 (EST) From: Peter Jeremy <peterjeremy@optushome.com.au> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/130279: Unable to build www/mod_webapp Message-ID: <200901072109.n07L9WLK055363@server.vk2pj.dyndns.org> Resent-Message-ID: <200901080130.n081U2re022645@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901072109.n07L9WLK055363>