| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Release notes:
* https://blog.rust-lang.org/2018/11/08/Rust-1.30.1.html
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
| |
- 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
The update also comes with a patch to a few `USE_GECKO`-based ports such
as Firefox [1]. Their configure script has some asumptions on the output
of `rustc --print target-list` which are not true anymore. The patch was
already committed upstream.
The aarch64 version is still marked as BROKEN because I didn't find the
time to work on it. As a consequence, there is also no aarch64 bootstrap
for Rust 1.29.0.
PR: 229826
Approved by: jbeich [1]
Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=1479540 [1]
Differential Revision: https://reviews.freebsd.org/D17178
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
- 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]
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
The announcement is available on Rust blog:
https://blog.rust-lang.org/2018/02/15/Rust-1.24.html
PR: 225582
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
| |
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]
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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,
in order to allow offline builds). So now, we don't need to prepare the
registry when updating this port.
This has several other benefits:
* It fixes the build with sudo(8).
* It fixes the use of the ino-64 patch (it was not applied to the
registry, thus not used).
Compilation errors were fixed in the ino-64 patch.
Various `.cargo-checksum.json` files are updated after the sources are
patched (FBSD10_FIX, ino-64, and so on). This fixes builds which were
failing with errors such as:
error: the listed checksum of `.../rustc-1.19.0-src/src/vendor/lzma-sys/xz-5.2.3/build-aux/config.rpath` has changed:
expected: c8b4c017079da9dfb3086a0583e60ffe736184d89005dc5973f0bb0fd17c04bb
actual: 561b00eb30ecaef2c9da17bc195e7d2a7ea63facea38ea9849fbb0ed340bebba
PR: 221088
Reported by: joneum@, nwhitehorn@, romain@,
Ekaterina Vaartis <vaartis@cock.li>,
david@catwhisker.org,
fullermd@over-yonder.net,
rum1cro@yandex.ru,
w.schwarzenfeld@utanet.at
Differential Revision: https://reviews.freebsd.org/D11783
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
The Cargo registry archive is significantly larger. It includes the
whole registry index (not only the crates needed by Rust). If the index
is missing, Cargo wants to download it from crates.io and I couldn't
find a way to convince it skip it.
New bootstraps for FreeBSD/aarch64 were prepared for this update. Those
are based on Rust 1.18.0 and Cargo 0.19.0.
CONFLICTS_BUILD with installed lang/rust and lang/rust-nightly is
commented out for now. I couldn't see any build failure with an installed
lang/rust so it looks promising. But I couldn't test with an installed
lang/rust-nightly because the latter is marked BROKEN for now. Once it's
restored, I'll do more testing and hopefully completely remove this
CONFLICTS_BUILD variables.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Submitted by: dumbbell (see phabric URL)
Reviewed by: riggs
Differential Revision: https://reviews.freebsd.org/D10691
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
2: add libedit to USES.
|
|
|
|
|
|
|
| |
- Fix bug 200449 in the process
PR: 201142, 200449
Submitted by: andoriyu@gmail.com
|
|
|
|
|
|
|
|
|
| |
- Reflect stable release in pkg-descr
- Pet portlint
PR: 200284
Submitted by: maciej@pasternacki.net
Reviewed by: riggs
|
|
|
|
|
|
|
| |
- Delete obsolete patch
- Convert to @dir usage
Approved by: mentors (implicit)
|
|
|
|
| |
Approved by: marino (mentor)
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove deprecated rustpkg functionality
- Stage improvements
- Add 10.x and 11.x compability
- Pet portlint
PR: ports/188800
Submitted by: Bartek Rutkowski <ports@robakdesign.com>
Approved by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- stagiy
- mark as broken on 10+
- update to 0.9
- add new options
- add LICENSE
PR: ports/185868
PR: ports/185865
Submitted by: Oleksii Tsai <oleksii.tsai@googlemail.com>
Approved by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
|
|
|
|
|
| |
PR: ports/182502
Submitted by: maintainer
|
|
|
|
|
| |
PR: ports/180405
Submitted by: maintainer
|
|
|
|
|
| |
PR: ports/177665
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
|
|
|
|
|
| |
PR: ports/174670
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
|
|
|
|
|
|
| |
PR: ports/172791
Submitted by: maintainer
Feature safe: yes
|
|
|
|
|
|
|
| |
https://github.com/mozilla/rust/blob/release-0.3/RELEASES.txt)
PR: ports/169906
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
|
|
|
|
|
| |
Submitted by: Alex Kozlov <spam _at_ rm-rf.kiev.ua> (maintainer)
Approved by: beat (mentor)
|
|
|
|
|
|
|
|
|
| |
It adds snapshot to distfiles and removes code for downloading.
PR: ports/168223
Submitted by: Jyun-Yan You <jyyou _at_ cs.nctu.edu.tw> (maintainer)
Reported by: pointyhat-west
Approved by: decke (mentor)
|
|
|
|
|
|
|
|
| |
- The bootstrap compiler needs "cc" to link objects.
PR: ports/166551
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw> (maintainer)
Feature safe: yes
|
|
|
|
|
|
|
|
|
| |
- let clang build llvm
- fix build on ${OSVERSION} < 800107
PR: ports/164467
Submitted by: maintainer, jyyou at cs.nctu.edu.tw
Approved by: crees (mentor)
|
|
PR: ports/164366
Submitted by: Jyun-Yan You <jyyou@cs.nctu.edu.tw>
|