Bug 2295139 (rustscan) - Review Request: rustscan - Modern port scanner
Summary: Review Request: rustscan - Modern port scanner
Keywords:
Status: NEW
Alias: rustscan
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody's working on this, feel free to take it
QA Contact: Fedora Extras Quality Assurance
URL: https://github.com/rustscan/rustscan
Whiteboard:
Depends On: rust-cidr-utils rust-text_placeholder
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-07-02 07:31 UTC by Paul Pfeister
Modified: 2024-08-12 04:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)
The .spec file difference from Copr build 7697831 to 7699385 (717 bytes, patch)
2024-07-02 20:28 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 7732385 to 7732647 (687 bytes, patch)
2024-07-15 06:14 UTC, Fedora Review Service
no flags Details | Diff

Description Paul Pfeister 2024-07-02 07:31:26 UTC
Spec URL: https://github.com/ppfeister/rustscan-fedora.git
SRPM URL: https://download.copr.fedorainfracloud.org/results/ppfeister/RustScan/fedora-rawhide-x86_64/07697724-rustscan/rustscan-2.2.3-1.fc41.src.rpm

Description: RustScan is a modern take on the port scanner. Sleek & fast. All while providing extensive extendability to you.

Fedora Account System Username: ppfeister

Notes:
- Depends on several packages also up for review. Offline copr builds (ppfeister/RustScan) with those dependencies present succeed with review file generated.
- While package is able to be found on crates[.]io, that distribution channel has been long since forgotten about and is wholly unsupported and not updated. While normally preferred, that is not a viable channel.

Comment 1 Fedora Review Service 2024-07-02 07:33:39 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7697831
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2295139-rustscan/fedora-rawhide-x86_64/07697831-rustscan/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 2 Paul Pfeister 2024-07-02 20:25:39 UTC
copr rebuilt with changes (build here will still fail due to linked dependencies)

https://download.copr.fedorainfracloud.org/results/ppfeister/RustScan/fedora-rawhide-x86_64/07699320-rustscan/rustscan-2.2.3-1.fc41.src.rpm

Comment 3 Fedora Review Service 2024-07-02 20:28:10 UTC
Created attachment 2038723 [details]
The .spec file difference from Copr build 7697831 to 7699385

Comment 4 Fedora Review Service 2024-07-02 20:28:12 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7699385
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2295139-rustscan/fedora-rawhide-x86_64/07699385-rustscan/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 5 Paul Pfeister 2024-07-14 06:15:50 UTC
Blockers cleared on Rawhide

[fedora-review-service-build]

Comment 6 Fedora Review Service 2024-07-14 23:00:50 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7732385
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2295139-rustscan/fedora-rawhide-x86_64/07732385-rustscan/builder-live.log.gz

Please make sure the package builds successfully at least for Fedora Rawhide.

- If the build failed for unrelated reasons (e.g. temporary network
  unavailability), please ignore it.
- If the build failed because of missing BuildRequires, please make sure they
  are listed in the "Depends On" field


---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 8 Fedora Review Service 2024-07-15 06:14:14 UTC
Created attachment 2039582 [details]
The .spec file difference from Copr build 7732385 to 7732647

Comment 9 Fedora Review Service 2024-07-15 06:14:16 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7732647
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2295139-rustscan/fedora-rawhide-x86_64/07732647-rustscan/fedora-review/review.txt

Found issues:

- No gcc, gcc-c++ or clang found in BuildRequires
  Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/

Please know that there can be false-positives.

---
This comment was created by the fedora-review-service
https://github.com/FrostyX/fedora-review-service

If you want to trigger a new Copr build, add a comment containing new
Spec and SRPM URLs or [fedora-review-service-build] string.

Comment 10 Paul Pfeister 2024-07-20 03:36:01 UTC
Whiteboarded as pending a fix, but it actually seems to be correct and ready for review.

-----

Review issues:

> - If your application is a C or C++ application you must list a
> BuildRequires against gcc, gcc-c++ or clang.
Not a C or C++ application so not applicable.

> Regarding %check:
Upstream only has tests to help with speed testing, and those require connectivity. No tests applicable to building and no tests usable offline.

> rustscan.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/rustscan
Looking for feedback on this issue and if it's a blocker.

> rustscan.x86_64: W: incoherent-version-in-changelog 2.2.3-1 ['2.3.0-1.fc41', '2.3.0-1']
Fixed in linked spec file.

-----

Additional note:

crates[.]io crate has only recently come back into use. There are issues with that crate, however, so we're still using src for now. This package will most likely switch to crates[.]io in the future once it (and if) it becomes a stable source for the project.

Comment 11 Fabio Valentini 2024-07-29 15:13:08 UTC
Two quick comments:

> > rustscan.x86_64: E: missing-call-to-setgroups-before-setuid /usr/bin/rustscan
> Looking for feedback on this issue and if it's a blocker.

This usually points towards a bug / issue in the program.

> crates[.]io crate has only recently come back into use. There are issues with that crate, however, so we're still using src for now. This package will most likely switch to crates[.]io in the future once it (and if) it becomes a stable source for the project.

If you package this as "rustscan", then you don't need to switch to the crate published on crates.io at all.


Note You need to log in before you can comment on or make changes to this bug.