non port: Mk/Uses/cargo.mk |
SVNWeb
|
Number of commits found: 114 (showing only 100 on this page) |
Sat, 6 May 2023
|
[ 05:47 Daniel Engberg (diizzy) ] 670abe5
Mk/Uses/cargo.mk: Strip features defined by CPUTYPE for aarch64 and armv7
Strip features from CPUTYPE set by make.conf as these are not supported
by Rust compiler and causes build failures
Approved by: rust (pkubaj)
Differential Revision: https://reviews.freebsd.org/D39889
|
Sun, 23 Apr 2023
|
[ 13:13 Mikael Urankar (mikael) ] 8cc5eb3
lang/rust: Update to 1.69.0
Announce: https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.69.0
PR: 270953
Tested by: mikael,pkubaj
|
Tue, 4 Apr 2023
|
[ 08:21 Jan Beich (jbeich) ] 046448b (Only the first 10 of 11 ports in this commit are shown above. )
Mk/Uses/cargo.mk: unbundle archivers/zstd
Tested by: kai (games/anki)
Differential Revision: https://reviews.freebsd.org/D39279
|
[ 08:21 Jan Beich (jbeich) ] 118dcbb
Mk/Uses/cargo.mk: chase b23ea4e2d2f5
PR: 268877
|
Thu, 16 Mar 2023
|
[ 11:11 Mikael Urankar (mikael) ] a22be89
lang/rust: Update to 1.68.0
Announce: https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.68.0
PR: 270080
Tested by: mikael,pkubaj
|
Mon, 13 Feb 2023
|
[ 09:38 Mikael Urankar (mikael) ] be2a720c
lang/rust: Update to 1.67.1
Announce: https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.67.0
https://github.com/rust-lang/rust/releases/tag/1.67.1
PR: 269336
Reviewed by: pkubaj
Tested by: mikael,pkubaj
|
Sat, 7 Jan 2023
|
[ 19:22 Daniel Engberg (diizzy) ] 967022f
Mk/Uses/cargo.mk: Enable WITH_LTO by default
Ports utilizing Cargo will now enable Link Time Optimization (LTO),
set error handling mechanism to abort and codegen-units to 1 by default.
Exceptions are powerpc64 and riscv64 where LTO is known to be broken
and disabled to avoid unnecessary breakage. Ports utilizing LTO will
output "Additional optimization to port applied" during build.
WITH_LTO is handled by Mk/Features/lto.mk and to disable define
LTO_UNSAFE=yes.
I'd also like to mention arrowd and tobik for helpful input
and thanks to everyone involved.
Reviewed by: mikael (via irc), pkubaj
Tested by: eduardo (build)
Approved by: rust (mikael, pkubaj)
Differential Revision: https://reviews.freebsd.org/D36736
|
Tue, 20 Dec 2022
|
[ 17:36 Mikael Urankar (mikael) ] 0f9b08f
lang/rust: Update to 1.66.0
Announce: https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.66.0
PR: 268415
Exp-run by: antoine
Tested by: mikael,pkubaj
|
Thu, 17 Nov 2022
|
[ 07:06 Mikael Urankar (mikael) ] af39fba
lang/rust: Update to 1.65.0
Announce: https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.65.0
PR: 267622
Reviewed by: tokib, pkubaj
Tested by: mikael, pkubaj
|
Tue, 8 Nov 2022
|
[ 09:12 Tobias Kortkamp (tobik) ] 922686e
USES=cargo: Fix CARGO_BUILDDEP=any-version
Fix update.sh to only replace the first version.
|
Sun, 30 Oct 2022
|
[ 12:07 Mikael Urankar (mikael) ] 264a6c5
lang/rust: Update to 1.64.0
Announce: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.64.0
PR: 267173
|
Thu, 25 Aug 2022
|
[ 21:16 Tobias Kortkamp (tobik) ] 4b50067
Uses/cargo: Allow using any Rust version if requested
Skip the Rust version check when CARGO_BUILDDEP=any-version
The current version check is justified by USES=cargo making use
of newer toolchain features that not all Cargo versions support
and the fact that Rust binaries are statically linked against
libstd (and others) which have been vulnerable in the past.
We can enforce the use of the correct toolchain only with the
version check. Together with revision bumps of all ports that
have lang/rust as input we can ensure that they are kept "fresh"
and relinked whenever lang/rust is updated.
According to amdmi3@ skipping the check might be useful for build
testing in some cases.
Individual ports should not set CARGO_BUILDDEP=any-version. It
can be set in make.conf or on the command line by users.
PR: 265062
Reported by: amdmi3
|
[ 14:49 Baptiste Daroussin (bapt) ] b9b250f (Only the first 10 of 227 ports in this commit are shown above. )
rust: bring back update to 1.63
Revert back the revert of the update of rust and related commits
This revert was drive by beside validation by portmgr via exp-run
and not respectful of the etiquette we have between committers
This reverts commit 8ecb1f8141144c1603eb4026122d2e60eeaccd64.
This reverts commit 04d257baa182926cff158f32cf459e560426add0.
This reverts commit 2757c63bd0e6d01f9f0657fe03bb3a7b49adcae2.
This reverts commit 75f4713de5e3fbd1c6a0cb572e08121814a4072e.
This reverts commit e88e592111c86fdd1c0ac8717dbef9342e15e27c.
This reverts commit 783c056d7d681d66e2c5c59251c275d65274028e.
With hat: portmgr
|
[ 10:49 Piotr Kubaj (pkubaj) ] 8ecb1f8
Revert "lang/rust: Update to 1.63.0"
This reverts commit f36cc819accadae1fefc14c203e5fbe9c74e1492.
I asked for an exp-run for powerpc and powerpc64 on a recently provided
cluster machine but got no reply.
PR: 265915
|
[ 08:50 Mikael Urankar (mikael) ] f36cc81
lang/rust: Update to 1.63.0
Announce: https://blog.rust-lang.org/2022/08/11/Rust-1.63.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.63.0
Tested by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D36247
|
Sat, 2 Jul 2022
|
[ 13:47 Mikael Urankar (mikael) ] 558a5e4 (Only the first 10 of 13 ports in this commit are shown above. )
lang/rust: Update to 1.62.0
Announce: https://blog.rust-lang.org/2022/06/30/Rust-1.62.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-06-30
Tested by: mikael, pkubaj
Differential Revision: https://reviews.freebsd.org/D35675
|
Tue, 31 May 2022
|
[ 13:06 Mikael Urankar (mikael) ] aa578f2 (Only the first 10 of 12 ports in this commit are shown above. )
lang/rust: Update to 1.61.0
Announce: https://blog.rust-lang.org/2022/05/19/Rust-1.61.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1610-2022-05-19
Reviewed by: pkubaj
Differential Revision: https://reviews.freebsd.org/D35335
|
Sun, 1 May 2022
|
[ 16:39 Mikael Urankar (mikael) ] e57dfbf (Only the first 10 of 16 ports in this commit are shown above. )
lang/rust: Update to 1.60.0
- Switch to using "x.py dist" instead of "x.py build" in the do-build phase as
we are missing the rustc-dev component on nightly
- Revert part of [1] as it causes cross build problem with
lang/rust-bootstrap@powerpc
- Mark devel/racer as deprecated: it's hard to maintain due to recurrent build
problem
and it's not actively maintained. Upstream advises to use
devel/rust-analyzer instead.
[1]
https://github.com/rust-lang/rust/commit/07dae5a97b64100f5abd511f1e2d5a6263a54006
Announce: https://blog.rust-lang.org/2022/04/07/Rust-1.60.0.html
ChangeLog: https://github.com/rust-lang/rust/blob/master/RELEASES.md#version-1600-2022-04-07
Reviewed by: tobik
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34823
|
Sun, 24 Apr 2022
|
[ 10:00 Tobias C. Berner (tcberner) ] aa25396 (Only the first 10 of 118 ports in this commit are shown above. )
framework: cleanup conditional-indentations in Mk/
Run Tools/scripts/indent_make_if.pl on all of Mk.
These white space changes contribute greatly to the readability of those files.
As we have a version control system, finding out the reasons for the changes
prior to these white space changes is still easily possible
Differential Revision: https://reviews.freebsd.org/D35024
Reviewed by: portmgr (rene, bapt)
|
Sat, 23 Apr 2022
|
[ 07:40 Tobias Kortkamp (tobik) ] 7fb087a
Uses/cargo: Try to simplify cargo-crates-merge usage
Always start with a clean work directory state and end with one
too. Automatically run makesum too.
|
[ 07:39 Tobias Kortkamp (tobik) ] d00e326
Uses/cargo: Add cargo-audit maintainer target
It wraps security/cargo-audit and generates a report about
vulnerable crates. Many ports have those. Based on D17448.
|
Tue, 19 Apr 2022
|
[ 12:09 Piotr Kubaj (pkubaj) ] 85a1684
Mk/Uses/cargo.mk: set correct target CPU on powerpc
|
Tue, 29 Mar 2022
|
[ 18:24 Piotr Kubaj (pkubaj) ] f2d29fa
Mk/Uses/cargo.mk: disable RUST_BACKTRACE on powerpc following cargo segfaults on
13.1
|
Tue, 15 Mar 2022
|
[ 09:51 Mikael Urankar (mikael) ] 53e4457 (Only the first 10 of 34 ports in this commit are shown above. )
lang/rust: Update to 1.59.0
Changes: https://blog.rust-lang.org/FIXME/Rust-1.59.0.html
PR: 262449
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D34471
|
Thu, 3 Feb 2022
|
[ 14:02 Tobias Kortkamp (tobik) ] bd3a927
lang/rust: Update to 1.58.1
https://blog.rust-lang.org/2022/01/20/Rust-1.58.1.html
PR: 261449
Security: ee26f513-826e-11ec-8be6-d4c9ef517024
|
Mon, 17 Jan 2022
|
[ 11:56 Tobias Kortkamp (tobik) ] 1835888 (Only the first 10 of 11 ports in this commit are shown above. )
lang/rust: Update to 1.58.0
Changes: https://blog.rust-lang.org/2022/01/13/Rust-1.58.0.html
PR: 261150
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33864
|
Thu, 23 Dec 2021
|
[ 10:10 Tobias Kortkamp (tobik) ] 96eec29 (Only the first 10 of 27 ports in this commit are shown above. )
lang/rust: Add riscv64 (riscv64gc-unknown-freebsd) support
A kernel with COMPAT_FREEBSD11 is required for now like on all
other FreeBSD archs. FreeBSD11 never had riscv64 support, so
GENERIC does not have it and a kernel rebuild is required. The
same issue existed on powerpc64le.
The riscv64gc-unknown-freebsd target was upstreamed and will
be part of Rust 1.59.0 (2021-02-24).
Reviewed by: jrtc27, pkubaj
Differential Revision: https://reviews.freebsd.org/D32881
|
Sun, 5 Dec 2021
|
[ 12:35 Tobias Kortkamp (tobik) ] 237b36f (Only the first 10 of 14 ports in this commit are shown above. )
lang/rust: Update to 1.57.0
- Unbreak build with LibreSSL 3.4.x [0]
- Disable backtrace's libunwind backend on armv* since it or
libunwind in base seem to be buggy and cause rustc to crash when
building some consumers [1]
- Follow rust-nightly in d5f09dc31fcfdb77b69c86b9093bf67ec67653d9
and reenable hardlinks in the build
Changes: https://blog.rust-lang.org/2021/12/02/Rust-1.57.0.html
PR: 259738 [0]
PR: 259799 [1]
PR: 260140
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D33190
With hat: rust
|
Sun, 7 Nov 2021
|
[ 15:24 Tobias Kortkamp (tobik) ] d2eb03d
Uses/cargo: Make it easier to build ports with out-of-tree toolchain
- CARGO_CARGO_BIN -> CARGO
- Add RUSTC and RUSTDOC for overriding rustc and rustdoc
|
[ 15:24 Tobias Kortkamp (tobik) ] 2487e48
Uses/cargo: Mirror _RUST_ARCH_* mapping from lang/rust
|
Tue, 26 Oct 2021
|
[ 14:46 Tobias Kortkamp (tobik) ] 6180c0b
Uses/cargo: Add a cargo-crates-merge maintainer target
It is the in-place version of cargo-crates and updates CARGO_CRATES
in the port's Makefile for you via portedit from ports-mgmt/portfmt.
|
Mon, 25 Oct 2021
|
[ 08:49 Tobias Kortkamp (tobik) ] 2bad8d1
Uses/cargo: Rework git source support based on patch-in-config sections
Git sources from `Cargo.lock` are added to `CARGO_CRATES` through
the normal mechanism of `make cargo-crates` by the porter. They
are used to populate `MASTER_SITES`, `DISTFILES` with static
git-archive(1) tarballs a la `USE_GITHUB`, `USE_GITLAB`. In the
configure phase we generate `[patch]` sections in the config file
which will cause `cargo update` to auto-update `Cargo.lock` to point
to the appropriate extraction directories.
Normally `cargo update` would connect to the network to update all
Git sources but since rust-1.55.0 our cargo has been patched to
skip this when `CARGO_FREEBSD_PORTS_SKIP_GIT_UPDATE` is set in the
environment.
(Only the first 15 lines of the commit message are shown above )
|
[ 08:46 Tobias Kortkamp (tobik) ] 124261f (Only the first 10 of 14 ports in this commit are shown above. )
lang/rust: Update to 1.56.0
- Drop codegen-units=1 again as it seems to negatively impact build
time for some people [1]
Changes: https://blog.rust-lang.org/2021/10/21/Rust-1.56.0.html
PR: 256099 [1]
PR: 259251
Reviewed by: jbeich, mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D32553
|
Sun, 19 Sep 2021
|
[ 09:03 Tobias Kortkamp (tobik) Author: Jan Beich ] 93924a2
Uses/cargo: respect CC when --target is passed
devel/cargo-c always passes --target when building consumers.
Some other USES=cargo consumers may also pass --target.
Differential Revision: https://reviews.freebsd.org/D31568
|
[ 09:03 Tobias Kortkamp (tobik) ] 6f1fefb (Only the first 10 of 15 ports in this commit are shown above. )
lang/rust: Update to 1.55.0
- Set codegen-units=1 [1]
- Add hack to skip cargo update on git sources as a step towards solving [2]
- Fix 'capacity overflow' panics on armv* [3]
Changes: https://blog.rust-lang.org/2021-09-09/Rust-1.55.0.html
PR: 258337
PR: 256099 [1]
PR: 256581 [2]
PR: 257419 [3]
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D31872
With hat: rust
|
Tue, 7 Sep 2021
|
[ 16:53 Tobias Kortkamp (tobik) ] d8fbaa5
Scripts/cargo-crates.awk: Move split_url() to separate file
Also stop leaking local variables
|
[ 08:04 Tobias Kortkamp (tobik) ] 905b1bd
Uses/cargo: Try to load Makefile.crates
Some ports stash the `make cargo-crates` output there which might as
well be supported by USES=cargo.
|
Mon, 6 Sep 2021
|
[ 19:28 Tobias Kortkamp (tobik) ] b1670e2
lang/rust*: Mk/Uses/cargo.mk: Move TMPDIR to WRKDIR
rustc stashes intermediary files in TMPDIR (default /tmp) which
might cause issues for users that for some reason space limit their
/tmp. WRKDIR should have plenty of space.
Other ports that use rustc might be affected too, but set it only
in USES=cargo and lang/rust* ports for now.
PR: 258126
With hat: rust
|
Sat, 28 Aug 2021
|
[ 13:38 Mikael Urankar (mikael) Author: pouet ] 55dbdde (Only the first 10 of 14 ports in this commit are shown above. )
lang/rust: Update to 1.54.0
- Update lang/rust to 1.54.0
- Update devel/racer to 2.1.48
- Fix various consumers
Changes: https://blog.rust-lang.org/2021/07/29/Rust-1.54.0.html
Reviewed by: tobik, pkubaj
Differential Revision: https://reviews.freebsd.org/D31617
With hat: rust
|
Sun, 27 Jun 2021
|
[ 05:39 Tobias Kortkamp (tobik) ] f897ded
lang/rust: Update to 1.53.0
Changes: https://blog.rust-lang.org/2021/06/17/Rust-1.53.0.html
PR: 256653
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D30790
With hat: rust
|
Tue, 11 May 2021
|
[ 17:29 Tobias Kortkamp (tobik) ] bfd3382
Mk/Uses/cargo.mk: Refactor MASTER_SITES and DISTFILES construction (D30099)
Split CARGO_CRATES into (index, crate, name, version) 4-tuples and
use them to construct MASTER_SITES and DISTFILES. We can also match
crate name and versions more directly below.
As a bonus this is slightly faster and will flag a malformed
CARGO_CRATES earlier with a "wrong number of words" error.
Runtime of the following command was noticeably faster
$ <rust-ports /usr/bin/time xe -F make -C {} -V DISTFILES -V MASTER_SITES
>/dev/null
Before: 56.99 real 50.05 user 6.44 sys
Now: 38.89 real 31.63 user 6.86 sys
PR: 255608
Exp-run by: antoine
|
[ 17:29 Tobias Kortkamp (tobik) ] d883741 (Only the first 10 of 20 ports in this commit are shown above. )
lang/rust: Update to 1.52.1
- Add 32-bit powerpc support from bdragon@
- Unbreak build with LibreSSL 3.3.x [1]
- Add an update script
Changes: https://blog.rust-lang.org/2021/05/06/Rust-1.52.0.html
Changes: https://blog.rust-lang.org/2021/05/10/Rust-1.52.1.html
PR: 255608, 255652 [1]
Reviewed by: mikael, pkubaj
Exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D30099
|
Wed, 28 Apr 2021
|
[ 04:44 Tobias Kortkamp (tobik) ] 3758b33
Mk/Uses/cargo.mk: Use canonical crate file extension going forward
Crates should have the file extension .crate not .tar.gz. Cargo
saves them with that extension and it is also what their original
name was according to file(1):
$ file rust/crates/*
rust/crates/better-panic-0.2.0.tar.gz:gzip compressed data, was
"better-panic-0.2.0.crate"
rust/crates/binary-space-partition-0.1.2.tar.gz:gzip compressed data, was
"binary-space-partition-0.1.2.crate"
...
The only reason we used .tar.gz is that it was that way in OpenBSD's
devel/cargo/cargo.port.mk module. At the moment they are all .tar.gz
but they might have a different format in the future.
(Only the first 15 lines of the commit message are shown above )
|
Mon, 19 Apr 2021
|
[ 09:07 Luca Pizzamiglio (pizzamig) ] 58744a0
Uses/cargo: Improve URL subsitution for ports using CARGO_USE_GIT[HUB|LAB]
While maintaing a rust application, I found a cargo.toml that specifies
the git URL with { git="https://..." }, cargo.mk expects a form like { git =
"https://" }.
This patch improve the regex making the spaces around the '=' optional
Test: built all ports using the CARGO_USE_GIT feature
Approved by: tobik
Differential Revision: https://reviews.freebsd.org/D29805
|
Wed, 14 Apr 2021
|
[ 12:22 Tobias Kortkamp (tobik) ] ffd4db6
Speed up USES=cargo ports ops
MASTER_SITES aliases processing in the framework is very inefficient
and the CRATESIO indirection is not worth it. Normally ports only
have a handful of sites at most, but USES=cargo currently adds one
site for each crate by necessity. The inefficiency suddenly matters
a lot.
By consuming MASTER_SITE_CRATESIO directly we can sidestep this
issue without losing anything.
Before:
$ time make -C www/zola -V MASTER_SITES >/dev/null
4.21 real 4.14 user 0.03 sys
After:
$ time make -C www/zola -V MASTER_SITES >/dev/null
0.60 real 0.58 user 0.02 sys
|
Tue, 13 Apr 2021
|
[ 07:05 Tobias Kortkamp (tobik) ] 7bec7b1
Mk/Uses/cargo.mk: Make build scripts more verbose
Build scripts might build bundled libraries but non-error output
is hiddden by cargo. Given a crate with large enough bundled library
(looking at you rusty_v8) the build just sits there in silence
forever and you do not know what is happening or if anything is
happening at all. This also makes Poudriere build logs less useful.
Pass an additional --verbose to cargo to get more noisy output.
https://doc.rust-lang.org/cargo/reference/build-scripts.html#outputs-of-the-build-script
|
Tue, 6 Apr 2021
|
[ 14:27 Mathieu Arnold (mat) ] 5d33e04 (Only the first 10 of 224 ports in this commit are shown above. )
framework: Remove $FreeBSD$
Where appropriate fiddle with a few other things.
|
Mon, 29 Mar 2021
|
[ 18:07 tobik ]
lang/rust: Update to 1.51.0
- Update devel/racer to 2.1.44
Changes: https://blog.rust-lang.org/2021/03/25/Rust-1.51.0.html
PR: 254578
Reviewed by: mikael, pkubaj
Exp-run by: antoine
With hat: rust
Differential Revision: https://reviews.freebsd.org/D29425
|
Sun, 14 Feb 2021
|
[ 15:45 mikael ] (Only the first 10 of 139 ports in this commit are shown above. )
lang/rust: Update to 1.50.0
- Use bundled libgit/libssh, the versions in ports are too old
- Update lang/rust-nightly to 2021-02-12
- Update devel/racer to 2.1.41
- Import upstream patch to fix build issue for Firefox and related ports
(https://bugzilla.mozilla.org/show_bug.cgi?id=1684261)
Changes: https://github.com/rust-lang/rust/releases/tag/1.50.0
Tested by: mikael, pkubaj
Differential Revision: https://reviews.freebsd.org/D28616
|
Tue, 24 Nov 2020
|
[ 12:48 mikael ] (Only the first 10 of 137 ports in this commit are shown above. )
lang/rust: Update to 1.48.0
Changes: https://github.com/rust-lang/rust/releases/tag/1.48.0
Reviewed by: jbeich
Tested by: bdragon, jbeich, mikael
Differential Revision: https://reviews.freebsd.org/D27293
|
Tue, 10 Nov 2020
|
[ 15:42 pkubaj ]
Add powerpc64le since it uses the same CPU models as powerpc64.
|
Tue, 13 Oct 2020
|
[ 08:36 mikael ] (Only the first 10 of 117 ports in this commit are shown above. )
lang/rust: Update to 1.47.0
- Add powerpc64le arch (submitted by bdragon in D26711)
- Disable DOCS, same problem fixed in r546048
- Update devel/racer to 2.1.36
- Import upstream patch to fix www/firefox
(https://hg.mozilla.org/integration/autoland/rev/e2cede25c027)
- Import gentoo patches to fix www/firefox-esr, www/cliqz and mail/thunderbird
(https://dev.gentoo.org/~whissi/mozilla/patchsets/firefox-esr-78-patches-03.tar.xz
: 0036, 0037 and 0038)
- Force rebuild all consumers to catch regressions
Changelog:
https://github.com/rust-lang/rust/releases/tag/1.47.0
Differential Revision: https://reviews.freebsd.org/D26721
|
Sat, 19 Sep 2020
|
[ 13:01 pkubaj ]
Use correct target-cpu for power* CPU's
Using CPUTYPE?=power9 causes warnings and emits unoptimized code. Rust supports
pwr* instead of power*, e.g.:
pwr3
pwr4
pwr5
pwr5x
pwr6
pwr6x
pwr7
pwr8
pwr9
|
Sun, 30 Aug 2020
|
[ 18:36 tobik ] (Only the first 10 of 99 ports in this commit are shown above. )
lang/rust: Update to 1.46.0
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/08/27/Rust-1.46.0.html
With hat: rust
Differential Revision: https://reviews.freebsd.org/D26176
|
Mon, 3 Aug 2020
|
[ 15:18 tobik ] (Only the first 10 of 97 ports in this commit are shown above. )
lang/rust: Update to 1.45.2
Changes: https://blog.rust-lang.org/2020/08/03/Rust-1.45.2.html
|
Thu, 30 Jul 2020
|
[ 18:26 tobik ] (Only the first 10 of 97 ports in this commit are shown above. )
lang/rust: Update to 1.45.1
- Apply the "hard links break `env::current_exe()`" workaround from
r543251 to lang/rust too
- Force rebuild all consumers for the soundness bug in 1.45.0
Changes: https://blog.rust-lang.org/2020/07/30/Rust-1.45.1.html
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25835
|
Fri, 17 Jul 2020
|
[ 06:44 tobik ] (Only the first 10 of 104 ports in this commit are shown above. )
lang/rust: Update to 1.45.0
- This Rust release comes with LLVM 10. Drop the LLVM patches we
no longer need.
- On FreeBSD 13.0 powerpc64 set the elfv2 ABI explicitly in the
Rust target instead of patching LLVM.
- Build LLVM with Ninja. It can shorten the build time slightly.
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/07/16/Rust-1.45.0.html
Tested by: mikael, pkubaj, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25658
|
Thu, 4 Jun 2020
|
[ 18:08 tobik ] (Only the first 10 of 99 ports in this commit are shown above. )
lang/rust: Update to 1.44.0
- Remove devel/cargo-tree since it is now integrated into cargo
- Add patch to fix build with LibreSSL 3.1.x and 3.2.0 [1]
- Force rebuild all consumers to catch regressions early
Changes: https://blog.rust-lang.org/2020/06/04/Rust-1.44.0.html
PR: 246332 [1]
Tested by: mikael, tobik
With hat: rust
Differential Revision: https://reviews.freebsd.org/D25099
|
Thu, 23 Apr 2020
|
[ 15:32 tobik ] (Only the first 10 of 89 ports in this commit are shown above. )
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
|
Sat, 4 Apr 2020
|
[ 07:40 tobik ]
Mk/Uses/cargo.mk: Add a warning about the openssl-src crate
PR: 245337
|
Mon, 23 Mar 2020
|
[ 03:57 tobik ]
Mk/Uses/cargo.mk: Better deal with versions with build identifier suffixes
A crate spec like curl-sys-0.4.30+curl-7.69.1 was incorrectly
interpreted as having a name of 'curl-sys-0.4.30+curl' instead of
'curl-sys' and failed to fetch as a consequence.
Crate names can only be composed of a limited character set [1].
Limit the regular expressions to that set and make them less greedy.
[1] https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field
PR: 244977
Reported by: jbeich
|
Thu, 12 Mar 2020
|
[ 19:39 tobik ] (Only the first 10 of 83 ports in this commit are shown above. )
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
|
Wed, 4 Mar 2020
|
[ 15:00 tobik ]
Mk/Uses/cargo.mk: Allow disabling default features via CARGO_FEATURES
CARGO_FEATURES is overloaded to accept --no-default-features as a
special token which will set CARGO_{BUILD,INSTALL,TEST}_ARGS
appropriately. This is done in preference over introducing yet
another knob.
|
Thu, 27 Feb 2020
|
[ 15:22 tobik ] (Only the first 10 of 78 ports in this commit are shown above. )
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
|
Thu, 30 Jan 2020
|
[ 20:00 tobik ] (Only the first 10 of 86 ports in this commit are shown above. )
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
|
Thu, 23 Jan 2020
|
[ 09:08 tobik ]
Mk/Uses/cargo.mk: Unbreak install with rust-nightly
Remove yet another install metadata file. This should all be
replaced with --no-track once it is part of lang/rust.
https://github.com/rust-lang/cargo/pull/7560
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: .crates2.json
|
Mon, 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
|
Thu, 19 Dec 2019
|
[ 16:14 tobik ] (Only the first 10 of 71 ports in this commit are shown above. )
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
|
Sun, 1 Dec 2019
|
[ 08:43 tobik ]
Mk/Uses/cargo.mk: Do not override do-configure
Cargo vendoring can be useful even for ports that use other build
systems like Meson to call Cargo for the actual build. Often they
use the framework's default do-configure which USES=cargo should
not overwrite.
Remove hacks from games/jaggedalliance2 and x11/squeekboard.
Reviewed by: jbeich
Differential Revision: https://reviews.freebsd.org/D22619
|
Fri, 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
|
[ 15:02 pkubaj ]
Mk/bsd.port.mk: detect powerpc64 abi
We'll have a new abi on ppc64 soon (ELFv2) which is incompatible with the ELFv1
abi. We need to detect the abi on which we build stuff.
Submitted by: mikael_urankar@gmail.com
Approved by: portmgr (earlier version)
Differential Revision: https://reviews.freebsd.org/D22039
|
Tue, 19 Nov 2019
|
[ 21:08 tobik ]
Mk/Uses/cargo.mk: Add CARGO_GIT_SUBDIR hook to provide hints for CARGO_USE_GIT*
This is a workaround to add some manual "support" for Cargo projects
that use workspaces where the current method of patching is not
good enough as it causes the various Cargo.toml to point to the
wrong directory. With CARGO_GIT_SUBDIR maintainers can control the
patching process a little and point things to the correct subdirectories.
CARGO_GIT_SUBDIR= <group>:<crate name>:<subdir under ${WRKSRC_group}>
This is needed for alacritty 0.4.0-rc2 where the glutin sources are
under ${WRKSRC_glutin}/glutin and not just ${WRKSRC_glutin}. This
causes the following issue:
error: failed to load source for a dependency on `glutin`
Caused by:
Unable to update .../x11/alacritty/work/glutin-7e479d
Caused by:
found a virtual manifest at `.../x11/alacritty/work/glutin-7e479d/Cargo.toml`
instead of a package manifest
For glutin we would set CARGO_GIT_SUBDIR=glutin:glutin:glutin to
work around this problem and point the build to
.../x11/alacritty/work/glutin-7e479d/glutin instead.
|
Thu, 7 Nov 2019
|
[ 18:07 tobik ] (Only the first 10 of 83 ports in this commit are shown above. )
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
|
Fri, 27 Sep 2019
|
[ 12:51 tobik ]
Mk/Uses/cargo.mk: Handle git URLs that end with /
Fix CARGO_USE_GIT{HU,LA}B when Cargo.toml has URLs that end with
/. This is needed for audio/spotifyd 0.2.16 which has an entry
like
structopt = { git = "https://github.com/TeXitoi/structopt/", rev = "..." }
|
[ 09:35 tobik ] (Only the first 10 of 72 ports in this commit are shown above. )
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
|
Mon, 16 Sep 2019
|
[ 12:39 tobik ]
Mk/Uses/cargo.mk: Add gmake build dependency for jemalloc-sys
|
Thu, 15 Aug 2019
|
[ 14:30 tobik ] (Only the first 10 of 56 ports in this commit are shown above. )
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
|
Tue, 6 Aug 2019
|
[ 08:12 tobik ]
Mk/Uses/cargo.mk: Add support for CARGO_USE_GITLAB/GL_TUPLE to cargo-crates
|
Thu, 18 Jul 2019
|
[ 08:18 tobik ]
www/geckodriver: Bump libc crate version again
$ make check-sanity
/!\ geckodriver-0.24.0: Makefile warnings, please consider fixing /!\
CARGO_CRATES=libc-0.2.43 may be unstable on aarch64 or not build on armv6,
armv7, powerpc64. Consider updating to the latest version (higher than 0.2.49).
This will give it at least a chance to build on tier 2 archs. We
bumped libc earlier but this was regressed on in r506813.
The libc warnings in USES=cargo do not seem to be enough. Make
them errors instead.
With hat: rust
|
Mon, 15 Jul 2019
|
[ 08:46 tobik ]
Mk/Uses/cargo.mk: Handle distfile group names properly
Crates like openssl-src-111.3.0+1.1.1c have characters not in
[a-zA-Z0-9]. Use the complement of [a-zA-Z0-9] instead of adding
+ to the list of chars [-.] we currently handle.
|
Thu, 4 Jul 2019
|
[ 14:41 tobik ] (Only the first 10 of 54 ports in this commit are shown above. )
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
|
Mon, 10 Jun 2019
|
[ 10:56 tobik ]
Mk/Uses/cargo.mk: Add CARGO_INSTALL_PATH knob
It can be used to overwrite the --path argument when calling `cargo
install` to point cargo to different local crates to install. This
might be necessary when ${WRKSRC}/Cargo.toml is only a virtual
manifest.
|
Fri, 24 May 2019
|
[ 07:57 tobik ]
Mk/Uses/cargo.mk: QoL improvement during makepatch
Cargo normalizes Cargo.toml when crates are published. It creates
a Cargo.toml.orig to preserve the original. Rename them to not
interfere with makepatch and avoid creating a bunch of useless
and wrong files/patch-*Cargo.toml.
Suggested by: mat
|
[ 03:25 tobik ] (Only the first 10 of 76 ports in this commit are shown above. )
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
|
Wed, 15 May 2019
|
[ 03:12 tobik ] (Only the first 10 of 62 ports in this commit are shown above. )
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
|
Wed, 17 Apr 2019
|
[ 07:33 tobik ] (Only the first 10 of 12 ports in this commit are shown above. )
Mk/Uses/cargo.mk: Push lib dependencies back down into ports
Some crates are optional via Cargo features or are only used during
tests, however the framework has no way to discriminate between
test or run dependencies using just CARGO_CRATES leading to more
run dependencies than necessary for some packages. With more ported
Rust applications it's time to let individual ports make that
decision now.
The environmental setup to use dependencies from ports instead of
bundled ones and implied build dependencies (cmake, gmake, pkgconf)
are left in place for now.
Assign cargo.mk to rust@ while here.
|
Thu, 11 Apr 2019
|
[ 19:39 tobik ] (Only the first 10 of 72 ports in this commit are shown above. )
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
|
Mon, 25 Mar 2019
|
[ 06:28 tobik ]
Mk/Uses/cargo.mk: Add GitLab support and drop CARGO_GH_CARGOTOML
- Add a CARGO_USE_GITHUB equivalent for GitLab instances,
CARGO_USE_GITLAB
- Replace CARGO_GH_CARGOTOML with a ${FIND} and just patch
all Cargo.toml under ${WRKDIR}. It is too tedious to find all
the Cargo.toml that need patching manually due to transitive
dependencies.
|
Thu, 14 Mar 2019
|
[ 17:31 jbeich ]
USES=cargo to omit -C link-arg if LDFLAGS is empty
DPorts overrides USE_GCC logic and doesn't opt in into SSP_CFLAGS, so
its LDFLAGS are empty by default.
PR: 236529
Reported by: Antonio Huete Jimenez
|
Sat, 2 Mar 2019
|
[ 00:35 tobik ]
Mk/Uses/cargo.mk: Require ports gcc on powerpc64 same as lang/rust
PR: 235063
|
Thu, 28 Feb 2019
|
[ 18:51 jbeich ] (Only the first 10 of 81 ports in this commit are shown above. )
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
|
[ 18:47 jbeich ] (Only the first 10 of 70 ports in this commit are shown above. )
USES=cargo to update libc to 0.2.49 for Tier2
PR: 235063
Differential Revision: https://reviews.freebsd.org/D19309
|
Fri, 15 Feb 2019
|
[ 12:04 tobik ]
Add a CRATESIO entry for crates.io to bsd.sites.mk
Switch cargo.mk over to it.
Differential Revision: https://reviews.freebsd.org/D19133
|
[ 09:33 ale ]
Don't break when there are multiple libc versions in crates.
|
Fri, 8 Feb 2019
|
[ 12:19 tobik ]
Mk/Uses/cargo.mk: Silence "you need USES=ssl" QA warning
We already have it via CARGO_CRATES=openssl-sys-*.
Differential Revision: https://reviews.freebsd.org/D19044
|
Thu, 17 Jan 2019
|
[ 19:50 jbeich ] (Only the first 10 of 50 ports in this commit are shown above. )
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
|
Fri, 4 Jan 2019
|
[ 04:00 jbeich ]
Allow overriding rust dependency
Add DEFAULT_VERSIONS+=rust=rust-nightly to make.conf(5) if you want to
build consumers using lang/rust-nightly.
Approved by: rust (tobik)
MFH: 2019Q1 (avoid merge conflicts during www/firefox updates)
Differential Revision: https://reviews.freebsd.org/D18634
|
Sun, 16 Dec 2018
|
[ 12:08 tobik ]
Mk/Uses/cargo.mk: Fix install for Rust 2018 edition applications
`cargo install` currently fails with:
error: Using `cargo install` to install the binaries for the package
in current working directory is no longer supported, use `cargo
install --path .` instead.
Also see https://github.com/rust-lang/cargo/issues/5327
|
Fri, 14 Dec 2018
|
[ 18:20 jbeich ]
USES=cargo to respect CC for linking
Reported by: tijl
Approved by: rust (tobik)
Differential Revision: https://reviews.freebsd.org/D18528
|
Thu, 6 Dec 2018
|
[ 17:11 jbeich ] (Only the first 10 of 86 ports in this commit are shown above. )
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
|
Number of commits found: 114 (showing only 100 on this page) |