https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Bug ID: 2272354 Summary: Review Request: rust-yasna - Generic session middleware for the warp HTTP framework Product: Fedora Version: rawhide OS: Linux Status: NEW Component: Package Review Severity: medium Assignee: nobody@fedoraproject.org Reporter: pbrobinson@gmail.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
SPEC: https://pbrobinson.fedorapeople.org/rust-yasna.spec SRPM: https://pbrobinson.fedorapeople.org/rust-yasna-0.5.2-1.fc39.src.rpm
Description: Generic session middleware for the warp HTTP framework
FAS: pbrobinson
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=115678137
Reproducible: Always
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Peter Robinson pbrobinson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Doc Type|--- |If docs needed, set a value Blocks| |2272352
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2272352 [Bug 2272352] parsec-tool-0.7.0 is available
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Peter Robinson pbrobinson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2272355
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2272355 [Bug 2272355] Review Request: rust-rcgen - Rust X.509 certificate generator
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Peter Robinson pbrobinson@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Comment|0 |updated
--- Comment #0 has been edited ---
SPEC: https://pbrobinson.fedorapeople.org/rust-yasna.spec SRPM: https://pbrobinson.fedorapeople.org/rust-yasna-0.5.2-1.fc39.src.rpm
Description: Generic session middleware for the warp HTTP framework
FAS: pbrobinson
koji: https://koji.fedoraproject.org/koji/taskinfo?taskID=115678137
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |decathorpe@gmail.com Flags| |fedora-review? Status|NEW |ASSIGNED Assignee|nobody@fedoraproject.org |decathorpe@gmail.com
--- Comment #1 from Fabio Valentini decathorpe@gmail.com --- 1. unaddressed FIXME:
# FIXME: no license files detected
This needs to be addressed in one way or another, I see you already filed an issue - thanks! https://github.com/qnighy/yasna.rs/issues/76
Ideally, upstream should be asked to include "LICENSE-*" files here: https://github.com/qnighy/yasna.rs/blob/master/Cargo.toml#L14-L17
And publish new versions. Can you submit a PR for this?
Until that is fixed upstream, you will need to include the license files from https://github.com/qnighy/yasna.rs manually as separate source files.
2. Why do tests fail on 32-bit x86? Is this a real problem in the code or problems with the tests?
It looks like the Debian packagers also found this problem and submitted a PR to fix something: https://github.com/qnighy/yasna.rs/pull/73
Not sure if this addresses *all* failures on i686, but it would be great if that commit could be included as a patch and the tests enabled unconditionally.
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #2 from Peter Robinson pbrobinson@gmail.com --- (In reply to Fabio Valentini from comment #1)
- unaddressed FIXME:
# FIXME: no license files detected
This needs to be addressed in one way or another, I see you already filed an issue - thanks! https://github.com/qnighy/yasna.rs/issues/76
Ideally, upstream should be asked to include "LICENSE-*" files here: https://github.com/qnighy/yasna.rs/blob/master/Cargo.toml#L14-L17
And publish new versions. Can you submit a PR for this?
It's on my backlog but I don't see upstream fix should block it, yes I'll update locally to add the LICENSE file.
Until that is fixed upstream, you will need to include the license files from https://github.com/qnighy/yasna.rs manually as separate source files.
- Why do tests fail on 32-bit x86? Is this a real problem in the code or
problems with the tests?
TBH I don't have time to look into it and I don't personally care about 32 bit
Not sure if this addresses *all* failures on i686, but it would be great if that commit could be included as a patch and the tests enabled unconditionally.
I would generally just err on disabling 32 bit in general, can you explain why it matters?
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #3 from Peter Robinson pbrobinson@gmail.com --- Updated with LICENSE-APACHE and LICENSE-MIT from upstream git:
SPEC: https://pbrobinson.fedorapeople.org/rust-yasna.spec SRPM: https://pbrobinson.fedorapeople.org/rust-yasna-0.5.2-1.fc39.src.rpm
https://koji.fedoraproject.org/koji/taskinfo?taskID=116002393
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #4 from Fabio Valentini decathorpe@gmail.com --- Sorry for the delay.
I just checked, and the patch that was proposed by debian packagers indeed fixes the test failures. Can you include it make tests run unconditionally?
Ideally, the license files would also come from upstream URLs instead of being plain files, to indicate that they are, indeed, from upstream.
Something like this should do it:
""" Source1: https://github.com/qnighy/yasna.rs/raw/yasna-0.5.0/LICENSE-APACHE Source2: https://github.com/qnighy/yasna.rs/raw/yasna-0.5.0/LICENSE-MIT
# backport upstream patch to fix test failures on 32-bit architectures Patch: https://github.com/qnighy/yasna.rs/commit/bf5afbe.patch """
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #5 from Fabio Valentini decathorpe@gmail.com --- Are you still interested in getting this crate packaged?
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #6 from Peter Robinson pbrobinson@gmail.com --- (In reply to Fabio Valentini from comment #5)
Are you still interested in getting this crate packaged?
Yes, need it for the newer parsec-tool
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Davide Cavalca davide@cavalca.name changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |davide@cavalca.name
--- Comment #7 from Davide Cavalca davide@cavalca.name --- I also need this packaged. fwiw, it builds fine on i686 for me when using the following rust2rpm.toml
[package] extra-sources = [ { number = 2, file = "https://github.com/qnighy/yasna.rs/raw/yasna-0.5.0/LICENSE-APACHE", comments = ["https://github.com/qnighy/yasna.rs/issues/76%22%5D%7D, { number = 3, file = "https://github.com/qnighy/yasna.rs/raw/yasna-0.5.0/LICENSE-MIT", comments = ["https://github.com/qnighy/yasna.rs/issues/76%22%5D%7D, ] extra-patches = [ { number = 2, file = "https://github.com/qnighy/yasna.rs/pull/73.patch", comments = ["Fix test failure on i686"]}, ]
[scripts] prep.pre = ["cp -p %SOURCE2 %SOURCE3 ."]
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Davide Cavalca davide@cavalca.name changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |2296139
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2296139 [Bug 2296139] Review Request: rust-p12 - Pure rust pkcs12 tool
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #8 from Fabio Valentini decathorpe@gmail.com --- Turns out I will need rcgen -> yasna too for the rustls / quinn stack soon. Peter, if you don't have the cycles to continue this package review, would it be OK if Davide or me submitted a new ticket to supersede yours?
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
Fabio Valentini decathorpe@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|ASSIGNED |CLOSED Last Closed| |2024-09-12 20:55:25
--- Comment #9 from Fabio Valentini decathorpe@gmail.com ---
*** This bug has been marked as a duplicate of bug 2312030 ***
https://bugzilla.redhat.com/show_bug.cgi?id=2272354
--- Comment #10 from Peter Robinson pbrobinson@gmail.com --- (In reply to Fabio Valentini from comment #8)
Turns out I will need rcgen -> yasna too for the rustls / quinn stack soon. Peter, if you don't have the cycles to continue this package review, would it be OK if Davide or me submitted a new ticket to supersede yours?
Yup, sorry, I completely missed that update.
package-review@lists.fedoraproject.org