Bug 2366506 - Review Request: lief - Library to Instrument Executable Formats
Summary: Review Request: lief - Library to Instrument Executable Formats
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Benson Muite
QA Contact: Fedora Extras Quality Assurance
URL: https://lief.re
Whiteboard:
Depends On: 2367753
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-05-15 13:22 UTC by Cristian Le
Modified: 2025-07-31 08:20 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
benson_muite: fedora-review?


Attachments (Terms of Use)
The .spec file difference from Copr build 9050195 to 9069433 (2.52 KB, patch)
2025-05-21 10:41 UTC, Fedora Review Service
no flags Details | Diff
The .spec file difference from Copr build 9069433 to 9069438 (932 bytes, patch)
2025-05-21 10:47 UTC, Fedora Review Service
no flags Details | Diff

Description Cristian Le 2025-05-15 13:22:01 UTC
Spec URL: https://lecris.fedorapeople.org/reviews/lief/lief.spec
SRPM URL: https://lecris.fedorapeople.org/reviews/lief/lief-0.16.5-1.fc43.src.rpm

Description:
The purpose of this project is to provide a cross-platform library to parse,
modify and abstract ELF, PE and MachO formats.

Fedora Account System Username: lecris


Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=132773120

Comment 1 Fedora Review Service 2025-05-15 13:48:30 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9050195
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366506-lief/fedora-rawhide-x86_64/09050195-lief/fedora-review/review.txt

Please take a look if any issues were found.


---
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 Benson Muite 2025-05-19 17:50:32 UTC
The first part of the soname should not be globbed
https://docs.fedoraproject.org/en-US/packaging-guidelines/#_shared_libraries

Can tcb-span be packaged instead of bundled:
https://github.com/tcbrindle/span

Can documentation be generated?
https://github.com/lief-project/LIEF/tree/main/doc
Suggest using docbook or any other form that will not introduce javascript
and additional fonts but will still be reasonably complete.

Comment 3 Cristian Le 2025-05-21 10:39:39 UTC
Spec URL: https://lecris.fedorapeople.org/reviews/lief/lief.spec
SRPM URL: https://lecris.fedorapeople.org/reviews/lief/lief-0.16.5^20250521gitdc66460-1.fc43.src.rpm

Unbundled `span` (see dependent bug), and added a soversion macro. About documentation though, I am reluctant to generate it because it does not have `man` or other artifacts that are usable by the system, and there may be unpackaged dependencies.

Comment 4 Fedora Review Service 2025-05-21 10:41:48 UTC
Created attachment 2091015 [details]
The .spec file difference from Copr build 9050195 to 9069433

Comment 5 Fedora Review Service 2025-05-21 10:41:51 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9069433
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366506-lief/fedora-rawhide-x86_64/09069433-lief/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 6 Cristian Le 2025-05-21 10:46:08 UTC
Spec URL: https://lecris.fedorapeople.org/reviews/lief/lief.spec
SRPM URL: https://lecris.fedorapeople.org/reviews/lief/lief-0.17.0~20250521gitdc66460-1.fc43.src.rpm

Version should have been 0.17.0 to match the library version. Using a pre-release indicator for the snapshot

Comment 7 Fedora Review Service 2025-05-21 10:47:51 UTC
Created attachment 2091016 [details]
The .spec file difference from Copr build 9069433 to 9069438

Comment 8 Fedora Review Service 2025-05-21 10:47:53 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9069438
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366506-lief/fedora-rawhide-x86_64/09069438-lief/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 9 Benson Muite 2025-05-27 12:14:32 UTC
[fedora-review-service-build]

Comment 10 Fedora Review Service 2025-05-27 12:16:59 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9092229
(failed)

Build log:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366506-lief/fedora-rawhide-x86_64/09092229-lief/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 11 Cristian Le 2025-05-30 08:48:27 UTC
[fedora-review-service-build]

Comment 12 Fedora Review Service 2025-05-30 09:05:52 UTC
Copr build:
https://copr.fedorainfracloud.org/coprs/build/9103867
(succeeded)

Review template:
https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2366506-lief/fedora-rawhide-x86_64/09103867-lief/fedora-review/review.txt

Please take a look if any issues were found.


---
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.


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