notbugIf you buy from Amazon USA, please support us by using this link.
Port details
rust Language with a focus on memory safety and concurrency
1.31.0 lang on this many watch lists=10 search for ports that depend on this port Find issues related to this port Report an issue related to this port
Maintainer: rust@FreeBSD.org search for ports maintained by this maintainer
Port Added: 23 Jan 2012 16:07:20
License: APACHE20 MIT
Rust is an open-source systems programming language that runs blazingly
fast, prevents almost all crashes, and eliminates data races.
Some of its features:

  - Algebraic data types, type inference
  - Pattern matching and closures
  - Concurrency without data races
  - Guaranteed memory safety
  - Optional garbage collection
  - Zero-cost abstractions
  - Minimal runtime
  - Efficient C bindings

WWW: https://www.rust-lang.org/
SVNWeb : Homepage : PortsMon
    Pseudo-pkg-plist information, but much better, from make generate-plist
    Expand this list (6 items)
  1. lib/rustlib/components
  2. lib/rustlib/rust-installer-version
  3. /usr/local/share/licenses/rust-1.31.0/catalog.mk
  4. /usr/local/share/licenses/rust-1.31.0/LICENSE
  5. /usr/local/share/licenses/rust-1.31.0/APACHE20
  6. /usr/local/share/licenses/rust-1.31.0/MIT
  7. Collapse this list.

To install the port: cd /usr/ports/lang/rust/ && make install clean
To add the package: pkg install rust

PKGNAME: rust

ONLY_FOR_ARCHS: aarch64 amd64 i386

distinfo:

TIMESTAMP = 1543972935
SHA256 (rust/rustc-1.31.0-src.tar.xz) = 9581c5673937f8b1c3c21060ef7c1fcd3e5574a0fc0b27e1888cb37c4b2ec393
SIZE (rust/rustc-1.31.0-src.tar.xz) = 96914112
SHA256 (rust/2018-10-25/rustc-1.30.0-x86_64-unknown-freebsd.tar.gz) = 68a74949e34118406673cf8cc0098b011907c840890e0640aa3b145ce91c521d
SIZE (rust/2018-10-25/rustc-1.30.0-x86_64-unknown-freebsd.tar.gz) = 68231553
SHA256 (rust/2018-10-25/rust-std-1.30.0-x86_64-unknown-freebsd.tar.gz) = 4040fe677524e2ead69a2fcab4c16acaad3d4c4f1210ae36f400f82463bdfbc7
SIZE (rust/2018-10-25/rust-std-1.30.0-x86_64-unknown-freebsd.tar.gz) = 67081473
SHA256 (rust/2018-10-25/cargo-0.31.0-x86_64-unknown-freebsd.tar.gz) = 2b9176bb34e6cdf663d3f5ad0c89f862696eecc79b7de7db482ce4dd995eb3e8
SIZE (rust/2018-10-25/cargo-0.31.0-x86_64-unknown-freebsd.tar.gz) = 6439361
SHA256 (rust/2018-10-25/rustc-1.30.0-i686-unknown-freebsd.tar.gz) = 26f5fa76d6033559a21e84876b8fe11e1b3621c226b243505a5fc45a3afaae90
SIZE (rust/2018-10-25/rustc-1.30.0-i686-unknown-freebsd.tar.gz) = 69069431
SHA256 (rust/2018-10-25/rust-std-1.30.0-i686-unknown-freebsd.tar.gz) = 267716811f1e2813a76f30f11293fb2c69f398f69a886b94587d821e743d4e20
SIZE (rust/2018-10-25/rust-std-1.30.0-i686-unknown-freebsd.tar.gz) = 67319097
SHA256 (rust/2018-10-25/cargo-0.31.0-i686-unknown-freebsd.tar.gz) = c291ed53edd74fabbab85328bebbc6ca12db6eaf3d76e7c4624d642fa05c7dbe
SIZE (rust/2018-10-25/cargo-0.31.0-i686-unknown-freebsd.tar.gz) = 6146453


Slave ports
  1. lang/rust-nightly

NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.

Build dependencies:
  1. cmake : devel/cmake
  2. gmake : devel/gmake
  3. pkgconf>=1.3.0_1 : devel/pkgconf
  4. python2.7 : lang/python27
Library dependencies:
  1. libcurl.so : ftp/curl
  2. libgit2.so : devel/libgit2
  3. libssh2.so : security/libssh2
  4. libedit.so.0 : devel/libedit

This port is required by:

for Build for Run * - 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
===> The following configuration options are available for rust-1.31.0:
     DOCS=on: Build and/or install documentation
     GDB=off: Install ports gdb (necessary for debugging rust programs)
     LLNEXTGEN=off: Build with grammar verification
     SOURCES=off: Install source files
===> Use 'make config' to modify these settings

USES:
compiler gmake libedit pkgconfig python:2.7,build ssl tar:xz

Conflicts:
  • CONFLICTS_INSTALL:
    • rust-nightly
Master Sites:
    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 on 2017-09-15
    REASON: Merged with lang/rust

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

1 | 2  »  

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
14 Dec 2018 18:20:52
Original commit files touched by this commit  1.31.0
Revision:487456
jbeich search for other commits by this committer
lang/rust-nightly: update to 1.32.0.20181214
06 Dec 2018 17:11:15
Original commit files touched by this commit  1.31.0
Revision:486770
jbeich search for other commits by this committer
lang/rust: update to 1.31.0

- devel/racer no longer needs to dowgrade rustc-ap-syntax
- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2018/12/06/Rust-1.31.0.html
Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D18427
04 Dec 2018 09:01:26
Original commit files touched by this commit  1.30.1
Revision:486587
amdmi3 search for other commits by this committer
- Specify LICENSE_FILEs uniformly

Approved by:	portmgr blanket
09 Nov 2018 23:32:40
Original commit files touched by this commit  1.30.1
Revision:484558
dumbbell search for other commits by this committer
lang/rust: Update to 1.30.1

Release notes:
* https://blog.rust-lang.org/2018/11/08/Rust-1.30.1.html
25 Oct 2018 21:59:37
Original commit files touched by this commit  1.30.0
Revision:482993
jbeich search for other commits by this committer
lang/rust: update to 1.30.0

- Force rebuild all consumers to catch regressions early

Changes:	https://blog.rust-lang.org/2018/10/25/Rust-1.30.0.html
Approved by:	rust (tobik)
MFH:		2018Q4 (less rust versions to support)
Differential Revision:	https://reviews.freebsd.org/D17695
12 Oct 2018 19:01:02
Original commit files touched by this commit  1.29.2
Revision:481921
jbeich search for other commits by this committer
lang/rust: update to 1.29.2

- Force rebuild all consumers in case some are affected by miscompilation

Changes:	https://blog.rust-lang.org/2018/10/12/Rust-1.29.2.html
PR:		229826 (follow up)
Approved by:	rust (tobik)
MFH:		2018Q4
Differential Revision:	https://reviews.freebsd.org/D17477
30 Sep 2018 22:28:27
Original commit files touched by this commit  1.29.1
Revision:480986
dumbbell search for other commits by this committer
lang/rust: Add patches to support LibreSSL 2.8.1

PR:		230470
Reported by:	Charlie Li <ml+freebsd@vishwin.info>
28 Sep 2018 17:59:24
Original commit files touched by this commit  1.29.1
Revision:480871
jbeich search for other commits by this committer
lang/rust: update to 1.29.1

- Force rebuild all consumers as standard library is statically linked

Changes:	https://blog.rust-lang.org/2018/09/25/Rust-1.29.1.html
PR:		229826 (follow up)
Approved by:	dumbbell
Differential Revision:	https://reviews.freebsd.org/D17337
21 Sep 2018 11:24:21
Original commit files touched by this commit  1.29.0_1
Revision:480255
jbeich search for other commits by this committer
lang/rust: sort LIB_DEPENDS by library name instead of origin

Requested by:	dumbbell (maintainer)
21 Sep 2018 11:16:08
Original commit files touched by this commit  1.29.0_1
Revision:480253
jbeich search for other commits by this committer
lang/rust: unbundle libgit2/libssh2

- libgit2 in ports is nowadays newer than bundled version
- libssh2 was already unbundled until 1.29.0 update
- Unbundle libssh2 for USES=cargo (unused atm)

PR:		231411
Approved by:	rust (dumbbell, tobik)
20 Sep 2018 10:07:37
Original commit files touched by this commit  1.29.0
Revision:480162
jbeich search for other commits by this committer
lang/rust: unbreak if ssl != base

  [ 13%] Building C object src/CMakeFiles/libssh2.dir/channel.c.o
  /usr/bin/cc -DLIBSSH2_CLEAR_MEMORY -DLIBSSH2_DH_GEX_NEW=1
-DLIBSSH2_HAVE_ZLIB=1 -DLIBSSH2_OPENSSL -I/usr/local/include
-Isrc/vendor/libssh2-sys/libssh2/include
-Ibuild/x86_64-unknown-freebsd/stage2-tools/x86_64-unknown-freebsd/release/build/libssh2-sys-149db94635ec1367/out/build/src
 -ffunction-sections -fdata-sections -fPIC -ffunction-sections -fdata-sections
-fPIC -m64 -m64 -O3 -DNDEBUG   -std=gnu90 -o CMakeFiles/libssh2.dir/channel.c.o 
 -c src/vendor/libssh2-sys/libssh2/src/channel.c
  src/vendor/libssh2-sys/libssh2/src/channel.c:2262:44: error: use of undeclared
identifier 'LIBSSH2_ERROR_CHANNEL_WINDOW_FULL'
	      return _libssh2_error(session, LIBSSH2_ERROR_CHANNEL_WINDOW_FULL,
					     ^

PR:		231411
Reported by:	many
Obtained from:	upstream (libssh2)
Approved by:	portmgr blanket
16 Sep 2018 07:57:08
Original commit files touched by this commit  1.29.0
Revision:479877
dumbbell search for other commits by this committer
lang/rust: Update to 1.29.0

Release notes:
* https://blog.rust-lang.org/2018/07/20/Rust-1.27.2.html
* https://blog.rust-lang.org/2018/08/02/Rust-1.28.html
* https://blog.rust-lang.org/2018/09/13/Rust-1.29.html

Up to and including Rust 1.27.x, the Rust build system shelled out to
a configure script to detect the presence and usability of libunwind.
Since Rust 1.28.0, it's using a static result in a `build.rs` file and
expects libunwind to be used. It was not the case on FreeBSD so far, so
we need a patch to this `build.rs` to disable that. We still need to
study if the FreeBSD port should use libunwind and what to do with this
patch. But this problem prevented the update to Rust 1.28.0 already, so
enough delay.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
09 Sep 2018 16:59:27
Original commit files touched by this commit  1.27.1
Revision:479314
sunpoet search for other commits by this committer
Update WWW

Approved by:	portmgr (blanket)
23 Jul 2018 07:32:23
Original commit files touched by this commit  1.27.1
Revision:475150
dumbbell search for other commits by this committer
lang/rust: Udpate checksums in libgit2-sys/.cargo-checksum.json

It was part of the initial patch from Charlie Li to support LibreSSL
2.7. However, I misread it and though he was only removing bits
which were not needed anymore (updating checksums for openssl and
openssl-sys).

Now, we update all three: libgit2-sys, openssl and openssl-sys.

PR:		226955
Submitted by:	Charlie Li <ml+freebsd@vishwin.info>
Reported by:	Charlie Li <ml+freebsd@vishwin.info>
21 Jul 2018 15:04:14
Original commit files touched by this commit  1.27.1
Revision:475069
dumbbell search for other commits by this committer
lang/rust: Add patches to fix the build with LibreSSL 2.7

PR:		226955
Submitted by:	Charlie Li <ml+freebsd@vishwin.info>
19 Jul 2018 20:57:09
Original commit files touched by this commit  1.27.1
Revision:474978
dumbbell search for other commits by this committer
lang/rust: Update to 1.27.1

Release notes:
* https://blog.rust-lang.org/2018/06/21/Rust-1.27.html
* https://blog.rust-lang.org/2018/07/10/Rust-1.27.1.html

Rust is marked as broken on aarch64. The reason is the bootstrap
compiler crashes currently. See PR 228892 which tracks the issue.

A patch for aarch64 is still included. It fixes the sign for unqualified
C char. This patch still needs to be upstream, but for that, the
compiler needs to work again first.

PR:		228892
09 Jun 2018 09:28:57
Original commit files touched by this commit  1.26.2
Revision:472049
dumbbell search for other commits by this committer
lang/rust: Update to 1.26.2

Release notes:
* https://blog.rust-lang.org/2018/05/29/Rust-1.26.1.html
* https://blog.rust-lang.org/2018/06/05/Rust-1.26.2.html
08 Jun 2018 23:31:36
Original commit files touched by this commit  1.26.0
Revision:472025
dumbbell search for other commits by this committer
lang/rust: Add `make makesum-all-archs` target

It is a helper to ease the generation of the `distinfo` file for all the
architectures we support. It avoids the manual commands.
15 May 2018 13:43:34
Original commit files touched by this commit  1.26.0
Revision:470016
dumbbell search for other commits by this committer
lang/rust: Update to 1.26.0

The announcement is available on Rust blog:
https://blog.rust-lang.org/2018/05/10/Rust-1.26.html

Rust 1.25.0, used as the bootstrap compiler, contains the patch from
bdrewery@ to use the compat (non-ino64) symbols on FreeBSD 12-CURRENT.
Therefore, we don't need `old_fstat.c` and the associated machinery in
the `Makefile` anymore.
16 Apr 2018 21:35:26
Original commit files touched by this commit  1.25.0
Revision:467538
bdrewery search for other commits by this committer
Update to 1.25.0.

- The ABI patch is no longer needed on head due to fixes being upstreamed
  to use the pre-ino64 symbols.  The ABI patch is still needed for the
  bootstrap but should be removable for 1.26.0 if it uses beta 2018-03-18.

PR:		227130 [based on]
Tested by:	dumbbell, Charlie Li
Submitted by:	riggs [based on]
Differential Revision:	https://reviews.freebsd.org/D14921 [based on]
22 Mar 2018 18:14:22
Original commit files touched by this commit  1.24.1
Revision:465302
dumbbell search for other commits by this committer
lang/rust: Update to 1.24.1

The announcement is available on Rust blog:
https://blog.rust-lang.org/2018/03/01/Rust-1.24.1.html

There is a compilation error when it builds `clippy-driver` and `miri`
but it apparently doesn't affect the result. There are probably optional
tools/dependencies.
21 Mar 2018 16:20:51
Original commit files touched by this commit  1.24.0_1
Revision:465189
bdrewery search for other commits by this committer
Update rust-nightly to 2018-03-21.

The ABI patch and bootstrap patching are no longer needed on head after
fixes fully upstreamed in https://github.com/rust-lang/rust/issues/42681.
09 Mar 2018 21:35:49
Original commit files touched by this commit  1.24.0_1
Revision:464010
bdrewery search for other commits by this committer
Fix WITH_CCACHE_BUILD when using Poudriere's ccache-memcached support.
09 Mar 2018 02:54:10
Original commit files touched by this commit  1.24.0_1
Revision:463926
bdrewery search for other commits by this committer
- Fix kevent on head by binding to the old ABI symbol version.
- Add some context in the patches for where they came from.  They need to be
  in 1 patch due to needing to use the .orig file for fixing up checksums.

Obtained from:	rust upstream
25 Feb 2018 03:10:33
Original commit files touched by this commit  1.24.0
Revision:462892
bdrewery search for other commits by this committer
Support WITH_CCACHE_BUILD for bundled LLVM
24 Feb 2018 06:17:17
Original commit files touched by this commit  1.24.0
Revision:462769
bdrewery search for other commits by this committer
Unbreak on i386/amd64 and update to 1.25.0-2018-02-19

- Stop using git to build as it is unmaintainable due to submodules,
  but more importantly because src/vendor is no longer bundled.  Just
  fetch the source already generated that has all dependencies bundled.
  It may be a bit slower to get updates but is far more maintainable.
- Copy all patches to lang/rust-nightly/files since they may not always
  apply exactly between both versions.
- Add in patch for llvm-config getting -lexecinfo wrong, this is in
  review with LLVM at https://reviews.llvm.org/D42702.
- Bring in other random updates from lang/rust.
24 Feb 2018 05:57:52
Original commit files touched by this commit  1.24.0
Revision:462768
bdrewery search for other commits by this committer
No need to actually recompress rust-std, libarchive does the right thing
23 Feb 2018 22:14:12
Original commit files touched by this commit  1.24.0
Revision:462750
bdrewery search for other commits by this committer
Newer versions (rust-nightly 2018-02-19) pack multiple .o files into
libstd.  We only need to patch one of them.
22 Feb 2018 22:05:21
Original commit files touched by this commit  1.24.0
Revision:462646
jbeich search for other commits by this committer
lang/rust: unbreak on aarch64 after r459911

gmake: Leaving directory
'.../aarch64-unknown-freebsd/release/build/rustc_binaryen-cfb76adb9420e94c/out/build'
--- stderr
c++: error: the clang compiler does not support '-march=native'
c++: error: the clang compiler does not support '-march=native'

PR:		225600
Reported by:	Gergely Czuczy, pkg-fallout
Obtained from:	upstream (binaryen 1.37.35)
Approved by:	portmgr blanket
21 Feb 2018 23:26:41
Original commit files touched by this commit  1.24.0
Revision:462548
bdrewery search for other commits by this committer
Use https for fetching bootstrap packages
19 Feb 2018 21:53:01
Original commit files touched by this commit  1.24.0
Revision:462350
dumbbell search for other commits by this committer
lang/rust: Update to 1.24.0

The announcement is available on Rust blog:
https://blog.rust-lang.org/2018/02/15/Rust-1.24.html

PR:		225582
17 Feb 2018 11:11:50
Original commit files touched by this commit  1.23.0
Revision:462096
dumbbell search for other commits by this committer
lang/rust: Grep `std-$hash.*.o` name from `libstd-*.rlib`

The suffix of that file changed in recent versions of Rust and it's
changing again between Rust 1.23.0 and 1.24.0. So let's grep the
filename from the list of files contained in the ar archive.
25 Jan 2018 13:59:23
Original commit files touched by this commit  1.23.0
Revision:459943
dumbbell search for other commits by this committer
lang/rust: Add manifest-rustfmt-preview to PLIST

This wasn't reported by a simple `poudriere bulk`, but a `poudriere
testport` revealed the problem:

    ====> Running Q/A tests (stage-qa)
    Error: 'lib/rustlib/manifest-rustfmt-preview' is referring to
/wrkdirs/usr/ports/lang/rust/work/stage
    Warning: 'bin/rustfmt' is not stripped consider trying
INSTALL_TARGET=install-strip or using ${STRIP_CMD}
    ...
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: bin/rustfmt
    Error: Orphaned: lib/rustlib/manifest-rustfmt-preview

PR:		225445
Reported by:	jbeich@
25 Jan 2018 08:07:58
Original commit files touched by this commit  1.23.0
Revision:459911
dumbbell search for other commits by this committer
lang/rust: Update to 1.23.0

Firefox 57.0 failed to build with Rust 1.23.0 with the following error:

    error: unused import: `std::ascii::AsciiExt`
      -->
/wrkdirs/usr/ports/www/firefox/work/firefox-57.0.4/servo/components/style/gecko_string_cache/mod.rs:16:5
       |
    16 | use std::ascii::AsciiExt;
       |     ^^^^^^^^^^^^^^^^^^^^
       |
    note: lint level defined here
      -->
/wrkdirs/usr/ports/www/firefox/work/firefox-57.0.4/servo/components/style/lib.rs:26:9
       |
    26 | #![deny(warnings)]
       |         ^^^^^^^^
       = note: #[deny(unused_imports)] implied by #[deny(warnings)]

Now that Firefox is updated to 58.0, the build succeeds.
05 Jan 2018 23:33:42
Original commit files touched by this commit  1.22.1_2
Revision:458179
dumbbell search for other commits by this committer
lang/rust: Skip `.cargo-checksum.json` update when it's missing

Currently we need to update `.cargo-checksum.json` in several patched
crates. But those crates are missing from the sources if they come from
GitHub instead of a proper released source archive. This change makes
`post-patch` and `do-configure` recipes fine in both cases.
05 Jan 2018 23:28:16
Original commit files touched by this commit  1.22.1_2
Revision:458178
dumbbell search for other commits by this committer
lang/rust: Always replace bootstrap versions in `stage0.txt`

This simplifies the `Makefile`. The condition was fragile anyway because
it was based solely on the Makefile and not the actual content of
`stage0.txt`.
05 Jan 2018 23:20:50
Original commit files touched by this commit  1.22.1_2
Revision:458177
dumbbell search for other commits by this committer
lang/rust: Find libstd's suffix at runtime

... instead of hard-coding all values in the Makefile.

This eases the update of Rust.
30 Nov 2017 13:33:05
Original commit files touched by this commit  1.22.1_2
Revision:455198
dumbbell search for other commits by this committer
lang/rust: Disable "omit frame pointers"

Before the patch, the default behavior of the compiler was to omit frame
pointers. However, even though it looks fine for the code produced
by the compiler, the compiler itself was broken. When there was a
compilation error, rustc panics to report that error. While handling
that panic, it tries to unwind the stack but fails to do so, which
results in an abort(3).

Here is an example:

    $ rustc hello.rs
    error: invalid reference to argument `0` (no arguments given)
     --> hello.rs:2:5
      |
(Only the first 15 lines of the commit message are shown above View all of this commit message)
27 Nov 2017 22:02:30
Original commit files touched by this commit  1.22.1_1
Revision:454995
jbeich search for other commits by this committer
lang/rust: avoid LLVM targeting SSE2 on i386 by default

This may help ports like textproc/ripgrep to run on old hardware.
Rust itself still requires SSE2 until bootstrap is regenerated.

PR:		223415
Approved by:	rust (dumbbell)
27 Nov 2017 18:16:15
Original commit files touched by this commit  1.22.1
Revision:454983
dumbbell search for other commits by this committer
lang/rust: Remove the LLVM_PORT option

FTR, this option allowed to used LLVM from ports instead of building the
bundled copy.

The problem is that this combination isn't really tested upstream. This
led to regressions which are difficult to diagnose. For instance, in
Rust 1.21.0, the bundled LLVM provided a new API to query the features
supported by the target arch. The equivalent code inside Rust was
removed to use that new API. Unfortunately, building Rust 1.21.0+ with a
copy of LLVM not providing this API didn't failed but instead made that
list of CPU features empty. This resulted in the following obscure build
failure in Firefox:

    error[E0432]: unresolved import `x86::sse2`

To avoid future pain for both end users and maintainers, we decided to
remove that option. Yes, it will increase the (already long) time to
build Rust, but it should save time wasted on debugging what is not
really supported anyway.

PR:		223342, 223300
Reported by:	Many users
27 Nov 2017 08:20:32
Original commit files touched by this commit  1.22.1
Revision:454938
dumbbell search for other commits by this committer
lang/rust: Update to 1.22.1

Support for LibreSSL up-to 2.6.3 is now included, thus we can remove the
patches to the `openssl` and `openssl-sys` crates.

The renewed bootstrap for aarch64 was created on 11.0-RELEASE, instead
of 11.1-STABLE. It should allow it to run on all 11.x and thus fix the
build on 11.0-RELEASE. [1]

PR:		223009 [1]
09 Nov 2017 14:14:59
Original commit files touched by this commit  1.21.0_1
Revision:453810
dumbbell search for other commits by this committer
lang/rust: Add support for LibreSSL 2.6.3

Patches come from upstream:
    https://github.com/sfackler/rust-openssl

PR:		223500
Reported by:	Charlie Li <ml+freebsd-bugs@vishwin.info>
29 Oct 2017 12:38:09
Original commit files touched by this commit  1.21.0_1
Revision:453113
dumbbell search for other commits by this committer
lang/rust: Fix paths in `manifest-rls-preview`

Like other manifests, without this, it still references the stage
directory. This error is reported when DEVELOPER=YES is set.

While here, strip `bin/rls`.

Reported by:	bar@, cpm@
28 Oct 2017 09:13:21
Original commit files touched by this commit  1.21.0
Revision:453052
dumbbell search for other commits by this committer
lang/rust: Update to 1.21.0

The official bootstraps wouldn't work: rustc was stalled on a mutex
while compiling a crate early in the build. This was solved by creating
a new bootstraps for "rustc" and "rust-std" from the existing FreeBSD
package. We keep using the official "cargo" bootstrap.

PR:		223123
23 Oct 2017 22:58:48
Original commit files touched by this commit  1.20.0_1
Revision:452748
jbeich search for other commits by this committer
lang/rust: unbreak FFI for returning struct on i386

As this fixes Stylo on i386, remove the workaround in www/firefox.

PR:		223047
Suggested by:	Sebastien Marie <semarie@openbsd.org>
Approved by:	rust (dumbbell)
MFH:		2017Q4 (required by Firefox 57 scheduled on 2017-11-14)
11 Oct 2017 12:28:00
Original commit files touched by this commit  1.20.0
Revision:451743
dumbbell search for other commits by this committer
lang/rust: Add support for LibreSSL 2.6.1 and 2.6.2

Patches come from upstream:
    https://github.com/sfackler/rust-openssl

PR:		222359
Reported by:	Charlie Li <ml+freebsd-bugs@vishwin.info>,
		Piotr Kubaj <pkubaj@anongoth.pl>,
		w.schwarzenfeld@utanet.at,
		nhoyle@hoyletech.com
04 Oct 2017 08:13:38
Original commit files touched by this commit  1.20.0
Revision:451188
dumbbell search for other commits by this committer
lang/rust: Update to 1.20.0

This patch only upgrades the port to Rust 1.20.0. The PR also covers a
build failure with the latest LibreSSL, which is not addressed here.

PR:		222359
Reported by:	Charlie Li <ml+freebsd-bugs@vishwin.info>
15 Sep 2017 18:01:18
Original commit files touched by this commit  1.19.0_2
Revision:449914
dumbbell search for other commits by this committer
lang/rust: Install Cargo + use bundled crates

This port now provides Cargo. This is the recommended now because Cargo
won't be provided separately in the future.

To build Cargo, we set `extended = true` in `config.toml`. As a side
effect, this flag also installs Rust source code. The port has a new
`SOURCES` option (disabled by default) to keep those sources.

As a consequence of this, `devel/cargo` is removed. Several ports
and Makefiles in Mk were updated to depend on `lang/rust` instead of
`devel/cargo`.

The other big change in this patch is the use of the bundled crates,
instead of relying on Cargo's registry (which was part of the distfiles,
(Only the first 15 lines of the commit message are shown above View all of this commit message)
10 Sep 2017 16:49:46
Original commit files touched by this commit  1.19.0_1
Revision:449581
riggs search for other commits by this committer
Allow RUST_BACKTRACE to work without /proc mounted

Submitted by:	jbeich
Differential Revision:	https://reviews.freebsd.org/D11574
28 Jul 2017 23:03:27
Original commit files touched by this commit  1.19.0
Revision:446861
dumbbell search for other commits by this committer
lang/rust: Turn off PORT_LLVM by default

This change was accidentally committed with the previous commit.
28 Jul 2017 22:30:39
Original commit files touched by this commit  1.19.0
Revision:446858
dumbbell search for other commits by this committer
lang/rust: Fix build with PORT_LLVM

The path to `llvm-config40` was set to the empty string in the generated
`config.toml`, because I was still using the ${LLVM_PREFIX} variable
instead of the appropriate ${LLVM_CONFIG}. Bad completion and lack of
testing, sorry for that...

Reported by:	Rainer Hurling <rhurlin@gwdg.de>,
		Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>,
		dim@
28 Jul 2017 16:29:08
Original commit files touched by this commit  1.19.0
Revision:446837
dumbbell search for other commits by this committer
lang/rust: Fix ${PORT_LLVM_BUILD_DEPENDS}

The BUILD_DEPENDS argument for the PORT_LLVM option was not updated: it
was using the ${LLVM_PREFIX} variable which was removed. Now, it uses
${LOCALBASE} and ${LLVM_VER} as a suffix to the executable verified.

Submitted by:	Rainer Hurling <rhurlin@gwdg.de>
Reported by:	Rainer Hurling <rhurlin@gwdg.de>
28 Jul 2017 10:18:54
Original commit files touched by this commit  1.19.0
Revision:446815
dumbbell search for other commits by this committer
lang/rust: Update to 1.19.0

The main change in the port is the switch from configure+make to the
`x.py` build script. This is the recommended way of building Rust. It
takes a configuration file, `config.toml`, which, in the port case,
indicates:

 * where to install things;
 * which release channel to use;
 * where to find Python and llvm-config;
 * if documentation should be also built.

The build process should now honor ${MAKE_JOBS_NUMBER} instead of always
using all available CPU cores.
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18 Jun 2017 12:20:01
Original commit files touched by this commit  1.18.0
Revision:443826
dumbbell search for other commits by this committer
lang/rust: Fix value of ${CARGO_BOOTSTRAP_DIR_aarch64}

It was pointing to the wrong directory.

Reported by:	jbeich@
17 Jun 2017 14:44:30
Original commit files touched by this commit  1.18.0
Revision:443777
dumbbell search for other commits by this committer
lang/rust: Enable on FreeBSD/aarch64 + various fixes

This port now uses an unofficial bootstrap of Rust 1.17.0 and Cargo
0.18.0 for FreeBSD/aarch64. Here are my notes to create this boostrap:
https://gist.github.com/dumbbell/b587da50ef014078da9e732a4331ebad

The port's Makefile was changed to:
    - allow to override the versions and directories of the bootstrap
      archives;
    - patch the bootstrap script and manifest with those
      versions/directories.

Beside changes to support FreeBSD/aarch64, the port received the
following fixes:
    - Pass python path to the configure script.
    - Fix and simplify the extraction of rust-std bootstrap by re-using
      existing variables.
    - Make sure tar(1) doesn't produce sparse file entries when it
      recreates the rust-std bootstrap because Python 2's tarfile module
      doesn't support them (PR 219842).

PR:		216143, 219842
Differential Revision:	https://reviews.freebsd.org/D10857
13 Jun 2017 05:34:55
Original commit files touched by this commit  1.18.0
Revision:443485
riggs search for other commits by this committer
Fix build on HEAD

Submitted by:	dim, rhurlin@gwdg.de (via mail)
10 Jun 2017 17:48:58
Original commit files touched by this commit  1.18.0
Revision:443109
riggs search for other commits by this committer
Update to upstream version 1.18.0, set MAINTAINER to rust@
29 May 2017 05:00:54
Original commit files touched by this commit  1.17.0
Revision:441966
riggs search for other commits by this committer
Fix build on pre-ino64 / on i386

Submitted by:	kib
Differential Revision:	https://reviews.freebsd.org/D10973
27 May 2017 12:06:40
Original commit files touched by this commit  1.17.0
Revision:441843
kib search for other commits by this committer
Fix lang/rust after ino64 src commit.

Approved by:  bapt, dumbbell
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D10799
14 May 2017 15:26:44
Original commit files touched by this commit  1.17.0
Revision:440883
riggs search for other commits by this committer
Update to upstream version 1.17.0

Submitted by:	dumbbell (see phabric URL)
Reviewed by:	riggs
Differential Revision:	https://reviews.freebsd.org/D10691
26 Apr 2017 19:04:30
Original commit files touched by this commit  1.16.0
Revision:439485
ak search for other commits by this committer
- Remove checks for .PARSEDIR and vestiges of pmake support

PR:	218832
Approved by:	portmgr (antoine)
19 Mar 2017 12:08:08
Original commit files touched by this commit  1.16.0
Revision:436488
riggs search for other commits by this committer
Update to upstream version 1.16.0
06 Mar 2017 13:27:57
Original commit files touched by this commit  1.15.1
Revision:435537
dumbbell search for other commits by this committer
lang/rust, lang/rust-nightly: Generate PLIST in post-install

Several libraries have their filename computed and based on the absolute
path to source files. Therefore, we need to generate the PLIST. Rust
installer already produces manifests listing files it installs. The port
now uses those files to complete `${TMPPLIST}`.

While the port built fine in Poudriere, it failed when built directly on
the host (regular make or with portmaster(1)) or using a different tool
such as Synth. This commit fixes the build for those methods.

Handling of DOCS-specific files is also unified with normal files. This
gets rid of code duplication.

How to do reproducible builds will be studied later.

PR:		217309
Reported by:	Several people on freebsd-ports@ or Bugzilla
Tested by:	Almost everyone who reported the issue
Approved by:	antoine (mentor), riggs (maintainer of lang/rust)
Differential Revision:	https://reviews.freebsd.org/D9816
01 Mar 2017 23:35:05
Original commit files touched by this commit  1.15.1
Revision:435205
asomers search for other commits by this committer
lang/rust*: Advise users to mount procfs

Add a pkg-message to these ports advising users to mount procfs to see
backtraces.

Reviewed by:	dumbbell, riggs
Approved by:	dumbbell (ports)
Sponsored by:	Spectra Logic Corp
Differential Revision:	https://reviews.freebsd.org/D9838
22 Feb 2017 19:04:04
Original commit files touched by this commit  1.15.1
Revision:434631
dumbbell search for other commits by this committer
lang/rust, lang/rust-nightly: Update to 1.15.1 and 1.17.0 respectively

Both versions of Rust seen changes to their build system. Now they
require a bootstrap of Cargo and thus, a snapshot of Cargo's registry.

Each library has its own suffix instead of a common suffix for a given
version of Rust. Thus all future updates of the ports will include
changes to their plist.

$DISTFILES are now all under the `rust` directory in `$DISTDIR`. A
similar change will be committed to devel/cargo later.

lang/rust-nightly is enabled on i386 (bugzilla 216143). The source
snapshot also contains everything to build it on aarch64, but enabling
it will be committed later.

PR:		216143
Approved by:	riggs, bapt (mentor), antoine (mentor)
Differential Revision:	https://reviews.freebsd.org/D9286
01 Jan 2017 03:45:13
Original commit files touched by this commit  1.14.0
Revision:430235
sunpoet search for other commits by this committer
Remove BROKEN_FreeBSD_9

Approved by:	portmgr (blanket)
29 Dec 2016 17:52:05
Original commit files touched by this commit  1.14.0
Revision:429933
marino search for other commits by this committer
lang/rust: regenerate distinfo.x86_64 for DF rust 1.14

I'm not sure how this was misgenerated previously.  This matches the
version available via LOCAL/marino
27 Dec 2016 15:25:52
Original commit files touched by this commit  1.14.0
Revision:429624
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.14

Preapproved by:	riggs
24 Dec 2016 19:40:55
Original commit files touched by this commit  1.14.0
Revision:429379
riggs search for other commits by this committer
Update to upstream version 1.14.0
15 Nov 2016 23:47:08
Original commit files touched by this commit  1.13.0
Revision:426192
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.13

Preapproved by:	riggs
11 Nov 2016 21:45:40
Original commit files touched by this commit  1.13.0
Revision:425911
riggs search for other commits by this committer
Update to upstream version 1.13.0
02 Nov 2016 22:45:14
Original commit files touched by this commit  1.12.1
Revision:425174
mat search for other commits by this committer
Cleanup no longer needed CHMOD usage after r424898.

PR:		213743
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
22 Oct 2016 12:37:03
Original commit files touched by this commit  1.12.1
Revision:424470
riggs search for other commits by this committer
Update to upstream release 1.12.1

Release 1.12.1 is a maintenance release which fixes some
regressions in the 1.12.0 version, including memory corruption
under certain conditions. Details can be found in the release
announcement: https://blog.rust-lang.org/2016/10/20/Rust-1.12.1.html

MFH:		2016Q4
10 Oct 2016 23:54:26
Original commit files touched by this commit  1.12.0
Revision:423736
amdmi3 search for other commits by this committer
- Unconditionally verbosify build as per PHB

Approved by:	portmgr blanket
02 Oct 2016 01:07:32
Original commit files touched by this commit  1.12.0
Revision:423098
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.12

Preapproved by:	riggs
01 Oct 2016 14:28:38
Original commit files touched by this commit  1.12.0
Revision:423067
riggs search for other commits by this committer
Update to upstream release 1.12.0
20 Aug 2016 23:28:17
Original commit files touched by this commit  1.11.0
Revision:420534
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support for v1.11
20 Aug 2016 05:57:34
Original commit files touched by this commit  1.11.0
Revision:420500
riggs search for other commits by this committer
Update to upstream release 1.11.0
09 Aug 2016 21:41:25
Original commit files touched by this commit  1.10.0
Revision:419974
riggs search for other commits by this committer
Fix build with non-standard PREFIX

PR:		211686
Submitted by:	mi
26 Jul 2016 07:39:30
Original commit files touched by this commit  1.10.0
Revision:419100
dumbbell search for other commits by this committer
lang/rust-nightly: Update to 1.12.0; snapshot from 2016-07-17

Reviewed by:	asomers, jbeich, riggs
Approved by:	jbeich, riggs
Differential Revision:	https://reviews.freebsd.org/D7275
12 Jul 2016 11:49:50
Original commit files touched by this commit  1.10.0
Revision:418420
marino search for other commits by this committer
lang/rust: Update distinfo.x86_64 for DragonFly support

A custom bootstrap compiler package had to be created for DragonFly using
FreeBSD's as a model since upstream did not provide one for DF this time.

Approved by:	riggs (maintainer)
11 Jul 2016 10:47:33
Original commit files touched by this commit  1.10.0
Revision:418362
riggs search for other commits by this committer
Fix build with PORT_LLVM OPTION; rust now requires LLVM 3.8

Reported by:	Kevin Oberman <rkoberman@gmail.com> via e-mail
10 Jul 2016 04:20:09
Original commit files touched by this commit  1.10.0
Revision:418298
riggs search for other commits by this committer
Update to upstream version 1.10.0
02 Jul 2016 19:06:35
Original commit files touched by this commit  1.9.0_1
Revision:417938
riggs search for other commits by this committer
Add DOCS OPTION for html docs, bump PORTREVISION

PR:		210613
Reported by:	beyert@cs.ucr.edu
Reviewed by:	riggs, marino, jbeich
Differential Revision:	https://reviews.freebsd.org/D7050
31 May 2016 21:23:59
Original commit files touched by this commit  1.9.0
Revision:416219
riggs search for other commits by this committer
Update to upstream release 1.9.0
17 Apr 2016 10:33:47
Original commit files touched by this commit  1.8.0
Revision:413503
riggs search for other commits by this committer
Make recent stage0 snapshot known to build system on DragonFly

Language changes require very recent stage0 snapshots to build
rust 1.8.0. Upstream forgot to make these snapshots known to the
build system. While this was patched for FreeBSD in r413501, it
was missed for DragonFly. This changeset fixes this.
17 Apr 2016 10:21:20
Original commit files touched by this commit  1.8.0
Revision:413501
riggs search for other commits by this committer
Update to upstream version 1.8.0

While on it:
- Incorporate patch by jbeich (D5897) to allow build with gcc

Differential Revision:	https://reviews.freebsd.org/D5897
07 Apr 2016 07:17:45
Original commit files touched by this commit  1.7.0
Revision:412657
jbeich search for other commits by this committer
lang/rust: unbreak non-poudriere build after r412305

gmake[1]: Leaving directory '/wrkdirs/usr/ports/lang/rust/work/rustc-1.7.0'
sed:
/wrkdirs/usr/ports/lang/rust/work/stage/usr/local/lib/rustlib/manifest-rust-std-x86_64-unknown-:
No such file or directory
*** Error code 1

PR:		208527
Pointy hat:	jbeich
Tested by:	Marko Cupac <marko.cupac@mimar.rs>, pilot513@gmail.com
Approved by:	riggs (maintainer)
MFH:		2016Q2
02 Apr 2016 14:49:00
Original commit files touched by this commit  1.7.0
Revision:412407
jbeich search for other commits by this committer
lang/rust: enslave lang/rust-nightly

* rust: drop no longer used RUST_SOURCE variable
* rust: apply rust-nightly FIXME comment about stage-qa (strip)
* rust-nightly: properly conflict for install with rust package
* rust-nightly: inherit |make test| support from r401025
* rust-nightly: as DOCSDIR is the same drop unnecessary DOCS option

Approved by:	riggs, dumbbell (maintainers)
Differential Revision:	https://reviews.freebsd.org/D5789
01 Apr 2016 14:08:38
Original commit files touched by this commit  1.7.0
Revision:412347
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories h, i, j, k, and l.

With hat:	portmgr
Sponsored by:	Absolight
01 Apr 2016 01:16:08
Original commit files touched by this commit  1.7.0
Revision:412305
jbeich search for other commits by this committer
lang/rust: apply minor style

- Fix MIT view for LICENSES_ASK=1
- Convert BROKEN to new syntax
- Concatenate find(1) arguments and drop unnecessary `cd`
31 Mar 2016 20:04:49
Original commit files touched by this commit  1.7.0
Revision:412296
jbeich search for other commits by this committer
lang/rust: unblock DragonFly build

=> rust-stage0-.tar.bz2 doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch
http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2
fetch: http://static.rust-lang.org/stage0-snapshots/rust-stage0-.tar.bz2: Not
Found

Reported by:	muscles.dragonflybsd.org
Approved by:	portmgr "just fix it" blanket
27 Mar 2016 17:10:15
Original commit files touched by this commit  1.7.0
Revision:411998
riggs search for other commits by this committer
Fix staging error on systems where security/sudo is present

PR:		207930
Reported by:	pete@hayes.id.au, kib (via mail)
25 Mar 2016 06:38:23
Original commit files touched by this commit  1.7.0
Revision:411819
riggs search for other commits by this committer
Re-enable build with ports LLVM by non-default OPTION

PR:		208250
Submitted by:	jbeich
05 Mar 2016 12:41:03
Original commit files touched by this commit  1.7.0
Revision:410175
riggs search for other commits by this committer
Update to upstream version 1.7.0
22 Jan 2016 06:13:25
Original commit files touched by this commit  1.6.0
Revision:406890
riggs search for other commits by this committer
Update to upstream version 1.6.0
13 Dec 2015 14:21:05
Original commit files touched by this commit  1.5.0
Revision:403672
riggs search for other commits by this committer
Update to upstream version 1.5.0; add OPTION to depend on gdb from ports
07 Nov 2015 22:17:36
Original commit files touched by this commit  1.4.0_1
Revision:401025
riggs search for other commits by this committer
- Take maintainership
- Provide target for 'make test': Use bundled rust regression test suite
- Use bundled LLVM for now: Built with it, rust passes more regression tests
- Bump PORTREVISION
30 Oct 2015 11:39:31
Original commit files touched by this commit  1.4.0
Revision:400535
riggs search for other commits by this committer
Update to upstream version 1.4.0
19 Sep 2015 18:22:07
Original commit files touched by this commit  1.3.0
Revision:397335
riggs search for other commits by this committer
Enable rust on i386

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

1 | 2  »  

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Forums
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
wordpressDec 15
wordpressDec 15
wordpressDec 15
wordpressDec 15
wordpressDec 15
gitlab-ceDec 14
mbedtlsDec 14
typo3-8Dec 14
phpmyadminDec 12
firefoxDec 11
firefox-esrDec 11
libxulDec 11
linux-firefoxDec 11
linux-seamonkeyDec 11
linux-thunderbirdDec 11

14 vulnerabilities affecting 198 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2018-12-15 15:04:36


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 36145
Broken 121
Deprecated 1118
Ignore 379
Forbidden 3
Restricted 162
No CDROM 74
Vulnerable 36
Expired 4
Set to expire 1091
Interactive 0
new 24 hours 16
new 48 hours25
new 7 days48
new fortnight93
new month169

Servers and bandwidth provided by
New York Internet, SuperNews, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2018 Dan Langille. All rights reserved.