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)
Fri, Apr 19, 11:31 AM
Unknown Object (File)
Dec 20 2023, 1:12 AM
Unknown Object (File)
Nov 20 2023, 2:30 AM
Unknown Object (File)
Nov 20 2023, 2:30 AM
Unknown Object (File)
Nov 20 2023, 2:30 AM
Unknown Object (File)
Nov 20 2023, 2:29 AM
Unknown Object (File)
Nov 20 2023, 1:46 AM
Unknown Object (File)
Nov 10 2023, 5:45 AM
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.