notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

Finally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combination for a given watch list. This is what FreshPorts will look for.

non port: lang/rust/Makefile

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

«  1 | 2 | 3  »  

Thursday, 23 Apr 2020
15:34 tobik search for other commits by this committer
lang/rust: Go back to static.rust-lang.org
Original commitRevision:532686 
15:32 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
Original commitRevision:532685 
Sunday, 19 Apr 2020
03:55 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
Original commitRevision:532068 
Thursday, 19 Mar 2020
07:05 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
Original commitRevision:528690 
05:47 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/
Original commitRevision:528684 
Tuesday, 17 Mar 2020
19:25 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
Original commitRevision:528599 
Thursday, 12 Mar 2020
19:39 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
Original commitRevision:528318 
Friday, 6 Mar 2020
12:43 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
Original commitRevision:527877 
Thursday, 27 Feb 2020
15:22 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
Original commitRevision:527260 
Sunday, 16 Feb 2020
15:22 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
Original commitRevision:526265 
Wednesday, 12 Feb 2020
16:59 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
Original commitRevision:525920 
Thursday, 6 Feb 2020
20:51 tobik search for other commits by this committer
lang/rust: Silence stage-qa warnings when building with SOURCES=on

PR:		243850
Original commitRevision:525449 
Wednesday, 5 Feb 2020
04:29 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
Original commitRevision:525257 
Thursday, 30 Jan 2020
20:00 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
Original commitRevision:524658 
Monday, 27 Jan 2020
06:21 tobik search for other commits by this committer
Unbreak lang/rust-nightly after r524013
Original commitRevision:524242 
Saturday, 25 Jan 2020
05:41 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.
Original commitRevision:524013 
Friday, 24 Jan 2020
20:53 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.
Original commitRevision:523985 
Sunday, 19 Jan 2020
06:53 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
Original commitRevision:523512 
Saturday, 18 Jan 2020
09:56 tobik search for other commits by this committer
lang/rust: Simplify makesum and MASTER_SITES
Original commitRevision:523409 
09:49 tobik search for other commits by this committer
lang/rust-nightly: Update to 1.42.0.20200118
Original commitRevision:523408 
Monday, 13 Jan 2020
18:36 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
Original commitRevision:522968 
Saturday, 11 Jan 2020
08:35 tobik search for other commits by this committer
lang/rust: increase build verbosity and produce better build logs
Original commitRevision:522639 
Tuesday, 7 Jan 2020
07:01 tobik search for other commits by this committer
lang/rust: Simplify do-configure and garbage collect files/config.toml
Original commitRevision:522316 
Thursday, 19 Dec 2019
16:14 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
Original commitRevision:520446 
Sunday, 1 Dec 2019
18:36 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
Original commitRevision:518792 
Saturday, 30 Nov 2019
02:02 tobik search for other commits by this committer
lang/rust: Remove PPC_ABI kludge after r518658
Original commitRevision:518690 
Friday, 29 Nov 2019
22:12 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
Original commitRevision:518678 
Tuesday, 19 Nov 2019
09:28 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
Original commitRevision:517954 
Sunday, 17 Nov 2019
08:30 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
Original commitRevision:517808 
Thursday, 7 Nov 2019
18:07 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
Original commitRevision:516995 
Thursday, 10 Oct 2019
20:09 bdrewery search for other commits by this committer
- Add compat for NOCCACHE -> NO_CCACHE
Original commitRevision:514247 
20:06 bdrewery search for other commits by this committer
- Add a CCACHE_BIN variable for simplified use where needed.
Original commitRevision:514246 
Friday, 27 Sep 2019
09:35 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
Original commitRevision:513013 
Thursday, 19 Sep 2019
06:23 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
Original commitRevision:512315 
Tuesday, 17 Sep 2019
16:35 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
Original commitRevision:512213 
Sunday, 1 Sep 2019
07:26 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
Original commitRevision:510684 
Thursday, 15 Aug 2019
14:30 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
Original commitRevision:508994 
Sunday, 28 Jul 2019
20:27 bdrewery search for other commits by this committer
NOCCACHE also disables setting CCACHE_WRAPPER_PATH which can break the build.
Original commitRevision:507530 
Friday, 26 Jul 2019
20:46 gerald search for other commits by this committer
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
Original commitRevision:507372 
Tuesday, 16 Jul 2019
15:49 tobik search for other commits by this committer
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.
Original commitRevision:506748 
Monday, 15 Jul 2019
18:08 tobik search for other commits by this committer
lang/rust: Drop {pre,post}-configure targets

They are no longer necessary since r487977 when we disabled vendor
checksums.
Original commitRevision:506699 
15:27 tobik search for other commits by this committer
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
Original commitRevision:506669 
Thursday, 4 Jul 2019
14:41 tobik search for other commits by this committer
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
Original commitRevision:505837 
Wednesday, 29 May 2019
08:15 tobik search for other commits by this committer
lang/rust: Overwrite makesum target instead of makesum-all-archs

One less thing to remember during updates.
Original commitRevision:502939 
Friday, 24 May 2019
06:46 tobik search for other commits by this committer
lang/rust: Clean up MASTER_SITES

Use HTTPS consistently and remove old sites that only contain
Rust < 1.27.0 bootstraps.
Original commitRevision:502422 
03:25 tobik search for other commits by this committer
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
Original commitRevision:502416 
Wednesday, 15 May 2019
03:12 tobik search for other commits by this committer
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
Original commitRevision:501679 
Friday, 26 Apr 2019
04:28 tobik search for other commits by this committer
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]
Original commitRevision:500077 
Thursday, 11 Apr 2019
19:39 tobik search for other commits by this committer
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
Original commitRevision:498677 
Wednesday, 27 Mar 2019
21:34 mfechner search for other commits by this committer
Bump revision to make sure port is build against new libgit2 version 0.28.1.

PR:		236801
Reported by:	jbeich
Original commitRevision:496985 
Thursday, 28 Feb 2019
18:51 jbeich search for other commits by this committer
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
Original commitRevision:494176 
Thursday, 21 Feb 2019
19:03 tobik search for other commits by this committer
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>
Original commitRevision:493523 
Monday, 18 Feb 2019
15:30 tobik search for other commits by this committer
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
Original commitRevision:493268 
Monday, 21 Jan 2019
11:27 jbeich search for other commits by this committer
lang/rust: don't hardcode manifest files after r489132

Approved by:	rust (tobik)
Differential Revision:	https://reviews.freebsd.org/D18737
Original commitRevision:490852 
Thursday, 17 Jan 2019
19:55 jbeich search for other commits by this committer
lang/rust: oops, don't default to pre-releases

Differential Revision:	https://reviews.freebsd.org/D18858
Original commitRevision:490602 
19:50 jbeich search for other commits by this committer
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
Original commitRevision:490600 
Wednesday, 16 Jan 2019
13:20 tobik search for other commits by this committer
lang/rust: Use ECHO_CMD not ECHO as per bsd.commands.mk
Original commitRevision:490479 
Friday, 21 Dec 2018
10:37 tobik search for other commits by this committer
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
Original commitRevision:487977 
Monday, 17 Dec 2018
10:33 jbeich search for other commits by this committer
lang/rust: drop unused conflicts after r446815
Original commitRevision:487676 
Friday, 14 Dec 2018
18:20 jbeich search for other commits by this committer
lang/rust-nightly: update to 1.32.0.20181214
Original commitRevision:487456 
Thursday, 6 Dec 2018
17:11 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
Original commitRevision:486770 
Tuesday, 4 Dec 2018
09:01 amdmi3 search for other commits by this committer
- Specify LICENSE_FILEs uniformly

Approved by:	portmgr blanket
Original commitRevision:486587 
Friday, 9 Nov 2018
23:32 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
Original commitRevision:484558 
Thursday, 25 Oct 2018
21:59 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
Original commitRevision:482993 
Friday, 12 Oct 2018
19:01 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
Original commitRevision:481921 
Sunday, 30 Sep 2018
22:28 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>
Original commitRevision:480986 
Friday, 28 Sep 2018
17:59 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
Original commitRevision:480871 
Friday, 21 Sep 2018
11:24 jbeich search for other commits by this committer
lang/rust: sort LIB_DEPENDS by library name instead of origin

Requested by:	dumbbell (maintainer)
Original commitRevision:480255 
11:16 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)
Original commitRevision:480253 
Sunday, 16 Sep 2018
07:57 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.

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
Original commitRevision:479877 
Monday, 23 Jul 2018
07:32 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>
Original commitRevision:475150 
Thursday, 19 Jul 2018
20:57 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
Original commitRevision:474978 
Saturday, 9 Jun 2018
09:28 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
Original commitRevision:472049 
Friday, 8 Jun 2018
23:31 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.
Original commitRevision:472025 
Tuesday, 15 May 2018
13:43 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.
Original commitRevision:470016 
Monday, 16 Apr 2018
21:35 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]
Original commitRevision:467538 
Thursday, 22 Mar 2018
18:14 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.
Original commitRevision:465302 
Wednesday, 21 Mar 2018
16:20 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.
Original commitRevision:465189 
Friday, 9 Mar 2018
21:35 bdrewery search for other commits by this committer
Fix WITH_CCACHE_BUILD when using Poudriere's ccache-memcached support.
Original commitRevision:464010 
02:54 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
Original commitRevision:463926 
Sunday, 25 Feb 2018
03:10 bdrewery search for other commits by this committer
Support WITH_CCACHE_BUILD for bundled LLVM
Original commitRevision:462892 
Saturday, 24 Feb 2018
06:17 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.
Original commitRevision:462769 
05:57 bdrewery search for other commits by this committer
No need to actually recompress rust-std, libarchive does the right thing
Original commitRevision:462768 
Friday, 23 Feb 2018
22:14 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.
Original commitRevision:462750 
Wednesday, 21 Feb 2018
23:26 bdrewery search for other commits by this committer
Use https for fetching bootstrap packages
Original commitRevision:462548 
Monday, 19 Feb 2018
21:53 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
Original commitRevision:462350 
Saturday, 17 Feb 2018
11:11 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.
Original commitRevision:462096 
Thursday, 25 Jan 2018
13:59 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@
Original commitRevision:459943 
08:07 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.
Original commitRevision:459911 
Friday, 5 Jan 2018
23:33 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.
Original commitRevision:458179 
23:28 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`.
Original commitRevision:458178 
23:20 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.
Original commitRevision:458177 
Thursday, 30 Nov 2017
13:33 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
      |
    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
Original commitRevision:455198 
Monday, 27 Nov 2017
22:02 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)
Original commitRevision:454995 
18:16 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
Original commitRevision:454983 
08:20 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]
Original commitRevision:454938 
Sunday, 29 Oct 2017
12:38 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@
Original commitRevision:453113 
Saturday, 28 Oct 2017
09:13 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
Original commitRevision:453052 
Monday, 23 Oct 2017
22:58 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)
Original commitRevision:452748 
Wednesday, 11 Oct 2017
12:28 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
Original commitRevision:451743 

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

«  1 | 2 | 3  »