https://bugzilla.redhat.com/show_bug.cgi?id=1821902
Bug ID: 1821902 Summary: Review Request: golang-github-dgryski-farm - Farmhash implementation Product: Fedora Version: rawhide Hardware: All OS: Linux Status: NEW Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: mail@fabian-affolter.ch QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org Target Milestone: --- Classification: Fedora
Spec URL: https://fab.fedorapeople.org/packages/SRPMS/golang-github-dgryski-farm.spec SRPM URL: https://fab.fedorapeople.org/packages/SRPMS/golang-github-dgryski-farm-0-0.1...
Project URL: https://github.com/dgryski/go-farm
Description: A pure-Go farmhash implementation.
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=43100036
rpmlint output: $ rpmlint golang-github-dgryski-farm-0-0.1.20200407gita6ae236.fc31.src.rpm golang-github-dgryski-farm.src: W: spelling-error Summary(en_US) Farmhash -> Farm hash, Farm-hash, Farmhand golang-github-dgryski-farm.src: W: spelling-error %description -l en_US farmhash -> farm hash, farm-hash, farmhand 1 packages and 0 specfiles checked; 0 errors, 2 warnings.
$ rpmlint golang-github-dgryski-farm-devel-0-0.1.20200407gita6ae236.fc31.noarch.rpm golang-github-dgryski-farm-devel.noarch: W: spelling-error Summary(en_US) Farmhash -> Farm hash, Farm-hash, Farmhand golang-github-dgryski-farm-devel.noarch: W: spelling-error %description -l en_US farmhash -> farm hash, farm-hash, farmhand golang-github-dgryski-farm-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/dgryski/go-farm/.goipath 1 packages and 0 specfiles checked; 0 errors, 3 warnings.
Fedora Account System Username: fab
https://bugzilla.redhat.com/show_bug.cgi?id=1821902
Fabian Affolter mail@fabian-affolter.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1821908
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1821908 [Bug 1821908] Review Request: golang-github-dgraph-io-ristretto - High performance memory-bound Go cache
https://bugzilla.redhat.com/show_bug.cgi?id=1821902
Fabian Affolter mail@fabian-affolter.ch changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |1821910
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1821910 [Bug 1821910] Review Request: golang-github-dgraph-io-badger - Fast key-value DB
https://bugzilla.redhat.com/show_bug.cgi?id=1821902
Hirotaka Wakabayashi hiwkby@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |hiwkby@yahoo.com Assignee|nobody@fedoraproject.org |hiwkby@yahoo.com Doc Type|--- |If docs needed, set a value Flags| |fedora-review?
https://bugzilla.redhat.com/show_bug.cgi?id=1821902
--- Comment #1 from Hirotaka Wakabayashi hiwkby@yahoo.com --- Hello Fabian,
You can name golang-github-dgryski-farm more shortly like go-farm because the package is not a Source packages but a Go binary package. Please see: https://pagure.io/packaging-committee/blob/master/f/guidelines/modules/ROOT/... https://pagure.io/packaging-committee/blob/master/f/guidelines/modules/ROOT/...
Could you please check if the /usr/bin/go-farm has a right format? /usr/bin/go-farm seems to be an executable binary file but it doesn't work in my environment. ``` $ /usr/bin/go-farm /usr/bin/go-farm: line 1: syntax error near unexpected token `newline' /usr/bin/go-farm: line 1: `!<arch>' $ file /usr/bin/go-farm /usr/bin/go-farm: current ar archive ```
Best, Hirotaka Wakabayashi
Package Review ==============
Legend: [x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated [ ] = Manual review needed
===== MUST items =====
Generic: [x]: Package is licensed with an open-source compatible license and meets other legal requirements as defined in the legal section of Packaging Guidelines. [x]: License field in the package spec file matches the actual license. [x]: License file installed when any subpackage combination is installed. [x]: Package does not own files or directories owned by other packages. [x]: %build honors applicable compiler flags or justifies otherwise. [x]: Package contains no bundled libraries without FPC exception. [x]: Changelog in prescribed format. [x]: Sources contain only permissible code or content. [-]: Package contains desktop file if it is a GUI application. [x]: Development files must be in a -devel package [x]: Package uses nothing in %doc for runtime. [x]: Package consistently uses macros (instead of hard-coded directory names). [x]: Package is named according to the Package Naming Guidelines. [x]: Package does not generate any conflict. [x]: Package obeys FHS, except libexecdir and /usr/target. [-]: If the package is a rename of another package, proper Obsoletes and Provides are present. [x]: Requires correct, justified where necessary. [x]: Spec file is legible and written in American English. [-]: Package contains systemd file(s) if in need. [-]: Useful -debuginfo package or justification otherwise. [x]: Package is not known to require an ExcludeArch tag. [-]: Large documentation must go in a -doc subpackage. Large could be size (~1MB) or number of files. Note: Documentation size is 20480 bytes in 2 files. [x]: Package complies to the Packaging Guidelines [x]: Package successfully compiles and builds into binary rpms on at least one supported primary architecture. [x]: Package installs properly. [x]: Rpmlint is run on all rpms the build produces. Note: There are rpmlint messages (see attachment). [x]: If (and only if) the source package includes the text of the license(s) in its own file, then that file, containing the text of the license(s) for the package is included in %license. [x]: Package requires other packages for directories it uses. [x]: Package must own all directories that it creates. [x]: Package uses either %{buildroot} or $RPM_BUILD_ROOT [x]: Package does not run rm -rf %{buildroot} (or $RPM_BUILD_ROOT) at the beginning of %install. [x]: Macros in Summary, %description expandable at SRPM build time. [x]: Dist tag is present. [x]: Package does not contain duplicates in %files. [x]: Permissions on files are set properly. [x]: Package must not depend on deprecated() packages. [x]: Package use %makeinstall only when make install DESTDIR=... doesn't work. [x]: Package is named using only allowed ASCII characters. [x]: Package does not use a name that already exists. [x]: Package is not relocatable. [x]: Sources used to build the package match the upstream source, as provided in the spec URL. [x]: Spec file name must match the spec package %{name}, in the format %{name}.spec. [x]: File names are valid UTF-8. [x]: Packages must not store files under /srv, /opt or /usr/local
===== SHOULD items =====
Generic: [-]: If the source package does not include license text(s) as a separate file from upstream, the packager SHOULD query upstream to include it. [x]: Final provides and requires are sane (see attachments). [-]: Fully versioned dependency in subpackages if applicable. Note: No Requires: %{name}%{?_isa} = %{version}-%{release} in golang- github-dgryski-farm-devel [?]: Package functions as described. [x]: Latest version is packaged. [x]: Package does not include license text files separate from upstream. [-]: Sources are verified with gpgverify first in %prep if upstream publishes signatures. Note: gpgverify is not used. [-]: Description and summary sections in the package spec file contains translations for supported Non-English languages, if available. [x]: %check is present and all tests pass. [x]: Packages should try to preserve timestamps of original installed files. [x]: Reviewer should test that the package builds in mock. [x]: Buildroot is not present [x]: Package has no %clean section with rm -rf %{buildroot} (or $RPM_BUILD_ROOT) [x]: No file requires outside of /etc, /bin, /sbin, /usr/bin, /usr/sbin. [x]: Packager, Vendor, PreReq, Copyright tags should not be in spec file [x]: Sources can be downloaded from URI in Source: tag [x]: SourceX is a working URL. [x]: Package should compile and build into binary rpms on all supported architectures. [x]: Spec use %global instead of %define unless justified.
===== EXTRA items =====
Generic: [x]: Rpmlint is run on all installed packages. Note: There are rpmlint messages (see attachment). [x]: Large data in /usr/share should live in a noarch subpackage if package is arched. [x]: Spec file according to URL is the same as in SRPM.
Rpmlint ------- Checking: golang-github-dgryski-farm-0-0.1.20200407gita6ae236.fc33.x86_64.rpm
golang-github-dgryski-farm-devel-0-0.1.20200407gita6ae236.fc33.noarch.rpm golang-github-dgryski-farm-0-0.1.20200407gita6ae236.fc33.src.rpm golang-github-dgryski-farm.x86_64: W: spelling-error Summary(en_US) Farmhash -> Farm hash, Farm-hash, Farmhand golang-github-dgryski-farm.x86_64: W: spelling-error %description -l en_US farmhash -> farm hash, farm-hash, farmhand golang-github-dgryski-farm.x86_64: W: no-manual-page-for-binary go-farm golang-github-dgryski-farm-devel.noarch: W: spelling-error Summary(en_US) Farmhash -> Farm hash, Farm-hash, Farmhand golang-github-dgryski-farm-devel.noarch: W: spelling-error %description -l en_US farmhash -> farm hash, farm-hash, farmhand golang-github-dgryski-farm-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/dgryski/go-farm/.goipath golang-github-dgryski-farm.src: W: spelling-error Summary(en_US) Farmhash -> Farm hash, Farm-hash, Farmhand golang-github-dgryski-farm.src: W: spelling-error %description -l en_US farmhash -> farm hash, farm-hash, farmhand 3 packages and 0 specfiles checked; 0 errors, 8 warnings.
Rpmlint (installed packages) ---------------------------- Cannot parse rpmlint output:
Source checksums ---------------- https://github.com/dgryski/go-farm/archive/a6ae2369ad13dc757768086f0cb902728... : CHECKSUM(SHA256) this package : f00849e439599ae1537773e2cd3fa11d6753dcd5af598110f74f8e0f8859be46 CHECKSUM(SHA256) upstream package : f00849e439599ae1537773e2cd3fa11d6753dcd5af598110f74f8e0f8859be46
Requires -------- golang-github-dgryski-farm (rpmlib, GLIBC filtered):
golang-github-dgryski-farm-devel (rpmlib, GLIBC filtered): go-filesystem
Provides -------- golang-github-dgryski-farm: golang-github-dgryski-farm golang-github-dgryski-farm(x86-64)
golang-github-dgryski-farm-devel: golang(github.com/dgryski/go-farm)
golang(github.com/dgryski/go-farm)(commit=a6ae2369ad13dc757768086f0cb902728c7e03e5) golang-github-dgryski-farm-devel golang-ipath(github.com/dgryski/go-farm)
golang-ipath(github.com/dgryski/go-farm)(commit=a6ae2369ad13dc757768086f0cb902728c7e03e5)
Generated by fedora-review 0.7.5 (68531f4) last change: 2020-05-31 Command line :try-fedora-review -b 1821902 Buildroot used: fedora-rawhide-x86_64 Active plugins: Shell-api, Generic Disabled plugins: Java, Haskell, Python, Ocaml, C/C++, Perl, fonts, Ruby, SugarActivity, PHP, R Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH
Product: Fedora Version: rawhide Component: Package Review
Hirotaka Wakabayashi hiwkby@yahoo.com has canceled Package Review package-review@lists.fedoraproject.org's request for Hirotaka Wakabayashi hiwkby@yahoo.com's needinfo: Bug 1821902: Review Request: golang-github-dgryski-farm - Farmhash implementation https://bugzilla.redhat.com/show_bug.cgi?id=1821902
--- Comment #3 from Hirotaka Wakabayashi hiwkby@yahoo.com --- Sorry for my late response because of my early summer vacation. I will check this again this week.
Thanks in advance, Hirotaka Wakabayashi
https://bugzilla.redhat.com/show_bug.cgi?id=1821902
Hirotaka Wakabayashi hiwkby@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(hiwkby@yahoo.com) |
--- Comment #3 from Hirotaka Wakabayashi hiwkby@yahoo.com --- Sorry for my late response because of my early summer vacation. I will check this again this week.
Thanks in advance, Hirotaka Wakabayashi
https://bugzilla.redhat.com/show_bug.cgi?id=1821902
Hirotaka Wakabayashi hiwkby@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|hiwkby@yahoo.com |mail@fabian-affolter.ch
--- Comment #4 from Hirotaka Wakabayashi hiwkby@yahoo.com --- Hello Fabian, the noarch package looks good, but please check the rpmlint error on the arch package.
Here is the result of rpmlint:
1. rpmlint of the x86_64.rpm ``` [build@3bbc8cb38dbc SPECS]$ rpmlint /home/build/dev/packages/RPMS/x86_64/golang-github-dgryski-farm-0-0.1.20200407gita6ae236.fc35.x86_64.rpm (none): E: fatal error while reading /home/build/dev/packages/RPMS/x86_64/golang-github-dgryski-farm-0-0.1.20200407gita6ae236.fc35.x86_64.rpm: 'BinariesCheck' object has no attribute 'readelf_parser' ```
2. rpmlint of the noarch.rpm ``` [build@3bbc8cb38dbc SPECS]$ rpmlint /home/build/dev/packages/RPMS/noarch/golang-github-dgryski-farm-devel-0-0.1.20200407gita6ae236.fc35.noarch.rpm (none): W: unable to init enchant, spellchecking disabled. (none): W: unable to init enchant, spellchecking disabled. ============================================================================================== rpmlint session starts ============================================================================================== rpmlint: 2.0.0 configuration: /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/licenses.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 1
golang-github-dgryski-farm-devel.noarch: W: hidden-file-or-dir /usr/share/gocode/src/github.com/dgryski/go-farm/.goipath golang-github-dgryski-farm-devel.noarch: W: files-duplicate /usr/share/gocode/src/github.com/dgryski/go-farm/README.md /usr/share/doc/golang-github-dgryski-farm-devel/README.md =============================================================== 1 packages and 0 specfiles checked; 0 errors, 2 warnings, 0 badness; has taken 0.0 s =============================================================== ```
3. rpmlint of the src.rpm ``` [build@3bbc8cb38dbc SPECS]$ rpmlint /home/build/dev/packages/SRPMS/golang-github-dgryski-farm-0-0.1.20200407gita6ae236.fc35.src.rpm (none): W: unable to init enchant, spellchecking disabled. (none): W: unable to init enchant, spellchecking disabled. ============================================================================================== rpmlint session starts ============================================================================================== rpmlint: 2.0.0 configuration: /usr/lib/python3.10/site-packages/rpmlint/configdefaults.toml /etc/xdg/rpmlint/fedora.toml /etc/xdg/rpmlint/licenses.toml /etc/xdg/rpmlint/scoring.toml /etc/xdg/rpmlint/users-groups.toml /etc/xdg/rpmlint/warn-on-functions.toml checks: 31, packages: 1
=============================================================== 1 packages and 0 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.5 s =============================================================== [build@3bbc8cb38dbc SPECS]$ ```
Thanks in advance, Hirotaka Wakabayashi
Product: Fedora Version: rawhide Component: Package Review
Package Review package-review@lists.fedoraproject.org has canceled Package Review package-review@lists.fedoraproject.org's request for Fabian Affolter mail@fabian-affolter.ch's needinfo: Bug 1821902: Review Request: golang-github-dgryski-farm - Farmhash implementation https://bugzilla.redhat.com/show_bug.cgi?id=1821902
--- Comment #6 from Package Review package-review@lists.fedoraproject.org --- This is an automatic action taken by review-stats script.
The ticket submitter failed to clear the NEEDINFO flag in a month. As per https://fedoraproject.org/wiki/Policy_for_stalled_package_reviews we consider this ticket as DEADREVIEW and proceed to close it.
package-review@lists.fedoraproject.org