Page MenuHomeFreeBSD

lang/rust: Update to 1.17.0
ClosedPublic

Authored by dumbbell on May 12 2017, 6:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 5:49 AM
Unknown Object (File)
Sep 30 2024, 2:20 PM
Unknown Object (File)
Sep 22 2024, 12:26 PM
Unknown Object (File)
Sep 21 2024, 5:17 PM
Unknown Object (File)
Sep 21 2024, 4:23 PM
Unknown Object (File)
Sep 17 2024, 6:21 PM
Unknown Object (File)
Sep 9 2024, 11:38 PM
Unknown Object (File)
Sep 5 2024, 11:41 PM
Subscribers

Details

Summary

Beside the update, there is a fix in the gen-registry target's recipe: ${_DISTDIR} is replaced by ${DISTDIR} because we append ${DIST_SUBDIR} already. Should we use ${_DISTDIR} or ${DISTDIR}${DIST_SUBDIR}?

Test Plan

I tested a local build on my laptop and run make check-plist. However, a build in Poudriere fails because it goes out of memory. Deos Poudriere limit the amount of memory of the build jail?

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Regarding the memory, I don't think there is a general poudriere problem. Maybe you can double-check your TMPFS settings in poudriere.conf. I don't use tmpfs with poudriere at all since I encountered memory problems a while ago.

lang/rust/Makefile
75 ↗(On Diff #28265)

This is not nice.
Did you encounter problems? I am just testing builds without it and see where it goes. Will report back.

lang/rust/Makefile
75 ↗(On Diff #28265)

Testbuilds on my build box complete indeed successfully with multiple make jobs, both i386 and amd64. I'll remove the statement.

Parallel build and packaging seems to work fine

This revision is now accepted and ready to land.May 14 2017, 3:25 PM
This revision was automatically updated to reflect the committed changes.
lang/rust/Makefile
75 ↗(On Diff #28265)

This was a mistake: I added that after I saw out-of-memory failures in Poudriere ad forgot to remove it.

Anyway, at this point, we do not pass the appropriate flag to the build when this variable is set, so Cargo does a parallel build regardless of this variable.