% cd /usr/ports/www/gallery2 % cat distinfo SHA256 (gallery2/gallery-2.3.2-full.tar.gz) = 810ed73c456a3299ba50d9fcca6725d0654641c078c9d7c278d4875bad2af3fc SIZE (gallery2/gallery-2.3.2-full.tar.gz) = 14569436 % make fetch-urlall-list mkdir: /usr/ports/distfiles/gallery2: Permission denied *** Error code 1 Stop. make[1]: stopped in /usr/ports/www/gallery2 *** Error code 1 Stop. make: stopped in /usr/ports/www/gallery2
Created attachment 186953 [details] p let me know if this fixes the problem.
Thanks! It fixes the problem.
@mat: will you commit this fix?
Sorry, forgot about it.
A commit references this bug: Author: mat Date: Sat Dec 16 08:53:08 UTC 2017 New revision: 456460 URL: https://svnweb.freebsd.org/changeset/ports/456460 Log: Fix a edge case in the fetch related targets. This would have given an error when: - The port uses DIST_SUBDIR - That sub-directory does not exist - The current user does not have permission to write in DISTDIR. Something like: $ sudo rmdir /usr/ports/distfiles/gallery2 $ make fetch-urlall-list mkdir: /usr/ports/distfiles/gallery2: Permission denied *** Error code 1 PR: 222819 Reported by: sunpoet Sponsored by: Absolight Changes: head/Mk/Scripts/do-fetch.sh
Thank you!