notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Port details
rust Language with a focus on memory safety and concurrency
1.58.0 lang on this many watch lists=12 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.57.0Version of this port present on the latest quarterly branch.
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2012-01-23 16:07:20
Last Update: 2022-01-17 11:56:32
Commit Hash: 1835888
People watching this port, also watch:: pkg, indexinfo, smartmontools, rtorrent, lame
License: APACHE20 MIT
Description:
SVNWeb : git : Homepage
pkg-plist: as obtained via: make generate-plist
Expand this list (4 items)
Collapse this list.
  1. /usr/local/share/licenses/rust-1.58.0/catalog.mk
  2. /usr/local/share/licenses/rust-1.58.0/LICENSE
  3. /usr/local/share/licenses/rust-1.58.0/APACHE20
  4. /usr/local/share/licenses/rust-1.58.0/MIT
Collapse this list.
Dependency lines:
  • rust>0:lang/rust
Conflicts:
CONFLICTS_INSTALL:
  • rust-nightly
Conflicts Matches:
There are no Conflicts Matches for this port. This is usually an error.
To install the port:
cd /usr/ports/lang/rust/ && make install clean
To add the package, run one of these commands:
  • pkg install lang/rust
  • pkg install rust
PKGNAME: rust
Flavors: there is no flavor information for this port.
ONLY_FOR_ARCHS: aarch64 amd64 armv6 armv7 i386 powerpc64 powerpc64le powerpc riscv64
distinfo:
Packages (timestamps in pop-ups are UTC):
rust
ABIlatestquarterly
FreeBSD:11:aarch64--
FreeBSD:11:amd641.55.01.53.0
FreeBSD:11:armv6--
FreeBSD:11:i3861.55.01.53.0
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch64-1.57.0
FreeBSD:12:amd641.57.01.57.0
FreeBSD:12:armv6--
FreeBSD:12:armv7--
FreeBSD:12:i3861.57.01.57.0
FreeBSD:12:mips--
FreeBSD:12:mips64--
FreeBSD:12:powerpc64--
FreeBSD:13:aarch641.57.01.57.0
FreeBSD:13:amd641.57.01.57.0
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i3861.57.01.57.0
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.49.01.53.0
FreeBSD:14:aarch641.57.0-
FreeBSD:14:amd641.57.0-
FreeBSD:14:armv6--
FreeBSD:14:armv7--
FreeBSD:14:i3861.57.0-
FreeBSD:14:mips--
FreeBSD:14:mips64--
FreeBSD:14:powerpc641.51.0-
 

Slave ports:
  1. lang/rust-nightly

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. cmake : devel/cmake
  2. ninja : devel/ninja
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python3.8 : lang/python38
Library dependencies:
  1. libcurl.so : ftp/curl
This port is required by:
for Build
  1. accessibility/sctd
  2. audio/gnome-podcasts
  3. audio/lewton
  4. audio/myxer
  5. audio/ncspot
  6. audio/shortwave
  7. audio/spotify-tui
Expand this list (192 items / 185 hidden - sorry, this count includes any deleted ports)
  1. Collapse this list).
  2. audio/spotifyd
  3. benchmarks/hyperfine
  4. benchmarks/inferno
  5. converters/yj-bruceadams
  6. databases/ods2sql
  7. databases/redisjson
  8. databases/xls2txt
  9. deskutils/just
  10. deskutils/solanum
  11. devel/bingrep
  12. devel/cargo-c
  13. devel/cargo-generate
  14. devel/desed
  15. devel/dtool
  16. devel/elfcat
  17. devel/gbump
  18. devel/git-absorb
  19. devel/git-delta
  20. devel/gitui
  21. devel/grcov
  22. devel/grex
  23. devel/interactive_rebase_tool
  24. devel/pijul
  25. devel/py-maturin
  26. devel/racer
  27. devel/rust-analyzer
  28. devel/rust-bindgen
  29. devel/rust-cbindgen
  30. devel/sccache
  31. devel/sentry-cli
  32. devel/stylua
  33. devel/texlab
  34. devel/tokei
  35. dns/dog
  36. dns/doh-proxy
  37. dns/encrypted-dns-server
  38. editors/helix
  39. editors/kak-lsp
  40. editors/kibi
  41. editors/parinfer-rust
  42. editors/xi-core
  43. editors/xi-term
  44. finance/tickrs
  45. games/0ad
  46. games/abstreet
  47. games/anki
  48. games/dose-response
  49. games/genact
  50. games/jaggedalliance2
  51. games/rpg-cli
  52. games/veloren
  53. graphics/dssim
  54. graphics/gifski
  55. graphics/ikona
  56. graphics/libopenraw
  57. graphics/librsvg2-rust
  58. graphics/pastel
  59. graphics/rx
  60. graphics/svgbob
  61. graphics/viu
  62. java/icedtea-web
  63. lang/gleam
  64. lang/rust-bootstrap
  65. lang/spidermonkey78
  66. mail/thunderbird
  67. math/kalker
  68. misc/broot
  69. misc/ruut
  70. misc/xd-rust
  71. misc/xplr
  72. multimedia/av1an
  73. multimedia/gstreamer1-plugins-rust
  74. multimedia/helvum
  75. multimedia/kooha
  76. multimedia/librav1e
  77. multimedia/librespot
  78. multimedia/neolink
  79. multimedia/rav1e
  80. multimedia/scte35dump
  81. multimedia/termplay
  82. net/findomain
  83. net/gemserv
  84. net/krill
  85. net/oha
  86. net/proby
  87. net/quiche
  88. net/rabbiteer
  89. net/routinator
  90. net-im/conduit
  91. net-im/fractal
  92. net-im/libsignal-client
  93. net-im/yume
  94. net-im/zkgroup
  95. net-mgmt/bandwhich
  96. net-mgmt/nfs-exporter
  97. net-p2p/openethereum
  98. ports-mgmt/sccache-overlay
  99. security/acmed
  100. security/arti
  101. security/authenticator
  102. security/cargo-audit
  103. security/cloak
  104. security/gpg-tui
  105. security/rustscan
  106. security/sequoia
  107. security/solana
  108. security/suricata
  109. security/vaultwarden
  110. security/weggli
  111. shells/ion
  112. shells/nsh
  113. shells/starship
  114. sysutils/czkawka
  115. sysutils/diskonaut
  116. sysutils/dua-cli
  117. sysutils/exa
  118. sysutils/fd
  119. sysutils/flowgger
  120. sysutils/fselect
  121. sysutils/fusefs-sandboxfs
  122. sysutils/fusefs-xfuse
  123. sysutils/gstat-rs
  124. sysutils/hexyl
  125. sysutils/jail_exporter
  126. sysutils/lsd
  127. sysutils/mcfly
  128. sysutils/onefetch
  129. sysutils/potnet
  130. sysutils/rsfetch
  131. sysutils/tealdeer
  132. sysutils/vector
  133. sysutils/vivid
  134. sysutils/zellij
  135. sysutils/zoxide
  136. sysutils/ztop
  137. textproc/angle-grinder
  138. textproc/bat
  139. textproc/cast2gif
  140. textproc/htmlq
  141. textproc/jql
  142. textproc/mdbook
  143. textproc/mdbook-linkcheck
  144. textproc/ripgrep
  145. textproc/ripgrep-all
  146. textproc/sd
  147. textproc/sonic
  148. textproc/xsv-rs
  149. www/castor
  150. www/deno
  151. www/ffsend
  152. www/firefox
  153. www/firefox-esr
  154. www/geckodriver
  155. www/jwt-cli
  156. www/lychee
  157. www/miniserve
  158. www/monolith
  159. www/newsboat
  160. www/py-adblock
  161. www/rearx
  162. www/websocat
  163. www/xh
  164. www/zola
  165. x11/admiral
  166. x11/alacritty
  167. x11/inputplug
  168. x11/sirula
  169. x11/squeekboard
  170. x11/swayr
  171. x11/wezterm
  172. x11/wmfocus
  173. x11-wm/leftwm
  174. Collapse this list.

Deleted ports which required this port:

Expand this list of 13 deleted ports
  1. databases/puppetdb-cli*
  2. devel/cargo*
  3. devel/cargo-tree*
  4. devel/racerd*
  5. graphics/libdssim*
  6. lang/spidermonkey68*
  7. net/boringtun*
  8. net-p2p/parity-ethereum*
  9. security/bitwarden_rs*
  10. security/kr*
  11. security/suricata5*
  12. www/cliqz*
  13. www/waterfox*
  14. Collapse this list of deleted ports.
for Run
  1. devel/rust-cbindgen

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. devel/cargo*
  2. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:

USES:

FreshPorts was unable to extract/find any pkg message
Master Sites:
  1. There is no master site for this port.
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2014-07-10
    Affects: users of lang/rust
    Author: robak@FreeBSD.org
    Reason: 
      The lang/rust port was updated to 0.11 and is now only working on FreeBSD
      versions 10 and 11 -- the 9.x support has been removed by upstream.
    
    
Port Moves
  • port moved here from devel/cargo-tree on 2020-06-04
    REASON: Integrated into cargo

  • port moved here from devel/cargo on 2017-09-15
    REASON: Merged with lang/rust

Number of commits found: 262 (showing only 100 on this page)

1 | 2 | 3  »  

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
17 Jan 2022 11:56:32
 files touched by this commit commit hash:183588879e6bae37e4fd11e4b3336c49d6e64e0f  1.58.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.58.0

Changes:	https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR:		261150
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33864
23 Dec 2021 10:10:16
 files touched by this commit commit hash:96eec29c9aa623f3aef843e238b50329ef386c45  1.57.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support

A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.

The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).

Reviewed by:	jrtc27, pkubaj
Differential Revision:	https://reviews.freebsd.org/D32881
23 Dec 2021 10:10:16
 files touched by this commit commit hash:53364ad5d305bb598b2e1779accc52ca519f3171  1.57.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Use backtrace noop backend on riscv64 too

Something is wrong with the libunwind backend or libunwind itself
on FreeBSD 13.0 riscv64. Building the parse-zoneinfo 0.3.0 crate
crashes rustc:

 [New LWP 105346]
 [New LWP 101666]
 Core was generated by `/home/tobias/rust/bin/rustc --crate-name parse_zoneinfo
src/lib.rs --error-forma'.
 Program terminated with signal SIGBUS, Bus error.
 #0  0x00000000401a6126 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=...,
cfa=<optimized out>, savedReg=...) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
 [Current thread is 1 (LWP 105346)]
 #0  0x00000000401a6126 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::getSavedRegister (addressSpace=..., registers=...,
cfa=<optimized out>, savedReg=...) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:87
 #1  0x00000000401a5f56 in
libunwind::DwarfInstructions<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::stepWithDwarf (addressSpace=..., pc=<optimized
out>, fdeStart=<optimized out>, registers=..., isSignalFrame=<optimized out>) at
/usr/src/contrib/llvm-project/libunwind/src/DwarfInstructions.hpp:185
 #2  0x00000000401a5b3e in libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_riscv>::stepWithDwarfFDE (this=0x3fbffeeff8) at
/usr/src/contrib/llvm-project/libunwind/src/UnwindCursor.hpp:929
(Only the first 15 lines of the commit message are shown above View all of this commit message)
05 Dec 2021 12:35:41
 files touched by this commit commit hash:237b36fa2e73986dc19284686e80a47cb329bb6f  1.57.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.57.0

- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
  libunwind in base seem to be buggy and cause rustc to crash when
  building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
  and reenable hardlinks in the build

Changes:	https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR:		259738 [0]
PR:		259799 [1]
PR:		260140
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D33190
With hat:	rust
25 Nov 2021 20:01:04
 files touched by this commit commit hash:c4816e4763b8d395b4a2cb670a8aaaf33bb8def1  1.56.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Move the build artifacts out of source

Move the build artifacts out of source to decrease likelihood
of ccache misses because of changed build directory prefix
(rustc-1.55.0-src/ vs. rustc-1.56.0-src/) per PR 246245.
24 Nov 2021 09:05:49
 files touched by this commit commit hash:864a4c252978a09ad5e230208b9abbeb4ae08de0  1.56.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: stable/13 has the kern.proc.pathname fixes too
31 Oct 2021 18:20:54
 files touched by this commit commit hash:d5f09dc31fcfdb77b69c86b9093bf67ec67653d9  1.56.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Update to 1.58.0.20211030

Make the no-hardlinks-patches conditional and move them to
files/no-hardlinks.

Newer kernels should return sane kern.proc.pathname values for
hardlinks which will hopefully help avoid the intermittent "can't
find crate for `std`" build failures we had on the package
builders.

Thanks to kib@ for fixing kernel behavior. Now let's see if it
makes a difference for lang/rust-nightly.

Changes:	https://github.com/rust-lang/rust/compare/25ec8273855fde2d72ae877b397e054de5300e10...e249ce6b2345587d6e11052779c86adbad626dff
PR:		248184
25 Oct 2021 08:46:49
 files touched by this commit commit hash:124261fa7deb972b647c686d2531bbba0a9a4223  1.56.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.56.0

- Drop codegen-units=1 again as it seems to negatively impact build
  time for some people [1]

Changes:	https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR:		256099 [1]
PR:		259251
Reviewed by:	jbeich, mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D32553
08 Oct 2021 11:22:09
 files touched by this commit commit hash:1bcf990c4e5ea789603e03cb4b673ba57062762b  1.55.0
Bernhard Froehlich (decke) search for other commits by this committer
lang/rust: Add CPE information

Approved by:    portmgr (blanket)
06 Oct 2021 12:01:52
 files touched by this commit commit hash:15d61162f70282cc075f10e81cbd54eedbd3369a  1.55.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Update to 1.57.0.20211005

Changes:	https://github.com/rust-lang/rust/compare/f586d79d183d144e0cbf519e29247f36670e2076...25ec8273855fde2d72ae877b397e054de5300e10
01 Oct 2021 00:14:58
 files touched by this commit commit hash:852b05a49a0ee00e1e2544635e2c76aca7f4b95d  1.55.0
Jan Beich (jbeich) search for other commits by this committer
lang/rust: unbreak on armv6 after 620968a43a5f

error: linking with `/wrkdirs/usr/ports/lang/rust/work/cc-wrapper` failed: exit
status: 127

Pointy hat to:	jbeich
30 Sep 2021 21:23:30
 files touched by this commit commit hash:620968a43a5f9bb3fa98ab20f257a4c0d864caa7  1.55.0
Rene Ladan (rene) search for other commits by this committer
cleanup: drop support for EOL FreeBSD 11.X

Search criteria used:
- 11.4
- OSREL*
- OSVER*
- *_FreeBSD_11

Input from:
- adridg: devel/qca-legacy
- jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds
- sunpoet: security/p5-*OpenSSL*

Reviewed by:	doceng, kde, multimedia, perl, python, ruby, rust
Differential Revision: https://reviews.freebsd.org/D32008
Test Plan: make index
19 Sep 2021 09:03:21
 files touched by this commit commit hash:6f1fefb50e755d727f471aeb75ebe4e28f876b4b  1.55.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.55.0

- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]

Changes:	https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR:		258337
PR:		256099 [1]
PR:		256581 [2]
PR:		257419 [3]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D31872
With hat:	rust
06 Sep 2021 20:04:22
 files touched by this commit commit hash:473a0e375ef3e4ffc058478ce07908e5e06e7bc6  1.54.0_2
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: don't overwrite hwcap with the return value of elf_aux_info(3)

Reported by:	jbeich
06 Sep 2021 19:28:28
 files touched by this commit commit hash:b1670e2c3d42a2aeacff843ef0ccea21c0929d03  1.54.0_1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR

rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp.  WRKDIR should have plenty of space.

Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.

PR:		258126
With hat:	rust
06 Sep 2021 13:53:04
 files touched by this commit commit hash:74c66d50fd5f3f12469881d4f9c5634f8722ccc5  1.54.0_1
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Fix for missing getauxval function on FreeBSD

Use FreeBSD's elf_aux_info for detecting ARM HW features

PR:		258198
Tested by:	Bob Prohaska <fbsd@www.zefox.net>
02 Sep 2021 11:30:39
 files touched by this commit commit hash:bab764bbd2a0ee98da9763ba57bd1f4f144fab1d  1.54.0
Mikael Urankar (mikael) search for other commits by this committer
lang/rust: Add missing patches for powerpc

Differential Revision:	https://reviews.freebsd.org/D31723
28 Aug 2021 13:38:37
 files touched by this commit commit hash:55dbddeb07345c55bdc6d4d09c3bf6f3409ab0f5  1.54.0
Mikael Urankar (mikael) search for other commits by this committer
Author: pouet
lang/rust: Update to 1.54.0

 - Update lang/rust to 1.54.0
 - Update devel/racer to 2.1.48
 - Fix various consumers

Changes:	https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by:	tobik, pkubaj
Differential Revision:        https://reviews.freebsd.org/D31617
With hat:	rust
27 Jun 2021 05:39:50
 files touched by this commit commit hash:f897ded31edcafadb3e4dd662fa022cabae86623  1.53.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.53.0

Changes:	https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR:		256653
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30790
With hat:	rust
14 Jun 2021 20:51:11
 files touched by this commit commit hash:294f0c5c206d70e24b6bbc28766d962dc82f8b61  1.52.1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust-nightly: Try to reduce memory usage/pressure

Try to reduce memory usage/pressure by only using one code generation
unit.

"This flag [codegen-units] controls how many code generation units
the crate is split into.  It takes an integer greater than 0.

When a crate is split into multiple codegen units, LLVM is able to
process them in parallel.  Increasing parallelism may speed up
compile times, but may also produce slower code.  Setting this to
1 may improve the performance of generated code, but may be slower
to compile."

https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units

PR:		256099
Suggested by:	Daniel Engberg
10 Jun 2021 16:35:22
 files touched by this commit commit hash:eea42d68b72531732a41e9f2fec0d76cff8b93a3  1.52.1
Brad Davis (brd) search for other commits by this committer
lang/rust: Disable DOCS to fix build on armv6/7

PR:		256135
Approved by:	mikael
14 May 2021 16:44:58
 files touched by this commit commit hash:882badb35a3fd0c91134cc074a9654d31fc323e8  1.52.1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust*: Only subst %CC% and %WRKDIR% on ppc64-elfv1

It's unused elsewhere.  Also move it to post-patch.
11 May 2021 17:29:32
 files touched by this commit commit hash:d50822c34fe1d8adf879745d2b26c000af2e8862  1.52.1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust, lang/rust-bootstrap: Simplify makesum
11 May 2021 17:29:27
 files touched by this commit commit hash:d8837418ea743776bc43b9c91d83080d8eff5029  1.52.1
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Update to 1.52.1

- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script

Changes:	https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes:	https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR:		255608, 255652 [1]
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D30099
06 May 2021 05:54:33
 files touched by this commit commit hash:a7da23da6e6b420c9041018426051b269cef0669  1.51.0
Tobias Kortkamp (tobik) search for other commits by this committer
lang/rust: Add TRYBROKEN to makesum
20 Apr 2021 06:57:34
 files touched by this commit commit hash:a91d65363fe8aa72bdf427bb639b0fe258ee7c01  1.51.0
Tobias Kortkamp (tobik) search for other commits by this committer
Mk/Uses/ninja.mk: Add support for devel/samurai (D29353)

Samurai is a Ninja-compatible build tool with fewer dependencies
than Ninja.  Hook it to the framework via a new NINJA_DEFAULT.

This also adds %p to NINJA_STATUS to make Ninja or Samurai print
the percentage of completed jobs to make it easier to eyeball how
much of the build is done.

PR:		254678
Exp-run	by:	antoine
06 Apr 2021 14:31:07
 files touched by this commit commit hash:305f148f482daf30dcf728039d03d019f88344eb  1.51.0
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
29 Mar 2021 20:31:35
Original commit files touched by this commit Revision:569508  1.51.0
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.53.0.20210329

Enable the SOURCES option again.  They seem to install fine again.

Changes:	https://github.com/rust-lang/rust/compare/5d04957a4b...4a20eb6a9d
29 Mar 2021 18:07:32
Original commit files touched by this commit Revision:569489  1.51.0
tobik search for other commits by this committer
lang/rust: Update to 1.51.0

- Update devel/racer to 2.1.44

Changes:	https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR:		254578
Reviewed by:	mikael, pkubaj
Exp-run by:	antoine
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D29425
23 Mar 2021 06:39:48
Original commit files touched by this commit Revision:569007  1.50.0_1
tobik search for other commits by this committer
lang/rust: Fix DOCS build, unbreak RUST_BACKTRACE

- Fix DOCS build by disabling deny-warnings (rustc equivalent to
  -Werror).  Let's not fail the entire build just because a handful
  of docs fail to build due to -D broken-intra-doc-links [0]
- Only install the host target docs.  We otherwise waste time with
  a rust-docs install-uninstall-install cycle for each additional
  target during stage.
- Backport FreeBSD support for gimli, unbreak RUST_BACKTRACE, and
  have useful stack traces with actual content again [1]
- While here also strip binaries under libexec/ and ack reading of
  src/bootstrap/CHANGELOG.md (changelog-seen=2)

[0] https://github.com/rust-lang/rust/issues/76526

PR:		253557 [1]
Submitted by:	jbeich [1]
14 Feb 2021 15:45:11
Original commit files touched by this commit Revision:565245  1.50.0
mikael search for other commits by this committer
lang/rust: Update to 1.50.0

  - Use bundled libgit/libssh, the versions in ports are too old
  - Update lang/rust-nightly to 2021-02-12
  - Update devel/racer to 2.1.41
  - Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)

Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D28616
04 Feb 2021 17:21:28
Original commit files touched by this commit Revision:564052  1.49.0
mikael search for other commits by this committer
lang/rust: remove disable-ldconfig it's not an option for quite some time
30 Jan 2021 17:21:48
Original commit files touched by this commit Revision:563425  1.49.0
mikael search for other commits by this committer
lang/rust: reroll the armv7 bootstrap

The current one fails to build Rust.

PR:		251254
Reported by:	mmel
29 Jan 2021 10:52:10
Original commit files touched by this commit Revision:563192  1.49.0
mikael search for other commits by this committer
lang/rust: revert part of r563191

It contains unrelated changes
29 Jan 2021 10:49:01
Original commit files touched by this commit Revision:563191  1.49.0
mikael search for other commits by this committer
lang/rust: reroll the aarch64 bootstrap.

This new bootstrap is based on rust 1.49.0 built with a 12.1 sysroot.

PR:		251254
Reported by:	dch, mmel
Tested by:	dch, mikael
07 Jan 2021 21:17:22
Original commit files touched by this commit Revision:560736  1.49.0
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64le
06 Jan 2021 10:13:59
Original commit files touched by this commit Revision:560492  1.49.0
mikael search for other commits by this committer
lang/rust: Update to 1.49.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.49.0

Tested by:	mikael, pkubaj
Differential Revision:	https://reviews.freebsd.org/D27940
12 Dec 2020 18:51:34
Original commit files touched by this commit Revision:557858  1.48.0
mikael search for other commits by this committer
lang/rust: Fix build with libressl 3.2.3

PR:		251766
Submitted by:	John Kennedy
24 Nov 2020 20:22:41
Original commit files touched by this commit Revision:556183  1.48.0
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64le
24 Nov 2020 12:48:54
Original commit files touched by this commit Revision:556157  1.48.0
mikael search for other commits by this committer
lang/rust: Update to 1.48.0

Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0

Reviewed by:	jbeich
Tested by:	bdragon, jbeich, mikael
Differential Revision:	https://reviews.freebsd.org/D27293
22 Nov 2020 13:51:15
Original commit files touched by this commit Revision:556053  1.47.0
mikael search for other commits by this committer
lang/rust: exclude SOURCES in nightly build

Exclude SOURCES in nightly build as it tries to download cargo crates in
install phase and it causes build breakage
28 Oct 2020 13:41:33
Original commit files touched by this commit Revision:553543  1.47.0
mikael search for other commits by this committer
lang/rust: fix build with libressl-3.2.2

PR:		250589
Submitted by:	John Kennedy <warlock@phouka.net>
14 Oct 2020 16:58:48
Original commit files touched by this commit Revision:552346  1.47.0
mikael search for other commits by this committer
lang/rust: restore REINPLACE_CMD for ppc64-elfv1

This patch is needed for ppc64-elfv1 and we don't build rust-nightly on tier2
arch

Reported by:	ashish
14 Oct 2020 09:25:31
Original commit files touched by this commit Revision:552319  1.47.0
mikael search for other commits by this committer
lang/rust-nightly: Update to 1.49.0.20201014
13 Oct 2020 08:36:35
Original commit files touched by this commit Revision:552221  1.47.0
mikael search for other commits by this committer
lang/rust: Update to 1.47.0

  - Add powerpc64le arch (submitted by bdragon in D26711)
  - Disable DOCS, same problem fixed in r546048

  - Update devel/racer to 2.1.36
  - Import upstream patch to fix www/firefox
    (https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
  - Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
   
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
  - Force rebuild all consumers to catch regressions

Changelog:
  https://github.com/rust-lang/rust/releases/tag/1.47.0

Differential Revision:	https://reviews.freebsd.org/D26721
30 Aug 2020 18:36:08
Original commit files touched by this commit Revision:547071  1.46.0
tobik search for other commits by this committer
lang/rust: Update to 1.46.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D26176
05 Aug 2020 14:46:18
Original commit files touched by this commit Revision:544224  1.45.2
tobik search for other commits by this committer
lang/rust*: Bring back the llvm-config-wrapper patches after r543251

Apparently they are still needed:
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-1.45.1.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p543836_s363720/logs/errors/rust-nightly-1.47.0.20200724.log
http://gohan03.nyi.freebsd.org/data/head-amd64-default-baseline/p544005_s363784/logs/errors/rust-1.45.1.log

Reported by:	antoine
03 Aug 2020 15:18:49
Original commit files touched by this commit Revision:544073  1.45.2
tobik search for other commits by this committer
lang/rust: Update to 1.45.2

Changes:	https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
30 Jul 2020 18:26:54
Original commit files touched by this commit Revision:543815  1.45.1
tobik search for other commits by this committer
lang/rust: Update to 1.45.1

- Apply the "hard links break `env::current_exe()`" workaround from
  r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0

Changes:	https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25835
17 Jul 2020 06:48:00
Original commit files touched by this commit Revision:542413  1.45.0
tobik search for other commits by this committer
lang/rust: Add back to static.rust-lang.org
17 Jul 2020 06:44:04
Original commit files touched by this commit Revision:542412  1.45.0
tobik search for other commits by this committer
lang/rust: Update to 1.45.0

- This Rust release comes with LLVM 10.  Drop the LLVM patches we
  no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
  Rust target instead of patching LLVM.
- Build LLVM with Ninja.  It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25658
18 Jun 2020 20:36:09
Original commit files touched by this commit Revision:539571  1.44.1_1
pkubaj search for other commits by this committer
lang/rust: build with Clang on powerpc64 elfv2

It looks like the LLVM bug that made Rust fail to build is gone (or Rust just
doesn't trigger it anymore). I tested that Rust itself and Firefox build.

Bump PORTREVISION because of dependency change.

PR:		247388
Approved by:	tobik (maintainer)
18 Jun 2020 14:13:39
Original commit files touched by this commit Revision:539541  1.44.1
tobik search for other commits by this committer
lang/rust: Update to 1.44.1

- Properly fix powerpc64 builds [1]

Changes:	https://blog.rust-lang.org/2020/06/18/Rust.1.44.1.html
PR:		247307 [1]
Submitted by:	pkubaj [1]
Reviewed by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25297
15 Jun 2020 22:26:47
Original commit files touched by this commit Revision:539297  1.44.0
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.46.0.20200615

- Try building LLVM with Ninja
- Move post-configure to lang/rust

Changes:	https://github.com/rust-lang/rust/compare/826cb062a6...4fb54ed484
07 Jun 2020 23:37:30
Original commit files touched by this commit Revision:538194  1.44.0
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64
04 Jun 2020 18:08:01
Original commit files touched by this commit Revision:537917  1.44.0
tobik search for other commits by this committer
lang/rust: Update to 1.44.0

- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR:		246332 [1]
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D25099
18 May 2020 18:40:41
Original commit files touched by this commit Revision:535771  1.43.1
asomers search for other commits by this committer
lang/rust-nightly: enable the Rust profiler

Enable the rust profiler on rust-nightly (as an unstable feature, it's not
allowed on the stable toolchain). This allows it to generate code coverage
reports.

https://doc.rust-lang.org/unstable-book/compiler-flags/profile.html
https://crates.io/crates/grcov

Reviewed by:	tobik
Approved by:	tobik (maintainer)
Differential Revision:	https://reviews.freebsd.org/D24765
07 May 2020 15:58:38
Original commit files touched by this commit Revision:534269  1.43.1
tobik search for other commits by this committer
lang/rust: Update to 1.43.1

- Remove upstreamed patches
- On ppc64 revert e82ec2315e5adb1c291c3702cd2ac1f46ecd0fcf to fix segfaults

Changes:	https://blog.rust-lang.org/2020/05/07/Rust.1.43.1.html
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24734
28 Apr 2020 04:33:36
Original commit files touched by this commit Revision:533234  1.43.0
tobik search for other commits by this committer
lang/rust: Let the framework extract the bootstraps

It is possible for lang/python37 to be built in such a way that it
installs an unloadable lzma module which then causes Rust to fallback
to trying to fetch/extract the tar.gz bootstraps instead.

As a workaround and since it also simplifies some things, let the
ports framework extract the bootstraps and "install" them under
WRKDIR.  We point the build to them in config.toml.  This is similar
to how things are hooked up in lang/rust-bootstrap and Rust will
then not try to fetch and extract the bootstraps on its own.

PR:		243766
Reviewed by:	mikael
Differential Revision:	https://reviews.freebsd.org/D24582
23 Apr 2020 15:34:59
Original commit files touched by this commit Revision:532686  1.43.0
tobik search for other commits by this committer
lang/rust: Go back to static.rust-lang.org
23 Apr 2020 15:32:30
Original commit files touched by this commit Revision:532685  1.43.0
tobik search for other commits by this committer
lang/rust: Update to 1.43.0

- Add workaround to fix build when CC/CXX have "clang" in them [1]
- Respect AR to fix build with external toolchains [2]
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/04/23/Rust-1.43.0.html
PR:		238556 [1], 245583 [2]
Reported by:	Matthias Apitz <guru@unixarea.de> [1], Greg V
<greg@unrelenting.technology> [2]
Tested by:	mikael, pkubaj, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24521
19 Apr 2020 03:55:23
Original commit files touched by this commit Revision:532068  1.42.0_2
tobik search for other commits by this committer
devel/libgit2: Update to 1.0.0

Changes:	https://github.com/libgit2/libgit2/releases/tag/v1.0.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libgit2
Approved by:	mfechner (maintainer)
Differential Revision:	https://reviews.freebsd.org/D24471
19 Mar 2020 07:05:29
Original commit files touched by this commit Revision:528690  1.42.0_1
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.44.0.20200319

Go back to system libgit2 now that it was updated to 0.99.0.

Changes:	https://github.com/rust-lang/rust/compare/96bb8b31c8...f509b26a77
19 Mar 2020 05:47:59
Original commit files touched by this commit Revision:528684  1.42.0_1
tobik search for other commits by this committer
devel/libgit2: Update to 0.99.0

- Switch to the release tarballs libgit2 now publishes
- Drop CURL option since it is no longer used
- Use system libpcre instead of the bundled one
- Hook up tests
- Bump consumers for ABI changes

Changes:	https://github.com/libgit2/libgit2/releases/tag/v0.99.0
ABI:		https://abi-laboratory.pro/tracker/timeline/libgit2/
17 Mar 2020 22:32:21
Original commit files touched by this commit Revision:528606  1.42.0
tobik search for other commits by this committer
lang/rust-bootstrap: Unbreak powerpc64_elfv2 flavor after r528599

error: could not find native static library `stdc++`, perhaps an -L flag is
missing?

error: aborting due to previous error

error: could not compile `rustc_llvm`.

PR:		244813
17 Mar 2020 19:25:20
Original commit files touched by this commit Revision:528599  1.42.0
pkubaj search for other commits by this committer
lang/rust: fix build on powerpc64 elfv2

After upgrade to LLVM 10, core in stage 1 fails to compile (no clear reason,
rustc crashes):
pid 26828 (rustc), jid 0, uid 0: exited on signal 11 (core dumped)

Compilation with GCC works fine, so switch to GCC for the time being.

PR:		244813
Approved by:	mikael
12 Mar 2020 19:39:25
Original commit files touched by this commit Revision:528318  1.42.0
tobik search for other commits by this committer
lang/rust: Update to 1.42.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2020/03/12/Rust-1.42.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D24020
06 Mar 2020 12:43:06
Original commit files touched by this commit Revision:527877  1.41.1
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.43.0.20200306

libgit2-sys is now based on libgit2 0.99.0.  While 0.99.0 is supposed
to be API compatible with 0.28, it has not yet been updated in the
ports tree and the git2 crate now make use of some of the new
function return values.  Stop relying on system libgit2 and use the
bundled one.  Upstream does not make any guarantees about system
libgit2 support in the first place.

Changes:	https://github.com/rust-lang/rust/compare/6d69caba11...96bb8b31c8
01 Mar 2020 11:09:45
Original commit files touched by this commit Revision:527545  1.41.1
tobik search for other commits by this committer
lang/rust: Attempt to address unreliable rust-lld build

It sometimes fails [0,1] and sometimes succeeds [2,3].  When it
fails it fails with

running: "cmake"
"/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/src/llvm-project/lld"
"-DCMAKE_INSTALL_MESSAGE=LAZY" "-DCMAKE_C_COMPILER=cc"
"-DCMAKE_CXX_COMPILER=c++" "-DCMAKE_C_FLAGS=-ffunction-sections -fdata-sections
-fPIC -m64 -pipe -fstack-protector-strong -fno-strict-aliasing"
"-DCMAKE_CXX_FLAGS=-ffunction-sections -fdata-sections -fPIC -m64 -pipe
-fstack-protector-strong -fno-strict-aliasing"
"-DLLVM_CONFIG_PATH=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/bootstrap/debug/deps/llvm-config-wrapper"
"-DLLVM_INCLUDE_TESTS=OFF"
"-DCMAKE_INSTALL_PREFIX=/wrkdirs/usr/ports/lang/rust/work/rustc-1.41.1-src/build/x86_64-unknown-freebsd/lld"
"-DCMAKE_BUILD_TYPE=Release"
-- The C compiler identification is Clang 9.0.1
-- The CXX compiler identification is Clang 9.0.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Feb 2020 15:22:29
Original commit files touched by this commit Revision:527260  1.41.1
tobik search for other commits by this committer
lang/rust: Update to 1.41.1

- Force rebuild all consumers to fix potential miscompilations with
  1.41.0
- Enable SOURCES by default.  The sources are indexed by RLS and
  required for it to function properly, so they should be available
  by default.  This also makes sure we test the option properly.
- Remove implied --config=config.toml from x.py args
- Switch to the upstreamed backtrace crate patches like rust-nightly
- Enable WASM by default [0]
- Strip libraries (D23650) [1]
- Simplify plist generation (D23735) [2]

Changes:	https://blog.rust-lang.org/2020/02/27/Rust-1.41.1.html
Submitted by:	mikael [0,1,2]
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23835
16 Feb 2020 15:22:07
Original commit files touched by this commit Revision:526265  1.41.0
mikael search for other commits by this committer
lang/rust: add the WASM option

Add the WASM (WebAssembly) option to build the wasm32-unknown-unknown target,
off by default.

Reviewed by:	tobik
Approved by:	tobik, manu (mentor)
Differential Revision:	https://reviews.freebsd.org/D23653
12 Feb 2020 16:59:46
Original commit files touched by this commit Revision:525920  1.41.0
mikael search for other commits by this committer
Trim whitespace

Reviewed by:	tobik, manu
Approved by:	manu (mentor)
Differential Revision:	https://reviews.freebsd.org/D23649
06 Feb 2020 20:51:20
Original commit files touched by this commit Revision:525449  1.41.0
tobik search for other commits by this committer
lang/rust: Silence stage-qa warnings when building with SOURCES=on

PR:		243850
05 Feb 2020 04:29:56
Original commit files touched by this commit Revision:525257  1.41.0
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.43.0.20200205

Remove some cruft while here.

Changes:	https://github.com/rust-lang/rust/compare/41f41b2354...c9290dceee
30 Jan 2020 20:00:07
Original commit files touched by this commit Revision:524658  1.41.0
tobik search for other commits by this committer
lang/rust: Update to 1.41.0

- Force rebuild all consumers to catch regressions early
- Switch to cross-compiled (from amd64) bootstraps for all
  architectures generated with the incoming lang/rust-bootstrap
- Update cargo-c to 0.5.2 to unbreak librav1e build
- Make use of regular MAKE_ENV/TEST_ENV in lang/rust
- Turn on RUST_BACKTRACE in lang/rust and USES=cargo to hopefully
  produce more useful failure logs when something panics during
  builds

Changes:	https://blog.rust-lang.org/2020/01/30/Rust-1.41.0.html
Tested by:	mikael, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D23385
27 Jan 2020 06:21:26
Original commit files touched by this commit Revision:524242  1.40.0
tobik search for other commits by this committer
Unbreak lang/rust-nightly after r524013
25 Jan 2020 05:41:19
Original commit files touched by this commit Revision:524013  1.40.0
tobik search for other commits by this committer
lang/rust: Apply some of the patches for lang/rust-bootstrap (D23133)

They should not affect the regular lang/rust build.
24 Jan 2020 20:53:32
Original commit files touched by this commit Revision:523985  1.40.0
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.42.0.20200124

Nightly bootstraps now have the fix from r523512.  Switch to them
for the time being and drop the workaround.
19 Jan 2020 06:53:15
Original commit files touched by this commit Revision:523512  1.40.0
tobik search for other commits by this committer
lang/rust-nightly: Unbreak with lld on 13.0 i386

 = note: ld: error: relocation R_386_PC32 cannot be used against symbol
__rust_probestack; recompile with -fPIC
          >>> defined in
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libcompiler_builtins-6570a75fe85f0e1a.rlib(compiler_builtins-6570a75fe85f0e1a.compiler_builtins.2i519eqi-cgu.15.rcgu.o)
          >>> referenced by std.4xivr03c-cgu.14
          >>>              
std-9bd70afd58e204b7.std.4xivr03c-cgu.14.rcgu.o:(_$LT$alloc..boxed..Box$LT$F$GT$$u20$as$u20$core..ops..function..FnOnce$LT$A$GT$$GT$::call_once::h1c78ed6e734a2bfc
(.llvm.10122419023709863394)) in archive
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libstd-9bd70afd58e204b7.rlib

          ld: error: relocation R_386_PC32 cannot be used against symbol
__rust_probestack; recompile with -fPIC
          >>> defined in
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libcompiler_builtins-6570a75fe85f0e1a.rlib(compiler_builtins-6570a75fe85f0e1a.compiler_builtins.2i519eqi-cgu.15.rcgu.o)
          >>> referenced by std.4xivr03c-cgu.14
          >>>              
std-9bd70afd58e204b7.std.4xivr03c-cgu.14.rcgu.o:(std::io::util::copy::h9115f048f2203467)
in archive
/wrkdirs/usr/ports/lang/rust-nightly/work/rustc-nightly-src/build/i686-unknown-freebsd/stage1/lib/rustlib/i686-unknown-freebsd/lib/libstd-9bd70afd58e204b7.rlib
          clang-cpp: error: linker command failed with exit code 1 (use -v to
see invocation)

error: aborting due to previous error

http://beefy17.nyi.freebsd.org/data/head-i386-default/p523508_s356869/logs/rust-nightly-1.42.0.20200118.log
18 Jan 2020 09:56:06
Original commit files touched by this commit Revision:523409  1.40.0
tobik search for other commits by this committer
lang/rust: Simplify makesum and MASTER_SITES
18 Jan 2020 09:49:47
Original commit files touched by this commit Revision:523408  1.40.0
tobik search for other commits by this committer
lang/rust-nightly: Update to 1.42.0.20200118
13 Jan 2020 18:36:04
Original commit files touched by this commit Revision:522968  1.40.0
tobik search for other commits by this committer
lang/rust: Add COMPAT_FREEBSD11 canary

This attempts to provide a nicer error message for the subset of
users who build their own kernels without COMPAT_FREEBSD11 and then
attempt to build lang/rust.  The Rust ecosystem currently uses
pre-ino64 syscalls, so building lang/rust without COMPAT_FREEBSD11
is not going to work.

The error message for this is non-obvious and there is a new bug
for this at least every 1-2 months.  Hopefully this will improve
the situation a little.

Cargo and Gecko ports are similarly affected, so add the pre-build
check to them too.

Reviewed by:	jbeich, mikael.urankar@gmail.com
Tested by:	madpilot (negative case)
Approved by:	gecko (jbeich)
Differential Revision:	https://reviews.freebsd.org/D23100
11 Jan 2020 08:35:06
Original commit files touched by this commit Revision:522639  1.40.0
tobik search for other commits by this committer
lang/rust: increase build verbosity and produce better build logs
11 Jan 2020 08:24:17
Original commit files touched by this commit Revision:522638  1.40.0
tobik search for other commits by this committer
lang/rust: fix powerpc64 elfv2 bootstrap

Apparently there were some issues with the previous one.

PR:		243253
Submitted by:	mikael.urankar@gmail.com
Reported by:	jhibbits, pkubaj
Tested by:	pkubaj
07 Jan 2020 07:01:46
Original commit files touched by this commit Revision:522316  1.40.0
tobik search for other commits by this committer
lang/rust: Simplify do-configure and garbage collect files/config.toml
19 Dec 2019 16:14:49
Original commit files touched by this commit Revision:520446  1.40.0
tobik search for other commits by this committer
lang/rust: Update to 1.40.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/12/19/Rust-1.40.0.html
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22843
01 Dec 2019 18:36:53
Original commit files touched by this commit Revision:518792  1.39.0
tobik search for other commits by this committer
lang/rust: Respect ONLY_FOR_ARCHS in makesum

lang/rust-nightly does not have powerpc64 in it and unconditionally
running makesum for the powerpc64 ELFv2 bootstraps breaks there.

PR:		242342
Reported by:	jbeich
30 Nov 2019 02:02:30
Original commit files touched by this commit Revision:518690  1.39.0
tobik search for other commits by this committer
lang/rust: Remove PPC_ABI kludge after r518658
29 Nov 2019 22:12:36
Original commit files touched by this commit Revision:518678  1.39.0
tobik search for other commits by this committer
lang/rust, Mk/Uses/cargo.mk: Drop gmake build dependency for backtrace-sys

The backtrace-sys crate no longer needs gmake since 0.1.20.
sysutils/flowgger still uses backtrace-sys-0.1.14.  Since it is the
only USES=cargo port left that needs it, move the gmake dependency
directly to it instead.

lang/rust currently has backtrace-sys-0.1.30.  It also vendors
jemalloc-sys (which also needs gmake to build) but it is hidden
behind rustc's jemalloc feature which we do not currently activate.
It should be safe to remove gmake in lang/rust too.

PR:		242267
Reported by:	mikael.urankar@gmail.com
19 Nov 2019 09:28:13
Original commit files touched by this commit Revision:517954  1.39.0
tobik search for other commits by this committer
lang/rust: Add missing bits for powerpc64 ELFv2 support via PPC_ABI

Submitted by:	Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision:	https://reviews.freebsd.org/D20792
17 Nov 2019 08:30:39
Original commit files touched by this commit Revision:517808  1.39.0
jbeich search for other commits by this committer
lang/rust{,-nightly}: switch to .tar.xz bootstraps

Decreases total size by ~325 MiB in lang/rust.

Approved by:	tobik (rust)
Differential Revision:	https://reviews.freebsd.org/D22422
07 Nov 2019 18:07:20
Original commit files touched by this commit Revision:516995  1.39.0
tobik search for other commits by this committer
lang/rust: Update to 1.39.0

- Force rebuild all consumers to catch regressions early
- Partially apply D20792 in preparation for PPC_ABI support
- Add LibreSSL 3.0.x support [1]

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/11/07/Rust-1.39.0.html
PR:		241411 [1]
Tested by:	mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D22240
10 Oct 2019 20:09:59
Original commit files touched by this commit Revision:514247  1.38.0
bdrewery search for other commits by this committer
- Add compat for NOCCACHE -> NO_CCACHE
10 Oct 2019 20:06:24
Original commit files touched by this commit Revision:514246  1.38.0
bdrewery search for other commits by this committer
- Add a CCACHE_BIN variable for simplified use where needed.
27 Sep 2019 09:35:21
Original commit files touched by this commit Revision:513013  1.38.0
tobik search for other commits by this committer
lang/rust: Update to 1.38.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/09/26/Rust-1.38.0.html
Tested by:	jbeich, mikael.urankar@gmail.com, tobik
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21778
19 Sep 2019 06:23:07
Original commit files touched by this commit Revision:512315  1.37.0
tobik search for other commits by this committer
lang/rust: Drop unused/unmaintained package-to-bootstraps and related targets

Reviewed by:	mikael.urankar@gmail.com
Differential Revision:	https://reviews.freebsd.org/D21690
17 Sep 2019 16:35:11
Original commit files touched by this commit Revision:512213  1.37.0
tobik search for other commits by this committer
lang/rust: Cleanup part 4

- Spell LICENSE_FILE_APACHE20 correctly
- Move gmake to BUILD_DEPENDS directly.  gmake is called during the
  build by some crates but is not the primary build tool.
- Move variables around to be more in line with the recommendations
  in the Porter's Handbook
- Mark port local non-overridable variables as "private"
- Reduce noise of RUST_ARCH_*: only keep the overrides when they
  differ from ${ARCH}
- Drop unused RUST_TARGET plist sub
- Move post-configure-DOCS-* into do-configure
01 Sep 2019 07:26:54
Original commit files touched by this commit Revision:510684  1.37.0
tobik search for other commits by this committer
lang/rust: Unbreak on armv6

error: couldn't load codegen backend
"/usr/ports/lang/rust/work/rustc-1.37.0-src/build/armv6-unknown-freebsd/stage1/lib/rustlib/armv6-unknown-freebsd/codegen-backends/librustc_codegen_llvm-llvm.so":
"/usr/ports/lang/rust/work/rustc-1.37.0-src/build/armv6-unknown-freebsd/stage1/lib/rustlib/armv6-unknown-freebsd/codegen-backends/librustc_codegen_llvm-llvm.so:
Undefined symbol \"__clear_cache\""

__clear_cache is implemented in compiler-rt and was dropped upstream with [1]:
https://github.com/rust-lang-nursery/compiler-builtins/commit/aa41e0d25fcb2b11b9b5c269846dd70547f2a787

For some unknown reason this is a problem on armv6.  Bring back the
compiler-rt submodule for now to workaround this.

Submitted by:	 mikael.urankar_gmail.com
Differential Revision:	https://reviews.freebsd.org/D21415
15 Aug 2019 14:30:16
Original commit files touched by this commit Revision:508994  1.37.0
tobik search for other commits by this committer
lang/rust: Update to 1.37.0

- Force rebuild all consumers to catch regressions early

Thanks to Mikael Urankar for providing updated bootstraps for
aarch64, armv6, armv7, powerpc64.

Changes:	https://blog.rust-lang.org/2019/08/15/Rust-1.37.0.html
Tested by:	jbeich, tobik, greg@unrelenting.technology (aarch64)
With hat:	rust
Differential Revision:	https://reviews.freebsd.org/D21247
28 Jul 2019 20:27:52
Original commit files touched by this commit Revision:507530  1.36.0_1
bdrewery search for other commits by this committer
NOCCACHE also disables setting CCACHE_WRAPPER_PATH which can break the build.

Number of commits found: 262 (showing only 100 on this page)

1 | 2 | 3  »