Bug 1980723 - Review Request: fluent-bit - Fast data collector for Linux
Summary: Review Request: fluent-bit - Fast data collector for Linux
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Neal Gompa
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-07-09 11:41 UTC by Ben Kircher
Modified: 2021-12-06 13:50 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-12-06 13:50:50 UTC
Type: ---
Embargoed:
ngompa13: fedora-review+


Attachments (Terms of Use)

Comment 1 Neal Gompa 2021-07-09 12:00:44 UTC
Taking this review.

Comment 2 Ben Kircher 2021-10-28 11:10:11 UTC
To step it up a notch updated package to latest 1.8.8. Not tested, yet

Spec URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02912525-fluent-bit/fluent-bit.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02912525-fluent-bit/fluent-bit-1.8.8-1.fc36.src.rpm

I get 

% rpmlint *.spec *.rpm
fluent-bit.src: W: invalid-license Apache v2.0
fluent-bit.x86_64: W: invalid-license Apache v2.0
fluent-bit.x86_64: E: invalid-soname /usr/lib64/libfluent-bit.so libfluent-bit.so
fluent-bit.x86_64: W: conffile-without-noreplace-flag /etc/fluent-bit/fluent-bit.conf
fluent-bit.x86_64: W: conffile-without-noreplace-flag /etc/fluent-bit/parsers.conf
fluent-bit.x86_64: W: conffile-without-noreplace-flag /etc/fluent-bit/plugins.conf
fluent-bit.x86_64: W: no-manual-page-for-binary fluent-bit
fluent-bit-debuginfo.x86_64: W: invalid-license Apache v2.0
fluent-bit-debugsource.x86_64: W: invalid-license Apache v2.0
fluent-bit-devel.x86_64: W: invalid-license Apache v2.0
fluent-bit-devel.x86_64: W: no-documentation
5 packages and 1 specfiles checked; 1 errors, 10 warnings.

% rpmlint --version
rpmlint version 1.11

Comment 3 Ben Kircher 2021-10-28 12:36:57 UTC
Tested with systemd input and GELF/TCP output. Works so far

Comment 4 Ben Kircher 2021-11-01 13:08:40 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02915890-fluent-bit/fluent-bit.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02915890-fluent-bit/fluent-bit-1.8.9-1.fc36.src.rpm

Lots of fixes and updated to latest upstream release. Most notably, thrown out the shared library which is only used for Golang plugins.

% rpmlint *.spec *.rpm
fluent-bit.x86_64: W: no-manual-page-for-binary fluent-bit
fluent-bit-devel.x86_64: W: no-documentation
5 packages and 1 specfiles checked; 0 errors, 2 warnings.

Comment 5 Ben Kircher 2021-11-03 11:34:18 UTC
Last spec file also has tests still disabled because of some failing tests. Filed upstream issue here: https://github.com/fluent/fluent-bit/issues/4274. Will enable tests as soon as that is fixed.

Tested systemd input and GELF/Graylog output. Works fine here.

Comment 7 Neal Gompa 2021-11-21 14:34:05 UTC
A few questions here:

* Why was the shared library removed? The problem with it is that it needs a soname configured in CMake so that some kind of API/ABI stability promise exists. Without the shared library, the headers are not very useful, since there's nothing to link to.
* Why do we "BuildRequires: systemd"? Generally pulling in systemd itself isn't needed.
* Why aren't all the headers namespaced in /usr/include/fluent-bit? Some of them with rather generic names are in /usr/include instead.

Some other review notes:

* You're not following the guidelines for systemd units
  + https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_systemd
  + https://docs.fedoraproject.org/en-US/packaging-guidelines/Systemd/#packaging

Basically, add "BuildRequires: systemd-rpm-macros", use %{_unitdir} instead of "%{_prefix}/lib/systemd/system", and add the necessary scriptlets so the service presets can be used.

Comment 8 Ben Kircher 2021-11-22 18:12:23 UTC
Hey, thanks for reviewing!

> * Why do we "BuildRequires: systemd"? Generally pulling in systemd itself isn't needed.

Fixed.

> * You're not following the guidelines for systemd units

Fixed this. Hope this looks good now.

> * Why was the shared library removed? The problem with it is that it needs a soname configured in CMake so that some kind of API/ABI stability promise exists. Without the shared library, the headers are not very useful, since there's nothing to link to.

True.

Puhh, OK, this is about the plugins. From what I can see: The unversioned shared library is used by plugins. The fluent-bit binary itself does not link against the shared library.

Plugins are loaded with dlopen(3)/dlsym(3) by the fluent-bit binary itself. There is also support for writing plugins in Go when -DFLB_PROXY_GO=On is set (which we don't here). Those Go plugins probably need that shared library, too.


I'm not really interested in writing plugins or using any. So if possible I would drop the devel package (not sure this is OK with packaging guidelines?)

At the same time I would open an issue in upstream GH and ask friendly for a set_target_properties(SOVERSION …) to be added to their CMake files. At the same time for those header files all to be put under under a common fluent-bit directory. As soon this is done, I could add a devel package.

What do you think?

Spec URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02982723-fluent-bit/fluent-bit.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02982723-fluent-bit/fluent-bit-1.8.10-2.fc36.src.rpm

Comment 9 Neal Gompa 2021-11-22 21:52:37 UTC
(In reply to Ben Kircher from comment #8)
> Hey, thanks for reviewing!
> 
> > * Why do we "BuildRequires: systemd"? Generally pulling in systemd itself isn't needed.
> 
> Fixed.
> 
> > * You're not following the guidelines for systemd units
> 
> Fixed this. Hope this looks good now.
> 
> > * Why was the shared library removed? The problem with it is that it needs a soname configured in CMake so that some kind of API/ABI stability promise exists. Without the shared library, the headers are not very useful, since there's nothing to link to.
> 
> True.
> 
> Puhh, OK, this is about the plugins. From what I can see: The unversioned
> shared library is used by plugins. The fluent-bit binary itself does not
> link against the shared library.
> 
> Plugins are loaded with dlopen(3)/dlsym(3) by the fluent-bit binary itself.
> There is also support for writing plugins in Go when -DFLB_PROXY_GO=On is
> set (which we don't here). Those Go plugins probably need that shared
> library, too.
> 
> 
> I'm not really interested in writing plugins or using any. So if possible I
> would drop the devel package (not sure this is OK with packaging guidelines?)
> 
> At the same time I would open an issue in upstream GH and ask friendly for a
> set_target_properties(SOVERSION …) to be added to their CMake files. At the
> same time for those header files all to be put under under a common
> fluent-bit directory. As soon this is done, I could add a devel package.
> 
> What do you think?
> 

That's fine with me.

Comment 10 Ben Kircher 2021-11-25 07:04:04 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02988699-fluent-bit/fluent-bit.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/02988699-fluent-bit/fluent-bit-1.8.10-3.fc36.src.rpm

Changes: 
- Re-add systemd-devel BR, needed for systemd input plugin, missed that in 1.8.10-2
- Drop devel package


rpmlint *.spec *.rpm
============================ rpmlint session starts ============================
rpmlint: 2.1.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: 2

 1 packages and 1 specfiles checked; 0 errors, 0 warnings, 0 badness; has taken 0.2 s

Comment 13 Neal Gompa 2021-11-26 14:21:56 UTC
> -DCMAKE_INSTALL_PREFIX=%{install_prefix}\

I see this here, and I'm confused by it. The upstream sources use GNUInstallDirs, which means %cmake should be working just fine here.

Comment 14 Ben Kircher 2021-12-04 08:36:49 UTC
Truth is, I don't remember why I did this :D

So I tried again without -DCMAKE_INSTALL_PREFIX. GNUInstallDirs module is included in CMakeLists.txt but it doesn't make use of the variables it provides everywhere. For this is 0002-CMake-fix-up-install-paths.patch.

I updated the patch so that it is cleaner (uses the GNUInstallDirs variables) and removed the explicit -DCMAKE_INSTALL_PREFIX.

Spec URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/03005146-fluent-bit/fluent-bit.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/bkircher/fluent-bit/fedora-rawhide-x86_64/03005146-fluent-bit/fluent-bit-1.8.10-5.fc36.src.rpm

Comment 15 Neal Gompa 2021-12-04 09:07:59 UTC
> %global install_prefix /

Drop this.

>     .

Drop this too, we shouldn't need it.

Cf. https://fedoraproject.org/wiki/Changes/CMake_to_do_out-of-source_builds

Comment 17 Neal Gompa 2021-12-04 17:56:46 UTC
Package Review
==============

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



===== MUST items =====

C/C++:
[x]: Package does not contain kernel modules.
[x]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

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.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "Apache License 2.0", "*No copyright*
     Apache License 2.0", "BSD 2-Clause License", "MIT License", "NTP
     License", "*No copyright* Public domain", "*No copyright* MIT
     License", "FSF Unlimited License [generated file]", "BSD 3-Clause
     License", "BSD 3-Clause License [generated file]", "FSF Unlimited
     License (with License Retention) [generated file]", "GNU General
     Public License v2.0 or later [generated file]", "GNU General Public
     License v3.0 or later", "X11 License [generated file]", "FSF Unlimited
     License (with License Retention) GNU General Public License v2.0 or
     later", "GNU General Public License v2.0 or later", "FSF Unlimited
     License (with License Retention)", "Public domain MIT License", "*No
     copyright* GNU General Public License, Version 2", "FSF All Permissive
     License", "[generated file]", "BSD 2-Clause License GNU General Public
     License v2.0 or later", "GNU Lesser General Public License v2.1 or
     later", "GNU General Public License", "ISC License", "*No copyright*
     Boost Software License 1.0", "Historical Permission Notice and
     Disclaimer - sell variant [generated file]", "GNU Library General
     Public License, Version 2.0 Apache License 2.0 GNU General Public
     License v2.0 or later", "Boost Software License 1.0", "FSF Unlimited
     License (with License Retention) GNU General Public License, Version
     2", "zlib License", "Public domain", "*No copyright* Public domain MIT
     License", "ISC License BSD 2-clause NetBSD License BSD 2-Clause
     License", "zlib License BSD 2-Clause License", "*No copyright* NTP
     License", "*No copyright* [generated file]", "MIT License BSD 3-Clause
     License BSD 2-Clause License", "MIT License BSD 2-Clause License",
     "*No copyright* BSD 2-Clause License", "curl License". 2357 files have
     unknown license. Detailed output of licensecheck in
     /home/ngompa/1980723-fluent-bit/licensecheck.txt
[x]: License file installed when any subpackage combination is installed.
[!]: Package requires other packages for directories it uses.
     Note: No known owner of /etc/fluent-bit
[!]: Package must own all directories that it creates.
     Note: Directories without known owners: /etc/fluent-bit,
     /usr/lib/systemd/system, /usr/lib/systemd
[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.
[-]: 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.
[x]: 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.
[x]: Package contains systemd file(s) if in need.
[x]: Useful -debuginfo package or justification otherwise.
[-]: 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 40960 bytes in 6 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 does not own files or directories owned by other packages.
[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]: %config files are marked noreplace or the reason is justified.
[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]: No %config files under /usr.
[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]: systemd_post is invoked in %post, systemd_preun in %preun, and
     systemd_postun in %postun for Systemd service files.
     Note: Systemd service file(s) in fluent-bit
[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]: Package functions as described.
[x]: Latest version is packaged.
[x]: Package does not include license text files separate from upstream.
[x]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[-]: 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]: Fully versioned dependency in subpackages if applicable.
[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 debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[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
-------
Cannot parse rpmlint output:


Rpmlint (debuginfo)
-------------------
Cannot parse rpmlint output:



Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Source checksums
----------------
https://github.com/fluent/fluent-bit/archive/v1.8.10/fluent-bit-1.8.10.tar.gz :
  CHECKSUM(SHA256) this package     : dc54f587aff9c9330e25f791383b6edde00abe9b05dbc185dc93597f1a420662
  CHECKSUM(SHA256) upstream package : dc54f587aff9c9330e25f791383b6edde00abe9b05dbc185dc93597f1a420662


Requires
--------
fluent-bit (rpmlib, GLIBC filtered):
    /bin/sh
    config(fluent-bit)
    ld-linux-x86-64.so.2()(64bit)
    libc.so.6()(64bit)
    libcrypto.so.3()(64bit)
    libcrypto.so.3(OPENSSL_3.0.0)(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3)(64bit)
    libgcc_s.so.1(GCC_4.2.0)(64bit)
    libm.so.6()(64bit)
    libssl.so.3()(64bit)
    libssl.so.3(OPENSSL_3.0.0)(64bit)
    libsystemd.so.0()(64bit)
    libsystemd.so.0(LIBSYSTEMD_209)(64bit)
    rtld(GNU_HASH)

fluent-bit-debuginfo (rpmlib, GLIBC filtered):

fluent-bit-debugsource (rpmlib, GLIBC filtered):



Provides
--------
fluent-bit:
    config(fluent-bit)
    fluent-bit
    fluent-bit(x86-64)

fluent-bit-debuginfo:
    debuginfo(build-id)
    fluent-bit-debuginfo
    fluent-bit-debuginfo(x86-64)

fluent-bit-debugsource:
    fluent-bit-debugsource
    fluent-bit-debugsource(x86-64)



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 1980723 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: Shell-api, C/C++, Generic
Disabled plugins: PHP, Ocaml, fonts, Haskell, SugarActivity, Python, Java, Perl, R
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 18 Neal Gompa 2021-12-04 17:59:02 UTC
> [!]: Package requires other packages for directories it uses.
>      Note: No known owner of /etc/fluent-bit

This means you need to add "%dir {_sysconfdir}/%{name}" to the file list.


> [!]: Package must own all directories that it creates.
>      Note: Directories without known owners: /etc/fluent-bit,
>      /usr/lib/systemd/system, /usr/lib/systemd

Add "%{?systemd_requires}" to the spec file right below the BuildRequires list.

Comment 20 Ben Kircher 2021-12-04 22:03:08 UTC
Package Review
==============

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



===== MUST items =====

C/C++:
[ ]: Package does not contain kernel modules.
[ ]: Package contains no static executables.
[x]: If your application is a C or C++ application you must list a
     BuildRequires against gcc, gcc-c++ or clang.
[x]: Header files in -devel subpackage, if present.
[x]: Package does not contain any libtool archives (.la)
[x]: Rpath absent or only used for internal libs.

Generic:
[ ]: Package is licensed with an open-source compatible license and meets
     other legal requirements as defined in the legal section of Packaging
     Guidelines.
[ ]: License field in the package spec file matches the actual license.
     Note: Checking patched sources after %prep for licenses. Licenses
     found: "Unknown or generated", "Apache License 2.0", "*No copyright*
     Apache License 2.0", "BSD 2-Clause License", "MIT License", "NTP
     License", "*No copyright* Public domain", "*No copyright* MIT
     License", "FSF Unlimited License [generated file]", "BSD 3-Clause
     License", "BSD 3-Clause License [generated file]", "FSF Unlimited
     License (with License Retention) [generated file]", "GNU General
     Public License v2.0 or later [generated file]", "GNU General Public
     License v3.0 or later", "X11 License [generated file]", "FSF Unlimited
     License (with License Retention) GNU General Public License v2.0 or
     later", "GNU General Public License v2.0 or later", "FSF Unlimited
     License (with License Retention)", "Public domain MIT License", "*No
     copyright* GNU General Public License, Version 2", "FSF All Permissive
     License", "[generated file]", "BSD 2-Clause License GNU General Public
     License v2.0 or later", "GNU Lesser General Public License v2.1 or
     later", "GNU General Public License", "ISC License", "*No copyright*
     Boost Software License 1.0", "Historical Permission Notice and
     Disclaimer - sell variant [generated file]", "GNU Library General
     Public License, Version 2.0 Apache License 2.0 GNU General Public
     License v2.0 or later", "Boost Software License 1.0", "FSF Unlimited
     License (with License Retention) GNU General Public License, Version
     2", "zlib License", "Public domain", "*No copyright* Public domain MIT
     License", "ISC License BSD 2-clause NetBSD License BSD 2-Clause
     License", "zlib License BSD 2-Clause License", "*No copyright* NTP
     License", "*No copyright* [generated file]", "MIT License BSD 3-Clause
     License BSD 2-Clause License", "MIT License BSD 2-Clause License",
     "*No copyright* BSD 2-Clause License", "curl License". 2357 files have
     unknown license. Detailed output of licensecheck in
     /home/bk/pkgs/fluent-bit/1980723-fluent-bit/licensecheck.txt
[ ]: License file installed when any subpackage combination is installed.
[ ]: %build honors applicable compiler flags or justifies otherwise.
[ ]: Package contains no bundled libraries without FPC exception.
[ ]: Changelog in prescribed format.
[ ]: Sources contain only permissible code or content.
[ ]: Package contains desktop file if it is a GUI application.
[ ]: Development files must be in a -devel package
[ ]: Package uses nothing in %doc for runtime.
[ ]: Package consistently uses macros (instead of hard-coded directory
     names).
[ ]: Package is named according to the Package Naming Guidelines.
[ ]: Package does not generate any conflict.
[ ]: Package obeys FHS, except libexecdir and /usr/target.
[ ]: If the package is a rename of another package, proper Obsoletes and
     Provides are present.
[ ]: Requires correct, justified where necessary.
[ ]: Spec file is legible and written in American English.
[ ]: Package contains systemd file(s) if in need.
[ ]: Useful -debuginfo package or justification otherwise.
[ ]: 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 40960 bytes in 6 files.
[ ]: 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 does not own files or directories owned by other packages.
[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]: %config files are marked noreplace or the reason is justified.
[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]: No %config files under /usr.
[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]: systemd_post is invoked in %post, systemd_preun in %preun, and
     systemd_postun in %postun for Systemd service files.
     Note: Systemd service file(s) in fluent-bit
[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.
[ ]: Final provides and requires are sane (see attachments).
[ ]: Package functions as described.
[ ]: Latest version is packaged.
[ ]: Package does not include license text files separate from upstream.
[ ]: Patches link to upstream bugs/comments/lists or are otherwise
     justified.
[ ]: 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.
[ ]: %check is present and all tests pass.
[ ]: 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]: Fully versioned dependency in subpackages if applicable.
[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 debuginfo package(s).
     Note: There are rpmlint messages (see attachment).
[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
-------
Cannot parse rpmlint output:


Rpmlint (debuginfo)
-------------------
Cannot parse rpmlint output:



Rpmlint (installed packages)
----------------------------
Cannot parse rpmlint output:


Source checksums
----------------
https://github.com/fluent/fluent-bit/archive/v1.8.10/fluent-bit-1.8.10.tar.gz :
  CHECKSUM(SHA256) this package     : dc54f587aff9c9330e25f791383b6edde00abe9b05dbc185dc93597f1a420662
  CHECKSUM(SHA256) upstream package : dc54f587aff9c9330e25f791383b6edde00abe9b05dbc185dc93597f1a420662


Requires
--------
fluent-bit (rpmlib, GLIBC filtered):
    /bin/sh
    config(fluent-bit)
    ld-linux-x86-64.so.2()(64bit)
    libc.so.6()(64bit)
    libcrypto.so.3()(64bit)
    libcrypto.so.3(OPENSSL_3.0.0)(64bit)
    libgcc_s.so.1()(64bit)
    libgcc_s.so.1(GCC_3.0)(64bit)
    libgcc_s.so.1(GCC_3.3)(64bit)
    libgcc_s.so.1(GCC_4.2.0)(64bit)
    libm.so.6()(64bit)
    libssl.so.3()(64bit)
    libssl.so.3(OPENSSL_3.0.0)(64bit)
    libsystemd.so.0()(64bit)
    libsystemd.so.0(LIBSYSTEMD_209)(64bit)
    rtld(GNU_HASH)
    systemd

fluent-bit-debuginfo (rpmlib, GLIBC filtered):

fluent-bit-debugsource (rpmlib, GLIBC filtered):



Provides
--------
fluent-bit:
    config(fluent-bit)
    fluent-bit
    fluent-bit(x86-64)

fluent-bit-debuginfo:
    debuginfo(build-id)
    fluent-bit-debuginfo
    fluent-bit-debuginfo(x86-64)

fluent-bit-debugsource:
    fluent-bit-debugsource
    fluent-bit-debugsource(x86-64)



Generated by fedora-review 0.7.6 (b083f91) last change: 2020-11-10
Command line :/usr/bin/fedora-review -b 1980723 -m fedora-rawhide-x86_64
Buildroot used: fedora-rawhide-x86_64
Active plugins: C/C++, Shell-api, Generic
Disabled plugins: PHP, R, fonts, Ocaml, SugarActivity, Java, Haskell, Perl, Python
Disabled flags: EPEL6, EPEL7, DISTTAG, BATCH, EXARCH

Comment 21 Neal Gompa 2021-12-05 01:39:31 UTC
I think we're finally good here.

PACKAGE APPROVED.

Comment 22 Ben Kircher 2021-12-05 05:26:23 UTC
Excellent. Many thanks for reviewing!

Comment 24 Tomas Hrcka 2021-12-06 07:52:00 UTC
(fedscm-admin):  The Pagure repository was created at https://src.fedoraproject.org/rpms/fluent-bit


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