non port: lang/rust/Makefile |
Number of commits found: 282 (showing only 100 on this page) |
Thursday, 23 Apr 2020
|
15:34 tobik
lang/rust: Go back to static.rust-lang.org
|
15:32 tobik
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
|
Sunday, 19 Apr 2020
|
03:55 tobik
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
|
Thursday, 19 Mar 2020
|
07:05 tobik
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
|
05:47 tobik
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/
|
Tuesday, 17 Mar 2020
|
19:25 pkubaj
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
|
Thursday, 12 Mar 2020
|
19:39 tobik
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
|
Friday, 6 Mar 2020
|
12:43 tobik
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
|
Thursday, 27 Feb 2020
|
15:22 tobik
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
|
Sunday, 16 Feb 2020
|
15:22 mikael
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
|
Wednesday, 12 Feb 2020
|
16:59 mikael
Trim whitespace
Reviewed by: tobik, manu
Approved by: manu (mentor)
Differential Revision: https://reviews.freebsd.org/D23649
|
Thursday, 6 Feb 2020
|
20:51 tobik
lang/rust: Silence stage-qa warnings when building with SOURCES=on
PR: 243850
|
Wednesday, 5 Feb 2020
|
04:29 tobik
lang/rust-nightly: Update to 1.43.0.20200205
Remove some cruft while here.
Changes: https://github.com/rust-lang/rust/compare/41f41b2354...c9290dceee
|
Thursday, 30 Jan 2020
|
20:00 tobik
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
|
Monday, 27 Jan 2020
|
06:21 tobik
Unbreak lang/rust-nightly after r524013
|
Saturday, 25 Jan 2020
|
05:41 tobik
lang/rust: Apply some of the patches for lang/rust-bootstrap (D23133)
They should not affect the regular lang/rust build.
|
Friday, 24 Jan 2020
|
20:53 tobik
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.
|
Sunday, 19 Jan 2020
|
06:53 tobik
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
|
Saturday, 18 Jan 2020
|
09:56 tobik
lang/rust: Simplify makesum and MASTER_SITES
|
09:49 tobik
lang/rust-nightly: Update to 1.42.0.20200118
|
Monday, 13 Jan 2020
|
18:36 tobik
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
|
Saturday, 11 Jan 2020
|
08:35 tobik
lang/rust: increase build verbosity and produce better build logs
|
Tuesday, 7 Jan 2020
|
07:01 tobik
lang/rust: Simplify do-configure and garbage collect files/config.toml
|
Thursday, 19 Dec 2019
|
16:14 tobik
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
|
Sunday, 1 Dec 2019
|
18:36 tobik
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
|
Saturday, 30 Nov 2019
|
02:02 tobik
lang/rust: Remove PPC_ABI kludge after r518658
|
Friday, 29 Nov 2019
|
22:12 tobik
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
|
Tuesday, 19 Nov 2019
|
09:28 tobik
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
|
Sunday, 17 Nov 2019
|
08:30 jbeich
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
|
Thursday, 7 Nov 2019
|
18:07 tobik
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
|
Thursday, 10 Oct 2019
|
20:09 bdrewery
- Add compat for NOCCACHE -> NO_CCACHE
|
20:06 bdrewery
- Add a CCACHE_BIN variable for simplified use where needed.
|
Friday, 27 Sep 2019
|
09:35 tobik
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
|
Thursday, 19 Sep 2019
|
06:23 tobik
lang/rust: Drop unused/unmaintained package-to-bootstraps and related targets
Reviewed by: mikael.urankar@gmail.com
Differential Revision: https://reviews.freebsd.org/D21690
|
Tuesday, 17 Sep 2019
|
16:35 tobik
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
|
Sunday, 1 Sep 2019
|
07:26 tobik
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
|
Thursday, 15 Aug 2019
|
14:30 tobik
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
|
Sunday, 28 Jul 2019
|
20:27 bdrewery
NOCCACHE also disables setting CCACHE_WRAPPER_PATH which can break the build.
|
Friday, 26 Jul 2019
|
20:46 gerald
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
|
Tuesday, 16 Jul 2019
|
15:49 tobik
lang/rust: Clean up more things
- Drop pre-install target: `make restage` should be run after a
failed `make stage` to wipe out and repopulate the staging
directory. No need to hack around this.
- Drop RUST_MANIFESTS, it is only one value after r490852 and now
only used once in post-install.
- Drop RUST_CHANNEL. It is only used in do-configure.
- Drop LLNEXTGEN option. There are no references to LLNextgen in
the Rust sources, so it appears to not be used for anything
anymore.
|
Monday, 15 Jul 2019
|
18:08 tobik
lang/rust: Drop {pre,post}-configure targets
They are no longer necessary since r487977 when we disabled vendor
checksums.
|
15:27 tobik
lang/rust: Clean up bootstrap handling
Fix handling of BOOTSTRAPS_SUFFIX. On powerpc64 the -elfv1 suffix
needs to be stripped from the bootstraps since Rust expects them
without it.
PR: 239158
Reported by: pkubaj
|
Thursday, 4 Jul 2019
|
14:41 tobik
lang/rust: Update to 1.36.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/07/04/Rust-1.36.0.html
Tested by: jbeich, mikael.urankar@gmail.com
With hat: rust
Differential Revision: https://reviews.freebsd.org/D20810
|
Wednesday, 29 May 2019
|
08:15 tobik
lang/rust: Overwrite makesum target instead of makesum-all-archs
One less thing to remember during updates.
|
Friday, 24 May 2019
|
06:46 tobik
lang/rust: Clean up MASTER_SITES
Use HTTPS consistently and remove old sites that only contain
Rust < 1.27.0 bootstraps.
|
03:25 tobik
lang/rust: Update to 1.35.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/05/23/Rust-1.35.0.html
Reviewed by: jbeich
Tested by: pkubaj (powerpc64), mikael.urankar@gmail.com (aarch64)
With hat: rust
Differential Revision: https://reviews.freebsd.org/D20332
|
Wednesday, 15 May 2019
|
03:12 tobik
lang/rust: Update to 1.34.2
- While here add patches from [1] for LibreSSL 2.9.1 support
[1] https://github.com/sfackler/rust-openssl/pull/1097
Changes: https://blog.rust-lang.org/2019/05/13/Security-advisory.html
Changes: https://blog.rust-lang.org/2019/05/14/Rust-1.34.2.html
PR: 237495 [1]
Security: 37528379-76a8-11e9-a4fd-00012e582166
|
Friday, 26 Apr 2019
|
04:28 tobik
lang/rust: Update to 1.34.1
- Add stdsimd patches from D19940 to attempt to unbreak powerpc64, armv{6,7} [1]
Changes: https://blog.rust-lang.org/2019/04/25/Rust-1.34.1.html
PR: 237507 [1]
Submitted by: mikael.urankar@gmail.com [1]
Reviewed by: jbeich [1]
Tested by: pkubaj (stdsimd patches with 1.34.0 on powerpc64) [1]
With hat: rust
Differential Revision: https://reviews.freebsd.org/D19940 [1]
|
Thursday, 11 Apr 2019
|
19:39 tobik
lang/rust: Update to 1.34.0
- Update devel/racer to latest version that can build with 1.34.0
- Drop no longer needed patch from textproc/ripgrep
- 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/04/11/Rust-1.34.0.html
Reviewed by: jbeich
With hat: rust
Differential Revision: https://reviews.freebsd.org/D19850
|
Wednesday, 27 Mar 2019
|
21:34 mfechner
Bump revision to make sure port is build against new libgit2 version 0.28.1.
PR: 236801
Reported by: jbeich
|
Thursday, 28 Feb 2019
|
18:51 jbeich
lang/rust: update to 1.33.0
- www/firefox temporarily loses SIMD in charset conversion, see
https://bugzilla.mozilla.org/show_bug.cgi?id=1521249
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2019/02/28/Rust-1.33.0.html
Tested by: Mikael Urankar (aarch64, armv6, armv7, powerpc64), Piotr Kubaj
(powerpc64)
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D19354
|
Thursday, 21 Feb 2019
|
19:03 tobik
lang/rust: Ignore with qemu-user-static and on aarch64 without fixed ld-elf.so.1
- Rust will not run without a fixed ld-elf.so.1 on aarch64
- Builds with qemu-user-static currently hang after a while
PR: 221185
Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
|
Monday, 18 Feb 2019
|
15:30 tobik
lang/rust: Add aarch64, armv{6,7}, and powerpc64 bootstraps
PR: 216143, 228892
Submitted by: Mikael Urankar <mikael.urankar@gmail.com>
Differential Revision: https://reviews.freebsd.org/D18367
|
Monday, 21 Jan 2019
|
11:27 jbeich
lang/rust: don't hardcode manifest files after r489132
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18737
|
Thursday, 17 Jan 2019
|
19:55 jbeich
lang/rust: oops, don't default to pre-releases
Differential Revision: https://reviews.freebsd.org/D18858
|
19:50 jbeich
lang/rust: update to 1.32.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/2019/01/17/Rust-1.32.0.html
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18858
|
Wednesday, 16 Jan 2019
|
13:20 tobik
lang/rust: Use ECHO_CMD not ECHO as per bsd.commands.mk
|
Friday, 21 Dec 2018
|
10:37 tobik
lang/rust: Update to 1.31.1
- Simplify .cargo-checksum.json handling [1]. Similar to USES=cargo
we disable vendor checksum checking by clearing the list of files
in all .cargo-checksum.json, so that cargo does not complain when
we patch something. The overall distfile is already checked by
us which should be enough.
- Add an overridable CARGO_VENDOR_DIR variable to set the crate
vendor directory which has moved location in nightly
- Add upstream openssl-sys patch to fix build with LibreSSL 2.9.0 [2]
Changes: https://blog.rust-lang.org/2018/12/20/Rust-1.31.1.html
Submitted by: mikael.urankar@gmail.com [1], ml@vishwin.info [2]
Differential Revision: https://reviews.freebsd.org/D18610
|
Monday, 17 Dec 2018
|
10:33 jbeich
lang/rust: drop unused conflicts after r446815
|
Friday, 14 Dec 2018
|
18:20 jbeich
lang/rust-nightly: update to 1.32.0.20181214
|
Thursday, 6 Dec 2018
|
17:11 jbeich
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
|
Tuesday, 4 Dec 2018
|
09:01 amdmi3
- Specify LICENSE_FILEs uniformly
Approved by: portmgr blanket
|
Friday, 9 Nov 2018
|
23:32 dumbbell
lang/rust: Update to 1.30.1
Release notes:
* https://blog.rust-lang.org/2018/11/08/Rust-1.30.1.html
|
Thursday, 25 Oct 2018
|
21:59 jbeich
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
|
Friday, 12 Oct 2018
|
19:01 jbeich
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
|
Sunday, 30 Sep 2018
|
22:28 dumbbell
lang/rust: Add patches to support LibreSSL 2.8.1
PR: 230470
Reported by: Charlie Li <ml+freebsd@vishwin.info>
|
Friday, 28 Sep 2018
|
17:59 jbeich
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
|
Friday, 21 Sep 2018
|
11:24 jbeich
lang/rust: sort LIB_DEPENDS by library name instead of origin
Requested by: dumbbell (maintainer)
|
11:16 jbeich
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)
|
Sunday, 16 Sep 2018
|
07:57 dumbbell
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.
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
|
Monday, 23 Jul 2018
|
07:32 dumbbell
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>
|
Thursday, 19 Jul 2018
|
20:57 dumbbell
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
|
Saturday, 9 Jun 2018
|
09:28 dumbbell
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
|
Friday, 8 Jun 2018
|
23:31 dumbbell
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.
|
Tuesday, 15 May 2018
|
13:43 dumbbell
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.
|
Monday, 16 Apr 2018
|
21:35 bdrewery
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]
|
Thursday, 22 Mar 2018
|
18:14 dumbbell
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.
|
Wednesday, 21 Mar 2018
|
16:20 bdrewery
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.
|
Friday, 9 Mar 2018
|
21:35 bdrewery
Fix WITH_CCACHE_BUILD when using Poudriere's ccache-memcached support.
|
02:54 bdrewery
- 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
|
Sunday, 25 Feb 2018
|
03:10 bdrewery
Support WITH_CCACHE_BUILD for bundled LLVM
|
Saturday, 24 Feb 2018
|
06:17 bdrewery
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.
|
05:57 bdrewery
No need to actually recompress rust-std, libarchive does the right thing
|
Friday, 23 Feb 2018
|
22:14 bdrewery
Newer versions (rust-nightly 2018-02-19) pack multiple .o files into
libstd. We only need to patch one of them.
|
Wednesday, 21 Feb 2018
|
23:26 bdrewery
Use https for fetching bootstrap packages
|
Monday, 19 Feb 2018
|
21:53 dumbbell
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
|
Saturday, 17 Feb 2018
|
11:11 dumbbell
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.
|
Thursday, 25 Jan 2018
|
13:59 dumbbell
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@
|
08:07 dumbbell
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.
|
Friday, 5 Jan 2018
|
23:33 dumbbell
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.
|
23:28 dumbbell
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`.
|
23:20 dumbbell
lang/rust: Find libstd's suffix at runtime
... instead of hard-coding all values in the Makefile.
This eases the update of Rust.
|
Thursday, 30 Nov 2017
|
13:33 dumbbell
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
|
2 | println!("Hello {}")
| ^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in a macro outside of the current crate
error: aborting due to previous error
fatal runtime error: failed to initiate panic, error 5
Abort trap (core dumped)
The problem also exists on other systems such as OpenBSD and
i686-unknown-linux-musl. "omit frame pointers" was already disabled for
i686-unknown-linux-musl:
https://github.com/rust-lang/rust/blob/88a28ff6028cf197ed6b4185d8cd4887f05e3e07/src/librustc_back/target/i686_unknown_linux_musl.rs#L22
The patch does the same for *-unknown-freebsd.
See the upstream bug for more informations:
https://github.com/rust-lang/rust/issues/43575
|
Monday, 27 Nov 2017
|
22:02 jbeich
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)
|
18:16 dumbbell
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
|
08:20 dumbbell
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]
|
Sunday, 29 Oct 2017
|
12:38 dumbbell
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@
|
Saturday, 28 Oct 2017
|
09:13 dumbbell
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
|
Monday, 23 Oct 2017
|
22:58 jbeich
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)
|
Wednesday, 11 Oct 2017
|
12:28 dumbbell
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
|
Number of commits found: 282 (showing only 100 on this page) |