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.
Over to maintainer (via the GNATS Auto Assign Tool)
barner 2008-09-23 07:02:14 UTC
FreeBSD ports repository
- Fix build from within jails
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
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "email@example.com"