Re: update: lang/rust

2019-12-12 Thread Niklas Hallqvist
Yes, I sort of agree, but personally I will run with this meanwhile.  I now recall what it was that made me do this: wasm. The wasm-pack system requires the version of rustc to match with the wasm32-unknown-unknown target, and I thought it better (read: easier :-) )to use the published target i

Re: update: lang/rust

2019-12-12 Thread Sebastien Marie
On Thu, Dec 12, 2019 at 07:52:21AM +0100, Niklas Hallqvist wrote: > As a matter of fact I did the same update just a week ago, and ended up in > exactly the same patch set as you, except for one thing: > > The version reported by 'rust -V' normally include the git hash and date, and > some rust

Re: update: lang/rust

2019-12-11 Thread Niklas Hallqvist
As a matter of fact I did the same update just a week ago, and ended up in exactly the same patch set as you, except for one thing: The version reported by 'rust -V' normally include the git hash and date, and some rust code out there depends on it (maybe dumb, but nevertheless it is). I did it

Re: update: lang/rust

2019-12-09 Thread Laurence Tratt
On Sun, Dec 08, 2019 at 12:30:09PM +0100, Sebastien Marie wrote: Hello Sebastien, > Here the diff for updating lang/rust to 1.39.0 This works well for my Rust code. I've also tested all the subpackages successfully: rustfmt, Clippy, and rust-gdb (I didn't even realise there was a subpackage for

Re: update: lang/rust

2019-12-09 Thread Reyk Floeter
On Sun, Dec 08, 2019 at 12:30:09PM +0100, Sebastien Marie wrote: > Hi, > > Here the diff for updating lang/rust to 1.39.0 > > The patch took more time than expected to be done: I had problem with sparc64 > and I only achieved to have a workaround in order to avoid a SEGFAULT during > the > build

Re: update: lang/rust 1.29.1 (security)

2018-09-26 Thread Sebastien Marie
On Wed, Sep 26, 2018 at 02:13:47PM +0200, Sebastien Marie wrote: > On Tue, Sep 25, 2018 at 04:53:54PM +0100, Stuart Henderson wrote: > > > > > > A possible way could be: > > > - having a sub-package -libstd on lang/rust (which would be empty or > > > almost) > > > - add RUN_DEPENDS+=lang/rust,-li

Re: update: lang/rust 1.29.1 (security)

2018-09-26 Thread Sebastien Marie
On Tue, Sep 25, 2018 at 04:53:54PM +0100, Stuart Henderson wrote: > > > > A possible way could be: > > - having a sub-package -libstd on lang/rust (which would be empty or almost) > > - add RUN_DEPENDS+=lang/rust,-libstd to port using rustc > > > > when lang/rust is updated, the subpackage rust-l

Re: update: lang/rust 1.29.1 (security)

2018-09-25 Thread Stuart Henderson
On 2018/09/25 16:50, Sebastien Marie wrote: > On Mon, Sep 24, 2018 at 09:20:34PM +0100, Stuart Henderson wrote: > > On 2018/09/24 09:04, Sebastien Marie wrote: > > > Hi, > > > > > > Here an update for lang/rust 1.29.1. > > > > > > It is a security update (only -current is affected). > > > > Hi,

Re: update: lang/rust 1.29.1 (security)

2018-09-25 Thread Sebastien Marie
On Mon, Sep 24, 2018 at 09:20:34PM +0100, Stuart Henderson wrote: > On 2018/09/24 09:04, Sebastien Marie wrote: > > Hi, > > > > Here an update for lang/rust 1.29.1. > > > > It is a security update (only -current is affected). > > Hi, I'm wondering if we need to bump REVISION for ports built with

Re: update: lang/rust 1.29.1 (security)

2018-09-24 Thread Stuart Henderson
On 2018/09/24 09:04, Sebastien Marie wrote: > Hi, > > Here an update for lang/rust 1.29.1. > > It is a security update (only -current is affected). Hi, I'm wondering if we need to bump REVISION for ports built with rust (firefox, librsvg, etc) to ensure that they're updated for people running pk

Re: update: lang/rust

2018-03-30 Thread Sebastien Marie
On Fri, Mar 30, 2018 at 10:40:16AM +0200, Sebastien Marie wrote: > Hi, > > Here an update for lang/rust 1.25.0 > > Some changes port wise: > - in order to keep RUST_BACKTRACE=1 during build, properly separate > MAKE_ENV and TEST_ENV, by introduce a TEST_BIN variable used for > launching rustb

Re: update: lang/rust 1.24

2018-02-19 Thread Landry Breuil
On Mon, Feb 19, 2018 at 07:45:48AM +0100, Landry Breuil wrote: > On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote: > > Hi, > > > > The following diff update lang/rust to 1.24. > > > > Tests that was done: > > - build on i386 - but it seems the memory usage still grow. I added a > >

Re: update: lang/rust 1.24

2018-02-19 Thread Laurence Tratt
On Sun, Feb 18, 2018 at 06:03:47PM +0100, Sebastien Marie wrote: Hello Sebastien, > It seems that the uploaded file is truncated in some way. > > $ tar zft rustc-bootstrap-amd64-1.24.0-20180213.tar.gz >/dev/null > gzip: stdin: Input/output error > tar: End of archive volume 1 reached > > distin

Re: update: lang/rust 1.24

2018-02-18 Thread Landry Breuil
On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote: > Hi, > > The following diff update lang/rust to 1.24. > > Tests that was done: > - build on i386 - but it seems the memory usage still grow. I added a > new knob to try to reduce it. I was able to build but after several > trie

Re: update: lang/rust 1.24

2018-02-18 Thread Sebastien Marie
On Sun, Feb 18, 2018 at 10:11:44AM +, Laurence Tratt wrote: > On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote: > > Hello Sebastien, > > > The following diff update lang/rust to 1.24. > > Thanks for this! I had a couple of problems. First the distinfo seems to be > out of date

Re: update: lang/rust 1.24

2018-02-18 Thread Laurence Tratt
On Sat, Feb 17, 2018 at 01:24:27PM +0100, Sebastien Marie wrote: Hello Sebastien, > The following diff update lang/rust to 1.24. Thanks for this! I had a couple of problems. First the distinfo seems to be out of date? I got this error from fetch: >> Size does not match for rust/rustc-bootstra

Re: [update] lang/rust 1.23

2018-01-26 Thread Landry Breuil
On Fri, Jan 26, 2018 at 06:10:43AM +0100, Landry Breuil wrote: > On Thu, Jan 25, 2018 at 05:27:16PM +0100, Sebastien Marie wrote: > > Hi, > > > > The following diff updates lang/rust to 1.23 (released since approx 3 > > weeks). > > > > I was still able to build it on i386 (but with effort), so I

Re: [update] lang/rust 1.23

2018-01-25 Thread Landry Breuil
On Thu, Jan 25, 2018 at 05:27:16PM +0100, Sebastien Marie wrote: > Hi, > > The following diff updates lang/rust to 1.23 (released since approx 3 > weeks). > > I was still able to build it on i386 (but with effort), so I keep it > BROKEN-i386. > > The diff was tested on amd64: > - lang/rust bui

Re: [update] lang/rust 1.20

2017-09-03 Thread Daniel Jakots
On Sat, 2 Sep 2017 11:48:18 +0200, Sebastien Marie wrote: > Here an update for lang/rust 1.20 Committed, thanks!

Re: update: lang/rust 1.19.0

2017-07-28 Thread Sebastien Marie
On Sat, Jul 22, 2017 at 02:09:17PM +0200, Sebastien Marie wrote: > Hi, > > The following diff updates rustc to 1.19.0. > updated diff to be in sync with latest changes on lang/rust. Thanks. -- Sebastien Marie Index: devel/Makefile ==

Re: [update] lang/rust 1.17.0

2017-04-28 Thread Sebastien Marie
On Fri, Apr 28, 2017 at 05:01:34PM +0100, Edd Barrett wrote: > On Fri, Apr 28, 2017 at 12:16:09PM +0200, Sebastien Marie wrote: > > Thanks for catching it edd@ ! > > No worries! > > I've now managed to update rust and cargo. I think I've found a > regression in cargo here: > > ---8<--- > wilfred

Re: [update] lang/rust 1.17.0

2017-04-28 Thread Edd Barrett
On Fri, Apr 28, 2017 at 12:16:09PM +0200, Sebastien Marie wrote: > Thanks for catching it edd@ ! No worries! I've now managed to update rust and cargo. I think I've found a regression in cargo here: ---8<--- wilfred> rm -rf ~/.cargo wilfred> cargo install --verbose rustfmt Updating registry

Re: [update] lang/rust 1.17.0

2017-04-28 Thread Sebastien Marie
On Fri, Apr 28, 2017 at 10:57:33AM +0100, Edd Barrett wrote: > Hi Sebastien, > > I got the sources fine, but I'm unable to get the cargo bootstrap: > > >> Fetch > >> http://kapouay.odns.fr/pub/rust/cargo-bootstrap-amd64-0.18.0-20170426.tar.gz > ftp: Error retrieving file: 404 Not Found > hep,

Re: [update] lang/rust 1.17.0

2017-04-28 Thread Edd Barrett
Hi Sebastien, Again, thanks for working on Rust. On Thu, Apr 27, 2017 at 08:49:03AM +0200, Sebastien Marie wrote: > > Please note that as the release isn't officially published at time of > writing, MASTER_SITES should point to > https://dev-static.rust-lang.org/dist/ to grab the tarball. Maybe w

Re: update: lang/rust to 1.16.0

2017-03-26 Thread Sebastien Marie
On Sun, Mar 26, 2017 at 02:01:55PM +0100, Edd Barrett wrote: > > > Below an updated diff for lang/rust (with docs). Please test it, I could > > mess myself with the revert of -doc removal. > > Looks good. A couple of very small comments inline, but this is pretty > much good to commit IMO. > > >

Re: update: lang/rust to 1.16.0

2017-03-26 Thread Edd Barrett
Hi, On Sat, Mar 25, 2017 at 04:50:02PM +0100, Sebastien Marie wrote: > For now, the following trick seems to work: I added a link at configure > stage in bootstrap directory to ${WRKDIR}/stage2/rustdoc. The link is > dangled at beginning. But as docs are built after binaries, a working > rustdoc i

Re: update: lang/rust to 1.16.0

2017-03-25 Thread Sebastien Marie
Hi, Here a new diff for lang/rust with -doc subpackage. The way it is done is different from edd@ proposal. Below the explanation. On Tue, Mar 21, 2017 at 09:12:51PM +, Edd Barrett wrote: > > The diff I had been preparing today simply added back rustdoc into the > bootstrap. rustdoc is (unc

Re: update: lang/rust to 1.16.0

2017-03-21 Thread Edd Barrett
Hi, On Tue, Mar 21, 2017 at 06:22:05PM +0100, Landry Breuil wrote: > From what i understand, it's more work to keep rustdoc in the bootstrap > so that we can generate the docs at package build time. Well, time to cut my losses. The diff I had been preparing today simply added back rustdoc into t

Re: update: lang/rust to 1.16.0

2017-03-21 Thread Landry Breuil
On Tue, Mar 21, 2017 at 08:28:53AM +0100, Sebastien Marie wrote: > On Mon, Mar 20, 2017 at 10:11:29PM +, Edd Barrett wrote: > > On Mon, Mar 20, 2017 at 02:43:58PM +0100, Sebastien Marie wrote: > > > On Sun, Mar 19, 2017 at 03:55:26PM +, Edd Barrett wrote: > > > > > > > > How about a separa

Re: update: lang/rust to 1.16.0

2017-03-21 Thread Sebastien Marie
On Mon, Mar 20, 2017 at 10:11:29PM +, Edd Barrett wrote: > On Mon, Mar 20, 2017 at 02:43:58PM +0100, Sebastien Marie wrote: > > On Sun, Mar 19, 2017 at 03:55:26PM +, Edd Barrett wrote: > > > > > > How about a separate port for docs that depends on lang/rust? Would that > > > be more palata

Re: update: lang/rust to 1.16.0

2017-03-20 Thread Edd Barrett
Hi Sebastien, Sorry this is dragging on a bit. On Mon, Mar 20, 2017 at 02:43:58PM +0100, Sebastien Marie wrote: > On Sun, Mar 19, 2017 at 03:55:26PM +, Edd Barrett wrote: > > > > How about a separate port for docs that depends on lang/rust? Would that > > be more palatable? > > I assume it

Re: update: lang/rust to 1.16.0

2017-03-20 Thread Sebastien Marie
On Sun, Mar 19, 2017 at 03:55:26PM +, Edd Barrett wrote: > On Sun, Mar 19, 2017 at 04:40:27PM +0100, Sebastien Marie wrote: > > so the bootstrap archive will look like really a full package. > > How about a separate port for docs that depends on lang/rust? Would that > be more palatable? > I

Re: update: lang/rust to 1.16.0

2017-03-19 Thread Edd Barrett
On Sun, Mar 19, 2017 at 04:40:27PM +0100, Sebastien Marie wrote: > so the bootstrap archive will look like really a full package. How about a separate port for docs that depends on lang/rust? Would that be more palatable? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: update: lang/rust to 1.16.0

2017-03-19 Thread Sebastien Marie
On Sun, Mar 19, 2017 at 03:03:11PM +, Edd Barrett wrote: > > > It merges -main and -doc, and doesn't provide documentation anymore. > > I was meant to pipe up in the other thread, but I think the docs > sub-package is actually a nice addition, as it means I always have the > right docs for th

Re: update: lang/rust to 1.16.0

2017-03-19 Thread Edd Barrett
On Sun, Mar 19, 2017 at 03:03:11PM +, Edd Barrett wrote: > As always, thanks for your hard work on Rust/OpenBSD. > > Looks good to me. A couple of comments inline. Ah also, there's some trailing whitespace in the Makefile. We could kill this with a separate commit. -- Best Regards Edd Barre

Re: update: lang/rust to 1.16.0

2017-03-19 Thread Edd Barrett
Hi Sebastien, On Thu, Mar 16, 2017 at 03:34:52PM +0100, Sebastien Marie wrote: > The following diff updates lang/rust to 1.16.0. As always, thanks for your hard work on Rust/OpenBSD. Looks good to me. A couple of comments inline. > It merges -main and -doc, and doesn't provide documentation any

Re: update: lang/rust 1.14.0

2016-12-26 Thread Sebastien Marie
On Mon, Dec 26, 2016 at 10:06:56AM +0100, Landry Breuil wrote: > On Fri, Dec 23, 2016 at 08:56:32AM +0100, Sebastien Marie wrote: > > Hi, > > > > Here an update to lang/rust to the upcoming 1.14.0 version (should be > > released today). > > Dunno if that was a final tarball or not but i had to re

Re: update: lang/rust 1.14.0

2016-12-26 Thread Landry Breuil
On Fri, Dec 23, 2016 at 08:56:32AM +0100, Sebastien Marie wrote: > Hi, > > Here an update to lang/rust to the upcoming 1.14.0 version (should be > released today). Dunno if that was a final tarball or not but i had to regen distinfo. -SHA256 (rust/rustc-1.14.0-src.tar.gz) = R6Ts0bG6NmaWwTNk2iE+

Re: [update] lang/rust 1.13.0

2016-11-12 Thread Daniel Jakots
On Sat, 12 Nov 2016 10:00:45 +0100, Sebastien Marie wrote: > Here an update for lang/rust to 1.13.0 It's ok danj@ (I'm not really quick, I got premium access to the diff ;)). Cheers, Daniel

Re: [update] lang/rust 1.12.1

2016-10-22 Thread Daniel Jakots
On Fri, 21 Oct 2016 20:14:53 +0200, Sebastien Marie wrote: > Hi, > > Here an update for lang/rust. > > For release note see > https://blog.rust-lang.org/2016/10/20/Rust-1.12.1.html. For the full > change see https://github.com/rust-lang/rust/pull/37173. > > Please note I rebuilded the bootstra

Re: update lang/rust

2016-10-02 Thread Daniel Jakots
On Fri, 30 Sep 2016 10:20:50 +0200, Sebastien Marie wrote: > Here an update for lang/rust to 1.12.0 make fake and make test are fine for make package, in semarie's diff there is +share/doc/rust/html/error-index.md which is not present. I removed this line and it packages fine. I attach the new

Re: UPDATE: lang/rust 1.7.0

2016-03-04 Thread Brandon Mercer
On Fri, Mar 04, 2016 at 08:45:56AM -0700, Aaron Bieber wrote: > > Sebastien Marie writes: > > > Hi, > > > > Today is the release date for rustc 1.7.0. > > > > So here an update for lang/rust. > > > > OK ? > > Are you able to build openbsd-wip/devel/cargo/bootstrap with this? It > fails for me.

Re: UPDATE: lang/rust 1.7.0

2016-03-04 Thread Aaron Bieber
Sebastien Marie writes: > Hi, > > Today is the release date for rustc 1.7.0. > > So here an update for lang/rust. > > OK ? Are you able to build openbsd-wip/devel/cargo/bootstrap with this? It fails for me.

Re: [update] lang/rust upcoming 1.6.0

2016-01-22 Thread Aaron Bieber
Sebastien Marie writes: > Hi, > > Here an update for lang/rust for the upcoming 1.6.0 (scheduled for > stable release January 21, 2016). > > The backported patches for build system are updated. > > All tests passes. > > I also ensured that openbsd-wip/devel/cargo/bootstrap (which depends on > lan

Re: [update] lang/rust 1.4.0

2015-11-02 Thread Laurence Tratt
On Sun, Nov 01, 2015 at 04:49:08PM -0500, Michael McConville wrote: Hello Michael, > It's hard to find a big stress-tester program to build without Cargo. Steven McDonald is working on a Cargo port, which is in openbsd-wip. It's more than good enough to compile every Rust program I've chucked at

Re: [update] lang/rust 1.4.0

2015-11-02 Thread Sebastien Marie
On Sun, Nov 01, 2015 at 04:49:08PM -0500, Michael McConville wrote: > Sebastien Marie wrote: > > Hi, > > > > Here a patch for updating lang/rust to latest stable version: 1.4.0 > > > > Testing would be welcome. > > > > An intermittent failure on `net::addr::tests::to_socket_addr_str_bad' > > tes

Re: [update] lang/rust 1.4.0

2015-11-01 Thread Brandon Mercer
Tested here on amd64 as well. Looks good to me. On Sun, Nov 1, 2015 at 4:52 PM Michael McConville wrote: > Sebastien Marie wrote: > > Hi, > > > > Here a patch for updating lang/rust to latest stable version: 1.4.0 > > > > Testing would be welcome. > > > > An intermittent failure on `net::addr::t

Re: [update] lang/rust 1.4.0

2015-11-01 Thread Michael McConville
Sebastien Marie wrote: > Hi, > > Here a patch for updating lang/rust to latest stable version: 1.4.0 > > Testing would be welcome. > > An intermittent failure on `net::addr::tests::to_socket_addr_str_bad' > test is possible. It isn't a regress (this problem seems to be present > long time ago),