The "make fetch" in devel/valgrind refuses to download distfiles if running inside a jail. It complains about missing procfs. The procfs, however, is correctly working and accessible. The issue was observed on FreeBSD 6.2 Release, using ports collection from August, 21 2008. Expected behavior: presence of procfs is not verified when running targets like "fetch". Acceptable behavior: actual presence of procfs is verified. Fix: Modify the Makefile to verify that procfs is running and accessible instead of examining output of "/sbin/mount". See the suggested patch. Patch attached with submission follows: How-To-Repeat: 1) Setup a jail with access to internet. 2) Uncompress "ports" collection into /usr/ports directory inside a jail. 3) Mount the "procfs" filesystem to /proc directory inside a jail from the host OS. 3) Start shell in the jail, cd into "devel/valgrind", type make fetch.
Responsible Changed From-To: freebsd-ports-bugs->barner Over to maintainer (via the GNATS Auto Assign Tool)
barner 2008-09-23 07:02:14 UTC FreeBSD ports repository Modified files: devel/valgrind Makefile devel/valgrind-snapshot Makefile Log: - Fix build from within jails PR: ports/127015 Submitted by: Alexander Churanov Approved by: portmgr (erwin) Revision Changes Path 1.29 +1 -1 ports/devel/valgrind-snapshot/Makefile 1.31 +1 -1 ports/devel/valgrind/Makefile _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!