Hi!
by Michael Cullen
Hey!
I've been interested in Rust for a while. Let me know if there's
anything I can help with!
Thanks,
Michael
6 years, 3 months
[ANNOUNCEMENT] ripgrep is packaged!
by Igor Gnatenko
... along with other 61 source packages.
$ sudo dnf copr enable @rpm-software-management/with-rich-dependency
$ sudo dnf update
$ sudo curl https://fedorapeople.org/groups/rust/repos/rust-sig.repo -o
/etc/yum.repos.d/rust-sig.repo
$ sudo dnf install ripgrep
I've got 27 patches, which is almost number half of packages.
* All patches to RPM/libsolv/libdnf/dnf-plugins-core are going to be in
upstream at some point (check description of COPR repo)
* All patches to crates either going to be in upstream (already sent
PRs) or it's our specific patches (like to remove nightly and windows
dependencies).
P.S. you can find all specs/patches on pagure[0].
[0] https://pagure.io/fedora-rust/playground
--
-Igor Gnatenko
6 years, 3 months
Summary/Minutes from today's Rust SIG Meeting (2017-02-22 21:00 - 22:02 UTC)
by Igor Gnatenko
========================================
#fedora-meeting-1: Rust SIG (2017-02-22)
========================================
Meeting started by ignatenkobrain at 21:00:05 UTC. The full logs are
available at
https://meetbot.fedoraproject.org/fedora-meeting-1/2017-02-22/rust-sig.
2017-02-22-21.00.log.html
.
Meeting summary
---------------
* Agenda (ignatenkobrain, 21:00:15)
* LINK:
https://docs.pagure.org/fedora-rust.sig/meetings/2017-02-22.html
(ignatenkobrain, 21:00:20)
* (1) Roll Call (ignatenkobrain, 21:00:25)
* (2) Current status of packaging (ignatenkobrain, 21:00:28)
* (3) Open Floor (ignatenkobrain, 21:00:31)
* Roll Call (ignatenkobrain, 21:00:36)
* Current status of packaging (ignatenkobrain, 21:03:01)
* 30+ crates in COPR repo, but there’s blocker – DNF doesn’t support
rich builddeps (ignatenkobrain, 21:03:06)
* LINK: https://pagure.io/fedora-rust/rust2rpm/pull-request/23
(ignatenkobrain, 21:03:10)
* LINK: http://doc.crates.io/specifying-dependencies.html (jistone,
21:20:01)
* We have 3 ways of "solving" issue: 1) Some dirty
workaround/solution
in DNF 2) Patch crates for latest versions 3) Patch (Build)Requires
to have compat-rust-fooXY-devel dep and remove Provides: crate()
from such packages (ignatenkobrain, 21:22:16)
* ACTION: ignatenkobrain to get back with more info on
workaround/solution in DNF (ignatenkobrain, 21:22:49)
* Open Floor (ignatenkobrain, 21:34:46)
* Many crates now contain license text in crates.io archive
(ignatenkobrain, 21:35:11)
* LINK:
https://pagure.io/fedora-rust/rust2rpm/c/d4334a2ee7e30f8a50f425393a
f188320a94c1d3?branch=master
(ignatenkobrain, 21:38:37)
* AGREED: remove all useless files (like appveyor.yml or CI scripts)
in %prep (ignatenkobrain, 21:50:18)
Meeting ended at 22:02:17 UTC.
Action Items
------------
* ignatenkobrain to get back with more info on workaround/solution in
DNF
Action Items, by person
-----------------------
* ignatenkobrain
* ignatenkobrain to get back with more info on workaround/solution in
DNF
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* ignatenkobrain (141)
* jistone (46)
* Pharaoh_Atem (43)
* ljones (15)
* zodbot (10)
* f2u (6)
* Akien (1)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
--
-Igor Gnatenko
6 years, 3 months
[REMINDER] Rust SIG Meeting (2017-02-22)
by Igor Gnatenko
Rust SIG Meeting on Wednesday 2017-02-22 21:00 UTC in
#fedora-meeting-1 on irc.freenode.net.
Preliminary schedule can be found on pagure:
https://pagure.io/fedora-rust/sig/pull-request/4
Local time information (via. rktime):
2017-02-22 13:00 Wed US/Pacific PST
2017-02-22 16:00 Wed US/Eastern EST
2017-02-22 21:00 Wed UTC
2017-02-22 21:00 Wed Europe/London GMT
2017-02-22 22:00 Wed Europe/Paris CET
2017-02-22 22:00 Wed Europe/Berlin CET
------------------new day----------------------
2017-02-23 02:30 Thu Asia/Calcutta IST
2017-02-23 05:00 Thu Asia/Singapore SGT
2017-02-23 05:00 Thu Asia/Hong_Kong HKT
2017-02-23 06:00 Thu Asia/Tokyo JST
2017-02-23 07:00 Thu Australia/Brisbane AEST
--
-Igor Gnatenko
6 years, 3 months
Summary/Minutes from today's Rust SIG Meeting (2017-02-15 21:00 - 22:00 UTC)
by Igor Gnatenko
========================================
#fedora-meeting-1: Rust SIG (2017-02-15)
========================================
Meeting started by ignatenkobrain at 21:00:14 UTC. The full logs are
available at
https://meetbot.fedoraproject.org/fedora-meeting-1/2017-02-15/rust-sig.
2017-02-15-21.00.log.html
.
Meeting summary
---------------
* Agenda (ignatenkobrain, 21:00:26)
* LINK:
https://docs.pagure.org/fedora-rust.sig/meetings/2017-02-15.html
(ignatenkobrain, 21:00:30)
* (1) Roll Call (ignatenkobrain, 21:00:32)
* (2) Per-target dependencies (ignatenkobrain, 21:00:35)
* (3) Initial patching of crate (ignatenkobrain, 21:00:38)
* (4) Open Floor (ignatenkobrain, 21:00:41)
* Roll Call (ignatenkobrain, 21:00:43)
* Per-target dependencies (ignatenkobrain, 21:02:14)
* LINK: https://pagure.io/fedora-rust/rust2rpm/issue/2
(ignatenkobrain, 21:02:22)
* AGREED: we will just drop all non-fedora target dependencies
manually from Cargo.toml (ignatenkobrain, 21:22:31)
* Initial patching of crate (ignatenkobrain, 21:22:42)
* LINK: https://pagure.io/fedora-rust/rust2rpm/issue/20
(ignatenkobrain, 21:22:46)
* LINK: http://git.savannah.nongnu.org/cgit/quilt.git/tree/
(Pharaoh_Atem, 21:51:54)
* ACTION: ignatenkobrain to experiment with approaches, compare them
and choose the best (ignatenkobrain, 21:54:06)
* Open Floor (ignatenkobrain, 21:54:48)
* test and leave karma for rust updates (ignatenkobrain, 21:56:31)
Meeting ended at 22:00:14 UTC.
Action Items
------------
* ignatenkobrain to experiment with approaches, compare them and choose
the best
Action Items, by person
-----------------------
* ignatenkobrain
* ignatenkobrain to experiment with approaches, compare them and
choose the best
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* ignatenkobrain (116)
* jistone (56)
* luke_nukem (32)
* Pharaoh_Atem (28)
* zodbot (8)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
--
-Igor Gnatenko
6 years, 3 months
[REMINDER] Rust SIG Meeting (2017-02-15)
by Igor Gnatenko
Rust SIG Meeting on Wednesday 2017-02-15 21:00 UTC in
#fedora-meeting-1 on irc.freenode.net.
Preliminary schedule can be found on pagure:
https://pagure.io/fedora-rust/sig/pull-request/3
Local time information (via. rktime):
2017-02-15 13:00 Wed US/Pacific PST
2017-02-15 16:00 Wed US/Eastern EST
2017-02-15 21:00 Wed UTC
2017-02-15 21:00 Wed Europe/London GMT
2017-02-15 22:00 Wed Europe/Paris CET
2017-02-15 22:00 Wed Europe/Berlin CET
------------------new day----------------------
2017-02-16 02:30 Thu Asia/Calcutta IST
2017-02-16 05:00 Thu Asia/Singapore SGT
2017-02-16 05:00 Thu Asia/Hong_Kong HKT
2017-02-16 06:00 Thu Asia/Tokyo JST
2017-02-16 07:00 Thu Australia/Brisbane AEST
--
-Igor Gnatenko
6 years, 3 months
Rust 1.15 and its shared libraries
by Josh Stone
Rust 1.15 was released today, yay! I'm working on the update, but
wanted to run something by you folks.
First, thanks to the Rust ABI or lack thereof, I've made efforts to
strongly discourage the use of "dylib" targets and linking, to the point
that I currently have removed *.so from rustlib/ entirely, and the
remaining libraries in %{_libdir} have their .rustc metadata stripped.
Without the metadata, you can't link to them at all, so they're only
useful to rustc itself. Finally, the rust.spec has requires/provides
filtering to exclude all Rust libraries.
However, the big new feature of 1.15 is proc_macro, aka custom derive,
aka macros 1.1. These are basically compiler plugins, and must be
compiled as a shared library for the build system (not the target). But
that also means it's linking user code to dynamic versions of Rust
libraries, so it needs the libraries to be in rustlib/$build_target/lib
with the .rustc metadata that I've been stripping.
So, I need to restore that (or rather leave it alone), yet I still would
insist that no other code should ship linked to dynamic libraries. The
ABI is not a problem for custom derive because these are transient
during a build, not something we'll package up.
Another thing to note is that the libraries that Rust installs in
%{_libdir} are identical to those under rustlib/$target/lib/.
So my tentative plan is:
- Stop stripping .rustc from the libraries.
- Also have to set _find_debuginfo_opts -g, so eu-strip will
leave the unallocated section alone. (It's very eager.)
- Package the rustlib/ libraries in the base rust.rpm.
- Remove the %{_libdir} libraries that are identical anyway, and
instead install an entry to rustlib/ in /etc/ld.so.conf.d/.
- Continue the requires/provides filtering.
- Continue shipping *.rlib in rust-std-static.
- This still works for multilib/cross-compiling too.
This will make it possible now for anyone to link dynamically, with
"rustc -Cprefer-dynamic", but we won't support this officially, and
won't heed compatibility when upgrading rust. Without the RPM provides,
nothing can be packaged in Fedora with prefer-dynamic.
Does that make sense? Any other ideas?
6 years, 3 months
easy packaging candidate: rustfilt
by Josh Stone
Here is a good candidate for packaging:
https://crates.io/crates/rustfilt
It's like c++filt, but fully understands Rust's mangling scheme, so it
should be useful to have packaged, at least for Rust developers.
It only has one crate dependency, rustc-demangle, which has no further
dependencies, so it should be easy. Two srpms, and we'll have our first
complete demonstration of crate packaging!
6 years, 3 months
Summary/Minutes from today's Rust SIG Meeting (2017-02-08 21:00 - 22:00 UTC)
by Igor Gnatenko
========================================
#fedora-meeting-1: Rust SIG (2017-02-08)
========================================
Meeting started by ignatenkobrain at 21:00:34 UTC. The full logs are
available at
https://meetbot.fedoraproject.org/fedora-meeting-1/2017-02-08/rust-sig.20...
-21.00.log.html
.
Meeting summary
---------------
* Agenda (ignatenkobrain, 21:00:49)
* (1) Roll Call (ignatenkobrain, 21:00:54)
* (2) Cargo metadata vs [workspace] paths (ignatenkobrain, 21:00:59)
* (3) Tool for checking crates (with dependencies) in upstream vs
Fedora ones (ignatenkobrain, 21:01:04)
* (4) Open Floor (ignatenkobrain, 21:01:09)
* Roll Call (ignatenkobrain, 21:01:13)
* Cargo metadata vs [workspace] paths (ignatenkobrain, 21:03:17)
* libc uses [workspace] which doesn't exist in archive on crates.io
(ignatenkobrain, 21:03:22)
* LINK: https://pagure.io/fedora-rust/rust2rpm/issue/10
(ignatenkobrain, 21:03:27)
* LINK: https://github.com/rust-lang/cargo/issues/3642
(ignatenkobrain, 21:03:32)
* ACTION: jistone to followup on cargo's handling of unpacked *.crate
packages (jistone, 21:11:05)
* AGREED: just drop [workspace] thing for now in libc crate
(ignatenkobrain, 21:12:03)
* Tool for checking crates (with dependencies) in upstream vs Fedora
ones (ignatenkobrain, 21:12:07)
* ACTION: ignatenkobrain to write some simple script to show tree of
dependencies and their packaged version in Fedora (ignatenkobrain,
21:24:05)
* Open Floor (ignatenkobrain, 21:24:59)
* Rust 1.15.1 is tagged, should be announced today, jistone is ready
to build it in Fedora (ignatenkobrain, 21:25:47)
* LINK:
https://pagure.io/fedora-rust/rust2rpm/c/c946648932a7aaa4e59154b7a3e5fda06f75
cb50?branch=master
(ignatenkobrain, 21:36:29)
* LINK: https://github.com/rust-lang/rust/tree/master/src/vendor
(jistone, 21:51:55)
Meeting ended at 22:00:24 UTC.
Action Items
------------
* jistone to followup on cargo's handling of unpacked *.crate packages
* ignatenkobrain to write some simple script to show tree of
dependencies and their packaged version in Fedora
Action Items, by person
-----------------------
* ignatenkobrain
* ignatenkobrain to write some simple script to show tree of
dependencies and their packaged version in Fedora
* jistone
* jistone to followup on cargo's handling of unpacked *.crate packages
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* ignatenkobrain (106)
* jistone (49)
* Pharaoh_Atem (31)
* zodbot (8)
* walters (7)
* msehnout (4)
* dgilmore (4)
Generated by `MeetBot`_ 0.1.4
.. _`MeetBot`: http://wiki.debian.org/MeetBot
--
-Igor Gnatenko
6 years, 3 months