Created attachment 165347 [details] Patch with port updates. Proposed patch updates rust-nightly to 1.7.0 (20160108). It also fixed configure args and fixes doc directory copying if DOCS options is set, i.e. rename rust to rust-nightly doc directory only if rust-nightly doesn't exist. If not done so, consequent build will put rust directory inside rust-nightly and eventually break the build.
@Oleksii, can you confirm this change passes QA (portlint, poudriere) please?
(In reply to Kubilay Kocak from comment #1) As for portlint, it gives several warnings. Some of them have been fixed with the patch, such as using find/chmod instead of ${FIND}/${CHMOD}. All the rest warnings are related to locations of some variable definitions. These variable definitions are where they were initially and remain unchanges. I can fix those warnings as well. Let me know is you want me to fix them. As for poudriere, honestly, I don't have it set up yet, going to get it done soon. Since I don't have much experience with it, what other aspects can poudriere help test in case of rust-nightly as compared to regular build in ports tree? This port is not required by any other port. Build in the ports tree succeeded, + make package. In the meantime will get poudriere set up and test the build. Thank you.
Created attachment 165379 [details] Patch with port updates. Fixed.
Created attachment 165380 [details] Poudriere log
Created attachment 165381 [details] Poudriere build log
I decided to fix portlint warnings. Uploaded an updated patch. Also did a poudriere build. Poudriere configuration: - Jail for 10.2-RELEASE - Ports revision 405748 with proposed patch applied.
This patch is no longer relevant, as rust 1.7.0 stable just landed in ports.
A commit references this bug: Author: dumbbell Date: Tue Mar 29 17:58:59 UTC 2016 New revision: 412126 URL: https://svnweb.freebsd.org/changeset/ports/412126 Log: lang/rust-nightly: Update to 1.9.0.20160318 While here, relevant improvements made to lang/rust were copied. PR: 204418, 206091 Reviewed by: asomers, jbeich Approved by: asomers, jbeich Differential Revision: https://reviews.freebsd.org/D5766 Changes: head/lang/rust-nightly/Makefile head/lang/rust-nightly/distinfo head/lang/rust-nightly/pkg-plist