Bug 1790217 (rust-fern) - Review Request: rust-fern - Simple, efficient logging
Summary: Review Request: rust-fern - Simple, efficient logging
Keywords:
Status: CLOSED RAWHIDE
Alias: rust-fern
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-01-12 17:38 UTC by Robert-André Mauchin 🐧
Modified: 2020-01-20 21:51 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-01-20 21:51:42 UTC
Type: ---
Embargoed:
loganjerry: fedora-review+


Attachments (Terms of Use)

Description Robert-André Mauchin 🐧 2020-01-12 17:38:21 UTC
Spec URL: https://eclipseo.fedorapeople.org/for-review/rust-fern.spec
SRPM URL: https://eclipseo.fedorapeople.org/for-review/rust-fern-0.5.9-1.fc32.src.rpm

Description:
Simple, efficient logging.

Fedora Account System Username: eclipseo

Comment 1 Robert-André Mauchin 🐧 2020-01-12 17:45:01 UTC
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=40447397

Comment 2 Jerry James 2020-01-13 02:41:44 UTC
Some of the subpackages cannot be installed:

Error: 
 Problem 1: conflicting requests
  - nothing provides (crate(reopen/default) >= 0.3.0 with crate(reopen/default) < 0.4.0) needed by rust-fern+reopen-03-devel-0.5.9-1.fc32.noarch
 Problem 2: conflicting requests
  - nothing provides (crate(reopen/default) >= 0.3.0 with crate(reopen/default) < 0.4.0) needed by rust-fern+reopen-devel-0.5.9-1.fc32.noarch
 Problem 3: conflicting requests
  - nothing provides (crate(syslog/default) >= 3.0.0 with crate(syslog/default) < 4.0.0) needed by rust-fern+syslog3-devel-0.5.9-1.fc32.noarch
 Problem 4: conflicting requests
  - nothing provides (crate(syslog/default) >= 4.0.0 with crate(syslog/default) < 5.0.0) needed by rust-fern+syslog4-devel-0.5.9-1.fc32.noarch
 Problem 5: package rust-fern+syslog-4-devel-0.5.9-1.fc32.noarch requires crate(fern/syslog4) = 0.5.9, but none of the providers can be installed
  - conflicting requests
  - nothing provides (crate(syslog/default) >= 4.0.0 with crate(syslog/default) < 5.0.0) needed by rust-fern+syslog4-devel-0.5.9-1.fc32.noarch
 Problem 6: package rust-fern+syslog-3-devel-0.5.9-1.fc32.noarch requires crate(fern/syslog3) = 0.5.9, but none of the providers can be installed
  - conflicting requests
  - nothing provides (crate(syslog/default) >= 3.0.0 with crate(syslog/default) < 4.0.0) needed by rust-fern+syslog3-devel-0.5.9-1.fc32.noarch
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Comment 3 Robert-André Mauchin 🐧 2020-01-13 16:26:17 UTC
These are packages created for optional dependencies, we only need to package them when such an optional dependencies are requested by another package. Thatqs how Rust packaging work at least.

Comment 4 Jerry James 2020-01-13 20:23:45 UTC
From https://docs.fedoraproject.org/en-US/packaging-guidelines/#_package_dependencies:

"All package dependencies (build-time or runtime, regular, weak or otherwise) MUST ALWAYS be satisfiable within the official Fedora repositories."

These dependencies are not satisfiable within the official Fedora repositories.  You will have to remove or comment out those subpackages until such time as the dependencies are available in Fedora.

Comment 6 Jerry James 2020-01-13 23:23:38 UTC
Hmmm, something has gone awry.  The build failed.  There were lots of warnings like this:

warning: Macro expanded in comment on line 91: %{name}+reopen-devel
warning: Macro expanded in comment on line 92: %{summary}
warning: Macro expanded in comment on line 95: %{name}+reopen-devel %{_description}
warning: Macro expanded in comment on line 98: %{crate}" crate.
warning: Macro expanded in comment on line 100: %{name}+reopen-devel
...

then the actual failure:

    File must begin with "/": Simple,
    File must begin with "/": efficient
    File must begin with "/": logging.
    File must begin with "/": Simple,
    File must begin with "/": efficient
    File must begin with "/": logging.
    File must begin with "/": Simple,
    File must begin with "/": efficient
    File must begin with "/": logging.
    File must begin with "/": Simple,
    File must begin with "/": efficient
    File must begin with "/": logging.
    File must begin with "/": Simple,
    File must begin with "/": efficient
    File must begin with "/": logging.
    File must begin with "/": Simple,
    File must begin with "/": efficient
    File must begin with "/": logging.

I think you will have to double up at least some of the commented % signs.  This is my theory.  The %files section that begins on line 88 is seeing the expanded %{summary} lines in the commented-out subpackages.

Comment 8 Robert-André Mauchin 🐧 2020-01-14 15:07:37 UTC
Koji scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=40499636

Comment 9 Jerry James 2020-01-14 15:53:39 UTC
Looks good.  This package is APPROVED.

Package Review
==============

Legend:
[x] = Pass, [!] = Fail, [-] = Not applicable, [?] = Not evaluated

===== 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.
[x]: Package is not known to require an ExcludeArch tag.
[x]: Large documentation must go in a -doc subpackage. Large could be size
     (~1MB) or number of files.
     Note: Documentation size is 30720 bytes in 3 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).
[x]: Fully versioned dependency in subpackages if applicable.
[?]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Sources are verified with gpgverify first in %prep if upstream
     publishes signatures.
     Note: gpgverify is not used.
[x]: 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]: Spec file according to URL is the same as in SRPM.


Rpmlint
-------
Checking: rust-fern-devel-0.5.9-1.fc32.noarch.rpm
          rust-fern+default-devel-0.5.9-1.fc32.noarch.rpm
          rust-fern+colored-devel-0.5.9-1.fc32.noarch.rpm
          rust-fern+libc-devel-0.5.9-1.fc32.noarch.rpm
          rust-fern+meta-logging-in-format-devel-0.5.9-1.fc32.noarch.rpm
          rust-fern-0.5.9-1.fc32.src.rpm
rust-fern-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern-devel.noarch: W: hidden-file-or-dir /usr/share/cargo/registry/fern-0.5.9/.cargo-checksum.json
rust-fern+default-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+default-devel.noarch: W: no-documentation
rust-fern+colored-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+colored-devel.noarch: W: no-documentation
rust-fern+libc-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+libc-devel.noarch: W: no-documentation
rust-fern+meta-logging-in-format-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+meta-logging-in-format-devel.noarch: W: no-documentation
rust-fern.src: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
6 packages and 0 specfiles checked; 0 errors, 11 warnings.




Rpmlint (installed packages)
----------------------------
rust-fern+colored-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+colored-devel.noarch: W: no-documentation
rust-fern+default-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+default-devel.noarch: W: no-documentation
rust-fern-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern-devel.noarch: W: hidden-file-or-dir /usr/share/cargo/registry/fern-0.5.9/.cargo-checksum.json
rust-fern+libc-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+libc-devel.noarch: W: no-documentation
rust-fern+meta-logging-in-format-devel.noarch: W: invalid-url URL: https://crates.io/crates/fern HTTP Error 404: Not Found
rust-fern+meta-logging-in-format-devel.noarch: W: no-documentation
5 packages and 0 specfiles checked; 0 errors, 10 warnings.



Source checksums
----------------
https://crates.io/api/v1/crates/fern/0.5.9/download#/fern-0.5.9.crate :
  CHECKSUM(SHA256) this package     : e69ab0d5aca163e388c3a49d284fed6c3d0810700e77c5ae2756a50ec1a4daaa
  CHECKSUM(SHA256) upstream package : e69ab0d5aca163e388c3a49d284fed6c3d0810700e77c5ae2756a50ec1a4daaa


Requires
--------
rust-fern-devel (rpmlib, GLIBC filtered):
    (crate(chrono/default) >= 0.4.0 with crate(chrono/default) < 0.5.0)
    (crate(log/default) >= 0.4.0 with crate(log/default) < 0.5.0)
    (crate(log/std) >= 0.4.0 with crate(log/std) < 0.5.0)
    cargo

rust-fern+default-devel (rpmlib, GLIBC filtered):
    cargo
    crate(fern)

rust-fern+colored-devel (rpmlib, GLIBC filtered):
    (crate(colored/default) >= 1.5.0 with crate(colored/default) < 2.0.0)
    cargo
    crate(fern)

rust-fern+libc-devel (rpmlib, GLIBC filtered):
    (crate(libc/default) >= 0.2.58 with crate(libc/default) < 0.3.0)
    cargo
    crate(fern)

rust-fern+meta-logging-in-format-devel (rpmlib, GLIBC filtered):
    cargo
    crate(fern)



Provides
--------
rust-fern-devel:
    crate(fern)
    rust-fern-devel

rust-fern+default-devel:
    crate(fern/default)
    rust-fern+default-devel

rust-fern+colored-devel:
    crate(fern/colored)
    rust-fern+colored-devel

rust-fern+libc-devel:
    crate(fern/libc)
    rust-fern+libc-devel

rust-fern+meta-logging-in-format-devel:
    crate(fern/meta-logging-in-format)
    rust-fern+meta-logging-in-format-devel



Generated by fedora-review 0.7.4 (54fa030) last change: 2019-12-07
Command line :/usr/bin/fedora-review -b 1790217 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Generic, Shell-api
Disabled plugins: Java, fonts, Python, SugarActivity, C/C++, Ocaml, R, PHP, Perl, Haskell, Ruby
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 10 Gwyn Ciesla 2020-01-20 17:52:12 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/rust-fern


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