Fedora Account System
Red Hat Associate
Red Hat Customer
Hi, I have packaged zsv and its devel subpackage. I am an upstream contributor working on its RPM packaging. Now, I am submitting it for the review. NOTE: This is my first package and I am seeking a sponsor. Here are all the relevant details: - Fedora Account System Username: iamazeem - Spec URL: https://raw.githubusercontent.com/liquidaty/zsv/4f8343c93af798051d02c8b1624e5c8d197ea3aa/pkg/rpm/rpmbuild/SPECS/zsv.spec - SRPM URL: https://github.com/liquidaty/zsv/raw/4f8343c93af798051d02c8b1624e5c8d197ea3aa/pkg/rpm/rpmbuild/SRPMS/zsv-1.4.4-1.fc44.src.rpm - Upstream repo: https://github.com/liquidaty/zsv - Description: zsv+lib is a fast CSV parser library and extensible command-line utility. It achieves high performance using SIMD operations, efficient memory use and other optimization techniques, and can also parse generic-delimited and fixed-width formats, as well as multi-row-span headers. - Builds - Copr (repo: https://copr.fedorainfracloud.org/coprs/iamazeem/zsv/) - https://copr.fedorainfracloud.org/coprs/iamazeem/zsv/build/11421770 - Koji - rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=152922412 - f44: https://koji.fedoraproject.org/koji/taskinfo?taskID=152922768 - epel10: https://koji.fedoraproject.org/koji/taskinfo?taskID=152922781 Here are the notes on the specific choices made for packaging: - The `configure` script is a custom one and does not support all the options of `%configure` macro. - `--exec-prefix` had to be used to route the final built files to a known directory. - Without `--exec-prefix`, the build directory is different for each target and compiler. - `make build` builds the lib only but it installs it too. - `make install` builds both exe and lib. It installs both as well to `--exec-prefix`. - `make install` does not support DESTDIR or PREFIX where `--exec-prefix` helps to install in a known directory. - Under `%install`, the manual steps had to be performed to install all the files to the correct buildroot directory structure. - `ppc64le` arch has been excluded as it is not currently supported.
Created attachment 2114042 [details] RPM spec file
Created attachment 2114044 [details] SRPM
Can you please post direct links to spec file and srpm?
(In reply to Terje Rosten from comment #3) > Can you please post direct links to spec file and srpm? Please find the direct links below: - spec: https://raw.githubusercontent.com/liquidaty/zsv/ffe51eeddc22f8143cab4c23914b97d63c8f40cc/pkg/rpm/rpmbuild/SPECS/zsv.spec - srpm: https://github.com/liquidaty/zsv/raw/ffe51eeddc22f8143cab4c23914b97d63c8f40cc/pkg/rpm/rpmbuild/SRPMS/zsv-1.1.0-1.fc44.src.rpm Added in the description as well. Thanks!
Fedora packages need to be built from source. Guildelines for C: https://docs.fedoraproject.org/en-US/packaging-guidelines/C_and_C++/ If you are not a packager, you may also want to examine: https://docs.fedoraproject.org/en-US/package-maintainers/Joining_the_Package_Maintainers/
The ticket summary is not in the correct format. Expected: Review Request: <main package name here> - <short summary here> Found: zsv+lib: tabular data swiss-army knife CLI + world's fastest (simd) CSV parser As a consequence, the package name cannot be parsed and submitted to be automatically build. Please modify the ticket summary and trigger a build by typing [fedora-review-service-build]. --- 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.
[fedora-review-service-build]
Copr build: https://copr.fedorainfracloud.org/coprs/build/9793200 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414339-zsv/fedora-rawhide-x86_64/09793200-zsv/fedora-review/review.txt Found issues: - Package has .a files: zsv-devel. Does not provide -static: zsv-devel. Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries 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.
Copr build: https://copr.fedorainfracloud.org/coprs/build/9793478 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414339-zsv/fedora-rawhide-x86_64/09793478-zsv/fedora-review/review.txt Found issues: - Package has .a files: zsv-devel. Does not provide -static: zsv-devel. Read more: https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries 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.
- Spec URL: https://raw.githubusercontent.com/liquidaty/zsv/8f082fc96f3803a1f0d8f05a8fd98575d0a36636/pkg/rpm/rpmbuild/SPECS/zsv.spec - SRPM URL: https://github.com/liquidaty/zsv/raw/8f082fc96f3803a1f0d8f05a8fd98575d0a36636/pkg/rpm/rpmbuild/SRPMS/zsv-1.1.0-1.fc44.src.rpm
Created attachment 2114240 [details] The .spec file difference from Copr build 9793478 to 9793481
Copr build: https://copr.fedorainfracloud.org/coprs/build/9793481 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414339-zsv/fedora-rawhide-x86_64/09793481-zsv/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.
We try to avoid packaging static libraries as much as possible, https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static-libraries. From https://github.com/liquidaty/zsv/blob/d3c63d15abf7e4d881eff088c480e3fe6482a45e/configure#L42, it looks like you should be able to build a shared library by passing --enable-shared to the configure script. I haven’t checked if the resulting shared library would be properly versioned; if not, see https://docs.fedoraproject.org/en-US/packaging-guidelines/#_downstream_so_name_versioning.
(In reply to Ben Beasley from comment #14) > We try to avoid packaging static libraries as much as possible, > https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static- > libraries. > > From > https://github.com/liquidaty/zsv/blob/ > d3c63d15abf7e4d881eff088c480e3fe6482a45e/configure#L42, it looks like you > should be able to build a shared library by passing --enable-shared to the > configure script. I haven’t checked if the resulting shared library would be > properly versioned; if not, see > https://docs.fedoraproject.org/en-US/packaging-guidelines/ > #_downstream_so_name_versioning. I'm working with the upstream to generate the versioned dynamic library instead. I'll update and resubmit the new spec and SRPM once that becomes available.
This is an automatic check from review-stats script. This review request ticket hasn't been updated for some time. We're sorry it is taking so long. If you're still interested in packaging this software into Fedora repositories, please respond to this comment clearing the NEEDINFO flag. You may want to update the specfile and the src.rpm to the latest version available and to propose a review swap on Fedora devel mailing list to increase chances to have your package reviewed. If this is your first package and you need a sponsor, you may want to post some informal reviews. Read more at https://fedoraproject.org/wiki/How_to_get_sponsored_into_the_packager_group. Without any reply, this request will shortly be considered abandoned and will be closed. Thank you for your patience.
Copr build: https://copr.fedorainfracloud.org/coprs/build/11421953 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414339-zsv/fedora-rawhide-x86_64/11421953-zsv/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.
- Spec URL: https://raw.githubusercontent.com/liquidaty/zsv/4f8343c93af798051d02c8b1624e5c8d197ea3aa/pkg/rpm/rpmbuild/SPECS/zsv.spec - SRPM URL: https://github.com/liquidaty/zsv/raw/4f8343c93af798051d02c8b1624e5c8d197ea3aa/pkg/rpm/rpmbuild/SRPMS/zsv-1.4.4-1.fc44.src.rpm
Created attachment 2164678 [details] The .spec file difference from Copr build 11421953 to 11422155
Copr build: https://copr.fedorainfracloud.org/coprs/build/11422155 (succeeded) Review template: https://download.copr.fedorainfracloud.org/results/@fedora-review/fedora-review-2414339-zsv/fedora-rawhide-x86_64/11422155-zsv/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.
(In reply to Ben Beasley from comment #14) > We try to avoid packaging static libraries as much as possible, > https://docs.fedoraproject.org/en-US/packaging-guidelines/#packaging-static- > libraries. > > From > https://github.com/liquidaty/zsv/blob/ > d3c63d15abf7e4d881eff088c480e3fe6482a45e/configure#L42, it looks like you > should be able to build a shared library by passing --enable-shared to the > configure script. I haven’t checked if the resulting shared library would be > properly versioned; if not, see > https://docs.fedoraproject.org/en-US/packaging-guidelines/ > #_downstream_so_name_versioning. Hi Ben, Could you please take a look at the updated zsv v1.4.4 package? As requested, the shared library change has been incorporated. It took some time to get to it due to ongoing upstream bug fixes and enhancements. Thanks!