Bug 2308280

Summary: Review Request: rust-blazesym-c - C bindings for blazesym
Product: [Fedora] Fedora Reporter: Michel Lind <michel>
Component: Package ReviewAssignee: Neal Gompa <ngompa13>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: ngompa13, package-review
Target Milestone: ---Flags: ngompa13: fedora-review+
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://crates.io/crates/blazesym-c
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-08-28 02:08:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michel Lind 2024-08-27 23:16:42 UTC
Spec URL: https://salimma.fedorapeople.org/specs/rust-blazesym-c.spec
SRPM URL: https://salimma.fedorapeople.org/specs/rust-blazesym-c-0.1.0~rc.0-1.fc42.src.rpm

Description:
C bindings for blazesym.

Fedora Account System Username: salimma

Comment 1 Michel Lind 2024-08-27 23:20:52 UTC
Initial scratch build (before excluding ix86): https://koji.fedoraproject.org/koji/taskinfo?taskID=122576212

New scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=122576869

Comment 2 Michel Lind 2024-08-27 23:24:06 UTC
$ cat rust2rpm.toml
[package]
cargo-toml-patch-comments = [
  "include LICENSE",
]

[requires]
build = ["cargo-c"]

[scripts]
prep.post = ["""\
# copy in license file
cp -p %{SOURCE1} .
# copy in cbindgen.toml file
cp -p %{SOURCE2} ."""]

build.post = ["""\
%cargo_cbuild"""]

install.post = ["""\
%cargo_cinstall"""]

[tests]
skip = [
  # test data not included
  "inspect::tests::lookup_dwarf",
  "normalize::tests::normalize_build_id_reading",
  "symbolize::tests::symbolize_configurable_debug_dirs",
  "symbolize::tests::symbolize_no_debug_dirs",
  "symbolize::tests::symbolize_elf_file_offset",
  "symbolize::tests::symbolize_dwarf_demangle",
  # 0x0 != 0x0
  "normalize::tests::normalize_user_addrs_sorted",
  "normalize::tests::normalize_user_addrs",
  # !result.is_null()
  "symbolize::tests::symbolize_elf_dwarf_gsym",
  # BLAZE_ERR_PERMISSION_DENIED / BLAZE_ERR_INVALID_INPUT
  "normalize::tests::normalize_user_addrs_unsorted_failure",
]
skip-exact = true
comments = [
  "test data not included",
  "permission issues running tests in mock without root",
]

Comment 3 Michel Lind 2024-08-27 23:24:30 UTC
Tiny fixup, last koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=122576987

Comment 4 Fedora Review Service 2024-08-27 23:25:38 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/7948680
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2308280-rust-blazesym-c/fedora-rawhide-x86_64/07948680-rust-blazesym-c/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 5 Neal Gompa 2024-08-27 23:38:51 UTC
Review notes:

* Package was generated by rust2rpm, simplifying the review
* Package licensing is correct and license files are correctly handled
* Package builds and installs
* Package has no serious issues from fedora-review or rpmlint

Some notes to fix on import:

> %global crate_version 0.1.0-rc.0

You can use %{version_no_tilde} instead to get this from the Version: tag.

> Requires:       pkgconf-pkg-config

This is unneeded as we generate a "Requires: /usr/bin/pkg-config"

Otherwise, this is good to go, so...

PACKAGE APPROVED.

Comment 6 Michel Lind 2024-08-27 23:42:15 UTC
(In reply to Neal Gompa from comment #5)
> Review notes:
> 
> * Package was generated by rust2rpm, simplifying the review
> * Package licensing is correct and license files are correctly handled
> * Package builds and installs
> * Package has no serious issues from fedora-review or rpmlint
> 
> Some notes to fix on import:
> 
> > %global crate_version 0.1.0-rc.0
> 
> You can use %{version_no_tilde} instead to get this from the Version: tag.
> 
I think rust2rpm used to do this and now does the crate_version / version separately

> > Requires:       pkgconf-pkg-config
> 
> This is unneeded as we generate a "Requires: /usr/bin/pkg-config"
> 
Good to know, thanks!

Comment 7 Fedora Admin user for bugzilla script actions 2024-08-27 23:44:56 UTC
The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-blazesym-c

Comment 8 Fedora Update System 2024-08-27 23:58:05 UTC
FEDORA-2024-e5c209e394 (rust-blazesym-c-0.1.0~rc.0-1.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-e5c209e394

Comment 9 Fedora Update System 2024-08-28 02:08:17 UTC
FEDORA-2024-e5c209e394 (rust-blazesym-c-0.1.0~rc.0-1.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-08-28 04:27:03 UTC
FEDORA-2024-4a000a2131 (rust-blazesym-c-0.1.0~rc.0-2.fc40 and rust-test-tag-0.1.3-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-4a000a2131

Comment 11 Fedora Update System 2024-08-28 04:28:25 UTC
FEDORA-2024-f7650bfe44 (rust-blazesym-c-0.1.0~rc.0-2.fc39 and rust-test-tag-0.1.3-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-f7650bfe44

Comment 12 Fedora Update System 2024-08-28 04:29:32 UTC
FEDORA-2024-1a2123945f (rust-blazesym-c-0.1.0~rc.0-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-1a2123945f

Comment 13 Fedora Update System 2024-08-29 01:58:50 UTC
FEDORA-2024-1a2123945f has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-1a2123945f \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-1a2123945f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 14 Fedora Update System 2024-08-29 02:38:22 UTC
FEDORA-2024-f7650bfe44 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-f7650bfe44 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-f7650bfe44

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 15 Fedora Update System 2024-08-29 02:41:02 UTC
FEDORA-2024-4a000a2131 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf install --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-4a000a2131 \*`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-4a000a2131

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 16 Fedora Update System 2024-09-06 03:52:22 UTC
FEDORA-2024-f7650bfe44 (rust-blazesym-c-0.1.0~rc.0-2.fc39 and rust-test-tag-0.1.3-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 17 Fedora Update System 2024-09-06 04:02:29 UTC
FEDORA-2024-4a000a2131 (rust-blazesym-c-0.1.0~rc.0-2.fc40 and rust-test-tag-0.1.3-1.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 18 Fedora Update System 2024-09-13 20:44:44 UTC
FEDORA-2024-1a2123945f (rust-blazesym-c-0.1.0~rc.0-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.